# Documentation
Source: https://razorpay.com/docs/home
Explore Razorpay's documentation for Payments, POS, Banking Plus, Partners and Developer Tools.
# Just ask the docs
## Integrate Razorpay using AI



***
## Developer tools
***
## Payments
Cards, UPI, netbanking, wallets, and EMI โ a single Payments API that adapts to how your customers want
[Know more ](/docs/payments)
Explore payments step by step
***
## POS
Accept payments
in person
Razorpay POS is a point-of-sale payment solution that enables businesses to accept payments using UPI, credit and debit cards, wallets, EMI and more.
[Know how to sign up for POS](https://accounts.razorpay.com/auth/?redirecturl=https://easy.razorpay.com\&auth_intent=signup\&x-country-code=IN)
[Explore more](/docs/pos)
***
## Banking plus
Manage your company's finances with a Business Banking Hub. It helps business owners and finance teams automate financial task and provide insights into money flow.
[Explore Banking Plus](/docs/x)
***
## Partners
The Razorpay Partner Program is a referral program through which you can offer the Razorpay product suite to your customers and get monetary rewards.
[Explore Partner Program](/docs/partners)
## Build with Agents
Ask your AI
CLI
`curl -fsSL https://razorpay.com/cli/latest/install.sh | bash`
Copy
***
MCP
`Install the Razorpay MCP server: https://mcp.razorpay.com/mcp`
Copy
Razorpay CLI
[View setup](/docs/cli)
Razorpay MCP
[View setup](/docs/mcp-server)
Are you an LLM agent?
[Read llms.txt](/docs/llms.txt)



Everything you need to accept payments, move money and reconcile it โ with the API reference, SDKs and integration guides behind each one.
Colour theme
Accept Payments
Banking Plus
[RazorpayX](/docs/x)
[Current Accounts](/docs/x/account-types)
[Payouts](/docs/x/payouts)
[Payout Links](/docs/x/payout-links)
[Corporate Credit Card](https://razorpay.com/x/corporate-cards/)
[Payroll](https://razorpay.com/payroll/)
Developers
[Docs](/docs/)
[API Reference](/docs/api)
[Integrations](https://razorpay.com/integrations/)
[SDKs](/docs/payments/server-integration)
[Webhooks](/docs/webhooks)
[Postman Collections](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace)
Resources
[Blog](https://razorpay.com/blog/)
[Learn](https://razorpay.com/learn/)
[Settlement Guide](/docs/payments/settlements)
Company
[About Us](https://razorpay.com/about/)
[Careers](https://razorpay.com/jobs/)
[Partners](/docs/partners)
[Corporate Information](https://razorpay.com/corporate-information/)
[Responsible Disclosure](https://razorpay.com/responsible-disclosure/)
Help & Support
[Support](https://razorpay.com/support/)
[Status Page](https://status.razorpay.com/)
ยฉ Razorpay 2026. All rights reserved.
Razorpay Payments Private Limited is an RBI Authorised Payment Aggregator.
[Terms of Use](https://razorpay.com/terms/)
[Privacy Policy](https://razorpay.com/privacy/)
# Razorpay Payments Suite
Source: https://razorpay.com/docs/payments
Explore Razorpay Payment Gateway and the entire suite of products available as part of Razorpay Payments Suite.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Razorpay enables businesses to accept, process, and disburse payments seamlessly across multiple channels. Whether you are running an online store, managing subscriptions or facilitating marketplace transactions, Razorpay provides the tools and infrastructure to handle payments at scale.
> [card] [Accept Payments](/docs/payments#accept-payments)
>
> Set up payment gateways, process transactions and manage customer payments across multiple channels.
> [card] [Disburse Payments](/docs/payments#disburse-payments)
>
> Send bulk payouts, vendor payments and instant transfers with automated reconciliation.
> [card] [Advanced Products](/docs/payments#advanced-products)
>
> Advanced solutions, including payment optimisation, EMI options, business trust badges and buyer protection features.
> [card] [Solutions by Industry](/docs/payments#solutions-by-industry)
>
> Find tailored payment solutions for ecommerce, SaaS, marketplaces and enterprise businesses.
> [card] [Solutions by Platform](/docs/payments#solutions-by-platform)
>
> Integrate with e-commerce plugins, SDKs for mobile and web and comprehensive APIs for custom builds.
## Try Ray: Our Product Recommender
> [card] [Select Products with Ray](https://razorpay.com)
>
> Use [Ray](https://razorpay.com), the Razorpay chatbot, to select the right product that meets your unique business needs.
[How to use Ray](https://www.youtube.com/embed/tNdRAmum3q0?si=gFSP3KxPJ6-ipG9S)
[How to use Ray](https://www.youtube.com/watch?v=tNdRAmum3q0)
Watch this video to know how Ray can help you choose Razorpay products.
### Accept Payments
> [tab] Online Payments
>
> Accept payments through websites, apps or without any technical setup.
>
> > [card] [Payment Gateway](/docs/payments/payment-gateway)
> >
> > Seamless checkout experience with 100+ payment modes for your website or app.
>
> > [card] [Magic Checkout](/docs/payments/magic-checkout)
> >
> > One-click checkout experience with pre-filled customer details and automated address detection.
>
> > [card] [Payment Links](/docs/payments/payment-links)
> >
> > Generate and share unique Payment Links instantly via WhatsApp, SMS or email - no website or coding required.
>
> > [card] [Payment Pages](/docs/payments/payment-pages)
> >
> > Collect payments for events, courses or donations with branded hosted pages.
>
> > [card] [Payment Buttons](/docs/payments/payment-button)
> >
> > Add a ready-to-use Payment Button to your website with a simple HTML copy-and-paste.
>
> > [card] [QR Codes](/docs/payments/qr-codes)
> >
> > Display QR codes at checkout for quick, touch-free mobile payments.
>
> > [card] [Smart Collect 2.0](/docs/payments/smart-collect)
> >
> > Generate customer identifiers and VPAs on demand and accept payments using NEFT, RTGS, IMPS and UPI.
>
> > [card] [Invoices](/docs/payments/invoices)
> >
> > Create and send GST-compliant invoices that customers can pay online instantly.
> [tab] Offline Payments
>
> #### Razorpay POS
>
> 
>
> Accept in-person payments at physical locations with [Razorpay POS](/docs/pos).
> [tab] Recurring Payments
>
> #### Subscriptions
>
> 
>
> Automate recurring billing with [Razorpay Subscriptions](/docs/payments/subscriptions).
### Disburse Payments
Use Razorpay products to split and transfer payments collected from customers and make payouts to customers.
> [card] [Route](/docs/payments/route)
>
> Automatically split incoming payments among multiple parties. Perfect for marketplaces, platforms and franchises.
> [card] [RazorpayX](/docs/x)
>
> Complete business banking platform with Payouts, Current Account, Escrow Account and Tax Payments.
### Advanced Products
> [card] [Optimizer](/docs/payments/optimizer)
>
> Route transactions across multiple payment gateways with a single integration - optimise costs and boost success rates effortlessly.
> [card] [EMIยฒ](/docs/payments/payment-gateway/emiยฒ)
>
> Increase order values and conversions with flexible EMI payment options from leading banks and NBFCs.
> [card] [Razorpay Trusted Business](/docs/payments/payment-gateway/features/trusted-business)
>
> Build customer trust with a verified business badge and transparent checkout experience.
> [card] [Razorpay Buyer Protection](/docs/payments/widgets/buyer-protection)
>
> Enhanced customer confidence with purchase protection and dispute resolution support.
## Solutions by Industry
> [card] [Ecommerce & Retail](/docs/payments/solutions/ecommerce)
>
> Payment Gateway for online stores, Route for marketplaces, Payment Links for quick checkouts and Subscriptions for recurring billing.
> [card] [BFSI](/docs/payments/solutions/bfsi)
>
> Third-Party Validation (TPV) for SEBI compliance, Route for fund splits across multiple accounts, Subscriptions for SIPs and loan repayments.
> [card] [Travel](/docs/payments/solutions/travel)
>
> Payment Gateway with high success rates, Payment Links for bookings, international payments and multi-currency settlement support.
## Solutions by Platform
Razorpay offers a wide range of integrations as given below:
> [tab] Web
>
> > [card] Checkout Integrations
> >
> > * [Razorpay Standard Checkout](/docs/payments/payment-gateway/web-integration/standard)
> > * [Razorpay Custom Checkout](/docs/payments/payment-gateway/web-integration/custom)
>
> > [card] Server Integrations
> >
> > * [PHP](/docs/payments/server-integration/php)
> > * [Ruby](/docs/payments/server-integration/ruby)
> > * [Python](/docs/payments/server-integration/python)
> > * [NodeJS](/docs/payments/server-integration/nodejs)
> > * [.NET](/docs/payments/server-integration/dot-net)
> > * [Java](/docs/payments/server-integration/java)
> > * [Go](/docs/payments/server-integration/go)
> [tab] Ecommerce Plugins
>
> > [card] Payment Gateway Ecommerce Plugins
> >
> > * [Arastta](/docs/payments/payment-gateway/ecommerce-plugins/arastta)
> > * [BigCommerce](/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce)
> > * [Drupal](/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce)
> > * [CS-Cart](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart)
> > * [Gravity Forms](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms)
> > * [Easy Digital Download](/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads)
> > * [Magento](/docs/payments/payment-gateway/ecommerce-plugins/magento)
> > * [OpenCart](/docs/payments/payment-gateway/ecommerce-plugins/open-cart)
> > * [PrestaShop](/docs/payments/payment-gateway/ecommerce-plugins/prestashop)
> > * [Shopify](/docs/payments/payment-gateway/ecommerce-plugins/shopify)
> > * [WHMCS](/docs/payments/payment-gateway/ecommerce-plugins/whmcs)
> > * [Wix](/docs/payments/payment-gateway/ecommerce-plugins/prestashop)
> > * [WooCommerce](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce)
> > * [WordPress](/docs/payments/payment-gateway/ecommerce-plugins/wordpress)
>
> > [card] Other Ecommerce Plugins
> >
> > * [Razorpay Direct - Credit Card](/docs/payments/ecommerce-plugins/razorpay-direct-credit-card)
> [tab] Mobile
>
> > [card] Mobile Integrations
> >
> > * [Android SDK](/docs/payments/payment-gateway/android-integration/standard)
> > * [iOS SDK](/docs/payments/payment-gateway/ios-integration/standard)
> > * [Cordova SDK](/docs/payments/payment-gateway/cordova-integration)
> > * [React Native SDK](/docs/payments/payment-gateway/react-native-integration/standard)
> > * [Flutter SDK](/docs/payments/payment-gateway/flutter-integration/standard)
> > * [Capacitor SDK](/docs/payments/payment-gateway/capacitor-integration)
### Related Information
* [Quickstart Guide](/docs/payments/quickstart)
* [Payment Gateway](/docs/payments/payment-gateway)
* [How Payment Gateway Works](/docs/payments/payment-gateway/how-it-works)
# Account Activation Support
Source: https://razorpay.com/docs/payments/account-activation-support
List of commonly used terms and details about certificates related to Razorpay Account activation.
Available in
๐ฎ๐ณ India
Check all the documents, certificates and additional documents that you need to complete the KYC process depending upon your business type.
## Personal Details
Given below are a few personal documents you need for your account activation or KYC process.
> [accordion] Personal PAN
>
> Personal PAN is the Permanent Account Number belonging to an individual who owns the business or is a shareholder, proprietor, partner, or promoter in the business. It typically has the fourth letter as `P`. This document is used to verify your identity.
> [accordion] Contact Email
>
> In order to verify your account and to receive account-related updates, transactional notifications, and any other important information, you must provide a valid email address.
> [accordion] Aadhaar Front
>
> As part of our verification process, we require a clear scanned copy or photograph of the front side of the Aadhaar card belonging to the individual whose personal PAN has been shared. You can also use a one-page Aadhaar copy downloaded from the UIDAI website.
> [accordion] Aadhaar Back
>
> As part of our verification process, we require a clear scanned copy or photograph of the back side of the Aadhaar card belonging to the individual whose personal PAN has been shared. You can also use a one-page Aadhaar copy downloaded from the UIDAI website.
## Bank-Account Related
Given below are a few tips and commonly used terms and their definitions for bank account-related information you need for your account activation or KYC process.
> [accordion] Bank Branch IFSC
>
> To find the IFSC code of your bank, simply Google your bank and branch name. For example,`HDFC Bank Lower Parel Mumbai IFSC Code`.
> [accordion] Bank Account Number
>
> This is the account in which we will deposit payments you have collected and process settlements. If your business is registered with the Government of India, please Current Account number registered with your business. If you are not registered or are a sole proprietor, you may provide your personal bank account details. You can find your bank account number in your passbook, netbanking portal, cheque book, or mobile banking app. Indian bank account numbers usually consist of 11 to 16 digits.
> [accordion] Bank Account Name
>
> You can find the name associated with your registered bank account in your passbook, netbanking portal, chequebook, or mobile banking app. Make sure to enter the right details for your first name, surname, and middle name (if any).
## Business-Related
Given below are a few tips and the details of various business-related certificates or terminologies you need for your account activation or KYC process.
> [accordion] Business Name
>
> Business name refers to the official or legal name present on your business registration certificate or on your business PAN. This is the name that will be used for your Dashboard.
> [accordion] GST Certificate
>
> The GST Certificate contains your GST registration details with the Government of India and helps us verify your business. Follow these steps give below to get the GST certificate:
>
> 1. Visit the [GST India portal](https://www.gst.gov.in/).
> 2. Login using your username and password.
> 3. Download the GST certificate under the **Services** section.
## Certificates and Other Documents
Given below are a few tips and the details of various certificates and documents you need for your account activation or KYC process.
> [accordion] AYUSH Certificate
>
> The AYUSH certificate is mandatory for all retail ayurvedic-related businesses. To get your AYUSH certificate, follow the steps below:
>
> 1. Visit the official website for AYUSH online registration.
> 2. Fill out the AYUSH registration form.
> 3. Provide the required documents, pay the AYUSH certification cost and submit the form.
> [accordion] FSSAI Certificate
>
> This document is required for all food manufacturing and serving businesses based in India. If you don't have it, you can register on the [FSSAI website](https://foscos.fssai.gov.in/).
> [accordion] SEBI Certificate
>
> SEBI certification is mandatory for anyone wishing to provide investment advisory services to clients. Follow the steps below to get your SEBI certification:
>
> 1. Pay the initial registration fee to access the SEBI Intermediary portal.
> 2. Fill out the RIA registration form on the SEBI Intermediary portal and upload the relevant documents.
> 3. Pay the registration fee after SEBI approves the application.
> [accordion] FEMA Registration/FFMC Certificate
>
> Merchants involved in businesses that require foreign currency exchange with a foreign country must obtain a FEMA/FFMC certificate. Follow the steps given below to get the FEMA registration/FFMC Certificate:
>
> 1. Submit an application for the FFMC License to the concerned regional office of RBI.
> 2. RBI will review the director of the applicant entity under the **fit and proper** criteria.
> 3. If everything is to the satisfaction of the RBI, then an FFMC certificate is issued.
> [accordion] NBFC Registration Certificate
>
> If your business involves a non-banking financial institution, you are required to obtain an NBFC License. You can apply for the license online or offline with the necessary documents to the Regional Office of the Reserve Bank of India. To be eligible for the certificate, your business must meet the following criteria:
>
> * The company must be registered in India (Private Limited Company or Limited Company).
> * The company must have at least โน 200 lakhs in net-owned funds.
> [accordion] 916 Hallmark/BIS Certificate
>
> If your business involves the sale of precious gems or jewellery, you are required to have a BIS Certificate.
> Follow the steps given below to get the BIS Certificate:
>
> 1. Visit [the official site](https://www.bis.gov.in/hallmarking-overview/).
> 2. Download the application form and questionnaire for additional information.
> 3. Attach the required documents.
> 4. Submit the application form along with the requisite fee.
> [accordion] IRDA Certificate
>
> If you are in the insurance industry or an insurance agent, then you will be required to submit the IRDA certificate for verification. To download the IRDA Certificate:
>
> 1. Visit the official IRDA Portal.
> 2. In the top-right corner, select the **PAN Lookup** option.
> 3. Fill in your **PAN or Aadhaar Number** and click on **Submit**.
> 4. Download the certificates that are available to you.
> [accordion] AMFI Certificate
>
> If you work as a mutual fund distribution professional, you are required to have the AMFI certification by passing an entry-level exam. To download the AMFI Certificate:
>
> 1. Visit the official website of AMFI.
> 2. Select the document of your choice and click **download**.
> [accordion] IATA Certificate
>
> The IATA certification program is designed to acknowledge workplace learning practices and ensure compliance with international and industry training standards in airlines and travel offices. Follow the steps given below to get an IATA Certificate:
>
> 1. Register with the [IATA customer portal](https://portal.iata.org/).
> 2. Submit the application form.
> 3. Pay the registration fee to process the application.
> [accordion] DOT Certificate
>
> If you are running an OSP centre or IT-enabled services (such as Teletrading or Tele-education), you need this certificate. The DOT Certificate is required for policy, licensing, and coordination matters related to telegraphs, telephones, wireless communication, data, facsimile, telematic services, and other forms of communication. Follow the steps given below to get the DOT Certificate:
>
> 1. Log in to the [official DOT portal](https://dot.gov.in/infrastructure-provider).
>
> 2. Choose your category from the list available.
>
> 3. Click **download** to initiate your application.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > DOT processes the application to obtain telemarketing registration.
> [accordion] TRAI Certificate
>
> A TRAI certificate refers to a licence issued by the Telecom Regulatory Authority of India for doing business. Follow the steps given below to get a TRAI Certificate:
>
> 1. Incorporate your company.
> 2. Gather the required documents and apply for telemarketing registration.
> 3. Pay the TRAI registration fee.
> [accordion] RBI Certificate
>
> It is mandatory for a company to obtain a **Certificate of Registration (CoR)** from the Reserve Bank of India (RBI) before commencing or carrying on the business of a non-banking financial institution (NBFI).
> Follow the steps given below to get a RBI Certificate:
>
> 1. Apply online and submit a physical copy of the application along with the necessary documents to the Regional Office of the Reserve Bank of India.ย
> 2. The application can be submitted online.
> [accordion] DGCA Certificate
>
> The DGCA Certification is an airline certificate issued by the DGCA. To obtain this certificate, one must comply with the civil aviation requirements and airworthiness standards mandated by the Government of India. Know more about [the civil aviation requirements](http://164.100.60.133/aircraft/air-ind.htm).
> [accordion] GII Certificate
>
> A GII Certificate is issued by the Gemological Institute of India for the identification and certification of all gems. Know more about the [GII certificate](https://www.giigemlab.com/colour-stone-identification-and-certification/).
> [accordion] Form 20B/21B Certificate
>
> A Form 20B/21B Certificate is a wholesale drug license. To become a drug wholesaler, you must have permission from the State Licensing Authority (SLA) to distribute or sell drugs covered by the 1940 Drugs and Cosmetics Act.
> [accordion] Certificate Issued by NHB
>
> The National Housing Board helps in validating and regulating companies that are in the housing finance business. You can download the application form for the certificate from the [online portal](https://nhb.org.in/) and submit it to the respective NHB office near you.
> [accordion] Affiliation certificate issued by UGC /ICSE/CBSE/AICTE
>
> This certification is issued to various educational institutions in India. The UGC is the apex body that approves universities in the country. To obtain permanent affiliation, a college must apply to the University in the prescribed proforma along with the required fee in the form of a **Demand Draft** drawn in favour of the University Registrar. The application can be made any time after completing five years of temporary affiliation.
> [accordion] AOC Certificate/PCI-DSS
>
> The Attestation of Compliance (AoC) is a declaration of an organization's compliance with the PCI DSS. A Qualified Security Assessor (QSA) completes this document, indicating the business's PCI DSS AoC compliance status.
>
> To receive an AoC, the organization needs to complete a self-assessment of their compliance through a Self-Assessment Questionnaire (SAQ). This is then reviewed by a QSA to determine the organization's compliance status with PCI DSS.
> [accordion] GIA Certificate
>
> If you are a merchant selling precious stones or gems, you need this certificate. The term "GIA certified" is commonly used in the jewellery industry to refer to diamonds that have undergone GIA's rigorous grading process and to the reports that accompany them. Know more about [how to apply for GIA certification](https://www.giaindia.in/instructions-procedure-to-apply/) in India.
> [accordion] PESO Certificate
>
> The Petroleum and Explosives Safety Organization (PESO) of India issues the PESO license. Formerly known as the Department of Explosives, this institute is responsible for formulating a framework for working with the oil industry.
> You can apply for a PESO certificate at [https://www.peso.gov.in/](https://www.peso.gov.in/).
> [accordion] Import-Export Certificate
>
> An Importer-Exporter Code (IEC) is a key business identification number that is mandatory for exports from or imports into India.ย Follow the steps given below to apply for the certificate:ย
>
> 1. Register/Login on the [DGFT website](https://www.dgft.gov.in/CP/).
> 2. Click on the **Apply for IEC** option on the DGFT website. Fill out the application form (ANF 2A format) and upload the required documents.
> 3. Pay the required fees.
> 4. Click the **Submit and Generate IEC Certificate** button.
> [accordion] MMTC PAMP Certificate
>
> If your business is registered with MMTC PAMP you will obtain a certificate for the same. Your business should be in advanced precious metals or gold.
> You can register for MMTC PAMP at [https://shop.mmtcpamp.com/register](https://shop.mmtcpamp.com/register).
> [accordion] RERA
>
> A RERA certificate is a legal document that acts as proof that a property, project, or property agent has been registered under a state-level RERA authority or tribunal.
> You can apply for a RERA certificate at the [E-Startup India](https://www.e-startupindia.com/rera-registration.html) site.
> [accordion] Copyright Certificate
>
> A copyright grants the subject's owner exclusive ownership of his work. If a work is protected by copyright, no one can imitate, copy, or reproduce the original work in any other way.ย
> To register for copyright certification, visit [https://www.copyright.gov/](https://www.copyright.gov/).
> [accordion] Shop Establishment Certificate (SEC)
>
> The shop establishment certificate (SEC) is required for all businesses registered under the Shop Establishment Act or Labour Department (depending on each state). Follow the steps below to download the shop establishment certificate.
>
> 1. Visit your stateโs shop establishment website.
> 2. Register with a username and password.
> 3. Check the application status and click on **download certificate**.
> [accordion] MSME Certificate
>
> An MSME certificate is a valid proof of registration for small and medium-sized businesses. This is issued after successful registration for each business. If a proprietor or individual has multiple enterprises, they must register each of these individually and obtain different certificates for each of them. To download your MSME certificate, visit the official Udyam Registration portal and login with your details.
> An MSME certificate is a valid proof of registration for small and medium-sized businesses. This is issued after successful registration for each business. If a proprietor or individual has multiple enterprises, they must register each of these individually and obtain different certificates for each of them. To download your MSME certificate, visit the [Udyam website](https://udyamregistration.gov.in) and login with your details.
> [accordion] MSO/Local Cable Operator
>
> A multiple-system operator (MSO) is an operator of multiple cable or direct-broadcast satellite television systems. If you are into providing cable or DTH services to households, this certificate is mandatory for you.
> Know more about [how to get a MSO certification](https://www.registrationwala.com/mso-license).
> [accordion] SLA/Dealership Agreement
>
> A service level agreement (SLA) is a contract between a provider and the end user that states the level of service that the customer should expect from that service provider.
> [accordion] Reseller Agreement
>
> A reseller agreement is an arrangement between the supplier and the reseller of goods or services that is ultimately sold to the end customer.
> [accordion] IRCTC Agents Agreement
>
> The Agents Agreement is mandatory for verification if you are a travel agent licenced by the IRCTC. Know more about the [rules and regulations for reserved rail e-ticketing service providers](https://contents.irctc.co.in/en/Rules%20&%20Regulations%20for%20the%20Agents.pdf).
> [accordion] Dealership Rights
>
> A business is considered a dealership if its owner is authorised to sell a certain item. If you are in a business that operates under a dealership model, you will require a certificate or document authorising the same, which will be issued by the supplier.
> [accordion] Pharmacy or Retail/ Wholesale Drug License
>
> To start a pharmacy business, a drug licence is required, which is issued by the Central Drugs Standard Control Organization and the State Directorate of Drug Control. Each state has its own government website that mentions the requirements for granting drug sales licenses.
> [accordion] Brewery addendum or Liquor license
>
> If you are in the business of dealing with liquor, you need this license. A liquor License granted by a stateโs excise department allows licensed individuals to manufacture, transport, and sell alcoholic beverages within the boundaries of the state. Know more about [how to apply for a liquor license in India](https://www.sansalegal.com/post/how-to-apply-for-a-liquor-license-in-india).
> [accordion] Business Correspondent
>
> Business Correspondents are bank representatives who raise customer awareness and conduct banking transactions. This certificate was issued by Banks.
> [accordion] PPI License
>
> Pre-paid Payment Instruments (PPIs) are defined in the RBI Guidelines as payment instruments that facilitate the purchase of goods and services, including funds transfers, against the value stored on such instruments.
> [accordion] Tie Up Agreement
>
> A tie-up agreement is a contract between two or more companies or organisations to become business partners.
> [accordion] FDA License
>
> FDA licences are issued by the Food and Drug Administration (FDA) to businesses involved in food, drug products, dietary supplements, beverages, etc.
> [accordion] MSA
>
> A Master Services Agreement (MSA) is a contract that details the responsibilities and obligations of two parties toward each other. This comprehensive contract generally includes detailed rates, services, and terms for each functional area of the partnership.
> [accordion] Legal Opinion
>
> A legal opinion is created by your lawyer, and it allows parties to obtain a qualified third-party opinion on the subject, object, and other issues related to the conclusion of a transaction.
> [accordion] Manufacturing License
>
> A manufacturing license means all licenses necessary for or in connection with the manufacture of the products at the manufacturing site(s).
> [accordion] Trade license
>
> A trade license is a document or certificate that grants permission to an individual seeking to open a business, to commence a particular trade or business in a specific area or location. The application for a trade license registration must be made to the concerned state government, corporation, or municipality, and the application procedure may vary depending on state regulations.
> [accordion] IATO
>
> If you are in the business of offering tourism services, you are required to be an IATO member. IATO is the association of expert inbound tour operators whose members are recognised or approved by the Ministry of Tourism, Government of India. You can register to be a member of IATO at [https://iato.in/](https://iato.in/).
> [accordion] BBPS
>
> This is required of businesses that currently provide or wish to provide bill payment services to their customers via physical (agents, bank branches, business correspondents) or digital (website, Internet banking, mobile app) channels. To get the BBPS, submit the **Agent-Institution Consent** form to the concerned BBPOU and complete the required documentation and onboarding process.
> [accordion] Authorization letter
>
> A letter of authorization is a type of contract in which one person, known as the principal, authorizes another, known as the agent, to perform particular activities to carry out the principal's duties.
## Others
Given below are the commonly used terms and their definitions used for Razorpay account activation or KYC process.
> [accordion] Average Order Value
>
> Add the average order value for your business to proceed with verification. To obtain the average order value, use the formula: `Total revenue / number of orders = average order value`.
### Related Information
* [KYC Documents for Companies and Businesses](/docs/payments/business-types-kyc-documents)
* [Frequently Asked Questions (FAQs)](/docs/payments/faqs)
# KYC Documents for Business Types
Source: https://razorpay.com/docs/payments/business-types-kyc-documents
List of required KYC Documents for companies and business types to register with Razorpay under the 2026 Master KYC guidelines.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐บ๐ธ United States
Below are the business types supported by Razorpay and the KYC documents required for various businesses.
> [!TIP]
>
> **Understanding CKYC Verification**
>
> Central KYC Registry (CKYC) is a centralised government database maintained by CERSAI (Central Registry of Securitisation Asset Reconstruction and Security Interest of India) containing verified KYC records of individuals and entities across all financial institutions.
>
> **CKYC Consent Process**
>
> > [tab] For Registered Businesses
> >
> > 1. Enter your Business PAN.
> > 2. Enter Date of Incorporation.
> > 3. Documents are auto-fetched.
>
> > [tab] For Individuals
> >
> > 1. Enter your Personal PAN.
> > 2. If CKYC record exists โ Enter the mobile number linked to the CKYC.
> > 3. Enter the OTP from CKYC system.
> > 4. Documents are auto-fetched.
## Business Types
> [accordion] Razorpay supports the following business types:
>
> | Business Type | Description \[columWidth="60"] | Example |
> | - | - | - |
> | LLP | LLP stands for Limited Liability Partnership. It is a combination of partnership and corporation. The partners have limited liability, which means that the partners' personal assets are not used for paying off the company's debts. | Dental offices, auditing firms, financial advising services, business consultancies and so on. |
> | Partnership | A partnership is an arrangement between two or more people who agree to be the co-owners, distribute responsibilities for running an organisation and share the income or losses the business generates. | Law firms, physician groups, real estate investment firms and so on. |
> | Private Limited | A private limited company is a business entity held by a small number of people. It does not offer stocks for sale to the general public. | Google India Pvt. Ltd., Parle Products Pvt. Ltd., Malabar Gold Pvt. Ltd. and so on. |
> | Public Limited | A public limited company is a business entity that has limited liability and offers shares to the general public. | Bharat Heavy Electricals Ltd., Steel Authority of India Ltd., Oil and Natural gas Corporation Ltd. and so on. |
> | Sole Proprietorship | This business entity is owned, controlled and operated by a single individual who is the sole beneficiary of all profits or losses and responsible for all risks. | Small businesses such as a local grocery store, a local clothes store, an artist, freelance writer, IT consultant, freelance graphic designer and so on. |
> | Trust | A trust is a [fiduciary relationship](/docs/payments/glossary) in which a [trustor](/docs/payments/glossary) gives the [trustee](/docs/payments/glossary) the right to hold title to property or assets for the benefit of a third party, the [beneficiary](/docs/payments/glossary). Trusts are established to provide legal protection for the trustor's assets. | A beneficiary may transfer property to a trustee and grant them the right to manage it. |
> | HUF | HUF stands for Hindu Undivided Family, which consists of all persons directly descended from a common ancestor, including their wives and unmarried daughters. A HUF cannot be created under a contract, it is created automatically in a Hindu Family. | Haldiram's Private Limited. |
> | Government Entity | A government entity includes an organisation owned or controlled by the central or state government or UTs. | Ministries, departments, PSUs and regulatory bodies like RBI or SEBI. |
> | Judicial Person | A judicial person is a non-natural entity recognised by law as having the capacity to have rights and obligations, similar to a human being. | Deities, universities or corporations established under special status. |
> | Local Authority | A local authority is a self-governing body responsible for local administration in a city, town or village. | Municipal corporations, panchayats and development authorities. |
> | Section 8 Company | A 'Section 8' Company is a type of non-profit company registered under Section 8 of the Companies Act, 2013 in India. | Tata Trusts, Infosys Foundation and Reliance Foundation. |
> | Individual/Unregistered Businesses | Small businesses being run by individuals that are not yet formally registered. | Professionals, freelancers, influencers, small offline stores or similar entities. |
> | Society | A society is an organisation formed by a group of individuals for the promotion of charitable, educational, religious or literary purposes. They are typically registered under the Societies Registration Act, 1860 in India. | Educational societies running schools/colleges, cultural societies, sports clubs or charitable organisations. |
## KYC Documents
Following is the list of Know Your Customer (KYC) documents Razorpay requires, to verify your KYC.
You need to upload scanned photocopies (soft copies) of these documents.
> [!NOTE]
>
> **Handy Tips**
>
> The PAN Card details and [authorised signatory](/docs/payments/glossary) address proof, that is, Aadhar Card and Passport should be of the same person.
> [accordion] Individual/Unregistered Businesses
>
> | Proof Required | Supporting Documents |
> | - | - |
> | Proof of Identity | **Auto-fetched from CKYC**. However, if CKYC fails, you must provide:
PAN card
Mobile number
|
> | Proof of Address | **Auto-fetched from CKYC**. However, if CKYC fails, you must provide:
Digilocker verification or
Aadhaar/Photo id/Passport soft copies
|
> | Bank Details |
`Mandatory` Bank Account Number
`Mandatory` IFSC Code
If bank verification fails, a video of a cancelled cheque must be provided. |
> [accordion] Proprietorship
>
> | Proof Required | Supporting Documents |
> | - | - |
> | Proof of Business Identity and Date of Incorporation | MUST upload 2 from:
MSME/UDYAM Certificate
GST Certificate
Shop & Establishment Certificate
Import Export Code (IEC)
Postpaid Mobile Bill
|
> | Bank Details |
`Mandatory` Bank Account Number
`Mandatory` IFSC Code
If bank verification fails, a video of a cancelled cheque must be provided. |
> | Proof of Identity of Business Owners | PAN Card |
> | Proof of Identity and Address of Business Owners |
|
> [accordion] Private Limited/Public Limited
>
> | Proof Required | Supporting Documents |
> | - | - |
> | Proof of Business Identity | **Auto-fetched from CKYC**. However, if CKYC fails, you must provide:
Certificate of Incorporation
CIN
`Mandatory` Memorandum of Association (MOA)
`Mandatory` Articles of Association (AOA)
|
> | Proof of Business Existence | Business PAN |
> | Bank Details |
`Mandatory` Bank Account Number
`Mandatory` IFSC Code
If bank verification fails, a video of a cancelled cheque must be provided. |
> | Proof of Identity of Business Owners and Authorised Signatory | **For Authorised Signatory**:
`Mandatory` Partnership Registration Certificate (If Partnership is registered)
|
> | Proof of Business Existence | Business PAN |
> | Bank Details |
`Mandatory` Bank Account Number
`Mandatory` IFSC Code
If bank verification fails, a video of a cancelled cheque must be provided. |
> | Proof of Identity of Business Owners and Authorised Signatory | **For Authorised Signatory**:
`Mandatory` Certificate of Incorporation/LLPIN/LLP Deed
LLP Partnership Deed
|
> | Proof of Business Existence | LLP PAN Card |
> | Bank Details |
`Mandatory` Bank Account Number
`Mandatory` IFSC Code
If bank verification fails, a video of a cancelled cheque must be provided. |
> | Proof of Identity of Business Owners and Authorised Signatory | **For Authorised Signatory**:
|
> [accordion] Trust
>
> | Proof Required | Supporting Documents |
> | - | - |
> | Proof of Business Identity and Existence |
`Mandatory` Trust Deed OR Gazette Notification Certificate (stating establishment of the Trust)
`Mandatory` Trust Registration Certificate (If Trust is registered)
|
> | Proof of Business Existence | Trust PAN Card |
> | Bank Details |
`Mandatory` Bank Account Number
`Mandatory` IFSC Code
If bank verification fails, a video of a cancelled cheque must be provided. |
> | Proof of Identity of Business Owners and Authorised Signatory | **For Authorised Signatory**:
|
> [accordion] Section 8 Company
>
> | Proof Required | Supporting Documents |
> | - | - |
> | Proof of Business Identity | **Auto-fetched from CKYC**. However, if CKYC fails, you must provide:
Certificate of Incorporation
CIN
`Mandatory` Memorandum of Association (MOA)
`Mandatory` Articles of Association (AOA)
|
> | Proof of Business Existence | Business PAN |
> | Bank Details |
`Mandatory` Bank Account Number
`Mandatory` IFSC Code
If bank verification fails, a video of a cancelled cheque must be provided. |
> | Proof of Identity of Business Owners and Authorised Signatory | **For Authorised Signatory**:
`Mandatory` Declare all natural persons with **>10%** shareholding
|
> [accordion] Society
>
> | Proof Required | Supporting Documents |
> | - | - |
> | Proof of Business Identity and Existence |
Society Registration Certificate
|
> | Proof of Business Existence | Society PAN Card |
> | Bank Details |
`Mandatory` Bank Account Number
`Mandatory` IFSC Code
If bank verification fails, a video of a cancelled cheque must be provided. |
> | Proof of Identity of Business Owners and Authorised Signatory | **For Authorised Signatory**:
`Mandatory` Declare all natural persons with **>15%** shareholding
|
## Additional Documents
Depending on the line of business, we may also ask for additional certifications.
> [accordion] List of additional certificates depending on your business category
>
> | Business Category | Certificate |
> | - | - |
> | OTC Products | FSSAI (Ayurveda, Health supplements) documents: Drug license/Pharma license/Form 20/Form 21/Form 20B/Form 21B and AYUSH |
> | Food Industry | FSSAI |
> | Herbal (Medicinal Purpose) | AYUSH (Manufacturing license - Form 24D) |
> | Advisory Firm (Stock Market) | SEBI (Certificate should be in the business name, not an individual's name)/If the business type is proprietorship in this case - SEBI can be accepted in the proprietor's name. |
> | Venture Capital Fund Co. | SEBI (Certificate should be in the business name, not an individual's name) |
> | Merchant Banking Co. | SEBI (Certificate should be in the business name, not an individual's name) |
> | FOREX | FEMA Registration, FFMC Certificate (State-wise) |
> | Trust | 12A/80G or 10AC Income Tax link (Verify PAN number and entity name). Preferred: 80G or 10AC.
|
> | Mutual Fund | AMFI (Certificate should be in the business name, not an individual's name) |
> | International Travel/Hotel | IATA |
> | Travel Agency: International | IATA/Signed copy of the service level agreement with an IATA-certified company |
> | Travel Agency: Train Tickets | IRCTC Agency Certificate (Required if not selling flight tickets and IATA not available) |
> | Internet Service Provider | TRAI/PMWANI/SLA |
> | SMS/Email/Telemarketing Co. | TRAI (For mobile network)/TRAI/PMWANI/SLA |
> | Banks/NBFCs/Money Lending | NBFC (Not applicable for Banks)/All types of Banks (including Payment Banks) |
> | Pre-paid/E-wallet, Cash/Smart Card | Non-bank PPI, Bank PPI |
> | Paper/Gift Voucher | RBI |
> | Aircraft Maintenance Related Service | DGCA |
> | Flight Operators | Scheduled Operators/Non-Scheduled Operators |
> | Chit Funds | Operated by Government or PSU companies post approval from Risk |
> | Housing Finance Companies | National Housing Banks |
> | Nidhi Companies | Nidhi Certification |
> | Gaming | Independent Legal Opinion stating it is a 'Game of Skill,' not 'Game of Luck.' /Gaming MSA + Undertaking |
> | University/Education Sector | UGC Certificate/ICSE/CBSE/AICTE affiliation certificate. |
> | Web host/Domain seller | PCI-DSS |
> | Prescription basis medicines | Pharmacy or Retail/wholesale Drug License, Form 20/21/20B/21B (whichever is applicable). |
### Related Information
* [Submit KYC details](/docs/payments/set-up#kyc-details)
* [Frequently Asked Questions (FAQs)](/docs/payments/faqs)
# Change Business Information
Source: https://razorpay.com/docs/payments/change-business-information
Learn how to request a change to your registered business information such as name or business type on Razorpay.
Available in
๐ฎ๐ณ India
When you create a Razorpay account, it is tied to your **business entity type** and **PAN**. Here is what happens when one of these changes:
* **Entity type changes, but PAN stays the same**: You can request Razorpay to update your entity type on your current account, subject to eligibility conditions.
* **PAN changes**: (For example, Sole Proprietorship โ Private Limited) You must create a new **Razorpay account** and complete a fresh KYC. Your existing account cannot be updated since Razorpay treats each PAN as a separate legal entity.
> [!WARNING]
>
> **Watch Out!**
>
> Your Razorpay Merchant id (MID) is permanently linked to the PAN registered during onboarding. PAN is used as the primary identifier for KYC, tax compliance and regulatory reporting. When a new PAN is involved, regardless of the reason, Razorpay treats it as a new legal entity. The existing MID cannot be reassigned to a different PAN.
## When your PAN Remains Same
You can request an entity type change if **all** of the following conditions are met:
* Your PAN remains the same before and after the change.
* You have [valid KYC documents](/docs/payments/business-types-kyc-documents#kyc-documents) for the new entity type.
### Supported Entity Transitions
The following entity transitions are currently supported since they do not require PAN to be updated.
| From | To | Allowed? | |
| - | - | - | - |
| Individual | Sole Proprietorship | โ | |
| Private Limited | Public Limited | โ | |
| Public Limited | Private Limited | โ | |
| Private Limited | Section 8 Company | โ | |
| Section 8 Company | Private Limited | โ | |
> [!NOTE]
>
> **Handy Tips**
>
> Business Entity transitions that involve a change in PAN (for example, moving from an Individual to a Private Limited company) cannot be done for the same MID.
## When your PAN Changes
There can be two scenarios where a PAN change applies:
### Scenario 1: New PAN (Different entity type)
Some entity transitions inherently require a different PAN. For example, moving from an Individual to a Private Limited company means the PAN shifts from a personal PAN to a company PAN. Since all compliance documents such as proof of identity, proof of address and business registration must align with the new PAN, Razorpay cannot process this as a modification to your existing account.
### Scenario 2: Different PAN (Same entity type)
Even if your entity type stays the same, a change in PAN requires fresh documentation. For example, if your account was originally registered under your PAN and you now want to re-register it under a spouse's or partner's PAN, the following must be re-validated against the new PAN:
* Bank Account used for settlements
* Proof of identity
* Proof of address
This is effectively a fresh KYC process and cannot be completed under your existing MID.
In both scenarios described above, you must create a new Razorpay account with the updated PAN and complete fresh onboarding. Your existing MID, transaction history and settlements remain unaffected.
## When your Entity Name Changes
In case of a change in the name of your registered business (for example, after rebranding or reincorporation), the action required depends on whether your PAN changed as a result:
* **PAN unchanged**: Raise a support ticket. The Razorpay team will get in touch with you and enable you to change your entity name on your Razorpay Dashboard.
* **PAN changed**: You must create a new Razorpay account. See [Scenario 1](#scenario-1-new-pan-different-entity-type) or [Scenario 2](#scenario-2-different-pan-same-entity-type) above for details.
> [!WARNING]
>
> **Watch Out**
>
> This is a manual, backend-assisted process. You must reach out to the Razorpay team if you want to change the business details.
## How to Request an Entity Change
To request an entity type change, raise a support ticket from your Razorpay Dashboard.
1. Log in to your [Razorpay Dashboard](https://dashboard.razorpay.com).
2. Navigate to **Help & Support** and raise a ticket.
3. A ticket creation window is displayed with your MID and current entity type automatically retrieved. Ensure to add the following info to the ticket:
* Requested entity type
* Reason for the change
* Supporting KYC documents for the new entity type.
4. Razorpay's compliance team reviews your request. If approved, Razorpay team will get back to you with the next steps.
5. You will be notified once the change is complete.
Once a ticket is raised, our team will resolve the ticket within 2-3 working days.
## Frequently Asked Questions
> [accordion] Can I change my entity type from Individual to Private Limited?
>
> No. This transition requires a new PAN, which is not supported. Entity changes are only allowed when the PAN remains the same.
> [accordion] Can I change my PAN on an existing Razorpay account?
>
> No. A PAN change requires a fresh set of KYC documents, whether or not it involves an entity type change. Razorpay does not support PAN updates on an existing MID. You must create a new account and complete onboarding with the new PAN.
> [accordion] How long does the process take?
>
> Timelines depend on document completeness and compliance review. Razorpay support will keep you updated via the ticket.
> [accordion] Will my existing payment history and settlements be affected?
>
> Your transaction history remains intact. However, certain account settings tied to the previous entity type may need to be reconfigured. Razorpay support will guide you if this applies to your case.
> [accordion] Can I change my entity type without raising a ticket?
>
> Not currently. All requests must go through [Help & Support](/docs/payments/dashboard/support).
> [accordion] What if my new entity type requires a different PAN?
>
> Razorpay does not support entity changes that require a PAN change. In such cases, you would need to create a new Razorpay account for the new entity.
## Related Topics
* [Edit Business Information](/docs/payments/dashboard/faqs#edit-business-information)
* [KYC Documents for Companies and Businesses](/docs/payments/business-types-kyc-documents)
* [Contact Support](/docs/payments/dashboard/support)
# About Customers
Source: https://razorpay.com/docs/payments/customers
Create and edit Customers from the Razorpay Dashboard or using APIs.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can create customers with basic details such as name and contact details and use them for various Razorpay solution offerings. You can perform the following actions using the Dashboard:
* [Create a customer](/docs/payments/customers#create-a-customer)
* [Edit a customer's details](/docs/payments/customers#edit-customer-details)
## Create a Customer
Watch this video to see how to create a customer from the Dashboard.
[How to create a customer in Razorpay](https://www.youtube.com/embed/8xys_p8-Vzg?si=D1_IUXuElhCIMtoT)
To create a customer from the Dashboard:
1. Log in to the Dashboard.
2. Navigate to **Customers**.
3. Click **+ New Customer**.
4. Fill details and click **Save**.
## Edit Customer Details
Watch this video to see how to edit the details of an existing customer from the Dashboard.
[How to edit customer details in Razorpay](https://www.youtube.com/embed/K_MGRI9X_Kg)
To edit a customer from the Dashboard:
1. Log in to the Dashboard.
2. Navigate to **Customers**.
3. Select the customer you want to edit.
4. Click **Edit** available under **Actions**.
5. Edit details and click **Save**.
## APIs
You can do the following using APIs:
* [Create a Customer API](/docs/api/customers/create)
* [Edit Customer Details API](/docs/api/customers/edit)
* [Fetch All Customers API](/docs/api/customers/fetch-all)
* [Fetch Customers by ID API](/docs/api/customers/fetch-with-id)
### Related Information
[Customer Refunds](/docs/payments/customers/customer-refunds)
# Customer Refunds
Source: https://razorpay.com/docs/payments/customers/customer-refunds
Request refund if you are a customer of businesses using Razorpay. Track refunds using payment, order, booking or refund id or raise a dispute chargeback.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
If you have made payments to a business that uses Razorpay and are looking for a refund:
> [card] [1. Contact Business for Refunds](/docs/payments/customers/customer-refunds#1-contact-business-for-refund)
> [card] [2. Track Your Refund Using Refund Tracker](/docs/payments/customers/customer-refunds#2-track-your-refund-using-refund-tracker)
> [card] [3. Raise a Chargeback](/docs/payments/customers/customer-refunds#3-raise-a-dispute-chargeback)
> [!NOTE]
>
> **Handy Tips**
>
> Razorpay is a payment solution provider and **cannot make refunds on behalf of the business**.
Watch this video to see how to request for refund.
[Customer Refunds (In English)](https://www.youtube.com/embed/k1SVQEsakIE?si=HlJZ3WCaWhxlFMxI)
Customer Refunds (In English)
Watch this video to know about customer refunds for payments made using Razorpay(In English).
[Customer Refunds (In Hindi)](https://www.youtube.com/embed/s1kMY8TeVbI?si=POPpl6tAgUiNRS12)
Customer Refunds (In Hindi)
Watch this video to know about customer refunds for payments made using Razorpay(In Hindi).
## 1. Contact Business for Refund
If you have not received the products or services or are dissatisfied with the products or services received and want a refund, contact the business and request for a refund.
> [accordion] If you have made the payment on the business website or app, you can find the support details on their contact us/support page.
>
> 
> [accordion] If you have made payments using a Payment Link or a Payment Page, you can view the support details on the same page.
>
> 
### Refund Communication
If a customer is asking for a refund, the banking partner provides a unique reference number (either RRN, ARN or UTR) when a refund is processed. The customer can use this reference number to track the refund status with the bank.
As a customer, you will be notified of the specific payment to be refunded in 7-10 working days. Razorpay sends the following email communications for refunds:
> [accordion] Refund Mailer
>
> After the business processes the refund, Razorpay sends you an email with the refund id and a unique reference number provided by the bank (ARN, RRN or UTR). This mail also contains the [Razorpay link for refund tracker](#2-track-your-refund-using-refund-tracker).
>
> 
> [accordion] ARN Update Mailer
>
> If you want a refund for a credit card payment, the banking partner will send an ARN to Razorpay. Razorpay sends you an email with this ARN number. You can use this ARN number to trace your transaction with your card issuer.
>
> 
> [!NOTE]
>
> **Handy Tips**
>
> Razorpay sends the **Refund** and **RRN/ARN Update** emailers only if the customer email is passed to us.
## 2. Track Your Refund Using Refund Tracker
After a business initiates the refund, it can take 7-10 days to reach your account, depending on your bank. Read blog about [why refunds take time.](https://razorpay.com/blog/why-do-refunds-take-time/)
You can use our tracking tool to check the status of the refund. Watch this video to see how to track refunds using the Refund Tracker.
[YouTube video player](https://www.youtube.com/embed/FzvxNsL_ZAA?si=b7wj7ZtyqiuFIjBs)
> [accordion] To track your refund:
>
> 1. Visit [Razorpay Refund Tracker](https://razorpay.com/support/#refund) and click **Customer**.
>
> 
> 2. In the **Track Payments** form on the right, enter one of the following IDs:
> * Payment ID
> * Refund ID
> * Order ID
> * Booking ID
> You can find the relevant ID in the payment confirmation email or booking history.
>
> 
>
> 3. Perform the CAPTCHA step and click **Check Status**. The refund details are displayed as shown below:
>
> 
## 3. Raise a Dispute (Chargeback)
If you are unable to contact the business or their response is not satisfactory, contact your bank to raise a dispute.
A customer can raise a dispute against a particular transaction and contact the bank through which the customer has made the payment. The bank will raise the dispute with Razorpay. We will work with the bank and assist in resolving the issue amicably.
> [!NOTE]
>
> **Handy Tips**
>
> * Please wait at least 7 days from the date of payment to escalate a dispute for an item not received. Ensure that you have given the business enough time before opening a dispute.
> * Please provide complete details about the issue to help us decide on the best solution to resolve it.
## Frequently Asked Questions (FAQs)
> [accordion] What are some tips to ensure hassle-free transactions with a business?
>
> Follow these best practices as a customer to ensure hassle-free transactions:
>
> 1. Understand the product/service description before purchasing.
> 2. Review the policies for return, refund and cancellation on the business' website.
> 3. Only enter details on `https`-secure sites and keep your antivirus software and browsers updated.
> 4. After receiving the product, contact the manufacturer for warranty-related defects, if any.
> 5. Wait for 5-7 business days for issues related to bank processing and refunds.
> [accordion] What should I do if I have not received my refund even after 10-12 working days?
>
> Ideally, refunds are credited in 10-12 working days. In case you have not received your refund, check the refund status in the [Razorpay Refund Tracker](https://razorpay.com/support/#refund/). Know more about [tracking your refund using Refund Tracker](#2-track-your-refund-using-refund-tracker).
> [accordion] How do I check my order status after the amount is deducted from my account?
>
> Upon a successful transaction, you will receive a confirmation email from Razorpay Payment Aggregator and only facilitate business with online payments. For the status of the order, contact the business.
> [accordion] How do I cancel my order?
>
> All the queries related to full or partial cancellation of orders should be routed to the business. Razorpay is a payment solution provider and does not ship or dispatch orders. Please get in touch with business for queries regarding cancellation or returns.
>
> After the business cancels the order and initiates the refund, the amount will be credited to your account in 7-10 days. You can check the status of your refund using the [Razorpay Refund Tracker](https://razorpay.com/support/#refund/). Know more about [tracking your refund using Refund Tracker](#2-track-your-refund-using-refund-tracker).
> [accordion] Can I file a complaint if I have not received my order?
>
> We suggest you wait for 7-10 business days for physical goods and one business day for digital goods. If you have still not received the items, or if the items received are materially different, defective, or damaged, contact the business to resolve the issue.
>
> Include the following details while sending an email to the business:
>
> * Date of transaction.
> * Amount of transaction.
> * Order ID shared by the business.
> * Payment ID shared by Razorpay(pay\_9uxxxxxxx34z).
> * Description of the problem.
>
> If the business does not respond to your emails and phone calls within 3-5 working days, contact your bank to [raise a dispute](#3-raise-a-dispute-chargeback).
> [accordion] How do I report a fraudulent transaction?
>
> Please [raise a Razorpay support request](https://razorpay.com/contact/) with the transaction details and our team will investigate this further.
> [accordion] I do not recognise the transaction that I have been charged for. Can you help me?
>
> Please raise a [support request](https://razorpay.com/contact/#request) and provide the following details:
>
> * A common email id you use for making online transactions.
> * Amount and date of debit.
> * Screenshot of the debit, in case it was a netbanking or wallet transaction.
> * The last four digits of the card were used in case this was a card transaction.
>
> We will get back to you at the earliest.
> [accordion] I have done duplicate transactions towards the same order/service. How do I get a refund?
>
> Razorpay is a Payment Aggregator and only facilitate the seller with online payments. We request you to contact the seller with the transaction details for a refund.
> [accordion] What should I do if I do not receive a payment confirmation mail from Razorpay?
>
> You can raise a [support request](https://razorpay.com/contact/#request).
>
> 1. Select the category as `I am a customer`.
> 2. Choose the nature of your request.
> 3. Provide your email id, the screenshot of the debit and transaction ID received from the seller.
>
> We will get back to you at the earliest.
> [accordion] Why does it take so long for a refund to be credited to my account?
>
> Several factors and processes are involved during a refund. Hence, we recommend waiting for 10-12 working days. Know more about [why refunds take time](https://razorpay.com/blog/why-do-refunds-take-time/).
> [accordion] Can I share my card details or passwords with the Razorpay support staff?
>
> No, do not share your card details, CVV number, OTP, PIN, UPI PIN, or Netbanking password with anyone, including Razorpay support staff.
>
> Only in the rare case of a dispute does Razorpay support ask you for the first six and last four digits of your card number to locate a particular payment id.
> [accordion] What should I do if I have not received a refund confirmation mail from Razorpay?
>
> After every successful refund, you receive a refund confirmation email from Razorpay. Check between 7-10 days for the refund to reflect.
>
> Contact the business if you have not received the email, as only businesses can initiate refunds.
### Related Information
[Why do refunds take a long time](https://razorpay.com/blog/why-do-refunds-take-time/)
# About Dashboard
Source: https://razorpay.com/docs/payments/dashboard
Overview of the Razorpay Dashboard home page with key features including payments overview, insights, and product recommendations for managing your payment operations.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
The Dashboard Home page serves as your central command center for managing payment operations on Razorpay. It provides a comprehensive overview of your account status, recent payment activity, key insights and personalised product recommendations to help you optimise your payment infrastructure.
The Dashboard offers a wide range of features, such as:
* **Analytics** and **real-time charts** that provide valuable insight into your business performance.
* List of **recent activities** that may require your action.
* **Configure, operate, and manage** your Payment Gateway (PG) account and other Razorpay products.
* An overview of recent **payments, settlements and refunds**.

> [!NOTE]
>
> **Handy Tips**
>
> You must have a Razorpay account to access the Dashboard. Do not have a Razorpay account? [Set up a Razorpay account](/docs/payments/set-up).
## Key Sections of Payments Dashboard Home Page
> [accordion] AI-Powered Assistant
>
> The dashboard features an AI assistant that greets you personally and provides contextual help. You can ask questions or search for anything related to your Razorpay account using the search bar. The assistant also offers quick actions like:
>
> * Show me all recent failed payments
> * Check the status of (refund ID / RRN)
> * Lookup payment from screenshot
> [accordion] Account Overview
>
> The overview section displays critical account information at a glance:
>
> * **Current Balance**: Shows your available account balance.
> * **Last Settlement**: Displays recent settlement information including amount and processing status.
> * **Settlement Details**: Shows when funds were deposited to your bank account with links to view all settlements.
> [accordion] Key Updates
>
> This section highlights important account updates and new features:
>
> * **Feature Announcements**: Notifications about newly enabled features like international payments.
> * **Action Items**: Important updates that may require your attention
> [accordion] Payments Overview
>
> A comprehensive view of your payment activity over a selected time period (default: last 7 days):
>
> * **Collected Amount**: Total amount successfully collected.
> * **Refunds**: Total amount refunded to customers.
> * **Orders**: Total number of orders processed.
> * **Interactive Chart**: Visual representation of payment trends with date-wise breakdown.
> * **Time Period Selection**: Customisable date range picker for detailed analysis.
> [accordion] Top Insights
>
> Key performance metrics displayed in an easy-to-scan format:
>
> * **Payment Count**: Total number of payment attempts in the selected period.
> * **Payment Failure Count**: Number of failed payment attempts.
> * **Refund Count**: Total refunds processed.
> * **Refund Failure Count**: Number of failed refund attempts.
> Each metric includes a **View Details** link for deeper analysis.
> [accordion] Payment Method Split
>
> Visual breakdown of payment methods used by customers:
>
> * **Credit Cards**: Number of credit card transactions.
> * **UPI**: UPI transaction count.
> * **Netbanking**: Netbanking payment attempts.
> * **Others**: Other payment methods (wallets and so on.)
> Displays both numerical data and a pie chart visualisation for quick understanding of customer payment preferences.
> [accordion] Products for You
>
> Personalised product recommendations based on your business needs:
>
> * **Cross Border Payments**: Accept payments from 200+ countries with multi-currency support (USD, EUR, AED, SGD)
> * **QR Code**: Generate branded QR codes for contactless payments.
> * **Payment Links**: Create shareable payment links for email, text and social media.
> * **Razorpay POS**: Seamless payment acceptance solutions for physical stores.
> Each product card includes brief descriptions and visual previews of the functionality.
## Key Tabs of Payments Dashboard
Following are the key tabs of the Payments Dashboard.
> [accordion] Transactions
>
> Given below are the tabs present under Transactions and the supported actions:
>
> | Tab | Actions |
> | - | - |
> | Payments |
[Manually capture a payment](/docs/payments/payments/dashboard#manually-capture-payments)
[Issue full and partial refunds](/docs/payments/payments/dashboard#issue-a-refund)
[View details of a payment](/docs/payments/payments/dashboard#view-payment-details)
|
> | Refunds | [View details of a refund](/docs/payments/refunds/view) |
> | Orders | [View details of an order](/docs/payments/orders/dashboard#view-order-details-using-api) |
> | Disputes | [View a list of disputes raised](/docs/payments/disputes/dashboard#view-disputes) |
> | Success Rate | [View Success Rate of payments and its details](/docs/payments/payments/success-rate-analytics) |
> [accordion] Settlements
>
> Given below are the actions supported for Settlements:
>
> * [Enable a Settlement placed on Hold](/docs/payments/settlements/dashboard#enable-settlements-placed-on-hold)
> * [View details of a settlement](/docs/payments/settlements/dashboard#view-settlements-using-dashboard)
> * [View detailed breakup of a settlement](/docs/payments/settlements/dashboard#settlements-break-up-description)
> [accordion] Reports
>
> Given below are the actions supported for [Reports](/docs/payments/dashboard/reports):
>
> * [Download a Report](/docs/payments/dashboard/reports#download-reports)
> * [Increase report generation limit](/docs/payments/dashboard/reports#limit-on-reports)
> [accordion] Account & Settings
>
> Given below are the [Account & Settings](/docs/payments/dashboard/account-settings) sections and supported actions:
>
> | Tabs and Actions |
> | - |
> | **Website and app settings**
[Add or update business website/app details](/docs/payments/dashboard/account-settings/business-website-details)
[Generate or regenerate API keys](/docs/payments/dashboard/account-settings/api-keys)
[Configure international payment codes (purpose code, IEC code, HS code)](/docs/payments/dashboard/account-settings/international-payment-codes)
|
> | **Payment Methods**
[Request for and manage payment methods](/docs/payments/dashboard/account-settings/payment-methods)
|
> [accordion] Payments Products
>
> Given below are the payments products and the supported actions:
>
> | Product | Actions |
> | - | - |
> | Offers | [Create and manage offers](/docs/payments/offers/create) |
> | Invoices | [Create and manage Invoices](/docs/payments/invoices/create) |
> | Payment Button | [Create and manage Payment Button](/docs/payments/payment-button) |
> | Payment Links | [Create and manage Payment Links](/docs/payments/payment-links/create) |
> | Route | [Create linked accounts and transfer funds](/docs/payments/route#get-started) |
> | Subscriptions | [Create and manage Subscriptions](/docs/payments/subscriptions) |
> | Smart Collect | [Create and manage Virtual Accounts](/docs/payments/smart-collect) |
> [accordion] Customers
>
> Given below are the actions supported for Customers:
>
> * [Create a Customer](/docs/payments/customers#create-a-customer)
> * [Edit Customer Details](/docs/payments/customers#edit-customer-details)
# About Account & Settings
Source: https://razorpay.com/docs/payments/dashboard/account-settings
Check the various Account & Settings options on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can perform multiple configurations using **Account & Settings** on the Dashboard.

## Configure Your Profile
You can change your registered phone number after full activation of your account. You can either change it from your profile or navigate to [account details](/docs/payments/dashboard/account-settings/account-details#to-update-the-phone-number).
> [accordion] Update phone number:
>
> You can change your registered phone number after full activation of your account. You can either change it from your profile or navigate to [account details](/docs/payments/dashboard/account-settings/account-details#to-update-the-phone-number).
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** and click **Edit** next to **Phone number**.
> 3. Enter the **2-Step Verification** code sent to your registered email.
> 4. Enter the new mobile number and click **Continue**.
> 5. Enter the OTP sent to your new number and click **Confirm**.
>
> You have successfully changed your registered phone number.
## Update Login Email
You can change your registered email address after full activation of your account. You can either change it from your profile or navigate to [account details](/docs/payments/dashboard/account-settings/account-details#update-login-email).
> [accordion] Update login mail:
>
> You can change your registered email address after full activation of your account. You can either change it from your profile or navigate to [account details](/docs/payments/dashboard/account-settings/account-details#update-login-email).
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** and click **Edit** next to **Login email**.
> 3. Enter the new email address select the check box to receive all the updates on the new email id. Click **Continue**.
> 4. A verification email is sent to your new email id. Open the email and complete the verification process.
> 5. Click **Okay, got it**.
>
> You have successfully changed your registered email address.
> [accordion] Update password:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** and click **Edit** next to **Password**.
> 3. Enter the **2-Step Verification** code sent to your registered mobile number.
> 4. Enter your current password and press the enter/return key.
> 5. Enter the new password and press the enter/return key.
> 6. Re-enter your new password and click **Change Password**.
>
> You have successfully changed your password.
> [accordion] Enable 2-step verification:
>
> 1. Log in to the Dashboard.
> 2. Navigate to the **Account & Settings**.
> 3. Enable the **2-Step Verification to the team** option.
> 4. Enter the OTP sent to your registered mobile number. (This step is not required if you had already performed OTP verification during login.)
> 5. Enter your account password and confirm.
>
> You have successfully enable 2-step verification for your account.
## Settings and Actions
Following are the settings available under **Account & Settings** and the actions you can perform:
> [card] Website and app settings
>
>
>
[Add or update business website/app details](/docs/payments/dashboard/account-settings/business-website-details)
>
[Generate or regenerate API keys](/docs/payments/dashboard/account-settings/api-keys)
### Related Information
* [Dashboard](/docs/payments/dashboard)
* [Frequently Asked Questions (FAQs)](/docs/payments/dashboard/faqs)
# Account Details
Source: https://razorpay.com/docs/payments/dashboard/account-settings/account-details
Steps to update account details on the Razorpay Dashboard. You can update display name, profile name, email and phone number.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can update account details such as display name, profile name, email and phone number on the Dashboard.
## Update Display Name
You can update the business display name on the Dashboard. The new display name will reflect immediately on your Dashboard after you update it. It will be visible to you and your team on the Dashboard.
> [accordion] To update the display name:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** and navigate to **Account details** under **Business Settings**.
> 3. Click the edit icon next to **Display Name**.
> 4. Enter the new display name and click **Update**.
## Update Profile Name
You can update the profile name on the Dashboard. The new profile name will reflect immediately on your Dashboard after you update it. It will be visible to you in your profile section
> [accordion] To update the profile name:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** and navigate to **Account details** under **Business Settings**.
> 3. Click the edit icon next to **Name**.
> 4. Enter the new profile name and click **Update**.
## Update Phone Number
You can update the phone number on the Dashboard. The new phone number will reflect on your Dashboard only after OTP-verification.
> [accordion] To update the phone number:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** and navigate to **Account details** under **Business Settings**.
> 3. Click the edit icon next to **Phone Number**.
> 4. Enter the OTP sent to the currently registered phone number and click **Confirm**.
> 5. Enter the new phone number and click **Continue**.
>
> Proceed with the phone number confirmation process to complete the update.
## Update Login Email
You can update the login email from the Dashboard. You can:
* [Update your own email id](#update-your-email).
* [Add a team member's email id](#add-a-team-memberโs-email).
> [!NOTE]
>
> **Handy Tips**
>
> If you add a non-user's email id, they will have to sign up for an account.
### Update Your Email
As an account owner, you can update your login email from the Dashboard.
**Example** \
You can replace your current email id with another email. For example, if you earlier had signed up with the email id `info@acmecorp.in`, you can now update it as `gaurav.kumar@acmecorp.in`.
> [accordion] To update the login email:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** and navigate to **Account details** under **Business Settings**.
> 3. Click the edit icon next to **Email**.
>
> 
> 4. Complete the 2-factor authentication process.
> 5. On the pop-up page, enter the new email id. Re-enter the email id. Select the check box if you want Razorpay to send all communication details to this email id.
>
> 
> 6. A verification email is sent to your new email id. Open the email and complete the verification process.
>
> 
>
> 
>
> The email id has been updated.
>
> 
### Add a Team Member's Email
You can make another member from your team the Razorpay account owner and add their email address as the login email id.
**Example** \
* You can add another team member's email id. You will need to change the user role of the team member to `owner`. For example, you can provide your manager's email id and upgrade them to the `owner` role.
* You can add the email id of a Razorpay user who is not a member of your team. For example, Gauri Kumari is the manager of a Razorpay account, ABC Co. You want to add her as the `owner` of your Razorpay account, Acme Corp. Once you update her email address on the Dashboard, Gauri Kumari will become the `owner` of the Acme Corp account. However, she will still be the manager of the ABC Co Razorpay account.
> [accordion] To add a team member's email:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** and click **Manage Team** under **Business settings**.
> 3. On the **Manage Team** page, click **Change** next to the **Owner**.
> 4. Select the team member whose role is to be upgraded and click **Change Owner**.
>
> The email id has been updated.
>
> 
# Account Activation Details
Source: https://razorpay.com/docs/payments/dashboard/account-settings/activation-details
Steps to view account activation details on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Your account moves to **Activated** state upon successful completion of the sign-up and KYC verification process. You can find details regarding the account activation on the Dashboard.
## View Account Activation Details
To view account activation details:
1. Log in to the Dashboard.
2. Click **Account & Settings** and navigate to **Activation details** under **Business Settings**.
3. Click View Activation Form to view the details you had submitted at the time of KYC verification. In case you want any changes to be made to these details, contact [Razorpay Support](https://razorpay.com/support/).
You can also view details such as account activated on date and account access status on this page.

# API Keys
Source: https://razorpay.com/docs/payments/dashboard/account-settings/api-keys
Generate and regenerate Test and Live API Keys using the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
API keys are unique identifiers that let you securely connect your application to Razorpay's services. An API key is a combination of the `key_id` and `key_secret`, which are required to make any API request to Razorpay. You will need to add this API key to your code as part of your integration process, ensuring secure access to Razorpay's payment services while protecting your data. Essentially, API keys act like passwords for your app, providing safe access to Razorpay's payment and other services while protecting your data.
> [!WARNING]
>
> **Watch Out!**
>
> To generate API keys in **Live Mode**, you must provide the website details where you will collect payments. If you do not have the option to generate API keys in **Live Mode**. It may be because you are yet to provide your website details. We collect website information during the onboarding process.
>
> * If you have not shared your website yet, please [follow the steps to add your website details](/docs/payments/dashboard/account-settings/business-website-details). We will verify your website within 3 working days. Once the verification is complete, you can generate API keys in **Live Mode**.
>
> * If you have already shared your website details, and they have been verified, you can find the details on your Dashboard. Navigate to **Account & Settings** โ **Website and app settings**.
>
> * You can generate API keys in **Test Mode** without adding a website.
>
> If you still encounter issues, log in to the Dashboard and raise a request with our support team.
## Generate API Keys
Follow these steps to generate API keys:
> [card] Test Mode API Keys
>
> Watch this video to see how to generate API keys in the Test mode.
>
> [YouTube video player](https://www.youtube.com/embed/VOn8JlGPG2I?si=WTAbAeLB3Hnp1n3r)
> [card] Live Mode API Keys
>
> Watch this video to see how to generate API keys in the Live mode.
>
> [YouTube video player](https://www.youtube.com/embed/Cer8UfBGX_E?si=Libr1RXoFSEDfY1c)
1. Log in to your Dashboard with the appropriate credentials.
2. Select the mode (**Test** or **Live**) for which you want to generate the API key.
* **Test Mode**: The test mode is a simulation mode that you can use to test your integration flow. **Your customers will not be able to make payments in this mode**.
* **Live Mode**: When your integration is complete, switch to live mode and generate live mode API keys. In the integration, **replace test mode keys with live mode keys to accept customer payments**.
3. Navigate to **Account & Settings** โ **API Keys** (under **Website and app settings**) โ **Generate Key** to generate key for the selected mode.\
> [!WARNING]
>
> **Watch Out!**
>
> * After generating the keys from the Dashboard, download and save them securely. You can use only one set of API keys. If you do not remember your API keys, you must [regenerate them](/docs/payments/dashboard/account-settings/api-keys#regenerate-api-keys) from the Dashboard and update them wherever the previous keys were used for payment gateway integrations.
> * API Keys are universal; that is, they are applicable to all websites and apps that you have whitelisted for your Merchant ID.
> * **Do not share your API Key secret** with anyone or on any public platforms. **This can pose security threats to your Razorpay account**.
> * Once you generate the API Keys, only theย **Key Id**ย is visible on the Dashboard, **notย the Key secret**, as it can pose security threats to your Razorpay account.
> * Use the **Live API Keys** to accept live payments and the **Test API Keys** for test transactions.
> [!WARNING]
>
> **Watch Out: Swap your API keys before going live**
>
> Your Test Mode API keys only process simulated transactions โ no real money moves. If you go live without replacing them with Live Mode keys, customers will see a payment success screen but no payment will be captured or settled.
>
> Generate your Live Mode keys from Dashboard โ **Account & Settings** โ **API Keys** โ **Generate Key** (switch to Live Mode first).
## Regenerate API Keys
You also have the option to regenerate the key if required.
> [!NOTE]
>
> **Two-Factor Authentication**
>
> To regenerate API keys, you must validate your identity via OTP and send it to your registered mobile number. However, this step is skipped if you already performed OTP validation while logging in to the Dashboard.
>
> If you have not set up two-factor authentication, you will be prompted to verify your mobile number before regenerating keys.
To regenerate API key:
1. Log in to the Dashboard.
2. Select the mode from the menu ribbon for which you want to generate the API key.
3. Navigate to **Account & Settings** โ **API Keys** (under **Website and app settings**) โ **Generate new key** to generate key for the selected mode.

This allows you to deactivate the old key immediately or within 24 hours.
## Frequently Asked Questions (FAQs)
### Common
> [accordion] Can I generate multiple API keys if I have only one MID?
>
> No, if you have only one MID, you can generate only one API key.
> [accordion] Can I generate multiple API keys if I have multiple MIDs?
>
> Yes, you can generate one API key for each MID if you have multiple MIDs.
> [accordion] Can I use my existing API key when expanding to new Razorpay platforms?
>
> Yes, if your existing API key is saved, you can continue using the same keys as you expand to new platforms.
> [accordion] What should I do if I do not have the previous API key saved?
>
> If you do not have the previous API key saved, you must [regenerate new API keys](#regenerate-api-keys) and relaunch all previous products or apps with the updated keys.
> [accordion] My account is activated but I cannot generate API keys as my website is not verified. What do I do?
>
> Website details are required to generate API keys. If you do not have the option to generate API keys, it may be because website details are yet to be provided. If you have not shared your website yet, please [follow the steps to add your website details](/docs/payments/dashboard/account-settings/business-website-details). We will verify your website within 3 working days, and once the verification is complete, you can generate API keys.
> [accordion] Why am I unable to generate the API keys?
>
> Your website or app link must be verified to generate an API key. This step ensures that only verified sources (website/app) can collect payments through the payment gateway.
> [accordion] Who has access to the API Keys?
>
> Only users with the **Owner** or **Admin** role have access to the API keys. Know more about [standard user roles & permissions](/docs/payments/dashboard/account-settings/manage-team#standard-user-roles).
> [accordion] Can I use the same Razorpay API Keys on multiple websites or domains?
>
> Yes, you can use the same set of Live Mode API Keys on multiple websites or domains.
>
> The Live Mode keys are tied to your single Razorpay account, allowing them to process live transactions from any domain where they are implemented. Using the same keys on a new website **will not impact** the live payments running on your existing, whitelisted website.
>
> **For Testing:**
>
> We strongly recommend using your **Test Mode API Keys** when integrating Razorpay on any new website. Test payments are simulated and ensure that your live payment processing on existing sites remains unaffected during development.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure your new website's domain is whitelisted in your Razorpay account to avoid payment disruptions once you switch to Live Mode.
### Shopify
> [accordion] Do I need API keys to integrate a payment app with Shopify?
>
> No, API keys are not required to integrate a payment app with Shopify. OAuth is to handle the authentication process.
> [accordion] Why am I being asked for an API key while integrating with Shopify?
>
> If you are integrating a non-payment app with Shopify, only the API key is required and not the key\_secret. However, Shopify does not require API keys to integrate payment apps.
> [accordion] I am unable to accessย case\_keyย while integrating with Shopify. How can I access theย `case_key`?
>
> Only users with admin role access can access theย `case_key`.
> [accordion] Can I use the same Razorpay API Keys on multiple websites or domains?
>
> Yes, you can use the same set of Live Mode API Keys on multiple websites or domains.
>
> The Live Mode keys are tied to your single Razorpay account, allowing them to process live transactions from any domain where they are implemented. Using the same keys on a new website **will not impact** the live payments running on your existing, whitelisted website.
>
> **For Testing:**
>
> We strongly recommend using your **Test Mode API Keys** when integrating Razorpay on any new website. Test payments are simulated and ensure that your live payment processing on existing sites remains unaffected during development.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure your new website's domain is whitelisted in your Razorpay account to avoid payment disruptions once you switch to Live Mode.
> [accordion] How should I manage API Keys when working with a developer for integration?
>
> API Keys are generated and managed by the **Owner or Admin** roles in the Dashboard. Razorpay does not offer a separate Developer Access Role.
>
> To securely facilitate integration and testing (for example, for platforms like WooCommerce, where direct API key input might be required for some plugins), follow this standard workflow:
>
> * **Phase 1: Testing (Integration)**
> The Owner or Admin must **generate and securely share** the **Test Mode API Keys** with the developer. The developer will use these keys to build and test the integration without affecting any live payments.
> * **Phase 2: Go-Live**
> Once testing is complete, the Owner or Admin must generate the **Live Mode API Keys** and provide them to the developer to replace the Test Keys in the final application setup.
>
> This ensures security and maintains clear control over your live payment environment.
### Related Information
* [API Best Practices](/docs/api/best-practices)
* [API Glossary](/docs/api/glossary)
* [API Keys FAQ](/docs/payments/dashboard/faqs#i-cannot-generate-live-mode-api-keys-even-though-my-account-is-activated-how-do-i-generate-the-api-keys)
# Balances
Source: https://razorpay.com/docs/payments/dashboard/account-settings/balances
Details about various balances available and how you can add funds and maintain them from the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
There are two types of balances available on the Dashboard:
* [Available Balance](#available-balance)
* [Negative Available Balance](#negative-available-balance)
* [Reserve Balance](#reserve-balance)
## Available Balance
After the deduction of fees and tax, the payments received from your customers are added to your **Available Balance**.
* This accumulated amount is settled to your bank account as per your settlement cycle.
* We use your available balance to process chargebacks, refunds to your customers and settlements to your linked accounts.
Always maintain sufficient available balance in your account to ensure your transactions do not fail.
Your available balance is now segregated based on the channel type that is, **Online (Domestic transactions + International Cards), In-person and International**.

> [!WARNING]
>
> **Watch Out!**
>
> * Refunds processed using your available balance incur no extra charges. We only deduct the refund amount.
> * Fees and taxes from the original transaction are not reversed in you refund. As a result, you refund amount can be lesser than the original transaction.
#### Negative Available Balance
Negative available balance is when your available balance becomes less than zero.
* If opening balance is โน0, your negative balance is -โน500 (due to 0-500).
* If opening balance is โน300, your negative balance is -โน200 (due to 300-500).
Negative balance impacts your customer satisfaction. Ensure you maintain sufficient available balance or add Reserve Balance.
## Reserve Balance
Reserve Balance allows you to process refunds or settlements to linked accounts when you do not have a sufficient available balance/have [negative available balance](#negative-available-balance). The amount you add as the reserve balance becomes the maximum negative limit for your account. Your transactions up to this limit do not fail.
> [!NOTE]
>
> **Handy Tips**
>
> Your Dashboard shows 2 different reserve balances:
>
> * **Reserve Balance**, on this page. You add this money yourself from your own bank account. It sits as a buffer so refunds and linked-account settlements still go through when your available balance runs low.
> * **Reserve balance**, under **Settlements**. This is money we hold back from your international payments and release to you later, to cover chargebacks and disputes. You never add to it, and you cannot use it to cover a refund. Know more about [Reserves on International Payments](/docs/payments/settlements/reserves).
### How does Reserve Balance Work
When your available balance becomes 0, we use your reserve balance to process transactions up to this limit, that is, โน1000. Your transactions will not fail.
* To increase your negative balance limit, you can [add funds to your reserve balance](#add-funds-to-reserve-balance) from the Dashboard. You will have to transfer funds to your reserve balance only once in most cases.
* You can add funds to Reserve Balance using the Dashboard through either [UPI](#add-funds-to-reserve-balance) or [Bank Transfer](#add-funds-to-reserve-balance).
> [!WARNING]
>
> **Watch Out!**
>
> Add funds only through the settlement account registered with us.
## Example of Available Balance and Reserve Balance
Let us say you have an available balance of โน0 and a reserve balance of โน1,000
| Scenario | Without Reserve Balance | With Reserve Balance |
| - | - | - |
| Opening Balance | Available Balance โ โน0 Reserve Balance โ โน0 | Available Balance โ โน0 Reserve Balance โ โน1,000 |
| You receive and capture payment of โน1000. Let us say we charge a fee of โน5 to process this transaction. | Available Balance โ โน995 Reserve Balance โ โน0 | Available Balance โ โน995 Reserve Balance โ โน1,000 |
| You process a full refund of โน1000 for the above payment. | The refund fails since you do not have a sufficient available balance. | The refund is successfully processed. Available Balance โ negative โน5 Reserve Balance โ โน1,000 |
### Add Funds to Reserve Balance
You can add funds to Reserve balance through UPI or bank transfer payment methods.
> [tab] Add Funds Using UPI
>
> To add funds to Reserve balance using UPI:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** in the left navigation.
> 3. Click **Balances** under **Payments and refunds** section.
> 4. Click **Add Funds**.
>
> 
>
> 5. Select **UPI**.
> 6. Enter the description and amount to be added.
> 7. Click **Add Credits**.
> 8. Enter the email and contact number on the checkout pop-up page and click **Proceed**.
> 9. Select UPI, enter UPI ID or scan the QR, click **Pay Now** and complete the payment.
>
> Your Reserve balance is updated.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > It may take 2-3 hours for the Reserve balance to reflect in your Razorpay Account.
> [tab] Add Funds Using Bank Transfer
>
> To add funds to Reserve balance using bank transfer:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** in the left navigation.
> 3. Click **Balances** under **Payments and refunds** section.
> 4. Click **Add Funds**.
> 5. Select **Bank Transfer**.
> 6. Copy the account number and IFSC code.
>
> 
>
> 7. Open your netbanking portal, create a beneficiary with these details and transfer the amount.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > It may take 2-3 hours for the Reserve balance to reflect in your Razorpay Account.
## Segregated Balances
Razorpay now supports balance segregation based on payment channel type. If you are an omni-channel business (PG + POS) or a cross-border business, your balances are maintained separately for each channel type.
> [accordion] Benefits
>
> * **No cross-channel fund mixing**: Complete isolation between Online (Domestic transactions + International Cards), In-Person and APM International funds.
> * **Regulatory compliance**: Adherence to RBI guidelines on fund segregation.
> * **Zero settlement failures**: Settlements never fail due to cross-channel balance issues.
> * **Instant Settlements for all businesses**: Instant Settlements now available for omni-channel and cross-border businesses.
> * **Automated POS rental collection**: Device rentals deducted only from In-Person balance.
> * **Better visibility**: Clear channel-wise and balance view.
### Types of Segregated Balances
| Channel Type | Description | Transactions Included | Additional Details |
| - | - | - | - |
| Online (Domestic transactions + International Cards) | Domestic online payments and international card transactions | PG domestic transactions (cards, UPI, netbanking and wallets), international card payments | Supports Instant Settlements. |
| In-Person | POS terminal transactions | All POS/offline transactions | POS device rentals are automatically collected from this balance. Operates independently from online transactions. |
| Alternate Payment Method (International) | Balance from international payment methods such as PayPal, Stripe and other cross-border payment methods | International bank transfers, cross-border payments via supported APM providers | Settled separately from domestic balances. Subject to forex conversion and international settlement timelines. |
### How Segregated Balances Work
With balance segregation:
* **Credit Operations**: When a payment is captured, it is credited to the appropriate balance based on the payment channel:
* Domestic online payment โ Online balance
* International card payment โ Online balance
* POS transaction โ In-Person balance
* International APM payment โ APM (International) balance
* **Debit Operations**: Settlements, refunds, chargebacks and adjustments are processed only from the respective balance account. A refund for a POS payment will only debit from your PG In-Person balance.
* **Independent Settlements**: Each balance account has its own settlement cycle and can have Instant Settlements enabled independently.
### View Segregated Balances
You can view your segregated balances on the Dashboard:
1. Log in to the Dashboard.
2. On the Home Page, you will see separate balance cards for each active balance account.
3. Navigate to **Account & Settings** โ **Balances** for a detailed view.
Each balance card displays:
* Current balance amount.
* Channel type (Online (Domestic transactions + International Cards), In-Person or APM International).
* Next settlement date.
* Link to view settlement history.
> [!NOTE]
>
> **Handy Tips**
>
> With segregated balances, your POS operations and online payments work completely independently. A high volume of online refunds will never affect your POS settlements and vice versa.
## FAQs
> [accordion] Can I transfer funds between my segregated balances?
>
> No, inter-channel fund transfers are not supported to maintain regulatory compliance and fund isolation.
> [accordion] How are refunds handled with segregated balances?
>
> Refunds are debited from the same balance where the original payment was credited. For example, an In-Person payment refund will debit from your In-Person balance, not your Online (Domestic transactions + International Cards) balance.
> [accordion] Why are international card payments in the Online balance but international APM in a separate balance?
>
> International card transactions flow through similar payment rails as domestic cards, so they are grouped in the Online (Domestic transactions + International Cards) balance. International Alternate Payment Methods use different payment flows and are therefore maintained in a separate APM (International) balance for proper fund isolation.
> [accordion] Will my Reserve Balance work with segregated balances?
>
> Reserve Balance functionality remains available. Contact our [support team](https://razorpay.com/support/) for specific configuration based on your balance structure.
### Related Information
* [About Account and Settings](/docs/payments/dashboard/account-settings)
* [About Dashboard](/docs/payments/dashboard)
# Bank Account Details
Source: https://razorpay.com/docs/payments/dashboard/account-settings/bank-account-details
Steps to update your bank account details on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can request a change to your settlement (bank) account linked to your account. After you provide the necessary details and documents, we will verify the account and update the information. We will contact you if further clarifications are required.
## Change Bank Account Details
To request a bank account change:
1. Log in to your Dashboard.
2. Click **Account & Settings** in the left navigation.
3. Click **Bank account details** under **Bank accounts and settlements** section and click **Change bank account**.
4. Enter the OTP sent to your registered mobile device on the **2-Step Verification** pop-up page.
5. Enter the details of the new bank account you want to link with your account. The new bank account will be your new settlement account.
6. Upload a copy of your account statement and click **Save**.
> [!NOTE]
>
> **Handy Tips**
>
> * You will receive email notifications for the following:
> * When you initiate a request to update the settlement bank account details.
> * When the bank account details are successfully updated.
> * We may reach out to you for clarification via email, SMS, and the Dashboard during the verification process. Navigate to **Account & Settings** and submit the necessary information in the appropriate section. Our team will go through the information you provide and help you resolve the issue.
### Resolve Bank Account Update Issues
If you are unable to update your bank account details, you may contact our [support team](https://razorpay.com/support). To expedite the resolution, we require a short video of a **cancelled cheque**. This video helps us verify your bank details.
Please ensure the below information is **clearly visible**:
* **Beneficiary Name**: This must precisely match your business name as registered on Razorpay.
* **Proprietorships**: The name can also match your promoter's PAN name.
* **IFSC Code**
* **Bank Account Number**
> [!WARNING]
>
> **Watch Out!**
>
> **If the beneficiary name on your existing bank account does not match with your Razorpay-registered business name (or promoter's PAN name for proprietorship)**, you have two options:
>
> * **Open a new bank account** where the beneficiary name accurately reflects your registered business name or your promoter's PAN name on Razorpay.
> * Or, you can **provide a letter on your bank's official letterhead**. This letter must be signed and sealed by your bank manager, explicitly affirming that the bank account number associated with the IFSC code belongs to your registered business name.
# Business Details
Source: https://razorpay.com/docs/payments/dashboard/account-settings/business-details
Steps to view business details on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
While signing up for an account, you are required to provide information about your business, such as your Business Name and Type. These details are recorded on the Dashboard.
## View Business Details
To view business details:
1. Log in to the Dashboard.
2. Click **Account & Settings** and navigate to **Business details** under **Business Settings**.
3. The following information is listed:
* **Business Name**
* **Business Type**
* **Registration Date**
* **Registered By**

# Business Website Details
Source: https://razorpay.com/docs/payments/dashboard/account-settings/business-website-details
Steps to add or update your business website or app details on the Razorpay Dashboard. You can also add or update additional website details.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You must provide your live website or mobile app details during account activation.
* Without these details, you will not be able to access live mode API keys and hence **cannot accept payments from your website or app**.
* You can still accept payments from customers using **Invoices** and **Payment Links** generated via the Dashboard.
## Add and Edit Website/App/Additional Websites
> [tab] Add Website/Mobile App
>
> To add your website or mobile app details:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** in the left navigation.
> 3. Click **Business website detail** under **Website and app settings** section. 
> 4. Click **Add website/app details**. 
> 5. Click **Proceed to update website/app**. 
> 6. Select where you want to collect payments: **Website or App** 
> 7. Add test account **username and password**.
>
> 
>
> 8. Click **Submit** website for review.
> [tab] Update Website/Mobile App
>
> To update website or mobile app details:
>
> 1. Log in to the Dashboard.
>
> 2. Click **Account & Settings** in the left navigation.
>
> 3. Click **Business website detail** under **Website and app settings** section.
>
> 4. Click **Edit** next to the website/app that you want to edit. 
>
> 5. Click **Proceed to update website/app**. 
>
> 6. Select **Website** or **App**, based on what you want to update.
>
> > [accordion] Follow these steps if you own a website:
> >
> > 1. Select **Website**.
> > 2. Enter the **Website URL**.
> > 3. Provide the links for these pages: **About us**, **Contact us**, **Pricing details**, **Terms and conditions**, **Privacy policy** and **Refunds policy**.
> > 4. Upload a sample invoice. The accepted file formats are PNG, JPG and PDF.
> > 5. Provide your website's **Test Account credentials** if required or select **No** for **Does your website require login from user to complete payment?** if logging in is not required.
> > 6. Click **Submit website for review**.
> >
> > 
> >
> > After the details are provided, our team will review the request. We will update the details on the Dashboard.
>
> > [accordion] Follow these steps if you own an app:
> >
> > 1. Select **App**.
> > 2. Enter the **App URL**.
> > 3. Provide your website's **Test Account credentials** if required or select **No** for **Does your app require login from user to complete payment?** if logging in is not required.
> > 4. Click **Submit app for review**.
> >
> > 
> >
> > After the details are provided, our team will review the request. We will update the details on the Dashboard.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > We may reach out to you for clarifications via email, WhatsApp, SMS and Dashboard during the verification process.
> > Navigate to **Account & Settings** and submit the necessary information in the appropriate section. Our team will go through the information you provide and help you resolve the issue.
> [tab] Additional Website/Mobile App
>
> You can accept payments using your account on multiple websites. To do this, you need to share the details of the additional web pages with us. You can add one main website and five additional websites.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > This feature is available only if your services/products fall under the e-commerce business category.
>
> To add an additional website:
>
> 1. Log in to the Dashboard.
>
> 2. Click **Account & Settings** in the left navigation.
>
> 3. Click **Business website detail** under **Website and app settings** section.
>
> 4. Click **Add additional website/app details**.
>
> 5. Click **Proceed to update website/app**.
>
> 
>
> 6. Provide the website or app details:
>
> > [accordion] Follow these steps if you own a website:
> >
> >
Select **Website**.
> >
Enter the **Website URL**.
> >
Provide the links for these pages: **About us**, **Contact us**, **Pricing details**, **Terms and conditions**, **Privacy policy** and **Cancellation/Refund policy**.
> >
**Upload invoice**: Upload a sample invoice. The accepted file formats are PNG, JPG and PDF.
> >
**Reason for adding new website**: Enter the reason for adding a new website. Enter a minimum of 50 words.
> >
Provide your website's **Test Account credentials** if required or select **No** for **Does your website require login from user to complete payment?** if logging in is not required.
> >
Click **Submit website for review**.

>
> > [accordion] Follow these steps if you own an app:
> >
> > 1. Select **App**.
> > 2. Enter the **App URL**.
> > 3. **Reason for adding new website**: Enter the reason for adding a new website. Enter a minimum of 50 words.
> > 4. Provide your website's **Test Account credentials** if required or select **No** for **Does your app require login from user to complete payment?** if logging in is not required.
> > 5. Click **Submit app for review**.
> >
> > 
> >
> > After you provide the details, our team will review the request. We will update the details on the Dashboard.
* If you add or update your **primary website**, instant checks are run to validate your website, policy pages and business industry. In case the website requirements are not met, you can re-check and enter the valid URLs as prompted or create policy pages with Razorpay.

* If you add or update **additional websites**, our team will review manually and notify you.
# Capture and Refund Settings
Source: https://razorpay.com/docs/payments/dashboard/account-settings/capture-refund
Steps to configure payment capture and refund settings on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can accept online payments from your customers. When a customer makes a payment, it usually flows through different [payment states](/docs/payments/payments#payment-life-cycle). Check how to [capture payments](/docs/payments/dashboard/account-settings/capture-refund#payment-capture-settings) and [set refunds](/docs/payments/dashboard/account-settings/capture-refund#choose-refund-speed).
## Payments in Authorised state
By default, once your customer completes a payment, it is automatically moved to the `captured` state. However, the payment can remain in the `authorized` state in the following scenarios:\
* **Late authorization**: Due to external factors such as network issues or technical errors, Razorpay may not immediately receive payment status from the bank. In this case, Razorpay polls the APIs intermittently for 3 days to check the status. If we receive the payment status as successful, the payment is moved to the `authorized` state. Know more about [late authorization](/docs/payments/payments/late-authorisation).
* **Specific business use case**: Some businesses such as those in the Ecommerce industry, may retain the payment in the `authorized` state and later move them to the `captured` state.
> [!WARNING]
>
> **Watch Out!**
>
> * For businesses which have the **Direct Settlement** feature enabled, payments will be auto-captured irrespective of the configuration.
> * You must ensure that all payments in theย authorizedย stateย are movedย toย the capturedย state withinย 3ย days of creation.ย Thisย is mandatory because paymentsย thatย areย not capturedย within this period will be refunded automatically to customers.
## Payment Capture Settings
You can configure **Payment Capture settings** on the Dashboard. You can choose to:
* [Auto-capture all payments](/docs/payments/payments/capture-settings#auto-capture-all-payments)
* [Auto-capture with set timeouts](/docs/payments/payments/capture-settings#auto-capture-with-custom-timeouts)
* [Manually capture timeout](/docs/payments/payments/capture-settings#manual-capture-timeout)
## Choose Refund Speed
You can make Normal Refunds or Instant Refunds. You can also issue refunds in batches. Know more about [Refunds](/docs/payments/refunds).
1. Log in to the Dashboard.
2. Click **Account & Settings**.
3. Click **Capture and refund settings** under **Payments and refunds**.
4. You can choose the type of refund you wish to make a default setting.
# Checkout Features
Source: https://razorpay.com/docs/payments/dashboard/account-settings/checkout-features
Customise your checkout experience with options for language settings, email collection, quick flash checkout, personalised banners and more on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
Customise your checkout experience on the Dashboard by setting a default language, enabling email collection , activating flash checkout, making the summary page mandatory and adding a custom banner message to enhance customer engagement.
> [card] [Default Language](/docs/payments/dashboard/account-settings/checkout-features#default-language)
>
> Set the default language for your checkout page when customers don't specify one.
> [card] [Collect Email Address From Customers](/docs/payments/dashboard/account-settings/checkout-features#collect-email-address-from-customers)
>
> Configure the email address field to collect customer email addresses on checkout.
> [card] [Flash Checkout](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout)
>
> Let customers securely save their card details for faster transactions.
> [card] [Message Banner](/docs/payments/dashboard/account-settings/checkout-features#message-banner)
>
> Show custom messages to highlight offers, discounts or important updates.
> [card] [Mandate Summary Page](/docs/payments/dashboard/account-settings/checkout-features#mandate-summary-page)
>
> Display the mandate summary screen for card payments to your users.
> [card] [FAQs](/docs/payments/dashboard/faqs#checkout-settings)
>
> Find answers to frequently asked questions about checkout settings.
> [!NOTE]
>
> **Handy Tips**
>
> * All the below changes will reflect on [Checkout page](/docs/payments/payment-gateway), [Invoices](/docs/payments/invoices), [Payment Button](/docs/payments/payment-button), [Webstore](/docs/payments/webstore), [Payment Links](/docs/payments/payment-links) and [Payment Pages](/docs/payments/payment-pages).
> * You can switch between mobile and desktop views to preview changes.
## Default Language
The customers can [view the Checkout page in their preferred language](/docs/payments/payment-gateway/features). If the customer does not specify a language, the default language will be used on the checkout page.
> [accordion] To select the default checkout language:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Features** in the **Checkout settings** section.
> 3. Select the default language from the drop-down list. For example, **English**.
> 4. Click **Save all changes**.
>
> 
## Collect Email Address From Customers
By default, the email address field is hidden on checkout. You can choose to configure the email address field based on your requirement.
> [accordion] To configure email address field:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Features** in the **Checkout settings** section.
> 3. Turn on **Collect email from customers**.
> 4. Select either of the following options:
> * **Optional (Default)**: Customers can either enter their email address or choose to skip it.
> * **Mandatory**: Customers have to enter their email address to proceed.
> 5. Click **Save all changes**.
>
> 
## Flash Checkout
Use Flash Checkout to let your customers securely save their credit and/or debit card details with Razorpay, thereby reducing transaction time.
* Customers need to authenticate themselves only once on their mobile devices. Razorpay is PCI-DSS compliant. All the card information is securely saved on our servers.
* After the one-time authentication, customers' saved cards are available to accept payments online via Razorpay.
> [accordion] To enable flash checkout:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Features** in the **Checkout settings** section.
> 3. Toggle on the **Flash checkout** field.
> 4. Click **Save all changes**.
>
> 
## Message Banner
Show a custom message to your customers on checkout to highlight promotional offers, discounts or important updates, enhancing their shopping experience.
> [accordion] To show a message banner:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Features** in the **Checkout settings** section.
> 3. Toggle on the **Message banner** field.
> 4. Enter your custom message.
> 5. Click **Edit** to select the banner color as preferred.
> 6. Click **Save all changes**.
>
> 
## Mandate Summary Page
You can display the mandate summary screen for credit and debit card payments to your users.
> [accordion] To show mandate summary page:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Features** in the **Checkout settings** section.
> 3. Toggle on the **Mandate summary page** field.
> 4. Click **Save all changes**.
>
> 
## Order Banner
Display order milestone badges at checkout to boost customer trust and credibility. These badges highlight real order volumes, reassuring customers of your reliability and encouraging them to complete their purchase.
For example, if your store has processed 10,000+ successful orders, the badge showcases this achievement, reinforcing trust.
> [accordion] To display order milestone banner:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Features** in the **Checkout settings** section.
> 3. Toggle on the **Order banner** field.
> 4. Click **Save all changes**.
>
> 
> [!WARNING]
>
> **Watch Out!**
>
> * This feature is automatically enabled and currently available only for businesses with [RTB](/docs/payments/widgets/trusted-business) enabled.
> * If a [message banner](#message-banner) exists on the checkout page, the badge information seamlessly integrates within the same section using vertical scrolling.
### Related Information
[FAQs](/docs/payments/dashboard/faqs#checkout-settings)
# Checkout Styling
Source: https://razorpay.com/docs/payments/dashboard/account-settings/checkout-styling
Customise your checkout with your brand's colours, logos, fonts, and more on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
Customise your Checkout to match your brand's identity by adjusting colors, logos, brand name and logo, fonts, border styles, and sidebar graphics. Additionally, you can show the Razorpay Trusted Business Badge to enhance customer trust in your brand.
> [card] [Festive Theme](/docs/payments/dashboard/account-settings/checkout-styling#festive-theme)
>
> Customise your checkout with festive-themed animations and graphics according to the seasonal celebrations.
> [card] [Background Colour](/docs/payments/dashboard/account-settings/checkout-styling#background-colour)
>
> Customise the checkout background colour according to your brand colour.
> [card] [Brand Name and Logo](/docs/payments/dashboard/account-settings/checkout-styling#brand-name-and-logo)
>
> Decide how you want to display your brand name and logo on checkout.
> [card] [Border Style](/docs/payments/dashboard/account-settings/checkout-styling#border-style)
>
> Choose the border style for various elements on your checkout.
> [card] [Font](/docs/payments/dashboard/account-settings/checkout-styling#font)
>
> Select a font for your brand to apply to all text on the checkout.
> [card] [Sidebar Graphic](/docs/payments/dashboard/account-settings/checkout-styling#sidebar-graphic)
>
> Enhance your checkout sidebar with a decorative graphic.
> [card] [Razorpay Trusted Badge](/docs/payments/dashboard/account-settings/checkout-styling#razorpay-trusted-badge)
>
> Show the Razorpay Trusted Badge to build credibility as a trusted business.
> [card] [FAQs](/docs/payments/dashboard/faqs#checkout-settings)
>
> Find answers to frequently asked questions about checkout settings.
> [!NOTE]
>
> **Handy Tips**
>
> * All the below changes will reflect on **Checkout** page, **Invoices**, **Payment Button**, **Webstore**, **Payment Links** and **Payment Pages**
> * You can switch between mobile and desktop views to preview changes.
## Festive Theme
Customise your checkout with festive-themed animations and graphics according to the seasonal celebrations.
> [accordion] To add festive theme:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings** section.
> 3. Toggle on the **Festive Theme** field.
> 4. Click **Save all changes**.
>
> 
## Background Colour
You can customise the checkout background colour according to your brand colour.
> [accordion] To edit background colour:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings** section.
> 3. In the **Background Color** field, click **Edit**.
> 4. You can choose to enter the RGB, HSL or HEX code of your brand colour.
> 5. Click **Save all changes**.
>
> 
## Brand Name and Logo
Decide how you want to display your brand name and logo on checkout. You can update the brand name displayed to your customers in the following places:
On transaction and refund emails sent to customers.
On the links sent to customers for Payment Links, Payment Pages, Invoices and Subscriptions.
As the beneficiary name when you create a Smart Collect Customer Identifier. Know more about [Smart Collect](/docs/payments/smart-collect).
> [!NOTE]
>
> **Handy Tips**
>
> * You can update the brand name only to one that is at least 80% similar to the company name or domain name.
> * This feature is available for both registered and individual businesses.
> * Only users with 'Owner' or 'Admin' roles can update the brand name.
> * Bank-related SMS or credit card statements sent to customers will not have the brand name since these are managed by the banks and not Razorpay. Such communication will display the billing name provided by you during account creation and activation process.
> [accordion] To edit brand name and logo:
>
> 1. Log in to the Dashboard.
>
> 2. Navigate to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings** section.
>
> 3. In the **Brand name and logo** field, click **Edit**.
>
> 
>
> 4. Choose a title style based on your requirement.
>
> 
>
> > [tab] Logo & Text
> >
> > Best for square logos, displaying both your logo and brand name.
> >
> > 1. Click **Continue to upload**.
> > 2. Enter your brand name or business name.
> > 3. Drag the file or click **Upload** to add your logo.
> > 4. Click **Save and continue**.
>
> > [tab] Wordmark
> >
> > Ideal for long, word-based logos, focusing on your brand's name as the main identifier.
> >
> > 1. Click **Continue to upload**.
> > 2. Drag the file or click **Upload** to add your logo.
> > 3. Click **Save and continue**.
>
> > [tab] Text only
> >
> > Displays only your brand name in text format, without a logo.
> >
> > 1. Click **Continue to upload**.
> > 2. Enter your brand name or business name.
> > 3. Click **Save and continue**.
>
> 5. Click **Save all changes**.
## Border Style
Choose the border style for various elements on your checkout, such as the checkout, logo, account and payment options.
> [accordion] To edit border style:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings** section.
> 3. In the **Border style** field, you can select **rounded** or **sharp** border style based on your requirement.
> 4. Click **Save all changes**.
>
> 
## Font
Select a font for your brand based on your requirement.
> [accordion] To edit font:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings** section.
> 3. In the **Font** field, select a font for your brand from the drop-down list to apply it to all text on the checkout.
> 4. Click **Save all changes**.
>
> 
## Sidebar Graphic
Enhance your checkout sidebar with a decorative graphic. This setting is available only in desktop view.
> [accordion] To add sidebar graphic:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings** section.
> 3. Toggle on the **Sidebar graphic** field and select a design pattern that fits your needs.
> 4. Click **Save all changes**.
>
> 
## Razorpay Trusted Badge
Show the Razorpay trusted badge on your checkout to build credibility as a trusted business. This reassures your customers (who otherwise might have dropped off due to lack of trust) that they can safely transact with your brand. Know more about [Razorpay trusted badge](/docs/payments/payment-gateway/features/trusted-business#how-razorpay-trusted-business-badge-works).
> [accordion] To enable Razorpay trusted badge:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings** section.
> 3. Toggle on the **Razorpay trusted badge** field.
> 4. Click **Save all changes**.
>
> 
# Credits
Source: https://razorpay.com/docs/payments/dashboard/account-settings/credits
Know about the Amount credits, Fee credits and Refund credits available to you. Manage them and configure alerts from the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
There are three types of credits [Amount credits](#amount-credits), [Fee credits](#fee-credits) and [Refund credits](#refund-credits). You can view and add funds to these credits from the Dashboard. Also, you can [configure alerts](#credit-alerts) to receive email notifications when your credits fall below the set threshold.

## Amount Credits
Amount credits are the credits against which you can receive payments without any fee deduction.
> [!WARNING]
>
> **Amount credits availability for businesses**
>
> Amount credits are not applicable for the following payment instruments (applicable to all businesses):
>
> * EMI payments
> * International card transactions
> * American Express (AMEX) cards
> * Diners Club cards
> * Prepaid cards
> * Corporate credit cards
> [accordion] Example
>
> If you have a credit of , you will not be charged any fees for payments up to . However, if a transaction exceeds (for example, ), fees apply to the entire amount, and you cannot use your credits for this transaction. Amount credits might be assigned to your account during sign-up if Razorpay runs promotional campaigns.
> [accordion] View Amount Credits
>
> You can view the Amount credits assigned to your Razorpay Dashboard account. However, you cannot add any funds to this credit.
>
> To view Amount credits history:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** in the left navigation.
> 3. Click **Credits** under **Payments and refunds** section.
> 4. Click **Past Coupons** under **Amount Credits**.
>
> 
>
> A list of Amount credits assigned to the account in the past is displayed.
## Fee Credits
Fee credits are the credits using which businesses can receive the full settlement amount without any fee deduction. Specific business categories use these credits to help them meet regulatory requirements.
> [accordion] Example
>
> If you have a fee credit of , all the transactions will be settled in full, and the fees for these payments will be deducted from the โน100 fee credit.
> [accordion] Add Fee Credits
>
> You can add funds to Fee credits using the Dashboard through UPI or Bank Transfer.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > You should add funds only through the settlement account registered with us.
>
> > [tab] Add Fee Credits Using UPI
> >
> > To add Fee Credits using UPI:
> >
> > 1. Log in to the Dashboard.
> > 2. Click **Account & Settings** in the left navigation.
> > 3. Click **Credits** under **Payments and refunds** section.
> > 4. Click **Add Fee Credits**.
> >
> > 
> > 5. Select **UPI**.
> > 6. Enter the description and amount to be added.
> > 7. Click **Add Credits**.
> > 8. Enter the email and contact number on the checkout pop-up page and click **Proceed**.
> > 9. Select UPI, enter UPI ID or scan the QR, click **PayNow** and complete the payment.
> >
> > Your Fee credits balance is updated.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > It may take 2-3 hours for the credits to reflect in your Razorpay account.
>
> > [tab] Add Fee Credits Using Bank Transfer
> >
> > To add Fee Credits using Bank Transfer:
> >
> > 1. Log in to the Dashboard.
> >
> > 2. Click **Account & Settings** in the left navigation.
> >
> > 3. Click **Credits** under **Payments and refunds** section.
> >
> > 4. Click **Add Fee Credits**.
> >
> > 
> >
> > 5. Select **Bank Transfer**.
> >
> > 6. Copy the account number and IFSC code.
> >
> > 
> >
> > 7. Open your netbanking portal, create a beneficiary with these details and transfer the amount.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > It may take 2-3 hours for the credits to reflect in your Razorpay account.
>
> Your Fee credits balance is updated.
> [accordion] View Fee Credit History
>
> You can view the Fee credits previously added by you.
>
> To view Fee credit history:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** in the left navigation.
> 3. Click **Credits** under **Payments and refunds** section.
> 4. Click **View History** under **Fee Credits**.
>
> A list of Fee credits previously added by you is displayed.
>
> 
## Refund Credits
Refund credits are the credits you can use to make refunds to customers. This ensures that the refunds are not made from your settlement amount but from a separate credit pool.
> [accordion] Example
>
> If you have a Refund credit of , any refunds to be processed will be deducted from this credit and not from the actual payment.
> [accordion] Add Refund Credits
>
> You can add funds to Refund credits using the Dashboard through either UPI or Bank Transfer.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > You should add funds only through the settlement account registered with us.
>
> > [tab] Add Refund Credits Using UPI
> >
> > To add Refund credits using UPI:
> >
> > 1. Log in to the Dashboard.
> > 2. Click **Account & Settings** in the left navigation.
> > 3. Click **Credits** under **Payments and refunds** section.
> > 4. Click **Add Refund Credits**.
> >
> > 
> > 5. Select **UPI**.
> > 6. Enter the description and amount to be added.
> > 7. Click **Add Credits**.
> > 8. Enter the email and contact number on the checkout pop-up page and click **Proceed**.
> > 9. Select UPI, enter UPI ID or scan the QR, click **PayNow** and complete the payment.
> >
> > Your Refund credits balance is updated.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > It may take 2-3 hours for the credits to reflect in your Razorpay account.
>
> > [tab] Add Refund Credits Using Bank Transfer
> >
> > To add Refund credits using bank transfer:
> >
> > 1. Log in to the Dashboard.
> >
> > 2. Click **Account & Settings** in the left navigation.
> >
> > 3. Click **Credits** under **Payments and refunds** section.
> >
> > 4. Click **Add Refund Credits**.
> >
> > 
> >
> > 5. Select **Bank Transfer**.
> >
> > 6. Copy the account number and IFSC code.
> >
> > 
> >
> > 7. Open your netbanking portal, create a beneficiary with these details and transfer the amount.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > It may take 2-3 hours for the credits to reflect in your Razorpay account.
> [accordion] View Refund Credit History
>
> You can view the Refund credits previously added by you.
>
> To view Refund credit history:
>
> 1. Log in to the Dashboard.
> 2. Click **Account & Settings** in the left navigation.
> 3. Click **Credits** under **Payments and refunds** section.
> 4. Click **View History** under **Refund Credits**.
>
> A list of Refund credits previously added by you is displayed.
>
> 
## Credit Alerts
You can configure alerts to receive email notifications when any of your credits fall below the set threshold amount. This helps you monitor your credit balance and add funds to them whenever necessary.
You can set three alert levels, wherein:
* Alert Level 1: Level set by you on the Dashboard.
* Alert Level 2: Automatically set as 50% of Alert Level 1.
* Alert Level 3: Automatically set as 25% of Alert Level 1.
> [accordion] Example
>
> You can set your Refunds credit alert as . This means that whenever your Refund credits balance falls below:
>
> * : The first email is sent to your registered email address.
> * : The second email is sent.
> * : The third and final email is sent.
> [accordion] Configure Credit Alerts
>
> You can configure credit alerts using the Dashboard.
>
> To configure alerts:
>
> 1. Log in to the Dashboard.
>
> 2. Click **Account & Settings** in the left navigation.
>
> 3. Click **Credits** under **Payments and refunds** section.
>
> 4. Click **Manage Alerts**.
>
> 5. Set up the alerts for each credit type. You need to enter the value of Alert Level 1 only.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > If you do not want to receive any alerts, set the value to `0`.
# Customer Support Details
Source: https://razorpay.com/docs/payments/dashboard/account-settings/customer-support-details
Steps to add or update your business' customer support details on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
You can add your support details to the transaction emails sent to your customers. This will help your customers know how to reach you for any queries.
## Add Support Details
To add support details:
1. Log in to the Dashboard.
2. Click **Account & Settings** and navigate to **Customer support details** under **Business settings** section.

3. Click **Add** and enter:
* Phone Number
* Email
* Website/ Contact Us Link
4. Click **Submit**.
## Edit Support Details
To edit support details:
1. Log in to the Dashboard.
2. Click **Account & Settings** and navigate to **Customer support details** under **Business settings** section.
3. Navigate to the phone number, email or website/contact us link field and click **Edit**.

4. Click **Submit**.
# Email, SMS and WhatsApp Notifications
Source: https://razorpay.com/docs/payments/dashboard/account-settings/email-sms-whatsapp
Steps to add or update notification settings on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
You can configure email, SMS and WhatsApp notification settings on the Dashboard.
## Manage Email Notifications
You can configure the email addresses to receive email notifications like payments received, daily payment reports and webhooks. You will also receive an email notification for both successful and failed settlements.
> [!NOTE]
>
> **Handy Tips**
>
> Settlement emails will be sent to the email addresses provided on the Dashboard.
> [accordion] To enable email notifications:
>
> 1. Log in to the Dashboard.
> 2. Click **Accounts & Settings** and go to **Email** under **Notification settings**.
> 3. Enter email addresses under **Email Notifications**. If you want to enter multiple email addresses, separate them by a comma.
## Manage SMS Notifications
You can enable **SMS Notifications** to receive SMS notifications for successful and failed settlements.
> [accordion] To enable SMS notifications:
>
> 1. Log in to the Dashboard.
> 2. Click **Accounts & Settings** and go to **SMS** under **Notification settings**.
> 3. Enable **SMS Notifications**.
>
> 
>
> After SMS notifications are enabled, you start receiving notifications on the registered phone number. By default, this feature is set to **Enabled**. You can disable it using the toggle button.
## Manage WhatsApp Notifications
You can receive WhatsApp notifications regarding settlements, account configuration changes and more on your registered contact number. You can enable this feature during the sign-up process or later from the Dashboard.
> [!NOTE]
>
> **Handy Tips**
>
> This feature is available only to the owner user role. Know about the various [user roles](/docs/payments/dashboard/account-settings/manage-team).
> [accordion] To enable WhatsApp notifications:
>
> 1. Log in to the Dashboard.
> 2. Click **Accounts & Settings** and go to **WhatsApp** under **Notification settings**.
> 3. Enable **WhatsApp Notifications**.
>
> 
>
> After WhatsApp notifications are enabled, you start receiving notifications on the registered number. You can disable the WhatsApp notifications from the Dashboard.
# FIRS
Source: https://razorpay.com/docs/payments/dashboard/account-settings/firs
Steps to generate FIRS certificate from the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
FIRS Certificate is a document that acts as evidence that you have received funds from a foreign country. The document is recognised as proof in scenarios such as getting GST refunds, claiming drawbacks from the government, or being required by beneficiary banks for compliance purposes. You can now generate FIRS from the Dashboard. Know more about [FIRS Automated Process](/docs/payments/international-payments/firs-automated-process).
## Generate FIRS Certificate
All new and existing users accepting international payments can easily obtain the FIRS certificate on the Dashboard in a downloadable format.
To generate FIRS certificate:
1. Log in to the Dashboard and navigate to **Account & Settings**.
2. Under **International payment settings** click **Foreign inward remittance statement (FIRS)**.
3. You can view a list of FIRS certificates based on your monthly transactions in a downloadable format.

4. There are two sections.
* The FIRS certificates provided by the bank.
* Razorpay-generated statements.
> [!NOTE]
>
> **Handy Tips**
>
> Razorpay-generated statements act as an alternative to FIRS certificates provided by banks.

If the FIRS is not generated from the bank or you need a consolidated list of FIRS, click on **Request for Razorpay Statement**. You can view or download the FIRS certificate from your Dashboard.

> [!NOTE]
>
> **Handy Tips**
>
> Generating reports can take up to 1 hour.
>
> 
# GST Details
Source: https://razorpay.com/docs/payments/dashboard/account-settings/gst-details
Steps to view your business' GST details on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
While signing up for a Razorpay account you are required to provide GST-related information. You can find these details recorded on the Dashboard.
## View GST Details
To view GST details:
1. Log in to the Dashboard.
2. Click **Account & Settings** and navigate to **GST Details** under **Business settings** section.
3. The following information is listed:
* **GST Number**
* **Registered Address**
* **Status**
* **Razorpay's GST Number**
## Add or Update GST details
You can add or update your GST details from the Dashboard. Your account details like name, business name and registered address will change as per the updated GST details.
> [!NOTE]
>
> **Handy Tips**
>
> * This feature is available only for registered Razorpay users.
> * Only users with 'Owner' or 'Admin' roles can add or update the GST details.
To add or update GST details:
1. Log in to the Dashboard.
2. Click **Account & Settings** in the left navigation.
3. Click **GST details** under **Business settings** section.
* To add your GST details, click **Add GST details**.

* To update your GST details, click **Update GST details**.
4. In the **Add GST details** pop-up page:
* Enter the GSTIN. This will appear on the invoices sent by Razorpay.
* Upload a copy of the GSTIN Certificate and click **Submit**.

After you provide the details, our team will review the request. During the verification process, we may reach out to you for clarifications.
### Frequently Asked Question (FAQs)
> [accordion] After updating the GST details, will the older invoices still be associated with my old GST value?
>
> Yes, invoices downloaded before updating the GST details will have the older value of GSTIN associated with them.
# International Payment Codes
Source: https://razorpay.com/docs/payments/dashboard/account-settings/international-payment-codes
Steps to configure international payment codes (purpose code, IEC code, HS code) on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
Razorpay allows foreign (non-Indian) businesses to accept payments from Indian customers without any additional paperwork or registration.
## Accept Payments From Indian Customers
Follow the steps given below to onboard and accept payments from Indian customers:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings**.
3. You must provide the Purpose Code information when applying for international payments.
1. Click **International Payment Codes** under **International payment settings**.

2. Update your purpose code under the **International Payment Codes** section.

3. Select the appropriate **Purpose Code**.
Based on your business requirements, you also need to provide your **HS Code** or **IEC Code**.
> [tab] Add HS Code
>
> 1. Click **International Payment Codes** under **International payment settings**.
>
> 2. Update your HS Code under the **International Payment Codes** section.
>
> 3. Select the appropriate **Harmonised System Code**, also known as HS Code.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * For Software: HSCode is **85238020** and HSDescription is **Other Information technology software**.
> > * For Goods: Refer to the list from the [DGFT website](https://www.dgft.gov.in/CP/).
> [tab] Add IEC Code
>
> 1. Click **International Payment Codes** under **International payment settings**.
>
> 2. Update your **IEC Code** under the **International Payment Codes** section.
>
> 3. Select the appropriate **Purpose Code**.
>
> 4. Enter the 10-digit Importer/Exporter Code (IEC) and click **Next**.
>
> 
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > The IEC is a code issued by the Indian Director General of Foreign Trade (DGFT) to Indian companies that intend to export from India. You can apply for an IEC at the [DGFT website](https://www.dgft.gov.in/CP/).
> >
> > The IEC code input screen appears for specific purpose codes, (P0103) being one of them.
4. Review and click **Confirm**. The Razorpay Activation/Operations team verifies the selected **Purpose Code**.
As consumers or buyers, you get an option to make payments through the Razorpay Payment Gateway. On selecting Razorpay, various payment methods will be displayed on Razorpay checkout to complete the payment.
# Manage Team
Source: https://razorpay.com/docs/payments/dashboard/account-settings/manage-team
Manage your team, add or remove users and provide appropriate roles to control access on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Manage your team of users who can access the Dashboard. You can provide specific access to a user or a set of users.
**Example**
You need someone in your organisation to perform day-to-day operations such as handling refunds and settlements. In this case, you can give Dashboard access to a person and assign the **Operations** role. This limits their access to actions related to refunds and settlements only.
## Standard User Roles
There are some predefined user roles that you can assign to your team members. You can use these roles to limit a user's access to the Dashboard. Check each role and the permissions associated with it.
> [accordion] Owner
>
> **Actions Allowed**
>
>
>
Generate API keys
>
Create and manage webhooks
>
Manage teams
>
Update brand name
>
Edit activation form details, including bank account details and GST number, before submission
>
View all transactions and settlements
>
View all disputes
>
Accept all disputes
>
Contest all disputes and submit evidence
>
Configure payment capture settings
>
Configure payment methods
>
Capture transactions
>
Create refunds
>
Create and manage Invoices, Plans and Subscription Links, Customer Identifiers, Customers, Payment Pages and Payment Links.
>
Edit Razorpay Linked Account details
>
Create and upload batch files
>
Download and email reports
>
Use Payments Mobile App
>
Create Offers.
>
Install OAuth Apps
>
View and download API/webhooks logs (Developers > APIs/Webhooks)
>
> [accordion] Pseudo Owner
>
> The Pseudo Owner role provides full owner-level access to trusted team members for business continuity when the primary owner is unavailable (on leave, travel or emergencies). This role has identical permissions to the Owner role with enhanced audit tracking.
>
> **Actions Allowed**
>
>
>
All permissions identical to Owner role
>
Generate API keys
>
Create and manage webhooks
>
Manage teams (invite, modify, deactivate users)
>
Update brand name
>
Edit activation form details, including bank account details and GST number
>
View and modify settlement bank account details
>
View all transactions and settlements
>
View all disputes
>
Accept all disputes
>
Contest all disputes and submit evidence
>
Configure payment capture settings
>
Configure payment methods
>
Capture transactions
>
Create refunds (any amount)
>
Create and manage Invoices, Plans and Subscription Links, Customer Identifiers, Customers, Payment Pages and Payment Links.
>
Edit Razorpay Linked Account details
>
Create and upload batch files
>
Download and email reports
>
Use Payments Mobile App
>
Create Offers
>
Install OAuth Apps
>
View and download API/Webhooks logs
>
>
> **Actions Not Allowed**
>
> * Delete the primary owner account
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > * Maximum of 2 Pseudo Owners allowed per Razorpay account.
> > * Assignment requires additional authentication (OTP/2FA).
> > * Owner receives email confirmation when a Pseudo Owner is assigned.
> > * All actions are logged with "Pseudo Owner" designation for audit purposes.
> [accordion] View-Only (Auditor)
>
> The View-Only role provides complete visibility into all Dashboard data without any ability to perform actions or make changes. This role is designed for stakeholders who need to monitor, review or audit your payment operations.
>
> **Actions Allowed**
>
>
>
View all transactions and settlements
>
View all disputes
>
View analytics and insights
>
View configuration and settings pages (read-only)
>
Navigate all Dashboard sections
>
>
> **Actions Not Allowed**
>
>
>
Generate API keys
>
Create and manage webhooks
>
Manage teams
>
Capture transactions
>
Create refunds
>
Accept or contest disputes
>
Create and manage Razorpay Invoices, Payment Pages, Payment Links
>
Edit activation form details, including bank account details
>
Create and upload batch files
>
Download or export files
>
Edit any settings or configurations
>
Edit Razorpay Linked Account details
>
Modify API keys or webhook URLs
>
Change account settings, bank details or KYC information
>
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > * All operational buttons (Refund, Create Payout, Edit Settings, Save) are hidden or disabled.
> > * Form fields on configuration pages are displayed in read-only mode.
> > * Attempting any restricted action displays: "Permission Denied. Please contact the owner."
> > * All page views are logged for audit and compliance purposes.
>
> > [!NOTE]
> >
> > **View-Only (Auditor) Role is Best For**
> >
> > * Internal and external auditors
> > * Compliance officers
> > * Senior management and executives
> > * Business analysts
> > * Regulatory reviewers
> [accordion] Admin
>
> **Actions Allowed**
>
>
>
Generate API Keys
>
Create and manage webhooks
>
Update brand name
>
Edit activation form details, including bank account details and GST number, before submission.
>
Configure payment methods
>
View all transactions and settlements
>
View all disputes
>
Accept all disputes
>
Contest all disputes and submit evidence
>
Capture transactions
>
Create refunds
>
Create and manage Invoices, Plans and Subscription Links, Customers, Customer Identifiers, Payment Pages and Payment Links.
>
Create and upload batch files
>
Download and email reports
>
Use Payments Mobile App
>
Create Offers
>
Edit Razorpay Linked Account details
>
>
> **Actions Not Allowed**
>
> * Manage Teams
> [accordion] Manager
>
> **Actions Allowed**
>
>
>
Create and manage webhooks
>
Edit activation form details, including GST number, before submission
>
Configure payment capture settings
>
Configure payment methods
>
View all transactions and settlements
>
View all disputes
>
Accept all disputes
>
Contest all disputes and submit evidence
>
Capture transactions
>
Create refunds
>
Create and manage Invoices, Plans and Subscription Links, Customers, Customer Identifiers, Payment Pages and Payment Links.
Edit activation form details, including bank account details and GST number, before submission
>
Edit Razorpay Linked Account details
>
> [accordion] Finance
>
> **Actions Allowed**
>
>
>
Edit activation form details including GST number, before submission
>
View all transactions and settlements
>
View all disputes
>
Accept all disputes
>
Contest all disputes and submit evidence
>
Create and upload batch files
>
Download and email reports
>
>
> **Actions Not Allowed**
>
>
>
Generate API Keys
>
Create and manage webhooks
>
Manage Teams
>
Capture transactions
>
Create refunds
>
Create and manage Invoices, Plans and Subscription Links, Customers, Customer Identifiers Payment Pages and Payment Links.
>
Edit Razorpay Linked Account details
>
> [accordion] ePos
>
> **Actions Allowed**
>
>
>
Create Invoices and Payment Links in INR only
>
Create, view and edit Offers
>
Create, view and edit Payment Page
>
Create, view and edit Payment Button
>
Create, view and edit Payment Handle
>
>
> **Actions Not Allowed**
>
>
>
Generate API Keys
>
Edit activation form details including GST number, before submission
>
Create and manage webhooks
>
Manage Teams
>
View all transactions and settlements
>
View all disputes
>
Accept all disputes
>
Contest all disputes and submit evidence
>
Capture transactions
>
Create refunds
>
Edit Razorpay Linked Account details
>
Create and upload batch files
>
Download and email reports
>
Create Items
>
View Invoices, Payment Pages, Payment Links created by other users
>
> [accordion] Dispute Manager
>
> The Dispute Manager role is designed for team members who handle chargebacks and payment disputes. This role provides focused access to dispute management functions while restricting access to sensitive financial operations.
>
> **Actions Allowed**
>
> * View all disputes and dispute details
> * Accept disputes
> * Contest disputes and submit evidence
> * Download dispute reports
> * Search and filter disputes
> * View dispute summary metrics (pending, accepted, contested)
>
> **Actions Not Allowed**
>
>
View Payments, Payment Links, Payment Pages and the Settlements tab
>
View all transactions and settlements
>
View all disputes
>
>
> **Actions Not Allowed**
>
>
>
Accept, defend or contest disputes
>
Create refunds
>
Edit any settings or configurations
>
Generate API keys
>
> [accordion] R\&D
>
> The R\&D role is designed for developers and engineering teams who need to configure and troubleshoot webhooks without access to payments, settlements or other financial operations.
>
> **Actions Allowed**
>
>
>
Create, view, edit and delete webhooks
>
View webhook logs, including the event logs and request/response headers for each delivery attempt (last 3 hours)
>
>
> **Actions Not Allowed**
>
>
>
Generate API keys
>
View or manage payments
>
View or manage disputes
>
Create refunds
>
View settlements
>
Create Offers
>
Download and email reports
>
Manage Teams
>
> [accordion] Support
>
> **Actions Allowed**
>
>
>
View all transactions and settlements
>
View all disputes
>
Accept all disputes
>
Download and email reports other than the monthly invoice report
>
>
> **Actions Not Allowed**
>
>
>
Generate API Keys
>
Create and manage webhooks
>
Manage Teams
>
Edit activation form details, including bank account details and GST number, before submission
>
Capture transactions
>
Create refunds
>
Create and manage Invoices, Plans and Subscription Links, Customers, Customer Identifiers, Payment Pages and Payment Links.
>
Edit Razorpay Linked Account details
>
Create and upload batch files
>
Access monthly invoice report
>
> [!NOTE]
>
> **Handy Tips**
>
> A team member can be assigned only one role, as each role is tied to a specific email address. A user can have multiple roles if they have different email addresses.
> [!NOTE]
>
> **Handy Tips**
>
> * A team member should be assigned a role as the role is tied to an email address. A user can have multiple roles if they have different email ids.
> * Use the [Dispute Manager](/docs/payments/dashboard/account-settings/manage-team#dispute-manager) role for team members who only need to handle chargebacks without access to refunds or bank details.
> * Use the [Pseudo Owner](/docs/payments/dashboard/account-settings/manage-team#pseudo-owner) role sparingly for trusted individuals who need to manage the account when the Owner is unavailable.
> * Use the [View-Only](/docs/payments/dashboard/account-settings/manage-team#view-only-auditor) role for auditors and stakeholders who need visibility without operational access.
> [accordion] Invite a Registered User
>
> 1. Log in to the Dashboard.
> 2. Navigate to the **Account & Settings** โ **Business settings** and click **Manage Team**.
> 3. Click **Invite New Member**.
> 4. Type in the email address of the user whom you want to invite. Select a role from the drop-down list.
> 5. Click **Send Invitation** to invite the user. A list of accepted and pending invitations is displayed on the same page.
> 6. Click **Resend** to re-invite the user or **Cancel** to cancel the invitation.
> [accordion] Accept Invite - Existing User
>
> To accept an invitation:
>
> 1. Log in to the Dashboard.
> 2. Navigate to the **Account & Settings** โ **Business settings** and click **Invitations**.
> 3. Click **Accept** next to the invite.
>
> 
>
> > [!NOTE]
> >
> > **Switching Accounts**
> >
> > After accepting the invite, the invited user can switch between their and your account using the **Switch Merchant** option available on the Dashboard header.
> > You cannot access their account unless they invite you to join their team.
> [accordion] Invite a New User
>
> You can invite a user who is not registered with Razorpay to join your team. Such users are sent an invitation link via email.
>
> To invite a new user:
>
> 1. Log in to the Dashboard.
> 2. Navigate to the **Account & Settings** โ **Business settings** and click **Manage Team**.
> 3. Click **Invite New Member**.
> 4. Enter the member's email id and select the user role to be assigned.
> 5. Click **Send Invitation**.
>
> 
> [accordion] Update Role of a User
>
> You can change the user's role after the invitation is sent to the user or after the invitation is accepted by the user.
>
> To update a user's role:
>
> 1. Log in to the Dashboard.
> 2. Navigate to the **Account & Settings** โ **Business settings** and click **Manage Team**.
> 3. Select the new role for the user from the drop-down.
> 4. Click **Update**.
> [accordion] Remove a User
>
> You can remove a user from your team to remove their complete access from your Dashboard.
>
> To remove a user from your team:
>
> 1. Log in to the Dashboard.
> 2. Navigate to the **Account & Settings** โ **Business settings** and click **Manage Team**.
> 3. Click **Remove** to remove a user from the **Team Member** list. Once removed, the user can no longer access your Dashboard.
> 4. Click **Cancel** to remove a user from the **Pending Invitations** list.
> [accordion] Enable 2-Step Verification (2FA at Team Level)
>
> You can set 2-step verification for your entire team for enhanced security and protection of your Dashboard data thus preventing malicious attacks or misuse of your sensitive business data.
>
> To enable 2-step verification for your team:
>
> 1. Log in to the Dashboard.
> 2. Navigate to the **Account & Settings** โ **Business settings** and click **Manage Team**.
> 3. Enable the **2-Step Verification to the team** option.
> 4. Enter the OTP sent to your registered mobile device. (This step is not required if you had already performed OTP verification during login.)
> 5. Enter your account password and confirm.
>
> You have now set up 2FA for your entire team.
## Frequently Asked Questions (FAQs)
> [accordion] What to do if a user account is locked?
>
> If a user enters the wrong OTP 9 times, their account will be locked for security reasons. In such scenarios, the user should contact their respective account owner. The account owner can unlock the users' accounts.
> [accordion] What to do if a user loses their mobile device?
>
> If a user loses their mobile device:
>
> * **If they use an authenticator app and still receive SMS on their verified phone number**, for example on a new phone with the same number, they can click **Use SMS OTP** on the **Two Step Verification** screen to sign in. They can then turn off the authenticator app and set it up again on the new phone. Know more about [what to do with a new or lost phone](/docs/payments/dashboard/account-settings/security-sign-in#new-phone-or-lost-phone).
> * **If they use an authenticator app and cannot sign in**, they should raise a request with our [Support Team](https://razorpay.com/support/#request). The account owner's **Invalidate 2FA** option does not remove the authenticator app.
> * **If they do not use an authenticator app**, they should reach out to their respective account owner. The account owner can **Invalidate 2FA** for the user, that is reset 2FA for the user. The user will be asked to enter their mobile number the next time they log in to the Dashboard.
> [accordion] What to do if the account owner is locked?
>
> If you are the account owner and have entered the wrong OTP 9 times, your account will be locked for security reasons. In such scenarios, contact our [Support Team](https://razorpay.com/support/#request) to **Reset 2FA** for your account.
> [accordion] What to do if the account owner loses their mobile device?
>
> If you are the account owner and have lost your mobile device:
>
> * **If you use an authenticator app and still receive SMS on your verified phone number**, click **Use SMS OTP** on the **Two Step Verification** screen to sign in. Then turn off the authenticator app and set it up again on your new phone. Know more about [what to do with a new or lost phone](/docs/payments/dashboard/account-settings/security-sign-in#new-phone-or-lost-phone).
> * **If you use an authenticator app and cannot sign in**, contact our [Support Team](https://razorpay.com/support/#request) for help signing in.
> * **If you do not use an authenticator app**, contact our [Support Team](https://razorpay.com/support/#request) to **Reset 2FA** for your account.
> [accordion] What is the Dispute Manager role?
>
> The Dispute Manager role is designed for team members who handle chargebacks and payment disputes. Users with this role can view, accept and contest disputes and download dispute reports. They cannot create refunds or access settlement/bank details. This role is ideal for dedicated chargeback teams or third-party dispute management agencies.
> [accordion] What is the Pseudo Owner role?
>
> The Pseudo Owner role provides full owner-level access to trusted team members for business continuity. It is useful when the primary owner is unavailable (on leave, travel or emergencies). Pseudo Owner role has the same permissions as the Owner role except they cannot delete the primary owner account. A maximum of 2 Pseudo Owners can be assigned per account and assignment requires additional authentication.
> [accordion] What is the View-Only (Auditor) role?
>
> The View-Only role provides read-only access to all Dashboard data. Users with this role can view transactions, settlements, disputes and settings but cannot perform any actions or make changes. This role is ideal for auditors, compliance officers and senior management who need visibility without operational access. All page views are logged for audit purposes.
> [accordion] How many Pseudo Owners can I have?
>
> You can provide Pseudo Owner access to a maximum of 2 users for each Razorpay account. If you need more, contact [Razorpay support](https://razorpay.com/support/#request) to discuss your requirements.
> [accordion] Can a Dispute Manager issue refunds?
>
> No, Dispute Managers cannot create refunds. If a refund is needed to resolve a dispute, the Dispute Manager must coordinate with a team member who has refund permissions (Owner, Pseudo Owner, Admin, Manager or Operations roles).
> [accordion] Can a View-Only user download reports?
>
> No, users with view-only access can only view reports and data on the Dashboard. They cannot download or export files. This restriction helps maintain data security for audit and compliance purposes.
> [accordion] What is the R\&D role?
>
> The R\&D role is designed for developers and engineering teams who manage webhooks. Users with this role can create, view, edit and delete webhooks and view webhook logs (event logs and request/response headers from the last 3 hours). They cannot generate API keys, view payments, settlements or disputes, create refunds or manage teams. This role is ideal for engineering teams that need to configure and troubleshoot webhook deliveries without access to financial operations.
# Payment Configuration
Source: https://razorpay.com/docs/payments/dashboard/account-settings/payment-configuration
Select the payment methods and instruments you want to display, rearrange them to customise your checkout and create custom payment blocks for different customers.
Available in
๐ฎ๐ณ India
Perform multiple configurations related to the payment methods and instruments that you want to show on your checkout page.
* Choose the payment methods and instruments you want to display at checkout
* Arrange them in your preferred order
* Create custom payment blocks for specific customer segments, ensuring they see the most relevant options.
This enhances the user experience, improves discoverability and boosts conversion rates.
> [!NOTE]
>
> **Handy Tips**
>
> * You can hide, show, create custom blocks and rearrange payment methods and instruments as required, but you cannot enable or disable them from this setting. Know more about how to [enable/disable payment methods](/docs/payments/dashboard/account-settings/payment-methods#enable-payment-methods).
> * You can switch between mobile and desktop views to preview changes.
## View Default Configuration
To view Razorpay's default payment configuration:
1. Navigate to **Accounts & Settings** โ **Payment Configuration** under **Checkout settings** section.
2. Click **View** against the **Standard Payment Options** section. This setting is read-only and cannot be edited.

## Configure Payment Options
Follow these steps to configure your payment options:
1. Log in to the Dashboard.
2. Navigate to **Accounts & Settings** โ **Payment Configuration** under **Checkout settings** section. Following are the types of configurations:
> [accordion] Basic Configuration
>
> You can customise the payment options to display only the methods you want your customers to see, instead of Razorpay's default configuration.
>
> 1. Click **Create a custom payment configuration**.
> 2. Enter the **Configuration name** and click **Save**.
>
> 
> 3. By default, all payment methods available on your account are enabled. You can show or hide payment methods as needed. Additionally, you can rearrange them in your preferred order by dragging and dropping, based on customer preferences, success rates, or usage frequency.
>
> 
> 4. Click **Save all changes**.
> [accordion] Advanced Configuration
>
> Create custom blocks to highlight specific payment methods or instruments above other options. You can create multiple custom blocks as required.
>
> 1. Click the plus icon next to **Create a custom payment block**
>
> 2. Enter a block name. For example, **Preferred Methods**. This appears at checkout as a separate section above the default standard payment options.
>
> 3. Click **+ Add a single payment instrument** to highlight a specific instrument.
>
> 4. Select a payment method from the drop-down and choose a payment instrument.
>
> 5. Click **Save**.
>
> 
>
> 6. You can further customise the following payment methods. Select a payment method:
>
> > [tab] UPI
> >
> > Show/hide UPI QR Code, UPI Apps and UPI ID/Number.
> >
> > 
>
> > [tab] Netbanking
> >
> > Show/hide specific banks.
> >
> > 
>
> > [tab] Cards
> >
> > Configure card payment options based on:
> >
> > * **Card Type**: Show/hide debit and credit cards.
> > * **Card Provider**: Choose from available card networks.
> > * **Card Issuer**: Select specific issuers.
> > * **BIN Number**: Add one or multiple BINs (first 6-8 digits of a card number) to filter eligible cards. The system validates and saves the BINs, ensuring only specified cards are allowed for transactions.
> >
> > 
>
> > [tab] EMI
> >
> > Configure EMI payment options based on:
> >
> > * **Card Type**: Show/hide debit and credit cards.
> > * **Card Provider**: Select the EMI card networks from the list.
> > * **Card Issuer**: Select the card issuer from the list.
> > * **BIN Number**: Add one or multiple BINs (first 6-8 digits of a card number) to filter eligible cards. The system validates and saves the BINs, ensuring only the specified cards are eligible for EMI plans.
> >
> > 
>
> > [tab] Wallets
> >
> > Show/hide various providers of wallets.
> >
> > 
>
> > [tab] Pay Later
> >
> > Show/hide various providers of pay later.
> >
> > 
>
> > [tab] COD
> >
> > Show/hide cash on delivery.
> >
> > 
>
> 7. Click **Save all changes**. If you have multiple custom blocks, drag and drop them to rearrange them in your preferred order.
>
> 
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > To delete a block, navigate to your saved payment configurations. Identify the block, scroll to the bottom and click **Delete block** โ **Delete** โ **Save all changes**.
### Save Configuration as Default
If needed, you can save a configuration as the default, which displays the payment methods to your customers based on this setup.
1. Identify the configuration you want to set as default and click on the options icon โ **Save as Default**. Click **Save all changes**.
2. Once saved, this configuration will be displayed to your customers at checkout.

3. All the changes will reflect on the **Checkout** page, **Invoices**, **Payment Button**, **Webstore**, **Payment Links** and **Payment Pages**.
4. Share the Configuration ID with your developer to integrate this setup. You can also define conditions for displaying this configuration to a particular set of customers by using the Configuration ID.
### Sample Configuration
By default, the checkout displays payment options in the following order:
> [card] Sample Checkout
>
> 
> [card] Payment Options
>
> * **Recommended Methods**: These are automatically determined based on the customer's phone number, prioritising their most frequently used or preferred payment methods. This order cannot be modified or disabled.
> * **Custom Blocks**: Payment methods/instruments configured within a custom block, if any.
> * **All Payment Methods**: The remaining payment methods displayed based on your configuration.
# Dashboard | Payment Methods
Source: https://razorpay.com/docs/payments/dashboard/account-settings/payment-methods
Enable and disable different Payment Methods from the Razorpay Dashboard. Check how to respond to Action Required statuses.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Check the available payment methods, enable and disable payment methods or request for new payment methods.
## View Available Payment Methods
You can view the payment methods enabled for your account from the **Account & Settings โ Payment Methods** tab. You can raise requests for additional payment methods. The requests initiated from this panel are raised with our partner banks and the onboarding process for the payment method is started.
> [!NOTE]
>
> **Handy Tips**
>
>
This feature is available only on the Live mode of the Dashboard.
Users with the following User Roles can configure the payment methods: Owner, Admin and Manager.
You can also accept [international payments](/docs/payments/international-payments#get-started).
## Enable Payment Methods
Activation of each of the payment methods involves onboarding with our partner banks. The average activation time is 10 working days, which can vary based on the payment method and banks.
## Request Payment Methods
> [accordion] To raise a request for a payment method:
>
> 1. Log in to the Dashboard and select **Account & Settings** on the left navigation.
>
> 2. Click the payment method you want to request under the **Payment Methods** tab, for example, **Cards**.
>
> 3. Click the drop-down on the **Additional details required** tab and click **Add now** to update the business website or GSTIN details.
>
> 
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > The **Additional details required** tab must be updated to request any payment method.
>
> 4. Fill in the business website/app details and click **Proceed to update website/app**. Know more about [how to add website details](/docs/payments/dashboard/account-settings/business-website-details).
>
> 5. Fill in the GSTIN details and click **Submit**. Know more about [how to add GSTIN details](/docs/payments/dashboard/account-settings/gst-details).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > The **Additional details** are requested by our banking partners and are specific to the payment method.
>
> 6. Once you submit all the required information, the status of the information provided changes to **Under Review**.
>
> 
>
> 7. Once the required information is reviewed and updated, click **Request**.
>
> 8. Fill in the required details and click **Next**.
>
> 9. Click **Submit Request**.
>
> 10. The status of the payment method changes to **Requested**.
## Payment Method Request States
To view the status of your payment method request:
1. Log in to the Dashboard and navigate to **Account & Settings**.
2. Click any payment method under **Payment methods**.
3. You can view the list of payment methods and providers and their status.

Some payment methods are enabled by default, while you need to raise a request for others. Below are the various statuses your request can go through.
| Status | Description |
| - | - |
| **Under Review** | Our team is validating the information provided. |
| **Updated** | The provided information is verified successfully. |
| **Requested** | A request has been raised, but no action has been taken yet. |
| **Cancelled** | A request was initially raised but was later cancelled by you or your team member. |
| **Pending** | The request has been taken up for onboarding by our partner banks. |
| **Action Required** | In some cases, we may not be able to fulfil a request as our banking partners seek certain clarifications. For example, there may be some missing information in the activation form. In such cases, the request is placed in the `Action Required` state, along with a comment indicating the actions required from your end. You can [respond to the Action Required](#respond-to-action-required) status. |
| **Rejected** | The request is rejected for your account. This generally happens due to category restrictions. See the Comments for more information. |
| **Re-initiated** | The previous request in the `Action Required` state has now been re-initiated after the action is complete. |
| **Activated** | This indicates that the method is now live and available on standard checkout. |
## Respond to Action Required
You can respond to any discrepancies or clarifications raised for payment method requests with comments, attachments, or both.\
Our Banking Ops team validates your payment method request. If they find any discrepancies or need further clarification regarding the website or documents, we change the request status from **Pending** to **Action Required**. You can provide these details from the Dashboard.\
To respond to the discrepancies or clarifications requested:
1. On the Dashboard, navigate to **Account & Settings โ Payment Methods**.
2. Look for the payment method you requested and click **Update Request Form**.
3. Provide the requested clarifications.
4. Fill in the required details, add attachments if requested, and click **Submit Form**.
5. The status of your request changes from **Action Required** to **Reinitiated**.
Razorpay re-reviews requests and responds within 7 days.
## Disable Payment Methods
Raise a request with our [Support team](https://razorpay.com/support/) to disable any Payment Method.
## Coverage
The **Payment Methods** tab shows most payment instruments that can be enabled for your account. Keep an eye on this page as we continue to add more payment methods. If you have questions about specific payment methods, please reach out to our
[Support team](https://razorpay.com/support/#request)
.
## Pricing
All methods requested via the Payment Methods tab will be enabled for your account using [Standard Pricing](https://razorpay.com/pricing/) or the default pricing configured for the payment method for your account.
# Security & Sign-in
Source: https://razorpay.com/docs/payments/dashboard/account-settings/security-sign-in
Verify your Razorpay Dashboard sign-ins with a 6-digit code from an authenticator app instead of waiting for an SMS OTP.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can sign in to the Razorpay Dashboard with a 6-digit code from an authenticator app on your phone instead of waiting for an SMS OTP. Setup takes about a minute. After that, the Dashboard asks for the code from your app at sign-in and no SMS is sent. SMS OTP stays on as your backup.
> [!NOTE]
>
> Authenticator app sign-in is being rolled out to merchants in India in phases. If you do not see the **Authenticator app** card on the **Security & sign-in** page, contact your account manager or raise a request with our [Support team](https://razorpay.com/support/#request).
> [!WARNING]
>
> Authenticator app sign-in works on the web Dashboard only. The Razorpay mobile app does not support it yet, so after you set it up, the mobile app cannot complete your sign-in. If you sign in using the mobile app, wait before you set this up.
## Before You Start
* Use the web Dashboard at [dashboard.razorpay.com](https://dashboard.razorpay.com) in a browser, on your computer or your phone.
* Install an authenticator app on your phone. Google Authenticator, Microsoft Authenticator, Authy, 1Password, Duo and any other app that generates time-based 6-digit codes work.
* Keep a verified phone number on your profile. It is your backup if your phone is not with you, and some sensitive actions still start with an SMS OTP.
* Each team member sets up the authenticator app for their own login. Setting it up for yourself does not change anything for other users on your account.
## Set Up an Authenticator App
1. Log in to the Dashboard and click **Account & Settings**. Under **Your profile**, click **Manage** next to **Security & sign-in**.

2. You see two cards: **SMS OTP** and **Authenticator app**. On the **Authenticator app** card, click **Set up authenticator app**.

3. Open your authenticator app, choose to add an account and scan the QR code. If scanning does not work, click **Copy** next to the setup key and enter the key in your app instead. Do not share the QR code or setup key with anyone.

4. Your app shows a 6-digit code for Razorpay that changes every 30 seconds. Enter the current code and click **Verify and finish**. If the code changes while you type, enter the new one. The setup window lasts 10 minutes. If it expires, close the dialog and start again.

5. The **Authenticator app** card now shows the date you set it up. The authenticator app is now your first sign-in step and **SMS OTP** stays on as your backup.

## Sign In With Your Authenticator App
1. Sign in with your email and password, or with Google, as usual. The **Two Step Verification** screen asks for the code from your authenticator app.
2. Open your app, enter the current 6-digit code and click **Verify**.

On your own computer, keep **Skip OTP on this browser for 30 days** selected and the Dashboard does not ask for a code on that browser for 30 days. Clear the checkbox on shared or public computers.
> [!NOTE]
>
> If a code does not work, wait for the next code in your app instead of entering the same digits again. After 9 incorrect codes, your account is locked for security reasons.
### Use SMS OTP Instead
If your phone is not with you, you can sign in with an SMS OTP. This option appears only if your profile has a verified phone number with SMS OTP on.
1. On the **Two Step Verification** screen, click **Use SMS OTP**.

2. Enter the OTP sent to your verified phone number to complete the sign-in. To go back to the code from your app, click **Use authenticator code**.

## Verify Sensitive Actions
Sensitive actions on the Dashboard, such as generating or regenerating [API keys](/docs/payments/dashboard/account-settings/api-keys) and inviting [team members](/docs/payments/dashboard/account-settings/manage-team), ask you to verify again in a **2-Step Verification** window. The window sends an SMS OTP first. To use your authenticator app instead, click **Use authenticator code** in the window. If the SMS cannot be delivered, the window switches to your authenticator app automatically.
After you verify, either at sign-in or in the Dashboard, you are not asked again for 30 minutes.
> [!NOTE]
>
> These sensitive actions still need a verified phone number on your profile. [Add and verify a phone number](/docs/payments/dashboard/account-settings/account-details#update-phone-number) before you need it.
## Turn Off the Authenticator App
1. Go to **Account & Settings** โ **Security & sign-in** and click **Turn off authenticator app** on the **Authenticator app** card. This option works only when SMS OTP is on and your phone number is verified, so you always have one way to sign in.

2. Enter the OTP sent to your phone and click **Continue**. Turning off always asks for an SMS OTP, even if you verified a few minutes ago.

Your next sign-in uses SMS OTP. You can set up the authenticator app again at any time.
## New Phone or Lost Phone
| Situation | What to do |
| - | - |
| Moving to a new phone | Before you reset the old phone, move your accounts within the authenticator app. Google Authenticator and Authy both support this. Alternatively, [turn off the authenticator app](#turn-off-the-authenticator-app) and [set it up again](#set-up-an-authenticator-app) on the new phone. |
| Lost your phone, but you still receive SMS on your verified number | Sign in using [Use SMS OTP](#use-sms-otp-instead), turn off the authenticator app and set it up again on your new phone. |
| No access to your authenticator app or your verified phone number | Contact your account manager or raise a request with our [Support team](https://razorpay.com/support/#request). This applies to team members too, as the account owner cannot reset the authenticator app for you. |
## FAQs
> [accordion] Why don't I see the Authenticator app card?
>
> Authenticator app sign-in may not be available for your account yet, or your organisation may manage 2-step verification centrally. Contact your account manager or raise a request with our [Support team](https://razorpay.com/support/#request), and share the email address you sign in with.
> [accordion] Which authenticator apps can I use?
>
> Any app that generates time-based 6-digit codes, such as Google Authenticator, Microsoft Authenticator, Authy, 1Password and Duo.
> [accordion] Does the authenticator app replace SMS OTP?
>
> At sign-in, yes. The Dashboard asks for the code from your authenticator app first. SMS OTP stays on as your backup if you have a verified phone number.
> [accordion] Can I turn on the authenticator app for my whole team?
>
> No. Each team member sets up the authenticator app for their own login. There is no account-wide setting.
> [accordion] Is it safe to skip OTP on this browser for 30 days?
>
> **Skip OTP on this browser for 30 days** trusts one browser on one device. Use it only on your own computer.
> [accordion] Can I use the authenticator app on the Razorpay mobile app?
>
> Not yet. Authenticator app sign-in works on the web Dashboard only.
# Settlement Details
Source: https://razorpay.com/docs/payments/dashboard/account-settings/settlement-details
Steps to view your settlement details on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can view details regarding your settlement cycle and next settlement date on the Dashboard.
## View Settlement Details
To view settlement details:
1. Log in to the Dashboard.
2. Click **Account & Settings** and navigate to **Settlement details** under **Business accounts and settlements** section.
3. You can view the following information:
* **Settlement Details**: Click **View Settlement Cycle** to view default and other settlement cycles.
* **Available Balance**: After the deduction of fees and tax, the payments received from your customers are added to your Available Balance.
* **Next Settlement**: Date and time of next settlement.

## Segregated Balances
If you are an omni-channel business (using both Payment Gateway and POS) or a cross-border business, your balances are **segregated by channel type (Online (Domestic transactions + International Cards), In-person and Alternate Payment Method (International))**. This ensures complete fund isolation and regulatory compliance.

### Types of Segregated Balances
Razorpay maintains separate balances based on your payment channels:
| Channel Type | Description | Transactions Included | Additional Details |
| - | - | - | - |
| Online (Domestic transactions + International Cards) | Domestic online payments and international card transactions | PG domestic transactions (cards, UPI, netbanking and wallets), international card payments | Supports Instant Settlements. |
| In-Person | POS terminal transactions | All POS/offline transactions | POS device rentals are automatically collected from this balance. Operates independently from online transactions. |
| Alternate Payment Method (International) | Balance from international payment methods such as PayPal, Stripe and other cross-border payment methods | International bank transfers, cross-border payments via supported APM providers | Settled separately from domestic balances. Subject to forex conversion and international settlement timelines. |
### View Channel-Wise Balances
To view your segregated balances:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings โ Settlement details**.
3. You will see balance cards for each channel type such as:
* **Online (Domestic transactions + International Cards)**: Balance from domestic online payments and international card transactions.
* **In-Person**: Balance from POS terminal transactions (all POS/offline transactions).
* **Alternate Payment Method (International)**: Balance from international bank transfers.
Each balance card displays:
* Current available balance.
* Next settlement date and amount.
* Settlement cycle applicable to that balance.
### How Segregated Settlements Work
With balance segregation:
* Each channel type (Online (Domestic transactions + International Cards), POS, Cross-border) maintains its own isolated balance.
* Settlements are processed separately for each balance account.
* Refunds and chargebacks are debited only from the respective channel balance.
* Instant Settlements can be enabled independently for each balance account.
> [!NOTE]
>
> **Handy Tips**
>
> Balance segregation ensures that your POS settlements never fail due to online refunds consuming your funds and vice versa. Each channel operates independently.
# Your Support Tickets
Source: https://razorpay.com/docs/payments/dashboard/account-settings/support-tickets
Raise a support ticket and view details of existing tickets raised by you on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can track the tickets raised by you on the Dashboard under the **Support Tickets** tab. This makes it easier to find the tickets and saves time spent on searching for ticket details in your emails.
> [!NOTE]
>
> **Handy Tips**
>
> * Only the last three tickets in Open state are displayed. Closed tickets do not appear here.
> * The **Support Tickets** tab is available for both Live and Test modes of the Dashboard.
> * Only **Owner** and **Admin** can raise support tickets using this tab.
> * You can view only those tickets that were raised using the Dashboard.
## Track Status of Open Tickets
You can view only those tickets that were raised using the Dashboard. To track the status of your open support tickets:
1. Log in to the Dashboard.
2. On the left navigation, click **Accounts & Settings**.
3. Navigate to **Business settings** โ **Support Tickets**.
4. A list of the last three tickets in open status pops up. Click on the ticket ID to view details.

5. You can request an update, provide information or add attachments such as an error screenshot. Provide the details and click **Send a Reply**.

## Raise New Support Tickets
You can create a new support ticket from the Dashboard.
To raise a new ticket:
1. Log in to the Dashboard.
2. Click **Help & Support**.

3. Check the FAQs for common concerns. If the FAQs can not resolve your concern, click **Contact Us**.
4. You have the following options in the **Contact Us** section:
* Create ticket: Check existing queries or raise a new support ticket.
* Chat or Request for callback: Start a live chat with us or request a callback for quicker resolution (selected users only).

5. Select the nature of the request. Check out the existing information before raising the ticket. If you do not find relevant information, please explain your issue, attach relevant documents or screenshots if possible, and click **Create support ticket**.

Our Support team will get back to you at the earliest. However, reply to the same ticket in case of a follow-up instead of raising a new ticket.
> [!NOTE]
>
> **Handy Tips**
>
> A list of the last three tickets in open status pops up. Click the ticket id to view details.
# Transaction Limits
Source: https://razorpay.com/docs/payments/dashboard/account-settings/transaction-limits
Steps to update transaction limits on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can update transaction limits on the Dashboard for both [domestic](/docs/payments/dashboard/account-settings/transaction-limits#update-domestic-transaction-limits) and [international](/docs/payments/dashboard/account-settings/transaction-limits#update-limit-per-international-transaction) transactions.
## Update Domestic Transaction Limits
You can update the domestic transaction limit for your account. For example, if you could accept only per transaction, you can update it to a higher amount, such as .
> [!WARNING]
>
> **Watch Out**
>
> The maximum transaction limit depends on your business category.
To update your per domestic transaction limit:
1. Log in to the Dashboard.
2. Click **Account & Settings** in the left navigation.
3. Click **Transaction limits** under **Payment and refund** section.
4. Click the edit icon next to the **Limit per domestic transaction** field.
5. In the pop-up page that is displayed, provide the following information:
1. **Required Limit**: Enter the desired per transaction limit amount.
2. **Why do you want to increase limit?**: Enter the reason you want to increase the per domestic transaction limit. You should enter a minimum of 100 words.
3. **Upload invoice**: Upload a sample invoice. The accepted file formats are PNG, JPG and PDF.
4. Click **Submit Details**.

After the details are provided, our team will review the request. We will update the details on the Dashboard.
> [!NOTE]
>
> **Handy Tips**
>
> We may reach out to you for clarifications on email, WhatsApp, SMS, and Dashboard during the verification process.
> Navigate to **Account & Settings** and submit the necessary information in the appropriate section. Our team will go through the information you provide and help you resolve the issue.
## Update Limit per International Transaction
You can update the international transaction limit for your Razorpay account. For example, if you could accept only โน5,000 per transaction, you can update it to a higher amount, such as โน10,000.
> [!WARNING]
>
> **Watch Out**
>
> The maximum transaction limit depends on your business category.
To update your per international transaction limit:
1. Log in to the Dashboard.
2. Click **Account & Settings** and go to **Transaction limits** under **Payment and refund** section.
3. Click the edit icon next to the **Limit per international transaction** field.
4. In the pop-up page that is displayed, provide the following information:
1. **Required Limit**: Enter the desired per transaction limit amount.
2. **Why do you want to increase limit?**: Enter the reason you want to increase the per international transaction limit. You should enter a minimum of 100 words.
3. **Upload invoice**: Upload a sample invoice. The accepted file formats are PNG, JPG and PDF.
4. Click **Submit Details**.
After the details are provided, our team will review the request. We will update the details on the Dashboard.
> [!NOTE]
>
> **Handy Tips**
>
> We may reach out to you for clarifications on email, WhatsApp, SMS, and Dashboard during the verification process.
> Navigate to **Account & Settings** and submit the necessary information in the appropriate section. Our team will go through the information you provide and help you resolve the issue.
# Webhooks
Source: https://razorpay.com/docs/payments/dashboard/account-settings/webhooks
Steps to set up webhooks on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can [set up](#set-up-webhooks), [edit](#edit-a-webhook), [enable/disable](#enable/disable-a-webhook) and [delete](#delete-a-webhook) webhooks from the Dashboard.
## Set Up Webhooks
Watch this video to see how to set up a webhook.
[YouTube video player](https://www.youtube.com/embed/Xiikw4_CcQk?si=b6kYHKIp1xikPrJZ)
To set up webhooks:
1. Log in to the Dashboard and navigate to **Accounts & Settings**.
2. Click **Webhooks** under **Website and app settings**.
3. Click the **+ Add New Webhook** button.

4. In the **Webhook Setup** pop-up page:
* Enter the **URL** where you want to receive the webhook payload when an event is triggered. We recommend using an HTTPS URL.
> [!NOTE]
>
> **Handy Tips**
>
> * You can set up to **30 URLs** to receive Webhook notifications. Webhooks can only be delivered to public URLs.
> * If your URL contains `razorpay` as a domain, you will not be able to add the URL and will receive an error.
> * If you attempt to save a localhost endpoint as part of a webhook setup, you will notice an error. Know more about [testing Webhooks on an application running on localhost](/docs/webhooks/validate-test#application-running-on-localhost).
* Enter a **Secret** for the webhook endpoint. The secret is used to validate that the webhook is from Razorpay. Do not expose the secret publicly. Know more about [how to validate webhooks](/docs/webhooks/validate-test).
> [!NOTE]
>
> **Handy Tips**
>
> * When setting up the webhook, specify a secret. Use this secret to validate that the webhook is from Razorpay. Entering the secret is optional but recommended. The secret should never be exposed publicly.
> * The webhook secret does not need to be the Razorpay API key secret.
* In the **Alert Email** field, enter the email address to which the notifications should be sent in case of webhook failure. You will receive webhook related notifications like failures, deactivation and so on.
* Select the required events from the list of **Active Events**.

5. Click **Create Webhook**. After you set up a webhook, it appears on the list of webhooks.

6. You can select the webhook and click **Edit** to make more changes.
> [!NOTE]
>
> **Next Step - Validate and Test Your Webhooks**
>
> You should validate and test your webhooks before you go live. Know more about [validating and testing your webhooks](/docs/webhooks/validate-test).
## Edit a Webhook
You can edit your webhook to replace the webhook URL, modify the secret, change the alert email and add or remove events.
To edit webhooks:
1. Log in to the Dashboard and navigate to **Accounts & Settings**.
2. Click **Webhooks** under **Website and app settings**.
3. In the list, select the webhook you want to edit.
4. In the right panel, click **Edit**.
5. The **Webhook Setup** pop-up page is displayed. You can modify the following:
* Webhook URL
* Secret
* Alert Email
* Active Events

6. Click **Save Webhook** to save changes.
> [!NOTE]
>
> **Next Step - Validate and Test Your Webhooks**
>
> You should validate and test your webhooks before you go live. Know more about [validating and testing your webhooks](/docs/webhooks/validate-test).
## Deactivation
All webhook responses must return a status code in the range `2XX` within a window of 5 seconds. If we receive response codes other than this or the request times out, it is considered a failure.
On failure, a webhook is re-tried at progressive intervals of time, defined in the exponential back-off policy, for 24 hours. If the failures continue for 24 hours, the webhook is disabled. You need to enable the webhook from the Dashboard after fixing the errors at your end. Know more about [enabling Webhooks](/docs/webhooks/setup-edit-payments#enable/disable-a-webhook).
> [!NOTE]
>
> **Handy Tips**
>
> When a webhook gets disabled, you receive an email notification on the email id you configured while setting up the webhooks.
## Enable/Disable a Webhook
To enable or disable a webhook:
1. Log in to the Dashboard and navigate to **Accounts & Settings**.
2. Click **Webhooks** under **Website and app settings**.
3. In the list, select the webhook you want to edit.
4. Change the status to **Enabled** or **Disabled** in the right panel as required.
## Delete a Webhook
To delete a webhook:
1. Log in to the Dashboard and navigate to **Accounts & Settings**.
2. Click **Webhooks** under **Website and app settings**.
3. In the list, select the webhook that you want to delete.
4. In the right panel, click **Delete**. Click **Yes, Delete** in the dialogue box to confirm.
### Related Information
* [Webhooks](/docs/webhooks)
* [Set Up and Edit Payout Webhooks](/docs/webhooks/setup-edit-payouts)
* [Validate and Test Webhooks](/docs/webhooks/validate-test)
# Custom Views
Source: https://razorpay.com/docs/payments/dashboard/analytics-suite/custom-analytics
Custom Views in the Analytics suite lets you build, plot and track the metrics that matter to your business. Save up to five views and monitor them daily.
With Custom Views, you can build analytics panels for the metrics and combinations specific to your business. Create a view for any area you want to track, like success rate, refunds or sales, and add the metrics you want to monitor within it. For example, plot payment success rate for Visa and Mastercard over the last 7 days.
Create up to **5 views**, with **3 charts** each, giving you up to **15 metrics** to track at once.

## Set Up Custom Views
### Open Custom Views
In the Dashboard menu, go to **Analytics**. Custom Views sits next to **Overview** and **Refunds** in Analytics.
Every saved view appears in the menu under **Custom Views**. Click a view to open it, or click **+ Add new view** to start a blank one.

### Build a Chart
Follow the steps below to build a chart:
1. **Choose a metric:** Click the metric name at the top of a chart to pick a metric. Metrics are grouped into 5 categories: Success Rates, Volume, Sales, Failures and Refunds.
2. **Add filters:** Up to 3. Values within one filter combine with **OR**. Different filters combine with **AND**. Click **More Options โ Show all** to see every dimension.
3. **Choose how to split:** Split the chart with up to 2 parameters. Each combination becomes its own line, bar or table column.
4. **Pick a time range:** Up to 90 days, grouped by hour, day, week or month.
5. **Compare with an earlier period:** Choose **Previous period** or a custom date range.

> [!NOTE]
>
> The panel adjusts its suggestions based on what you have already picked. For example, choosing UPI under Payment Methods narrows your split options to UPI-only dimensions like Channel and UPI Flow. Card-only dimensions are removed, so you do not end up with an empty or misleading chart.
Switch how a chart renders with the icons next to the date range: **Trend line**, **Bar chart** or **Data table**.

### Metrics Supported
The table below lists the metrics you can plot, grouped by category:
| Category | Metric | Definition |
| :- | :- | :- |
| **Success rates** | Payment success rate (%) | Percentage of payment attempts that were successfully authorised. |
| | Order success rate (%) | Percentage of attempted orders that resulted in a successful payment. Each order is counted once, regardless of retries. |
| **Volume** | Payment count (#) | Total payment attempts in the selected period, including retries on the same order. |
| | Order count (#) | Total orders where at least one payment was attempted. Each order is counted once, even if your customer retried the payment. See [Orders](/docs/payments/orders) and [Payments](/docs/payments). |
| **Sales** | GMV (โน) | Total value of orders with a payment successfully authorised in the selected period. |
| | Net GMV (โน) | GMV net of refunds for payments in the selected period. |
| | Average transaction value (โน) | GMV divided by total transactions. Shows your average successful payment amount. |
| **Failures** | Payment failure rate (%) | Percentage of payment attempts that failed. |
| | Failed payment count (#) | Number of payment attempts that failed. |
| | Top payment failure reasons | Top 5 most common error reasons across failed payments in the selected period. |
| **Refunds** | Refund rate (%) | Share of payments authorised in the selected period that have been refunded. |
| | Refund count (#) | Refund transactions processed in the selected period. |
| | Refund amount (โน) | Total value of refunds processed in the selected period. |
> [!NOTE]
>
> Order-level metrics take their attributes from the order's latest payment attempt. If a customer tries UPI twice and then pays by card, that order counts as a card payment.
### Filters and Splits
The table below lists the dimensions available as filters and splits:
| Dimension | Filter | Split | Notes |
| :- | :-: | :-: | :- |
| Payment Methods | โ | โ | โ |
| Gateway | โ | โ | Applicable only for merchants on Optimizer. |
| Channel | โ | โ | Website, Android and iOS channels supported. |
| Card Type | โ | โ | โ |
| Card Network | โ | โ | โ |
| Card Issuer | โ | โ | โ |
| Netbanking Bank | โ | โ | โ |
| UPI Flow | โ | โ | Collect or Intent. |
| Bank Identification Number (BIN) | โ | โ | Filter only. |
| Amount range | โ | โ | Filter only, "is between" operator. |
| Custom Identifier | โ | โ | Up to 3 of your own fields. |
### Download, Duplicate and Export
Every change you make to a view saves automatically and stays saved across sessions. For example, a date range like **last 14 days** is stored as a rolling preset, so the view always shows the latest data when you open it.

For a view, the following actions are available:
* Rename view
* Duplicate view
* Download view
* Delete view

> [!WARNING]
>
> Deleting a view is permanent. Duplicate a view first if you want to keep the original while experimenting with a different view.
### Configuration Limits
| Limit | Value |
| :- | :- |
| Saved views | 5 per merchant |
| Charts per view | 3 |
| Filters per chart | 3 |
| Splits per chart | 2 |
| Maximum date range | Up to 90 days |
# Overview
Source: https://razorpay.com/docs/payments/dashboard/analytics-suite/overview
Overview in the Analytics suite is designed for the key metrics you track daily in your business. You can pin key metrics for quick reference, check success rate trends, analyse how payments flow across touchpoints and get a better understanding on transaction errors. All widgets support data download for further analysis.

### **Apply Global Filters**

> [!NOTE]
>
> Please note data will be available since the time Analytics has been enabled on your account.
Global filters apply to all elements on the Dashboard. You can:
1. Select the **Date Range**.
2. Click **Compare with** to compare the selected range against another date range.
3. Set **View by** to **Orders** or **Payments**.
* **Orders** (default) groups data by order, counting each order once even with multiple payment attempts.
* **Payments** groups data by individual payment attempts, including retries.
* Learn more on [Orders](/docs/payments/orders) and [Payments](/docs/payments).
4. For Optimizer Merchants (routing to external PA/PGs): Filter by **Gateway** (specific gateway, **No Gateway**, or All).
5. Filter by **Payment methods** (specific method or All).
6. Click **Clear Filter** to clear all selections and return to default.
> [!NOTE]
>
> No Gateway refers to transactions where the customer abandoned checkout before a gateway was selected for routing. These are not attributed to any gateway.
Your selection for global filters persist across sessions.
### **Pin Key Metrics**
You can pin upto 4 of your most-tracked metrics as KPI chips to the top of the Dashboard. By defualt, GMV, Transaction count,
Average Transaction Value, and Success Rate are pinned. Please note, each KPI value reflects your Global Filter selection.

> [!NOTE]
>
> Each Metric is defined based on your View By selection in the Global Filter.
* Click **Edit** to choose from the full metric list. Please refer the table below for complete Metric definitions:
| Metric | Orders View | Payments View |
| :- | :- | :- |
| **Transaction Count** | Total orders where at least one payment was attempted. Each order is counted once, even if your customer retries the payment. | Total payment attempts in the selected period, including retries on the same order. |
| **GMV** | Total value of orders with a payment successfully authorised in the selected period. | Total value of payments successfully authorised in the selected period. |
| **Net GMV** | GMV net of refunds for orders in the selected period. | GMV net of refunds for payments in the selected period. |
| **Avg Transaction Value** | GMV divided by orders where at least one payment was authorised. Shows your average order size. | GMV divided by total successful transactions. Shows your average successful payment amount. |
| **Success Rate** | Percentage of attempted orders that resulted in an authorised payment. Each order is counted once, regardless of retries. | Percentage of payment attempts that were successfully authorised. |
| **Failed Transaction Count** | Not available for Orders view. Orders remain in the Attempted state if all payment attempts fail against the order. | Number of payment attempts that failed. |
| **Failure Rate** | Not available for Orders view. Orders remain in the Attempted state if all payment attempts fail against the order. | Percentage of payment attempts that failed. |
| **Top Failure Reason** | Not available for Orders view. Orders remain in the Attempted state if all payment attempts fail against the order. | Most common error reason across failed payments in the selected period. |
| **Refund Rate** | Share of orders in the selected period that have at least one payment refunded. | Share of payments authorised in the selected period that have been refunded. |
| **Refund Count** | Refund transactions processed in the selected period. | Refund transactions processed in the selected period. |
| **Refund Amount** | Total value of refunds processed in the selected period. | Total value of refunds processed in the selected period. |
### Track Success Rate Trends

The Success rate chart plots order success rate over time for the selected filters.
* Group by **Hourly, Daily, Weekly or Monthly** (default: Daily).
* Use **Compare with** (Global Filters) to compare against another date range.
* Toggle **Include customer errors** to view actionable success rate excluding customer-side errors (chart-level filter only).
* Switch views: **Trend line, Bar chart, Data table**.
* **Download** as CSV.
> [!NOTE]
>
> Customer-side errors are payment failures caused by the customer rather than your integration or the gateway, such as the customer abandoning the payment, entering an incorrect OTP or having insufficient funds. These are usually outside your control, so excluding them shows your actionable success rate. To learn more about customer errors, see the full list of [Payment Errors](/docs/errors) .
### Analyse Transaction Flow

The Transaction flow chart visualises how payments move across payment method, gateway, and final status.
* Toggle between Count and GMV for a different view of transaction flow
* Final transaction status updates by View by:
* Payments: Authorised, Failed, Refunded, Captured
* Orders: Attempted, Paid
* **Download** via the top-right option.
> [!NOTE]
>
> The gateway stage is shown only for merchants using [Optimizer](/docs/payments/optimizer) . It is not applicable for payments processed directly through Razorpay.
### **Transaction Failures Deep Dive**

Helps identify why payments fail. You can:
* View overall **Failure rate** and **Failed transactions** count for selected filters.
* Quick summary of failure sources click a source to filter the table below, double-click to remove.
* Table of **Source, Step, Reason** for deep-dives
* View each combination's share (%) of overall failures.
* **Compare with** adds a trend column showing lift vs. selected time range, plus delta on top metrics.
* **Download** the data.
See Payment Errors for the full list of Razorpay error codes.
> [!NOTE]
>
> Failure rate calculation by View by:
>
> * Orders: (orders where all linked attempts failed) รท (all orders attempted)
> * Payments: failed payments รท all payments created
# Refund Analytics
Source: https://razorpay.com/docs/payments/dashboard/analytics-suite/refund-analytics
Track refund rate, amount, count and success rate in the Analytics suite. See how refunds trend over time and open any refund for full detail without leaving the page.
The Refunds page in the Analytics suite shows how refunds are trending across your business. The page goes from insights at the top to specifics at the bottom: track your key refund metrics, see how they move over time and open any individual refund for detail without leaving the page.
Go to **Analytics** โ **Refunds** on the [Razorpay Dashboard](https://dashboard.razorpay.com/) to get started.

## **Apply Filters**
The filters at the top of the page apply to every widget below them: key metrics, trends and the refunds breakdown. Use the filters to:
* Select the **Period**: Today, Yesterday, Last 7 Days (default), Last 14 Days, Last 30 Days or a **Custom** range of up to **90 days**.
* Click **Compare with** to compare the selected period against the **Previous period** or a **Custom** date range.
* Filter by **Payment methods**: Card, Netbanking, UPI or All. Expand Card or UPI to pick a sub-type.
* Filter by refund **Status**: Pending, Processed, Failed or All.
* Filter by refund **Speed**: Normal, Instant or All.
* Filter by **Gateway**: a specific gateway or All. Available only for [Optimizer](/docs/payments/optimizer) merchants who route payments to gateways other than Razorpay.
* Click **ร** on any filter to clear it.





> [!NOTE]
>
> The **Gateway** filter only shows for [Optimizer](/docs/payments/optimizer) merchants routing payments to gateways other than Razorpay.
## **Track Key Metrics**
Key metrics give you a quick read on refund health for the selected filters.
* The page shows 4 metrics by default: **Refund rate**, **Refund amount**, **Refund count** and **Refund success rate**.
* Hover over a metric name to see its definition.
* Click **Edit** to choose which metrics to display. Pin up to **4** metrics. Selecting a new metric replaces the one selected last.
* Each metric value reflects your filter selection.

The table below lists the refund metrics and their definitions:
| Metric | Definition |
| :- | :- |
| **Refund rate (%)** | Share of payments authorised in the selected period that have been refunded. |
| **Refund amount (โน)** | Total value of refunds processed in the selected period. |
| **Refund count (#)** | Refund transactions processed in the selected period. |
| **Refund success rate (%)** | Share of refunds created that have been processed in the selected period. |
| **Refund TAT** | Turn Around Time (TAT) for a refund to reach a final status, shown as the median and the 90th percentile. Available only for [Optimizer](/docs/payments/optimizer) merchants, for refunds processed through gateways other than Razorpay. |
> [!NOTE]
>
> Refund rate and Refund success rate depend on the payments authorised and the refunds initiated in the selected period. Refunds for recent payments may still be in progress, so these rates can read lower for the last few days and settle over time.
## **Track Refund Trends**
The Refund trends chart plots how refunds move over time for the selected filters.
* Switch between the **Amount**, **Count** and **Success rate** tabs.
* Hover over any point on the chart to see its exact value.
* Use **Compare with** in the filters to compare against another date range.
* Switch the view to **Trend line**, **Bar chart** or **Data table**.
* Click **Download** to export the chart data as a CSV file.
* Track **TAT** for refunds processed through external gateways and split the trends by gateway. Available only for [Optimizer](/docs/payments/optimizer) merchants.

## **View the Refunds Breakdown**
The Refunds breakdown lists every refund that matches your filters, newest first.
* Use the quick filters to view **All**, **Processed**, **Pending** or **Failed** refunds.
* Each row shows the **Refund ID**, **Created on** date and time, **Status** and **Amount**.
* Click **Details** on any row to open the refund in the right pane.
* Click **Download** to export the list.

## **Open Refund Details**
Click **Details** on any row to open the right pane with the full context of a refund. The right pane shows:
* **Transaction details:** Payment ID, Bank Retrieval Reference Number (RRN), Order ID, Invoice ID, Payment method, Customer details and Processed by.
* **Refund details:** Refund ID, Acquirer Reference Number (ARN) or RRN, Refund speed, Issued on, Gateway code and Gateway message.
* **Refund timeline:** Each step from payment creation to authorisation, refund creation and refund processing, with timestamps.


From the right pane:
* Click **View details** to open the refund on the **Refunds** page under **Transactions**.
* Click the copy icon next to any ID to copy its value.
> [!NOTE]
>
> Share the ARN or RRN with your customer when they ask about a refund. Their bank can use it to trace the credit. Normal refunds take 3 to 5 working days to process. The money reaches your customer in 5 to 7 working days. Instant refunds reach your customer within minutes. Know more about [Instant Refunds](/docs/payments/refunds/instant).
## **Related Information**
* [Refunds](/docs/payments/refunds)
* [Instant Refunds](/docs/payments/refunds/instant)
* [Optimizer](/docs/payments/optimizer)
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/dashboard/faqs
Find answers to frequently asked questions about Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
## Edit Login Information
> [accordion] How do I change the login/registered email ID of my account?
>
> You can change your login/registered email ID from **Account & Settings** on the Dashboard. Know more about [Updating Login Email](/docs/payments/dashboard/account-settings/account-details#update-login-email).
> [accordion] How do I change the password of my account?
>
> To change your password, enter your email ID on the Forgot Password page and complete the password reset process.
> [accordion] How do I change the phone number registered with my account?
>
> Follow these steps to change the phone number:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings**.
> 3. Click the edit icon next to the **Phone number** field.
>
> 
> 4. Enter the OTP sent to your registered email address and click **Confirm**.
>
> 
> 5. Enter the new phone number and click **Update**.
>
> 
> [accordion] How can I change the email ID where I receive the transaction-related mail?
>
> You can add the email ID from the Dashboard by following these steps:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings**.
> 3. Click **Email** under the **Notification settings** section.
>
> 
> 4. Add the email ID in the **Email Notifications**.
> 5. Click **Save Changes**.
## Edit Business Information
> [accordion] How do I change the account details displayed on the Dashboard?
>
> You change your account details such as display name, your name, email and phone number from the [Account Details section](/docs/payments/dashboard/account-settings/account-details) on **Account & Settings** on the Dashboard.
> [accordion] How do I change my business Website URL?
>
> To change your business website URL, navigate to **Account & Settings** โ **Business website details** and click the edit icon in the **Business Website/App details field**. Know more about how to [edit your business website/app URL](/docs/payments/dashboard/account-settings/business-website-details).
> [accordion] Can I change my business type on the Razorpay?
>
> Yes, changing your business type on Razorpay is allowed under certain conditions. The key requirement is that the PAN associated with the Merchant id (MID), will remain the same before and after the change. For example, moving from `Individual` to `Sole Proprietorship` is permitted since the PAN does not change in such cases. Similarly, changes like `Private Limited` to `Public Limited` may also be supported.\\
>
> Currently, this is a manual, offline process. To request a business type change, you must contact [support team](https://razorpay.com/support/) with the relevant details and documents.
> [accordion] What documents are required to change my business type on Razorpay?
>
> To change your business type, you must submit documents that support your new business entity and validate the reason for the change. While the exact documents may vary based on the type of change requested, you should typically be prepared to provide:
>
> * Proof of your new business entity. See [list of KYC documents](/docs/payments/business-types-kyc-documents#kyc-documents).
> * PAN card: To confirm that the PAN remains the same across the entity change.
> * Reason for the change. For example, updating GST details or aligning your account with current business filings and compliance requirements.
> Since each request is handled manually, additional documents may be requested during the review process. Contact [support team](https://razorpay.com/support/) to initiate your request.
> For more information, see [Change Business Information](/docs/payments/change-business-information).
> [accordion] How can I update my bank account information?
>
> You can request a change in bank account details from the Dashboard. Watch the video explaining [how to change bank account details](/docs/payments/dashboard/account-settings/bank-account-details).
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings**.
> 3. Click **Bank account details** details under the **Bank accounts and settlements** section.
> 4. Click **Change bank account**.
> 5. Enter the OTP sent to your registered mobile device on the **2-Step Verification** pop-up page.
> 6. On the **Change Bank Account Details** pop-up page, add bank details such as branch IFSC, bank account number, and beneficiary name and upload your business' bank statement or a cancelled cheque.
> 7. Click **Save**.
>
> For security reasons, only the Owner or Admin of the account will be able to access this option from the Dashboard. After the request is placed, the beneficiary details will be validated and updated within one business day.
> [accordion] How can I update my business name on the payment confirmation mail sent to customers by Razorpay?
>
> You can change the billing label on the automated emails sent by Razorpay to your customers.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > The billing label must match your registered business name or the domain name.
>
> * If you are a registered business or individual business, you can use the [brand name and logo](/docs/payments/dashboard/account-settings/checkout-styling#brand-name-and-logo) feature on the Dashboard to update the business name.
> [accordion] How can I change my GSTIN?
>
> You can use the [Add or Update GST details](/docs/payments/dashboard/account-settings/gst-details) feature on the Dashboard to update the GST details.
> [accordion] How do I change the KYC details provided during account activation?
>
> To change your KYC details, please raise a request with our [support team](https://razorpay.com/support/).
> [accordion] How long does it take to get a new or updated website/domain approved?
>
> The approval process takes about 24-48 hours.
>
> When you submit a new or updated website domain for approval, the process involves two main stages:
>
> 1. **Bank Verification System (BVS) Checks:** These initial automated checks typically take **3โ5 minutes**.
> 2. **Agent Resolution/Final Approval:** Once the BVS checks are complete and the workflow is created, it takes an agent approximately **24โ48 hours** for final review and resolution.
>
> The approval status will be updated on your Razorpay Dashboard.
> [accordion] My website verification request has been pending for a long time. What should I do?
>
> If your website verification request has been pending for an extended period, contact Razorpay support with the following details:
>
> * Your Razorpay account id/Merchant id.
> * Website URL submitted for verification.
> * Date of submission.
>
> The support team will review your request and expedite the verification process. Once approved, you will receive confirmation and can proceed with generating API keys for integration.
## Integration Related
> [accordion] What is Razorpay Dashboard?
>
> Razorpay Dashboard is a user interface for you to configure and operate your Razorpay account. The Dashboard home page provides all information about the activity on your account.
>
> It includes a wide range of analytics and real-time charts that provide insight into the business performance and any action you may need to take, such as unanswered disputes or auto-refunds.
> [accordion] Is a GST certificate mandatory for using Razorpay Payment Gateway?
>
> No, a GST certificate is not mandatory for businesses with an annual turnover below โน20 lakhs.
> [accordion] I have added my Razorpay account to my website domain. Can I also add it to a sub-domain?
>
> To add your Razorpay account to your sub-domain, raise a request with our [Support Team](https://razorpay.com/support/#request).
> [accordion] How do I integrate Razorpay?
>
> You can integrate Razorpay with your website or app using SDKs and plugins. Refer to our [list of integrations](https://razorpay.com/integrations/). You can also accept payments without integrations using our range of [products](/docs/payments).
> [accordion] What is a webhook? How do I use it?
>
> Webhooks enable a web application to send information to another application in real-time when a specific event happens after integration. Use Razorpay Webhooks to configure and receive notifications when a specific event occurs. Know more about [Webhooks](/docs/webhooks).
> [accordion] How to provide a clarification requested by Razorpay?
>
> During the verification process, we may contact you for clarifications on email, WhatsApp, SMS, and the Dashboard. Navigate to **Account & Settings** and submit the necessary information in the appropriate section. Our team will review the information you provide and help resolve the issue.
> [accordion] How do I close my Razorpay account?
>
> Log in to the Dashboard and [raise a support request](/docs/payments/mobile-app/settings#raise-a-new-ticket) to close your Razorpay account.
> [accordion] I already have one website integrated. How do I add a second (additional) website for payments?
>
> Before integrating, you must register your additional website or app details on the Dashboard. You can add **one main website** and up to **five additional websites**.
>
> Follow these steps to register your second website:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** โ **Business website detail**.
> 3. Click **Add additional website/app details**.
>
> Know more about the complete process, required documentation (for example, policy links, reason for adding) and review time by referring to the [Additional Website/Mobile App documentation](/docs/payments/dashboard/account-settings/business-website-details#additional-website%2Fmobile-app).
## Reports
> [accordion] How can I generate reports?
>
> All of your transaction data can be exported as reports in CSV format and can be mailed to yourself. You can also download a monthly or a daily report from the Reports Section of the Dashboard.
> [accordion] Can I generate an annual report?
>
> No. You cannot generate an annual report at the moment. You can only generate reports for the last 90 days.
## Checkout Settings
> [accordion] I am unable to save my new brand name. Why?
>
> Ensure your new brand name is at least 80% similar to the company name or domain name.
> [accordion] I am unable to upload the wordmark. Why?
>
> Ensure you are adding only a wordmark and not a logo. A wordmark consists solely of text with a transparent background, whereas a logo may include both text and symbols.
> [accordion] Can I add a custom sidebar graphic?
>
> No, you cannot add a custom sidebar graphic.
> [accordion] Can I customise the text colour on the message banner?
>
> No, text colour customisation for the message banner is not currently supported.
> [accordion] How does Bank Identification Number (BIN) based customisation help?
>
> BIN based customisation allows you to control payment method eligibility by specifying one or more BINs (first 6-8 digits of a card number). The system validates and saves these BINs, ensuring that only selected cards are allowed for transactions. This helps you restrict or enable specific card types based on your business needs. Know how to [customise the card payment option based on BIN](/docs/payments/dashboard/account-settings/payment-configuration#configure-payment-options).
> [accordion] How does displaying UPI QR Code at checkout help?
>
> On Desktop-web, displaying the UPI QR Code simplifies checkout experience by eliminating manual UPI ID entry. After customers scan the QR code with their mobile UPI app, the system automatically extracts their linked UPI ID using their registered phone number. Know how to [show/hide UPI QR Code on checkout](/docs/payments/dashboard/account-settings/payment-configuration#configure-payment-options).
> [accordion] How does displaying the UPI ID/Number field at checkout help?
>
> Displaying the UPI ID field improves the checkout experience on both Mobile-web and Desktop-web. Customers can manually enter their UPI ID, offering greater flexibilityโespecially if they cannot scan a QR code. The system instantly validates the UPI ID, reducing errors and improving transaction success rates. Know how to [show/hide UPI ID/Number field on checkout](/docs/payments/dashboard/account-settings/payment-configuration#configure-payment-options).
## Miscellaneous
> [accordion] How can I apply for my TDS reimbursement?
>
> To apply for your TDS reimbursement, raise a request with our [Support Team](https://razorpay.com/support/#request), sharing your merchant ID and TDS certificate.
> [accordion] My account is activated. How do I switch to live mode?
>
> You can switch between the **Test and Live** modes using the drop-down option at the top of the Dashboard.
>
> 
> [accordion] I cannot generate Live mode API keys even though my account is activated. How do I generate the API keys?
>
> You can generate the Live mode API keys by providing your live website details. Follow these steps:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings**.
> 3. Click **Business website details** under the **Website and app settings** section.
>
> 
> 4. Click the edit icon.
>
> 
> 5. Enter your website URL and click **Add Details**.
>
> 
> 6. Our team will review your website/app URL details. Post review, your website details are updated, and you should be able to generate API keys in the Live Mode.
> [accordion] What is a Chargeback?
>
> Chargeback is a refund claim initiated by the customers with their issuer banks. In such cases, the bank starts an official inquiry. Know more about [Chargebacks](https://razorpay.com/chargeback/).
> [accordion] How do I report a fraud/cybercrime?
>
> Please raise a [Support Ticket](https://razorpay.com/support/) and our team will get back to you at the earliest.
> [accordion] Where can I find my Account ID/Merchant ID on the Dashboard?
>
> You can find your Account ID/Merchant ID at the top-right corner of your Dashboard in alpha-numeric characters.
>
> 
> [accordion] Why is my payment not visible on the dashboard?
>
> Refresh your dashboard and follow the steps to [view payment details](https://razorpay.com/docs/payments/payments/dashboard/#view-payment-details) :
>
> 1. Ensure you are on the right mode (test/live) and check the Payments section again.
> 2. Use the right filtering options to view payments.
> 3. You can also search using the payment ID.
> [accordion] Why are my payments failing?
>
> Payment failure reasons are displayed on the dashboard against each transaction. To check the reason for each failed payment, navigate to **Transactions โ Payments โ Details**.
> [accordion] When will the payments be deposited in my bank account?
>
> The settlement date and time is stated on dashboard. To check, you can go to **Dashboard โ Transactions โ Settlements**.
> [accordion] How can email and SMS notifications be enabled?
>
> You can configure your email and SMS notifications from your Dashboard. To know more, check [notification settings](/docs/payments/dashboard/account-settings/email-sms-whatsapp).
# Razorpay Home
Source: https://razorpay.com/docs/payments/dashboard/razorpay-home
Razorpay home page with visual representation of all your transactions and activities on Payments, RazorpayX, Payroll, Partners or Rize Dashboard.
Available in
๐ฎ๐ณ India
The Dashboard Home page provides a consolidated view of your business activity across Razorpay Payments and Banking Plus services. Use this page to monitor transactions, view earnings and spends, gain insights into payment performance, and take action directly through quick-access cards.
## Navigation
Use the navigation bar on the top of the page to navigate between different Razorpay suite of products such as Payments, Banking Plus, Payroll, Partners program and more.

> [!WARNING]
>
> **Watch Out!**
>
> * The unified dashboard gives you a visual summary of all the Razorpay services you use. However, the actual data for each service is stored securely within the specific Razorpay group entity that provides it, not centrally on the dashboard.
> * The dashboard presents insights with respect to the products you use. Hence, the descriptions are only relevant for your products. You can choose to use the other products directly from Razorpay Home.
Log in to your [Razorpay account](https://accounts.razorpay.com) to access Razorpay Home.
## Critical Actions
Razorpay displays system-wide alerts at the top of the page to keep you informed. These alerts will notify you of any important announcements or actions you need to take. For instance, you might see an alert if your funds are on hold or if there are pending tasks related to your international payments.
## Quick Actions
> [tab] Payments
>
> Use these shortcuts to navigate to commonly used features related to payment collection and reporting:
>
> * **Transactions**: View all payment transactions.
> * **Settlements**: Track the settlement of collected payments to your account.
> * **Payment Links**: Create shareable links to collect payments without a website or app.
> * **Reports**: Generate and download detailed reports.
> [tab] Banking Plus
>
> Use these shortcuts to manage disbursals and financial statements:
>
> * **Payouts**: Send money to vendors, employees or customers.
> * **A/c Statement**: View or download your Razorpay Current Account statement.
## Your Business with Razorpay
This section shows a snapshot of your financial flows within Razorpay:
> [tab] Earnings
>
> Displays the total amount received via Razorpay Payments during the selected date range.
>
> * **Online (Domestic transactions + International Cards)**: Breaks down domestic and international payments.
> * **Offline payments with POS**: Link available to set up or view POS-based payments.
> [tab] Spends
>
> Displays the total money disbursed via Razorpay Banking Plus.
>
> * **API and Bulk Payouts** โ Payouts made via integrations or dashboard.
> * **S2P** | **Vendor Payouts** โ Payments made to suppliers or vendors.
> * **Pay salaries with Razorpay Payroll** โ Shortcut to Razorpayโs Payroll service.
> [tab] Balances
>
> Displays the balance amount for Razorpay Payments/RazorpayX.
>
> * **Settlement A/c Balance**: Shows the real-time balance available for settlements in your Razorpay account.
> * **Current Account Balance**: Shows the real-time balance available in your RazorpayX powered current account.
> * **View breakup**: Shows a balance breakup across payment channels (Online (Domestic transactions + International Cards), In-person, International)
## Payment Insights
This widget helps track how well your payments are performing.

| Metric | Description |
| - | - |
| Payments Collected | Total money collected through Razorpay. |
| Success Rate | The percentage of successful transactions vs. total attempts. |
| Refunds | Value and count of refunded transactions. |
Each widget includes:
* Percentage change from the previous week.
* A link to Insight by RAY for data-backed recommendations to improve performance.
You can filter data using the time range dropdown:
* Yesterday
* Last Week
* Last Month
Click [**See detailed insights**](/docs/payments/dashboard) for a more granular view on the Payments home page.
## Other Insights
This section covers operational and growth-related widgets.

| Term | Description |
| - | - |
| Payouts | Displays total amount disbursed via Payouts with insights by RAY. |
| Employees and Payroll | Set up Razorpay Payroll and disburse salaries. |
| Customers | This area will provide tools to acquire and retain customers using Razorpay solutions. |
# Re-KYC
Source: https://razorpay.com/docs/payments/dashboard/re-kyc
Ensure compliance with RBI guidelines by completing your Re-KYC process. Update your KYC details securely to avoid service disruptions.
Available in
๐ฎ๐ณ India
Understand what is Re-KYC and why it is needed. The frequency of Re-KYC updates and timelines depend upon the risk classification of your business.
## What is Re-KYC
Re-KYC (Re-Know Your Customer) is a mandatory periodic process where financial institutions must update and verify their customers' information to maintain regulatory compliance.
This procedure ensures your account details remain current and helps protect the financial system from fraud and security threats. Unlike the initial KYC completed during account setup, Re-KYC is an ongoing process to ensure that your profile remains accurate and up-to-date.
The Reserve Bank of India (RBI) mandates this process to maintain the integrity of the banking system and ensure customer information reflects any life changes, such as address updates, employment changes or contact information modifications.
## Business Risk Classifications and Re-KYC Timelines
Your business falls into any one of these risk classification based on the nature of your business.
| Business Risk Classification | Nature of Business | Re-KYC Timeline |
| - | - | - |
| **High-Risk Business** | Complex financial activities, frequent large transactions or from specific geographic regions. Require stringent monitoring and regular updates to mitigate potential risks | Re-KYC is required every 2 years. |
| **Medium-Risk Business** | Moderate financial activity levels, such as salaried employees with stable incomes. Require periodic updates less frequently than high-risk businesses, but more often than low-risk profiles. | Re-KYC is required every 8 years. |
| **Low-Risk Business** | Simple financial profiles with stable income sources. Often include pensioners and individuals with long-standing, stable accounts who require the least frequent updates. | Re-KYC is required every 8 years. |
## Complete Re-KYC Process
Razorpay periodically collects and updates Re-KYC data from businesses as per [RBI guidelines](https://www.rbi.org.in/commonman/English/scripts/notification.aspx?id=2607#18).
#### When to Complete Re-KYC
A **Re-KYC completion deadline** and banner will appear on your dashboard when action is needed. Please complete the process by the date shown to ensure uninterrupted use of all Razorpay products.
### How to Complete Re-KYC
To complete Re-KYC:
1. Click **Update KYC**.
2. A new tab with your **Basic details** opens up. Review the details to ensure they are up-to-date. If you need to change any information, click the **pencil icon** to edit the details. Once everything is correct, click **Continue**. For example, to edit your name:
1. Click the **pencil** icon next to your name.
2. You will be able to edit your name. Make the required changes and click **Continue**.
3. Verify your business type, PAN and other relevant documents. In case the details are incorrect or not up-to date, click the **pencil** icon to make changes and upload your latest documents.
4. Click **Continue**. You can upload `.pdf`, `.jpeg`, `.png` or `.jpg`. Ensure that the file size does not exceed 25 MB. Know more about [KYC Documents](/docs/payments/business-types-kyc-documents#kyc-documents).
5. Complete all the steps, select the check box and click **Submit Application**.
> [!WARNING]
>
> **Watch Out!**
>
> If your Re-KYC documents are non-compliant or require clarification, we will move your account to the **Needs Clarification** state. You must then re-upload or re-submit the necessary documents. Check the various Re-KYC statuses and the actions required based on your account ownership.
#### Actions and Consequences if Re-KYC is Not Completed
| Timeline | Action | |
| - | - | - |
| **30 Days Before Re-KYC Deadline** | Your **settlements will be put on hold 30 days before the deadline** if your Re-KYC is not completed. You must update your KYC details before the due date to ensure continuous service. | |
| **30 Days After Re-KYC Deadline** | If your Re-KYC remains incomplete 30 days after the deadline, your settlements will stay on hold. We will then notify you that your account status will be updated to **Live Disabled**. | |
| **60 Days After Re-KYC Deadline** | If your Re-KYC remains incomplete 60 days after the deadline, your account status will be changed to **Live Disabled**. | |
#### Example
This example demonstrates the critical actions and consequences if the Re-KYC process is not completed.
Let's say your business's **Re-KYC Deadline is January 30th**.
| Date | Status/Action Required | Consequence if Incomplete | |
| - | - | - | - |
| **December 31st** | **30 Days Before Re-KYC Deadline** | If Re-KYC is still pending, your daily settlements will be put on hold to prevent the use of non-compliant funds. | |
| **March 1st** | **30 Days After Re-KYC Deadline** | Settlements remain on hold. You will be formally notified that your account status is being updated to **Live Disabled.** | |
| **March 31st** | **60 Days After Re-KYC Deadline** | Your account status is changed to **Live Disabled**. | |
### Re-KYC Status for Account Owners
* **Pending**: As per RBI guidelines, you must verify your KYC periodically to validate the information shared during onboarding and update it if required. Please ensure all the necessary tasks are completed on time to avoid future disruptions. It will take 5-10 minutes to complete the process.
* **In Progress**: You have made progress on your re-KYC, but it is not complete yet. Please review your details and upload any remaining documents to finish the process.
* **Under Review**: We are currently working on your case. We will notify you within \[X hours, starting value = 72 hours] with a status update, or if we need any other details.
* **Needs Clarification**: Some submitted documents/details are incorrect or incomplete. Please resolve them at the earliest to complete your re-KYC process.
* **Rejected**: Based on your re-KYC details, your business does not meet our terms of service. Please reach out to [our support team](https://razorpay.com/support/) for further assistance.
* **Approved**: You can continue doing your business with Razorpay.
### Re-KYC Status for Non-Owners
* **Pending**: As per RBI guidelines, the account owner must verify the KYC periodically to validate the information shared during onboarding and update it if required. Please ensure all the necessary tasks are completed on time to avoid future disruptions. It will take 5-10 minutes for them to complete the process.
* **In Progress**: The account owner is currently updating the KYC details. Please ensure that they update all the details.
* **Under Review**: We are currently working on your case. We will notify you within \[X hours, starting value = 72 hours] with a status update, or if we need any other details. (If ETA is breached, this changes to: "It is taking more time to work on your case than we expected. Please bear with us. Please reach out to [our support team](https://razorpay.com/support/) for assistance.")
* **Needs Clarification**: Some documents/details submitted by the account owner are incorrect/incomplete. Please ensure that they are able to resolve them to complete the re-KYC process.
* **Rejected**: Based on the re-KYC, your business does not meet our terms of service. Please reach out to [our support team](https://razorpay.com/support/) for further assistance.
* **Approved**: You can continue doing your business with Razorpay.
# About Reports
Source: https://razorpay.com/docs/payments/dashboard/reports
Download and schedule various types of reports from the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
We offer many reports to track the cash flow of your business.
* **Download** all your transaction data for a specific day, month, or time frame according to your business requirements as a CSV, XLS, or XLSX file or emailed to the intended recipients.
* **Schedule** reports you want to receive. Select the desired delivery frequency (daily, weekly, monthly), and specify the email address where the reports will be sent using the Dashboard.
## Download Reports
> [accordion] To download a report:
>
> 1. Log in to the Dashboard and click **Reports**.
>
> 
>
> 2. Click **Download Report**.
>
> 3. Click **What report is this?** to select the report type and format.
>
> 
>
> 4. To select the time frame of the report, click **What will you receive in this report?**. You can also select a custom time range by clicking the **Custom** button and selecting your preferred time and date.
>
> 
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can now download data for the **Current Financial Year** or **Previous Financial Year** for Payments, Settlements and Settlement Reconciliation reports. Select these options directly from the date picker.
> >
> > For all other reports, a maximum time frame of 95 days applies.
>
> 5. Click **Yes** on the **Do you want this report in an email?** section to add the email recipients with whom you want to share the report and click **Start Download**.
>
> 
> 6. Your report request will begin processing. You can track the status and download the report in the **Downloads** section.
>
> 
## Schedule Reports
Scheduling reports offers numerous advantages. It guarantees punctual and regular data provision, streamlining decision-making with timely information.
> [accordion] To schedule a report:
>
> 1. Log in to the Dashboard and click **Reports**.
> 2. Click **Schedule Report**.
> 3. In the **What report is this?** section, select the type of report and enter the Schedule Name Select the format in which you want to receive the report.
> 4. In the **What will you receive in this report?** section:
> * Select the time duration for which you want to schedule the report.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > When selecting the duration for a scheduled report, it is important to ensure that you choose the **T+1** date. The **T+1** date refers to the day immediately following the current date.
>
> * Select the Data Duration from the drop-down.
>
> * Select the frequency of the report schedule.
>
> * Select the time of the day to schedule your report.
>
> 5. Click **Who will receive this report?** section to add the email recipients with whom you want to share the report and click **Create Schedule**.
Your report will be scheduled. You can track and manage all your schedules in the **Schedules** section.

## View and Edit Schedules
You can also access and review previous schedules associated with a specific scheduled report. This allows you to view the scheduled report's history and corresponding configuration. You can also modify a scheduled report's configuration as per your requirements.
> [accordion] To view and edit schedules:
>
> 1. Log in to the Dashboard and click **Reports**.
> 2. Click **Schedules** and click **Open** on the schedule you want to view under **View Activity**.
> 3. Click **Edit Schedule** to modify the existing settings of the scheduled report.
> 4. Click **Edit Schedule** to save the changes.
>
> 
## Limit on Reports
There is a limit on the number of concurrent reports that can be generated from the Dashboard. Once the maximum threshold is reached, new reports will only be created after at least one of the reports in the **processing** state has been generated.
> [!NOTE]
>
> **Handy Tips**
>
> You can generate a maximum of 3 reports at the same time. Get in touch with our [Support Team](https://razorpay.com/support/#raise-a-request) for increasing this limit for your account.
# About Custom Reports
Source: https://razorpay.com/docs/payments/dashboard/reports/custom-reports
Custom reports empower you to tailor data analysis, gain deeper insights and meet specific business needs with personalised financial reporting tools.
Available in
๐ฎ๐ณ India
Custom Reports enables you to build personalised reports precisely tailored to your business requirements. This feature offers deeper insights and streamlines your reconciliation and overall business analysis.
## Standard Reports vs Custom Reports
Custom Reports lets users select and combine specific data fields from various Razorpay entities (e.g., payments, refunds, settlements). Generate customised reports that provide precise data configurations, moving beyond standard predefined formats to suit operational requirements.
Start with Standard Reports to understand your data and establish reporting routines. Use Custom Reports when:
* You are manually combining data from 2+ Standard Reports regularly.
* Your business complexity requires multi-entity analysis.
* Strategic decision-making needs deeper, correlated insights.
## Use Cases
Here are a few use cases of Custom Reports.
> [accordion] Enhanced Financial Reconciliation
>
> With access to detailed fields across all transaction types, you can build reports that streamline your reconciliation processes by:
>
> * Matching payments to settlements with precise timing data
> * Tracking refunds against original transactions
> * Monitoring fee structures and tax implications
> * Analysing transaction flows across different payment methods
> [accordion] Comprehensive Tax and Compliance Support
>
> The schema includes extensive tax and fee tracking across all entities, enabling you to:
>
> * Generate tax reports with precise breakdowns by transaction type
> * Track GST implications through vendor data
> * Monitor TDS categories and compliance requirements
> * Create audit trails with detailed transaction histories
Here is a [**sample use case for using Custom Reports**](/docs/payments/dashboard/reports/custom-reports/create-custom-reports#sample-use-case).
# Create Custom Reports
Source: https://razorpay.com/docs/payments/dashboard/reports/custom-reports/create-custom-reports
Build Custom Reports from your Razorpay data. Gain deeper insights, streamlining financial operations for your business.
Available in
๐ฎ๐ณ India
Custom Reports lets you build personalised reports that precisely match your business needs. This feature offers deeper insights, streamlining your reconciliation and overall business analysis.
## Create a Custom Report
1. Log in to the Dashboard.
2. Go to **Reports**.
3. Click **Create Custom Report**.
4. Select a report type from the **Select Base Report Type** field. 
5. Enter a report name for your custom report in the **Report Name** field.
6. Add a description for your custom report in the **Report Description** for this report. Click **Next**. 
7. In the **Column selection and arrangement** view, drag and drop the columns to rearrange them in the order you want them to appear in your report. Click **Next**. 
8. Rename column names for each selected column. Remove a column if required. Click **Create**. 
9. Once your custom report is created, select **Custom Reports** in the **Filter** dropdown. 
> [!WARNING]
>
> **Watch Out!**
>
> You can only modify reports you have created. You can make 15 custom reports, with up to 50 columns each.
You have successfully created a custom report.
## Download a Custom Report
1. Click the **download** icon on your custom report's card.
2. Use the **Select report** option to choose which report you wish to download.
3. Enter a preferred file name in the **Save Report As** field (optional).
4. Select your preferred file format: **CSV, Excel or Txt** (optional).
5. Select a linked account in the **Select an Account** field. 
6. **Select duration** for the data coverage of the report from these options:
* Today
* Yesterday
* Past Week
* Past 15 days
* Past Month
* Past Quarter
Toggle the **Custom** option to select a custom date range. 
7\. To receive your custom report via email, toggle **Yes** for the **Do you want this report in an email?** section. 
8\. Click **Start Download**.
9\. Navigate to the **Downloads** tab and click **Download**. 
You have successfully downloaded your custom report.
## Sample Use Case
Here is a sample use case to demonstrate how you can use custom reports:
> [accordion] Business Analysis Report
>
> * **Company**: Acme Gadgets - An online electronics retailer
> * **Challenge**: The finance team spends 15+ hours monthly compiling data from multiple Standard Reports for board presentations
> * **Goal**: Create a unified custom report for comprehensive monthly business analysis
>
> #### Report Configuration
>
> * **Report Name**: Monthly Business Performance Dashboard
> * **Base Report Type**: Payments
> * **Reporting Period**: Past Month
>
> #### Selected Data Fields
>
> | Entity | Selected Columns | Business Purpose |
> | - | - | - |
> | Payments | Payment ID, Amount, Currency, Status, Method, Customer Email, Customer Contact, Created At, Captured At, Fee, Tax, Net Amount, Order ID | Core transaction analysis |
> | Orders | Order ID, Amount, Status, Amount Paid, Amount Due, Created At | Order completion tracking |
> | Refunds | Refund ID, Payment ID, Amount, Status, Created At, Fees, Tax | Refund impact analysis |
> | Settlements | Settlement ID, Amount, Status, Created At, Fees, Tax, UTR | Cash flow tracking |
> | Customers | Customer ID, Name, Email, Contact | Customer segmentation |
> | Cards | Card Type, Network, Issuer, Last 4 Digits | Payment method insights |
## Fields and Columns
To find details about the available list of fields, columns and fields go through the [**Custom Reports Data Schema documentation**](/docs/payments/dashboard/reports/data-schema).
# Reports Data Schema
Source: https://razorpay.com/docs/payments/dashboard/reports/data-schema
Explore reporting data schema on payments, refunds, settlements and more to build insightful reports.
Available in
๐ฎ๐ณ India
Create standard and custom reports from your data. Utilise our schema documentation for all entities, columns and their descriptions.
## Refunds
Records details of amounts returned to customers from processed payments.
Details of the available columns are listed below:
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Unique Transaction Reference | String |
**UPI**: NPCI UPI transaction ID (RRN)
**E-mandate**: Unique Transaction Reference (UTR)
**Cards/Netbanking**: Acquirer Reference Number (ARN)
| Yes |
| Settled By | String | Indicates the entity responsible for settling the refund. | Yes |
| Notes | String | Additional notes or comments related to the refund. | Yes |
| Refund ID | Integer | Unique identifier for the refund. | No |
| Fees | Integer | The processing fees associated with the refund. | No |
| Tax | Integer | The tax amount applied to the refund. | No |
| Amount | Integer | The total amount of the refund. | No |
| Receipt | String | The unique receipt number for the refund. | Yes |
| Currency | String | The currency in which the refund was processed (for example, 'INR'). | No |
| Created At | Date/Time | Timestamp when the refund record was created. | No |
| Payment ID | String | The ID of the original payment to which the refund is linked. | No |
| Speed Requested | String | The requested processing speed for the refund. | No |
| Status | String | The current status of the refund (for example, `processed`, `pending`, `failed`). | No |
## Transactions
Captures comprehensive records of all financial movements, including debits, credits and associated fees.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Tax | Integer | The tax amount associated with the transaction. | Yes |
| Debit | Integer | The debit amount the transaction. | No |
| Amount | Integer | The total amount of the transaction. | No |
| Credit | Integer | The credit amount of the transaction. | No |
| Currency | String | The currency of the transaction. | No |
| Entity ID | Integer | The ID of the entity related to this transaction (for example, payment ID, refund ID). | No |
| Created At | Date/Time | Timestamp when the transaction record was created. | No |
| Type | String | The type of transaction (for example, 'payment', 'refund', 'settlement'). | No |
| Settled | Boolean | Indicates if the transaction has been settled (True/False). | No |
| Fees | Integer | The total fees associated with the transaction. | No |
| On Hold | Boolean | Indicates if the transaction amount is currently on hold (True/False). | Yes |
| Settled At | Date/Time | Timestamp when the transaction record was settled. | Yes |
| Settlement ID | String | The ID of the settlement associated with this transaction. | Yes |
## Orders
Represents the initial request or intent to collect a payment, often preceding the actual payment capture.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Order ID | String | Unique identifier for the order. | No |
| Notes | String | Additional notes or comments for the order. | Yes |
| Receipt | String | The unique receipt number for the order. | Yes |
| Offer ID | String | The ID of any offer applied to the order. | Yes |
| Updated At | Date/Time | Timestamp when the order record was last updated. | No |
| Amount Paid | Integer | The total amount paid for the order. | Yes |
| Amount | Integer | The total amount of the order. | No |
| Status | String | The current status of the order (for example, `created`, `paid`, `fulfilled`). | No |
| Attempts | Integer | The number of payment attempts made for the order. | No |
| Currency | String | The currency of the order. | No |
| Created At | Date/Time | Timestamp when the order was created. | No |
## UPI Metadata
Stores additional details and technical information related to UPI (Unified Payments Interface) transactions.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Settled By | String | The tax amount associated with the transaction. | Yes |
## Disputes
Manages details and statuses of chargebacks or disagreements initiated by customers regarding transactions.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Dispute ID | String | Unique identifier for the dispute. | No |
| Adjustment ID | String | Unique identifier for the adjustment. | No |
| Payment ID | String | Unique identifier for the payment on which dispute was raised. | No |
| Order ID | String | The ID of the order associated with this payment. | No |
| Amount | Integer | The total amount of the payment. | No |
| Currency | String | The currency in which the payment was made. | No |
| Amount Deducted | Integer | Total amount deducted. | No |
| Amount Reversed | Integer | Total amount reversed after the dispute was raised. | No |
| Reason Code | String | A detailed description of the reason for the dispute. | No |
| Dispute Created At | Date/Time | Timestamp when the dispute record was created. | No |
| Resolved At | Date/Time | Timestamp when the dispute record was resolved. | Yes |
## Settlements
Tracks the process of transferring accumulated funds from Razorpay to your linked bank account.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Created At | Date/Time | Timestamp when the settlement record was created. | No |
| Settlement ID | String | Unique identifier for the settlement. | No |
| UTR (Unique Transaction Reference) | String | The Unique Transaction Reference number for the settlement. | Yes |
| Status | String | The current status of the settlement (for example, `processed`, `pending`, `failed`). | No |
| Amount | Integer | The total amount of the settlement. | No |
| Tax | Integer | The tax amount associated with the settlement. | Yes |
| Fees | Integer | The total fees deducted from the settlement amount. | No |
## Payments
Holds the core information about successful and failed payment attempts, including amount, method and customer details.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Settled By | String | Indicates the entity that settled the payment. | Yes |
| Notes | String | Additional notes or comments for the payment. | Yes |
| Payment Method | String | The method used for the payment (for example, 'card', 'netbanking', 'upi', 'wallet'). | Yes |
| Captured At | Date/Time | Timestamp when the payment was captured. | No |
| Payment ID | String | Unique identifier for the payment. | No |
| Customer Email | String | The email address of the customer who made the payment. | Yes |
| Customer Contact | String | The contact number of the customer who made the payment. | Yes |
| Currency | String | The currency in which the payment was made. | No |
| Order ID | String | The ID of the order associated with this payment. | Yes |
| Created At | Date/Time | Timestamp when the payment record was created. | No |
| Status | String | The current status of the payment (for example, `captured`, `failed`, `refunded`). | No |
| Amount | Integer | The total amount of the payment. | No |
| Fee | Integer | The fee associated with the payment. | Yes |
| Tax | Integer | The tax amount applied to the payment. | Yes |
| Receiver ID | String | The ID of the receiver of the payment. | Yes |
| Error Code | String | The error code if the payment failed. | Yes |
| Invoice ID | String | The ID of the invoice associated with this payment. | Yes |
| VPA | String | The Virtual Payment Address (VPA) used for UPI payments. | Yes |
| Error Description | String | A detailed description of the error if the payment failed. | Yes |
| Receiver Type | String | The type of the receiver of the payment. | Yes |
| Bank | String | The bank used for the payment. | Yes |
| Wallet | String | The wallet used for the payment. | Yes |
| Card ID | String | The ID of the card used for the payment. | Yes |
| Description | String | A general description of the payment. | Yes |
| International | Boolean | Indicates if the payment was an international transaction (True/False). | Yes |
| Refund Status | String | The status of any refund associated with this payment. | Yes |
| Amount Refunded | Integer | The amount that has been refunded from this payment. | No |
| Amount Transferred | Integer | The amount transferred out of this payment. | Yes |
| Primary Transaction ID | String | Stores the main transaction identifier from payment gateways.
**Netbanking**: bank\_transaction\_id
**UPI**: upi\_transaction\_id
**Cards/EMI**: ARN (Acquirer Reference Number) for recon
**Wallet**: Transaction ID
**Pay Later/Cardless EMI**: Transaction ID
| Yes |
| Retrieval Reference Number | String | **RRN** (Retrieval Reference Number) Mainly used for UPI transactions as a unique identifier for reconciliation and sometimes for Cards/EMI | Yes |
| Auth Code | String |
| Yes |
| Updated At | Date/Time | Timestamp when the payment record was last updated. | No |
## Transfers
Records the movement of funds from one account or entity to another within the Razorpay ecosystem.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Transfer ID | String | Unique identifier for the transfer. | No |
| Amount | Integer | The total amount of the transfer. | No |
| Currency | String | The currency of the transfer. | No |
| Created At | Date/Time | Timestamp when the transfer record was created. | No |
| Amount Reversed | Integer | The amount reversed from this transfer. | Yes |
| Notes | String | Additional notes or comments for the transfer. | Yes |
| Source Type | String | The type of the source for the transfer (for example, 'payment'). | No |
| Source ID | String | The ID of the source entity for the transfer. | No |
| Tax | Integer | The tax amount applied to the transfer. | Yes |
| Fees | Integer | The fees associated with the transfer. | Yes |
| On Hold | Boolean | Indicates if the transferred amount is currently on hold (True/False). | No |
| To ID | String | The ID of the recipient of the transfer. | No |
| On Hold Until | Date/Time | The timestamp until which the transferred amount is on hold. | Yes |
## Reversals
Documents the reversal of previously completed transfers or other financial movements.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Reversal ID | String | Unique identifier for the reversal. | No |
| Currency | String | The currency of the reversal. | No |
| Created At | Date/Time | Timestamp when the reversal record was created. | No |
| Amount | Integer | The amount of the reversal. | No |
| Notes | String | Additional notes or comments for the reversal. | Yes |
## Customers
Contains demographic and contact information for the individuals or businesses making payments or associated with transactions.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Customer ID | String | Unique identifier for the customer. | No |
| Customer Name | String | The full name of the customer. | Yes |
| Customer Email | String | The email address of the customer. | Yes |
| Customer Contact | String | The contact number of the customer. | Yes |
## Payment Links
Enables the creation and management of shareable web links for collecting payments.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Payment Link ID | String | Unique identifier for the payment link. | No |
| Title | String | The title or name of the payment link. | Yes |
## Contacts
Stores general contact information for various entities or individuals relevant to your business operations.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Contact ID | String | Unique identifier for the contact. | No |
| Contact Name | String | The name of the contact. | No |
| Contact Type | String | The type of contact (for example, 'customer', 'vendor'). | Yes |
| Contact Email | String | The email address of the contact. | Yes |
| Notes | String | Additional notes or comments for the contact. | No |
| Contact Number | String | The contact number of the entity. | Yes |
| Created At | Date/Time | Timestamp when the contact record was created. | No |
| Reference ID | String | An external reference ID for the contact. | Yes |
## Fund Accounts
Consists of details of the bank accounts or other financial instruments used for payouts and settlements.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Fund Account ID | String | Unique identifier for the fund account. | No |
| Account Type | String | The type of fund account (for example, `bank_account`, `vpa`). | No |
## Credits
Represents a form of balance or credit available to a merchant or customer.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Credit Type | String | The type of credit. | No |
## Credit Transactions
Records the specific actions where credits are used or adjusted.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Credits Used | Integer | The number of credits used in the transaction. | No |
## Payment Link (Customers)
Stores customer-specific information related to interactions with payment links.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Customer ID | String | Unique identifier of the customer associated with a payment link. | Yes |
| Customer Name | String | The name of the customer. | Yes |
| Customer Email | String | The email address of the customer. | Yes |
| Customer Contact | String | The contact number of the customer. | Yes |
## Offshore Remittance
Information about payments made to foreign bank accounts.
| Column Name | Type | Description | Is Nullable? |
| - | - | - | - |
| Merchant ID | String | Unique identifier of the merchant | No |
| Settlements ID | String | Unique identifier of the settlement associated with the transaction | No |
| Transaction ID | String | Unique identifier of the transaction | No |
| Type | String | The type of transaction carried out. For example, `payment`, `refund`. | No |
| Order ID | String | Unique identifier for the order. | No |
| Transaction Date | Date/Time | Timestamp when the transaction record was made. | No |
| Transaction Currency | String | The currency in which the transaction was made. | No |
| Gross Transaction Amount | Integer | The total amount of the transaction inclusive of the tax component. | No |
| MDR | Integer | Fee charged by Razorpay for each debit or credit transaction made. | No |
| Tax | Integer | The tax amount applied to the transaction. | No |
| Net Transaction Amount | Integer | The actual amount transacted, excluding taxes and fees. | No |
| Net Debit | Integer | The amount debited from the account as part of the transaction. | No |
| Net Credit | Integer | The amount credited to the account as part of the transaction. | No |
| MTS Reference Number | String | Unique identifier generated by the payment gateway or processing system. | No |
| Offshore Remittance Date | Date/Time | Timestamp when the amount was credited to the receiver's account. | No |
| Total Offshore | Integer | Total amount of transaction made for a particular MTS Reference Number (in the foreign currency). | No |
| Remittance Currency | String | Currency used for the offshore transaction. For example, `USD`. | No |
| Total Amount | Integer | Total amount of transaction made for a particular MTS Reference Number (in the local currency). | No |
| Domestic Currency | String | Domestic currency used for the transaction. For example, `INR`. | No |
| Notes | String | Additional notes or comments related to the offshore remittance. | Yes |
# List of Standard Reports
Source: https://razorpay.com/docs/payments/dashboard/reports/list-of-reports
Check and download the various types of Reports available on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
The table below lists the various reports supplied as default and gives a brief description of each report. Click the report name to download the sample report of that product. Know [how to download reports.](/docs/payments/dashboard/reports#download-reports)
## Payment Gateway
| Report Name | Description |
| - | - |
| [Settlements](https://razorpay.com/docs/build/browser/assets/images/sample-settlements-report.xlsx) | This report provides a list of the settlement(s) in the selected time range. |
| [Payments](https://razorpay.com/docs/build/browser/assets/images/sample-payments-report.xlsx) | This report provides details of all payments created within the selected time range. It also helps you verify whether a payment is international or domestic. |
| [Combined Report](https://razorpay.com/docs/build/browser/assets/images/sample-combined-report.xlsx) | This report provides all transactions (payments, refunds, adjustments and transfers) and settlements made in the selected time range. |
| [Orders](https://razorpay.com/docs/build/browser/assets/images/sample-orders-report.xlsx) | This report provides details of all orders that were created in the selected time range. |
| [Refunds](https://razorpay.com/docs/build/browser/assets/images/sample-refunds-report.xlsx) | This report provides details of all refunds that were initiated in the selected time range. |
| [Instant Refunds](https://razorpay.com/docs/build/browser/assets/images/sample-instant-refunds-report.xlsx) | This report provides details of all the instant refunds initiated in the selected time range. |
| [Settlement Recon](https://razorpay.com/docs/build/browser/assets/images/sample-settlements-recon-report.xlsx) | This report provides a detailed list of all transactions (payments, refunds, and adjustments) against every settlement in the selected time range. |
| [Monthly Invoice](https://razorpay.com/docs/build/browser/assets/images/sample-monthly-invoice-report.xlsx) | An invoice for transactions and the corresponding payments. |
> [!NOTE]
>
> **Handy Tips** You can currently download only the Monthly Invoices report.
## Route
| Report Name | Description |
| - | - |
| [Transfers](https://razorpay.com/docs/build/browser/assets/images/sample-transfers-report.xlsx) | This report provides details of all transfers made to your linked accounts in the selected time range. |
| [Reversals](https://razorpay.com/docs/build/browser/assets/images/sample-reversals-report.xlsx) | This report provides details of all reversals that were made against any linked account transfers. |
| [Custom Transfers with Notes](https://razorpay.com/docs/build/browser/assets/images/sample-custom-transfers-report.xlsx) | This report provides details of all transfers (including the custom notes added) that were made to your linked accounts in the selected time range. |
## Payment Links
| Report Name | Description |
| - | - |
| [Payment Links](https://razorpay.com/docs/build/browser/assets/images/sample-payment-links-report.xlsx) | This report provides details of all the standard payment links that were created in the selected time range. |
## Payment Button
| Report Name | Description |
| - | - |
| [Payment Buttons](https://razorpay.com/docs/build/browser/assets/images/sample-payment-buttton-report.xlsx) | This report provides details of all the payment buttons that were created in the selected time range. |
## Payment Pages
| Report Name | Description |
| - | - |
| [Payment Pages](https://razorpay.com/docs/build/browser/assets/images/sample-payment-page-report.xlsx) | This report provides details of all the payment pages that were created in the selected time range. |
## Subscriptions
| Report Name | Description |
| - | - |
| [Subscriptions](https://razorpay.com/docs/build/browser/assets/images/sample-subsciptions-report.xlsx) | This report provides details of all subscriptions that were created in the selected time range. |
## QR Codes
| Report Name | Description |
| - | - |
| [QR Codes](https://razorpay.com/docs/build/browser/assets/images/sample-qrcode-report.xlsx) | This report provides details of all QR Codes that were created in the selected time range. |
## International Business - Import Flow
| Report Name | Description |
| - | - |
| [Offshore Remittance](https://razorpay.com/docs/build/browser/assets/images/sample-offshore-remittance-report.xlsx) | This report contains the details of the transactions settled to your bank account, along with the foreign currency amount details. |
# Support
Source: https://razorpay.com/docs/payments/dashboard/support
If you are a business using Razorpay products or exploring Razorpay solutions, contact our Support Team for all your technical and product queries.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
If you are a registered Razorpay user and need help, connect with [Razorpay Support team](https://razorpay.com/support/). Refer to [Razorpay Docs](https://razorpay.com/docs) for details about each of Razorpay products, integrations, like [Payment Gateway](https://razorpay.com/docs/payments/payment-gateway) and [API Reference Guide](https://razorpay.com/docs/api/).
> [!NOTE]
>
> **You are a registered Razorpay User**
>
> If you have a Razorpay User ID (Merchant ID/MID), and you:
>
> * Run a business or are a freelancer.
> * Use Razorpay products to receive payments from your end-users and/or make payouts for business purposes.
>
> Not registered yet? [Sign up with Razorpay](https://easy.razorpay.com/)
## Contact Razorpay Support
> [accordion] To contact the Razorpay Support team:
>
> 1. Log in to the Dashboard.
>
> 2. Click **Help** for **Quick actions** or to **Get in touch**.
>
> 
>
> 3. You have the following options in the **Get in touch** section:
> * [Create support ticket](#create-support-ticket): Check existing queries or raise a new support ticket
> * [Contact Us](#contact-us): Start a live chat with us or request a callback for quicker resolution (selected users only)
>
> 
>
> You can also scroll further down and click **Documentation** to know about the various Razorpay offerings, integrations and APIs.
## Create Support Ticket
You can check existing queries or raise a new support ticket through the Dashboard. Watch this video to know how to raise a ticket.
[YouTube video player](https://www.youtube.com/embed/02WXIXGhHIQ?si=WyY-Y68JZVvDynzk)
> [accordion] To raise a new ticket:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** โ **Support tickets** (under Business settings).
> 3. Click **Support tickets**.
> 4. Click **+ Raise New Query** and select the relevant topic and sub-topic.
> 5. Enter the details of your query and **Upload file** if necessary. Click **Create support ticket**.
> 6. **Confirm** your phone number. The support ticket is created and details are sent to your registered email id. Click **Done**.
### Track Status of Existing Tickets
Know how to [track your support tickets](/docs/payments/dashboard/account-settings/support-tickets) on the Dashboard.
> [!NOTE]
>
> **Handy Tips**
>
> For a faster support experience, reply to the relevant existing ticket instead of creating a new ticket.
## Contact Us
This feature is available for selected users only. If it is visible for your account, you can chat with a member of the Support Team between 10 a.m. and 10 p.m. on all working days for instant communication.

> [accordion] To start a live chat with us:
>
> 1. Log in to the Dashboard.
> 2. Click **Help**, in the **Get in touch** section, click **Contact Us**.
> 3. Select the relevant topics and sub-topics.
> 4. On the pop-up, click **Start Chat** for a live chat or **Request for callback**.
> [!NOTE]
>
> **Customer Looking for Refunds**
>
> If you are a customer who has used one of the Razorpay products to make payments and looking for a refund, read about [Customer Refunds](/docs/payments/customers/customer-refunds).
## Escalate a Support Ticket
Escalating a ticket moves your ticket to a priority resolution queue. A representative will then contact you by phone within the next two hours to address your issue.
The **Escalate Now** button appears on your support ticket within the Dashboard when we do not meet our committed Turnaround Time (TAT) or Service Level Agreement (SLA) for ticket resolution.
To escalate a support ticket:
1. Locate the **Escalate Now** button on the Dashboard. 
* You can find this button in the help chat as shown below: 
* This button will also show up on the **Account & Settings > Support Tickets** page: 
2. Click **Escalate Now**. The ticket is now escalated and is moved to a priority resolution queue. 
# Test and Live Modes
Source: https://razorpay.com/docs/payments/dashboard/test-live-modes
Check the Test (sandbox environment) and Live modes available on the Razorpay Dashboard and the difference between them.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [!WARNING]
>
> **Watch Out!**
>
> The Dashboard offers two modes: **Test** and **Live**. Both modes provide the same functionalities, except that real payments cannot be accepted in **Test** mode. Refer the [table below](/docs/payments/dashboard/test-live-modes#test-mode-vs-live-mode) for more details.
## Test Mode Vs Live Mode
| Test Mode | Live Mode |
| - | - |
| The Test mode is a replica of your account in a sandbox environment. This allows you to test all aspects of your integration before you go live. | After thoroughly testing your integration, you can switch to the Live mode and start accepting payments from customers. |
| The Test mode is available to you as soon as you complete the sign-up process. You can use Test mode as long as you want. | The Live mode is available after you activate your account from the Dashboard. |
| Generate API keys in Test mode to use the API keys in Test mode. | Generate API keys in Live mode to use the API keys in Live mode. |
| Actions taken in the test mode have no consequences in your live environment. Transactions and entities created in the test mode do not appear in the live mode. **No real money is used in the test mode**. | Payments made by your customers are settled to your account according to your settlement cycle. |
> [!NOTE]
>
> **Separate Set of API Keys in Test and Live Mode**
>
> You have to generate a separate set of API keys for Live and Test modes. Know more about [Generating API Keys on Dashboard](/docs/payments/dashboard/account-settings/api-keys).
## Enable Test Mode
You can turn on **Test Mode** using the toggle on your Razorpay Dashboard.

# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/faqs
Find answers to some Frequently Asked Questions (FAQs) about Razorpay.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
## Master KYC & Account Verification
> [accordion] What is Central KYC Registry (CKYC) and how does it help me?
>
> **Central KYC Registry (CKYC)** is a centralised government database maintained by CERSAI (Central Registry of Securitisation Asset Reconstruction and Security Interest of India) containing verified KYC records from all financial institutions in India.
>
> **Benefits for businesses:**
>
> * **Instant Verification:** If you have CKYC records (from bank, mutual fund, insurance), verification happens in seconds.
> * **No Document Uploads:** Many required documents are auto-fetched from CKYC.
> * **Skip Video KYC:** Businesses can bypass Video KYC completely.
> * **Faster Activation:** Complete onboarding in minutes instead of days.
> [accordion] How do I give consent to download my CKYC records?
>
> The consent process differs for individuals and businesses:
>
> **For Individuals/Unregistered Businesses:**
>
> 1. Enter your Personal PAN.
> 2. Razorpay checks if CKYC record exists.
> 3. Enter mobile number linked to your CKYC record.
> 4. Enter OTP sent by CKYC system.
> 5. Your CKYC record is downloaded with documents.
>
> **For Registered Businesses:**
>
> 1. Enter Business PAN and upload PAN document.
>
> 2. Date of Incorporation is extracted from PAN document.
>
> 3. Razorpay checks CKYC using PAN and Date of Incorporation.
>
> 4. Your business CKYC record is downloaded.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > The mobile number must be the same one registered with your CKYC record (typically the same as the mobile number linked to Aadhaar).
> [accordion] What is Video KYC and when is it required?
>
> **Video KYC** is a live video call with a Razorpay agent to verify your identity when CKYC data is not available.
> **Video KYC is NOT Required when:**
>
> * CKYC data is successfully fetched for your entity.
> * You can proceed directly with document submission.
>
> **Video KYC is Required when:**
>
> * CKYC search returns no record for your business.
> * CKYC OTP verification fails.
> * You do not have existing CKYC records.
>
> Only the **Authorised Signatory** needs to complete Video KYC. Ultimate Beneficial Owners (UBOs) do NOT need Video KYC.
> [accordion] Why must I show the original PAN card during Video KYC?
>
> RBI regulations require verification of original documents during Video KYC.
>
> The Authorised Signatory must physically hold and display the original PAN card on camera. This ensures:
>
> * Document authenticity.
> * Prevention of fraudulent submissions.
> * Compliance with regulatory requirements.
>
> **NOT Accepted:**
>
> * Printed copies of PAN.
> * Screenshots of PAN.
> * E-PAN displayed on mobile screen.
>
> **Accepted:**
>
> * Original physical PAN card only.
> [accordion] Is UBO verification mandatory for my business type?
>
> **UBO verification is mandatory if your business type is:**
>
> * Private Limited Company (>10% shareholding)
> * Public Limited Company (>10% shareholding)
> * Section 8 Company (>10% shareholding)
> * Partnership Firm (>10% holding)
> * Limited Liability Partnership (>10% contribution)
> * Trust (โฅ10% interest - includes exactly 10%)
> * Society (>15% interest - higher threshold)
>
> **UBO Declaration is not required if your business type is:**
>
> * Individual/Unregistered Business (owner is the merchant)
> * Sole Proprietorship (owner is the merchant)
> * Hindu Undivided Family (HUF)
> * Government Entity
> * Judicial Person
> * Local Authority
>
> **For Each UBO:** Provide PAN number (verified), Aadhaar document (front & back) and ownership percentage (self-declared).
> [accordion] What if I do not have a CKYC record?
>
> If CKYC you do not have a CKYC record, follow the standard verification flow:
>
> **Your Onboarding Path:**
>
> 1. **Upload Required Documents:** Based on your business type.
> 2. **Complete Video KYC:** Live video call with original PAN display.
> 3. **Digilocker Verification:** Within 3 days of video call.
> 4. **Review:** Our team reviews your submission (3-4 business days).
>
> **After Successful Onboarding:**
>
> Razorpay uploads your KYC data to CKYC for future use. This helps:
>
> * Speed up any future KYC processes.
> * Enable instant verification with other financial institutions.
> * Reduce document resubmission across services.
> [accordion] Which business types can never be auto-activated?
>
> The following entity types always require manual review and can never be auto-activated via CKYC. They are identified by the **4th character** in their business PAN:
>
> * **Hindu Undivided Family (HUF)** - PAN 4th letter: **H**
> * **Government Entity** - PAN 4th letter: **G**
> * **Judicial Person** - PAN 4th letter: **J**
> * **Local Authority** - PAN 4th letter: **L**
>
> These entities have **unique regulatory, legal and ownership structures** that require detailed manual verification regardless of CKYC availability.
>
> **All other business types** can be auto-activated if:
>
> * CKYC data is successfully fetched.
> * All required documents are present.
> * Business category supports auto-activation.
> [accordion] What documents are NEW requirements under Master KYC?
>
> New mandatory documents (Effective January 1, 2026):
>
> **For Private/Public Limited Companies:**
>
> * **Memorandum of Association (MOA)** - NEW.
> * **Articles of Association (AOA)** - NEW.
> * **Board Resolution or Power of Attorney** - NEW (for Authorised Signatory).
> * **UBO Declaration** - NEW (for shareholders >10%).
>
> **For Sole Proprietorship:**
>
> * **2 Business Documents** - NEW requirement (from approved list).
> * Previously only 1 document (GSTIN) was required.
>
> **For All Registered Businesses:**
>
> * **Ultimate Beneficial Owner (UBO) Declaration** - NEW.
> * **Power of Attorney** - NEW (if Authorised Signatory is not owner/director/partner).
>
> **Removed Requirements:**
>
> * Website policies (Terms, Refund, Privacy) - No longer required at onboarding.
> [accordion] Can I track my CKYC verification status?
>
> Yes, you can track CKYC verification status on your Dashboard.
>
> **Status Indicators:**
>
> * **Checking CKYC:** System searching for your CKYC record.
> * **Awaiting Consent:** Waiting for mobile OTP verification.
> * **CKYC Fetched:** Records successfully downloaded.
> * **CKYC Not Found:** No record exists, proceed with manual verification.
> * **Consent Failed:** OTP verification failed, retry or use manual method.
>
> **If CKYC Fetch Fails:**
>
> 1. System automatically switches to traditional verification.
> 2. You will be prompted to upload documents.
> 3. Video KYC requirement will be displayed.
> 4. Proceed with Digilocker + Video KYC flow.
>
> Check your Dashboard notifications and email for real-time updates on your KYC status.
> [accordion] What happens if my Video KYC verification fails?
>
> Common reasons for Video KYC failure:
>
> * Poor video quality (lighting, connection).
> * Face mismatch between PAN, Aadhaar and live video.
> * Original PAN card not shown (showing e-PAN or printout).
> * Digilocker verification not completed within 3 days.
> * Wrong person attended the call (not the Authorised Signatory).
>
> **What Happens Next:**
>
> 1. You will receive notification of failure reason.
> 2. Can retry Video KYC (no limit on retries).
> 3. Ensure all requirements are met before retry.
>
> **How to Avoid Failure:**
>
> * Use original physical PAN card.
> * Ensure good lighting and stable internet.
> * Authorised Signatory must attend (not someone else).
> * Complete Digilocker verification first.
> * Enable camera, microphone, GPS permissions.
> * Schedule call during the **8 AM - 7 PM (Monday to Sunday)** window.
>
> Contact our [support team](https://razorpay.com/support/) if you face repeated failures.
> [accordion] Do I need to complete separate CKYC for my business and myself?
>
> Yes, for registered businesses, entity CKYC and individual CKYC are separate.
>
> **Two Types of CKYC Records:**
>
> **1. Entity CKYC (Business)**
>
> * For the registered business entity
> * **Contains**: Business PAN, Certificate of Incorporation, MOA/AOA and so on.
> * **Used for**: Business identity verification
>
> **2. Individual CKYC (Authorised Signatory)**
>
> * For the person authorised to sign on behalf of business
> * **Contains**: Personal PAN, Aadhaar, address proof
> * **Used for**: Authorised Signatory verification
>
> **Example - Private Limited Company:**
>
> * **Entity CKYC:** Company's CKYC record (Business PAN and Date of Incorporation)
> * **Individual CKYC:** Director's CKYC record (Director's personal PAN)
>
> **For Individuals/Proprietorships:**
>
> * Only one CKYC record (individual's record)
> * Proprietorship may have separate entity CKYC in some cases
>
> Both records are checked during onboarding. If either is missing, that portion requires manual verification/Video KYC.
## Account Activation
> [accordion] Do you support freelancers or individuals?
>
> Yes, we do support freelancers/individual business entities. You can [sign up here](https://dashboard.razorpay.com/#/access/signup/) and submit your activation form.
> [accordion] I submitted the activation form a while ago. How can I get my account activated?
>
> If you have already submitted the activation form but have not received any communication, please check your email inbox, including the spam or junk folders. Look for an email from Razorpay that would have been sent shortly after submitting the activation form. In case you don't find the email, please raise a request to [Razorpay Support](https://razorpay.com/support/) and our team will get back to you.
> [accordion] I have signed up with Razorpay. How do I complete my activation form?
>
> Follow the steps given below to complete the activation process:
>
> 1. Log in to your Dashboard.
> 2. Complete Account Activation and KYC Verification steps.
> 3. Submit the activation form.
> [accordion] I have submitted my activation form, but my account is not activated. Can I start integrating?
>
> Yes, you can start integrating without your account getting activated. But you must have an active account for the [settlements](/docs/payments/settlements). Check the [various integration options available](https://razorpay.com/integrations/) to you. If you face any issues during the integration, [raise a Razorpay Support request.](https://razorpay.com/support/#request)
> [accordion] I have submitted my activation form. When will my account get activated?
>
> Activation of an account is subject to approval from our banking partners (Working days do not include Saturdays, Sundays and bank holidays).
>
> We will update your account status after receiving the bank's response.
> [accordion] My account has not been activated; it has been too long since I got any update. What do I do?
>
> We try our best to have everyone's account activated on time. However, since you have not received an update on this, please raise a request with [Razorpay Support](https://razorpay.com/support/). Our team will update you at the earliest on the status of your account.
> [accordion] What are the documents needed to sign-up?
>
> To ensure a smooth sign-up process, it is important to provide the necessary documents as per Razorpay's requirements. Check the [list of documents](/docs/payments/business-types-kyc-documents#kyc-documents) required for signing up at Razorpay.
> [accordion] 8 . What payment methods are supported by Razorpay?
>
> Razorpay supports [various payment methods](/docs/payments/payment-methods#supported-payment-methods) to cater to diverse customer preferences.
> [accordion] Why is my settlement on hold and my account under review after activation?
>
> Our compliance team and partner banks perform routine audits of your KYC documents. We might temporarily pause your settlements during this time. Look out for clarifications asked by our team on your registered email. Upon receiving your response, we will process the application within 2 days and re-enable settlements for you.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can still accept payments from your customers.
> [accordion] Can I change my business type once my account is created?
>
> No, you cannot change your business type once the account is created. However, you can update the business type if you still need to submit your KYC details.
> [accordion] I am unable to use my mobile number. It shows that the mobile number already exists. How can I create an account using the same number?
>
> You can refer to [Create Multiple Account](/docs/payments/set-up#set-up-multiple-accounts).
> [accordion] Can a UK company register with Razorpay?
>
> No, only Indian companies can register. You can refer to [Razorpay](https://razorpay.com/sg/) for Singapore.
> [accordion] I donโt have GST and a current account. It is a very small, new business. How can I proceed without the above details?
>
> Submitting GST and current account details is not mandatory. You can select **I donโt have GST** and proceed with a savings account.
> [accordion] How do I know my KYC status?
>
> The status of your KYC is communicated on your Dashboard.
> [accordion] How do I submit my HUF document?
>
> Select your business type as HUF during onboarding to submit your HUF document. You can edit all the fields if you still need to submit the form.
> [accordion] I am unable to add comments to my activation form. It says "locked by admin". How can I resolve this?
>
> You cannot edit a KYC form once it is submitted. If more information is required, we will email you.
> [accordion] Can I update my PAN Card details?
>
> Once your KYC is verified, you can contact our [Support Team](https://razorpay.com/in/support/) to update your PAN card details.
## Account Configuration
> [accordion] Can I disable the customer receipt emails from Razorpay?
>
> Customers receive email receipts for the transactions on their account (payments or refunds). Unfortunately, this is mandated by our partner banks and hence cannot be disabled.
> [accordion] I have signed up using my phone number. How do I setup my password?
>
> To setup a password:
>
> 1. Enter your email address and click **Forgot?**. You will receive a verification link on your email ID.
>
> 
> 2. Click the verification link and setup your password.
## Account Rejection
> [accordion] Why has my account been rejected?
>
> Your account may have been rejected because we do not support your business sub-category. You can refer to our [terms](https://razorpay.com/terms/) to know more.
# About International Payments
Source: https://razorpay.com/docs/payments/international-payments
Accept payments in international currencies, through international bank accounts and/or payments via cards issued by foreign banks. Check the list of supported purpose codes and currencies.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [card] [International Payments Changelog](/docs/payments/changelog#products)
>
> Discover new features, updates and deprecations related to Razorpay International Payments (since Jan 2024).
[International Payments](https://www.youtube.com/embed/iK8MmzWqG80?si=LHcToE1Pbba6NK5_)
International Payments
Watch this video to know what Razorpay offers for International Payments.
You can accept payments from your customers in more than 160+ foreign currencies using our Payment Gateway and other products such as Payment Pages, Payment Button, Payment Links and Invoices. Razorpay supports [3D Secure 2.0](/docs/payments/payment-methods/cards/features/3ds2.0) for international cards.
> [card] [List of Purpose Codes](/docs/payments/international-payments#list-of-purpose-codes)
>
> Download the list of transaction purpose codes.
> [card] [Supported Products](/docs/payments/international-payments#supported-products)
>
> List of products available for international payments.
> [card] [Supported Currencies](/docs/payments/international-payments#supported-currencies)
>
> List of supported currencies for international payments.
## Get Started
Check these steps to accept international payments from [Indian Businesses](/docs/payments/international-payments#indian-businesses) and [International Businesses](/docs/payments/international-payments#international-businesses).
### Indian Businesses
Indian businesses can easily activate international payment methods to expand their global reach.
> [accordion] New Razorpay User
>
> If you are a new user, you will need to complete the following steps displayed on the onboarding screens to activate international payment methods.
>
> 1. Sign up for an [account](https://accounts.razorpay.com/auth/).
> 2. On the onboarding screen, select **Outside India (International)** and click **Start Onboarding**.
>
> 
> 3. Fill up the following details to complete the onboarding:
> * Basic Details:
> * Name (Business or Individual).
> * Phone number.
> * Email address.
> * Payment channels you want to enable.
> * Business Details:
> * Type of business: Individual, Sole Proprietorship, Partnership, Private Limited, Public Limited, LLP, NGO and so on.
> * Personal PAN (for individuals) or Business PAN.
> * Business Documents:
> * GSTIN certificate (if GST registered).
> * Udyam registration certificate (for MSMEs).
> * Complete your KYC:
> * Business address with proof.
> * Authorised signatory details.
> * Complete video KYC:
> * Requires Aadhaar and PAN card.
> * Live video verification with Razorpay agent.
> * Takes approximately 3-4 minutes.
> 
> 4. Follow the on-screen instructions to provide any additional details or documentation required for activation.
> [accordion] Existing Razorpay User
>
> If you are an existing Razorpay user, to activate international payment methods, follow the steps given below.
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** โ **International payments** (under Payment methods).
> 3. Select the payment method you wish to activate, such as **International Cards** or **International Bank Transfers** and click **Activate** button corresponding to the payment method.
>
> 
> 4. Follow the on-screen instructions to provide any additional details or documentation required for activation.
Indian businesses can use **International Bank Transfer** to open **SWIFT accounts** and **Local bank accounts** to accept international payments.
> [tab] International Bank Transfer
>
> **International Bank Transfer** (MoneySaver Export Account) enables the [Local Currency Bank Transfer](/docs/payments/international-payments/international-bank-transfer) method and [Swift Transfer](/docs/payments/international-payments/international-bank-transfer) method to accept payments from buyers outside India without additional paperwork. The final settlement is done in the bank accounts of Indian businesses in INR.
>
> **Local Currency Bank Transfer**: Accept payments from buyers outside India without additional paperwork. The final settlement is done in the bank accounts of Indian businesses in INR. This significantly improves the customer experience by allowing international buyers to make local bank account transfer to Indian businesses.
>
> **Swift Transfers**: Accept payments from buyers outside India without additional paperwork. The final settlement is done in the bank accounts of Indian businesses in INR. This significantly improves the customer experience by allowing international buyers globally to make SWIFT Transfer to Indian businesses.
> [tab] Local Payment Methods
>
> [Local Payment Methods](/docs/payments/international-payments/local-payment-methods) allows you to accept international payments from customers specific geographies in the form of online local payment method using the Razorpay Checkout form.
>
> * [Giropay](/docs/payments/payment-methods/giropay) for German customers.
> * [Sofort](/docs/payments/payment-methods/sofort) for European customers.
> * [Trustly](/docs/payments/payment-methods/trustly) for UK and European customers.
> * [POLi](/docs/payments/payment-methods/poli) for Australian customers.
### International Businesses
Non-Indian businesses looking to accept payments from Indian customers via Razorpay and get their settlement in a foreign bank account. Check the [list of supported purpose codes](https://razorpay.com/docs/build/browser/assets/images/transaction_purpose_codes.xlsx) and [currencies](/docs/payments/international-payments#supported-currencies).
Razorpay allows foreign (non-Indian) businesses to accept payments from Indian customers without any additional paperwork or registration. Your Indian customers can make payments via local payment methods such as credit cards, debit cards, UPI and netbanking. The funds are settled in your overseas bank account.
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please fill out the [form](https://form.typeform.com/to/C5OlR4YQ) to get this feature activated on your account.
> [!WARNING]
>
> **Watch Out!**
>
> Your international payment will fail if you send us a dummy email id and phone number of the customer.
## Payment Methods for International Payments Based on Business Type
Select the payment method based on your business type:
> [tab] Registered Businesses
>
> If you are an eligible registered business with a valid website, you can accept international payments made using:
>
>
>
[Cards issued by domestic banks or foreign banks](/docs/payments/international-payments/international-debit-credit-cards)
>
[International Bank Transfer](/docs/payments/international-payments/international-bank-transfer)
> [tab] Individuals
>
> * If you are an individual, such as a freelancer, you must [integrate PayPal](/docs/payments/payment-methods/wallets/paypal) to accept international payments.
> * [International Bank Transfer](/docs/payments/international-payments/international-bank-transfer)
> [accordion] List of Purpose Codes
>
> Download the complete [list of transaction purpose codes](https://razorpay.com/docs/build/browser/assets/images/transaction_purpose_codes.xlsx) that can be selected in the onboarding process. \\
> [accordion] Supported Products
>
> The following products support international payments:
>
> | Product | International Payments Supported |
> | - | - |
> | Payment Gateway (Checkout) | Yes |
> | Invoices | Yes |
> | Payment Links | Yes |
> | Payment Pages | Yes |
> | Subscriptions | Yes |
> | Route | No |
> | Smart Collect | No |
> | RazorpayX | No |
> [accordion] Supported Currencies
>
> Following is the list of supported currencies:
>
> | Currency Name | ISO Code | Exponent |
> | - | - | - |
> | United Arab Emirates Dirham | AED | 2 |
> | Albanian lek | ALL | 2 |
> | Armenian dram | AMD | 2 |
> | Australian dollar | AUD | 2 |
> | Aruban florin | AWG | 2 |
> | Azerbaijan Manat | AZN | 2 |
> | Convertible Mark | BAM | 2 |
> | Barbadian dollar | BBD | 2 |
> | Bangladeshi taka | BDT | 2 |
> | Bulgarian Lev | BGN | 2 |
> | Bahraini Dinar | BHD | 3 |
> | Burundi Franc | BIF | 0 |
> | Bermudian dollar | BMD | 2 |
> | Brunei dollar | BND | 2 |
> | Bolivian boliviano | BOB | 2 |
> | Brazilian Real | BRL | 2 |
> | Bahamian dollar | BSD | 2 |
> | Bhutanese Ngultrum | BTN | 2 |
> | Botswana pula | BWP | 2 |
> | Belize dollar | BZD | 2 |
> | Canadian dollar | CAD | 2 |
> | Swiss franc | CHF | 2 |
> | Chilean Peso | CLP | 0 |
> | Chinese yuan renminbi | CNY | 2 |
> | Colombian peso | COP | 2 |
> | Costa Rican colon | CRC | 2 |
> | Cuban peso | CUP | 2 |
> | Cabo Verde Escudo | CVE | 2 |
> | Czech koruna | CZK | 2 |
> | Djibouti Franc | DJF | 0 |
> | Danish krone | DKK | 2 |
> | Dominican peso | DOP | 2 |
> | Algerian dinar | DZD | 2 |
> | Egyptian pound | EGP | 2 |
> | Ethiopian birr | ETB | 2 |
> | European euro | EUR | 2 |
> | Fijian dollar | FJD | 2 |
> | Pound sterling | GBP | 2 |
> | Ghanian Cedi | GHS | 2 |
> | Gibraltar pound | GIP | 2 |
> | Gambian dalasi | GMD | 2 |
> | Guinean Franc | GNF | 0 |
> | Guatemalan quetzal | GTQ | 2 |
> | Guyanese dollar | GYD | 2 |
> | Hong Kong dollar | HKD | 2 |
> | Honduran lempira | HNL | 2 |
> | Croatian kuna | HRK | 2 |
> | Haitian gourde | HTG | 2 |
> | Hungarian forint | HUF | 2 |
> | Indonesian rupiah | IDR | 2 |
> | Israeli new shekel | ILS | 2 |
> | Indian rupee | INR | 2 |
> | Iraqi Dinar | IQD | 3 |
> | Iceland Krona | ISK | 0 |
> | Jamaican dollar | JMD | 2 |
> | Jordanian Dinar | JOD | 3 |
> | Japanese Yen | JPY | 0 |
> | Kenyan shilling | KES | 2 |
> | Kyrgyzstani som | KGS | 2 |
> | Cambodian riel | KHR | 2 |
> | Comorian Franc | KMF | 0 |
> | Korean Won | KRW | 0 |
> | Kuwaiti Dinar | KWD | 3 |
> | Cayman Islands dollar | KYD | 2 |
> | Kazakhstani tenge | KZT | 2 |
> | Lao kip | LAK | 2 |
> | Sri Lankan rupee | LKR | 2 |
> | Liberian dollar | LRD | 2 |
> | Lesotho loti | LSL | 2 |
> | Moroccan dirham | MAD | 2 |
> | Moldovan leu | MDL | 2 |
> | Malagasy Ariary | MGA | 2 |
> | Macedonian denar | MKD | 2 |
> | Myanmar kyat | MMK | 2 |
> | Mongolian tugrik | MNT | 2 |
> | Macanese pataca | MOP | 2 |
> | Mauritian rupee | MUR | 2 |
> | Maldivian rufiyaa | MVR | 2 |
> | Malawian kwacha | MWK | 2 |
> | Mexican peso | MXN | 2 |
> | Malaysian ringgit | MYR | 2 |
> | Mozambique Metical | MZN | 2 |
> | Namibian dollar | NAD | 2 |
> | Nigerian naira | NGN | 2 |
> | Nicaraguan cordoba | NIO | 2 |
> | Norwegian krone | NOK | 2 |
> | Nepalese rupee | NPR | 2 |
> | New Zealand dollar | NZD | 2 |
> | Rial Omani | OMR | 3 |
> | Peruvian sol | PEN | 2 |
> | Papua New Guinean kina | PGK | 2 |
> | Philippine peso | PHP | 2 |
> | Pakistani rupee | PKR | 2 |
> | Polish Zloty | PLN | 2 |
> | Paraguayan Guarani | PYG | 0 |
> | Qatari riyal | QAR | 2 |
> | Romanian Leu | RON | 2 |
> | Serbian Dinar | RSD | 2 |
> | Russian ruble | RUB | 2 |
> | Rwanda Franc | RWF | 0 |
> | Saudi Arabian riyal | SAR | 2 |
> | Seychellois rupee | SCR | 2 |
> | Swedish krona | SEK | 2 |
> | Singapore dollar | SGD | 2 |
> | Sierra Leonean leone | SLL | 2 |
> | Somali shilling | SOS | 2 |
> | Salvadoran colรณn | SVC | 2 |
> | Swazi lilangeni | SZL | 2 |
> | Thai baht | THB | 2 |
> | Tunisian Dinar | TND | 3 |
> | Turkish Lira | TRY | 2 |
> | Trinidad and Tobago dollar | TTD | 2 |
> | New Taiwan Dollar | TWD | 2 |
> | Tanzanian shilling | TZS | 2 |
> | Ukrainian Hryvnia | UAH | 2 |
> | Uganda Shilling | UGX | 0 |
> | United States dollar | USD | 2 |
> | Uruguayan peso | UYU | 2 |
> | Uzbekistani so'm | UZS | 2 |
> | Vietnamese Dong | VND | 0 |
> | Vatu | VUV | 0 |
> | CFA Franc BEAC | XAF | 0 |
> | East Caribbean Dollar | XCD | 2 |
> | CFA Franc BCEAO | XOF | 0 |
> | CFP Franc | XPF | 0 |
> | Yemeni rial | YER | 2 |
> | South African rand | ZAR | 2 |
> | Zambian Kwacha | ZMW | 2 |
>
> * For any other additional currencies, which are not a part of the above list and that you might want us to support, kindly raise a request on our [Support Portal](https://razorpay.com/support/#request).
>
> > [tab] Two Decimal Currencies
> >
> > * When selling a product for โน 1000 in the domestic market, you pass `INR` in the `currency` parameter and `100000` in the `amount` parameter (since the amount should be in paise).
> > * When selling in the international market, you might want to charge \$20 for the same product. In this case, you must pass `USD` in the `currency` parameter and `2000` in the `amount` parameter (since the amount should be in cents).\\
> >
> > For example: AED, AMD, INR and so on.
>
> > [tab] Three Decimal Currencies
> >
> > * When selling in the international market with a three-decimal unit, you might want to charge 99.999 KD for the same product. In this case, you must pass `KWD` in the `currency` parameter and `99999` in the `amount` parameter.
>
> > [tab] Zero Decimal Currencies
> >
> > * When selling in the international market with a zero-decimal unit, such as Japanese Yen (JPY), which does not have a concept of decimal values, you might want to charge 99 JPY for the same product. In this case, you must pass `JPY` in the `currency` parameter and `99` in the `amount` parameter.
> [accordion] Forex Holiday Calendar 2026
>
> Forex Holiday Calendar 2026 highlights days when forex trading is impacted due to holidays in India and the United States.
>
> [Download Forex Holiday Calendar 2026](https://razorpay.com/docs/build/browser/assets/images/forex-2026-holiday-calendar.pdf)
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * **INR Holidays (Orange-Shaded Days)**: USD/INR conversions will not be possible as the Indian forex market remains closed. These are Mumbai holidays when forex trading is unavailable.
> >
> > * **USD Holidays (Yellow-Shaded Days)**: Currency trading is available in India for Tom/Spot/Forwards, but USD nostro transfers will not be processed due to US bank closures. However, cash deals may be done on a selective basis.
>
> > [tab] Jan
> >
> > 
>
> > [tab] Feb
> >
> > 
>
> > [tab] Mar
> >
> > 
>
> > [tab] Apr
> >
> > 
>
> > [tab] May
> >
> > 
>
> > [tab] Jun
> >
> > 
>
> > [tab] Jul
> >
> > 
>
> > [tab] Aug
> >
> > 
>
> > [tab] Sep
> >
> > 
>
> > [tab] Oct
> >
> > 
>
> > [tab] Nov
> >
> > 
>
> > [tab] Dec
> >
> > 
# Accept International Payments From Indian Customers
Source: https://razorpay.com/docs/payments/international-payments/accept-international-payments-from-indian-customers
Non-Indian businesses looking to accept payments from Indian customers via Razorpay and get their settlement in a foreign bank account. Check the list of transaction purpose codes and supported currencies.
Available in
๐ฎ๐ณ India
Razorpay allows foreign (non-Indian) businesses to accept payments from Indian customers without any additional paperwork or registration.
Your Indian customers can make payments via local payment methods such as credit cards, debit cards, UPI and netbanking. The funds are settled in your overseas bank account.
[https://www.youtube.com/embed/CkZeUU2q68s](https://www.youtube.com/embed/CkZeUU2q68s)
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please fill out the [form](https://form.typeform.com/to/C5OlR4YQ) to get this feature activated on your account.
## Current Challenges
* Limited payment methods are available to end customers. For example, UPI and recurring payments are not supported by most payment providers.
* Registration in India is a tedious and long process and is often subjected to regulations and reporting requirements.
* International card payments are convenient ways of remitting funds to India from abroad. However, it incurs huge costs, making them a less preferred method for accepting payments.
## Advantages
> [tab] Customers
>
> * **No Card? No Problem!** \\
>
> Customers who do not have access to cards can use our **Import Flow** solution to pay through their bank account: through **UPI or Netbanking**, making it easy for them to buy products in foreign countries with lower card coverage.
>
> * **No Visit to Bank Branch** \\
>
> Currently, customers have to visit their bank branch to make an international bank transfer to the seller's account. This process heavily impacts the customer experience as it is time-consuming. Using the **Import Flow** method, you can make bank transfers in your local currency.
>
> * **The Most Affordable Solution to Transfer Funds Internationally** \\
>
> The customer can transfer funds to the seller's bank account. This incurs less cost than international card payments or SWIFT transfers.
>
> * **Faster Payments Experience** \\
>
> Accept payments without a website or app using other Razorpay products, such as Payment Links and Payment Pages.
> [tab] Businesses
>
> * **Wide Range of Domestic Payment Methods** \\
>
> * [UPI](/docs/payments/payment-methods/upi)
> * [Netbanking (All Banks)](/docs/payments/payment-methods/netbanking)
> * [Card (Mastercard, Visa, Rupay, Diners)](/docs/payments/payment-methods/cards)
> * UPI Autopay
> * [Card Recurring](/docs/payments/recurring-payments/cards/integrate)
> * [Emandate](/docs/payments/recurring-payments/emandate/integrate)
>
> * **Better Success Rates** \\
>
> Card Payments are an expensive mode of payment. Also, international card payments have a lower success rate due to ever-increasing fraudulent attempts and extensive risk checks done by banks.
>
> * **No Indian Entity Required** \\
>
> International Businesses do not need to spend significant time and resources in setting up an Indian entity or opening a local bank account in India. Razorpay's hassle-free onboarding helps you to collect payments as soon as the KYC process is completed.
>
> * **Multi-currency Settlement Support** \\
>
> Razorpay supports all major currencies, including USD, EUR, CAD, GBP, JPY, SGD, AUD, PLN, CHF, KRW, AED and KWD, among others, for transactions originating from India.
>
> * **Powerful Dashboard** \\
>
> Analyse detailed reports about payments, settlements, and refunds to make better business decisions.
>
> * **Maximum Compliance** \\
>
> Razorpay complies with the latest standards of compliance like Tokenisation and Mandate management and holds the Reserve Bank of India's PA/PG license. Businesses can thus stay on top of regulatory and compliance requirements seamlessly with Razorpay.
## Supported Merchant Categories
Razorpay supports these merchant categories:
> [accordion] Import (Goods)
>
> | Category | Description |
> | - | - |
> | S0101 | Advance payment against imports made to countries other than Nepal and Bhutan. |
> | S0102 | Payment towards imports - settlement of invoice other than Nepal and Bhutan. |
> | S0103 | Imports by diplomatic missions other than Nepal and Bhutan. |
> | S0104 | Intermediary trade/transit trade, that is third country export passing through India. |
> | S0108 | Goods acquired under merchanting/payment against import leg of merchanting trade. |
> [accordion] Transport Services
>
> | Category | Description |
> | - | - |
> | S0201 | Payments for surplus freight/passenger fare by foreign shipping companies operating in India. |
> | S0202 | Payment for operating expenses of Indian shipping companies operating abroad. |
> | S0203 | Freight on imports - Shipping companies. |
> | S0204 | Freight on exports - Shipping companies. |
> | S0205 | Operational leasing/rental of vessels (with crew) - Shipping companies. |
> | S0206 | Booking of passages abroad - Shipping companies. |
> | S0207 | Payments for surplus freight/passenger fare by foreign airlines companies operating in India. |
> | S0208 | Operating expenses of Indian airlines companies operating abroad. |
> | S0209 | Freight on imports - Airlines companies. |
> | S0210 | Freight on exports - Airlines companies. |
> | S0211 | Operational leasing/rental of vessels (with crew) - Airline companies. |
> | S0212 | Booking of passages abroad - Airlines companies. |
> | S0214 | Payments on account of stevedoring, demurrage and port handling charges (Shipping companies). |
> | S0215 | Payments on account of stevedoring, demurrage and port handling charges (Airlines companies). |
> | S0216 | Payments for passenger - Shipping companies. |
> | S0217 | Other payments by shipping companies. |
> | S0218 | Payments for passenger - Airlines companies. |
> | S0219 | Other payments by airlines companies. |
> | S0220 | Payments on account of freight under other modes of transport (Internal waterways, roadways, railways, pipeline transports and others). |
> | S0221 | Payments on account of passenger fare under other modes of transport (Internal waterways, roadways, railways, pipeline transports and others). |
> | S0222 | Postal and courier services by air. |
> | S0223 | Postal and courier services by sea. |
> | S0224 | Postal and courier services by others. |
> [accordion] Travel Services
>
> | Category | Description |
> | - | - |
> | S0301 | Business travel. |
> | S0303 | Travel for pilgrimage. |
> | S0304 | Travel for medical treatment. |
> | S0305 | Travel for education (including fees and hostel expenses). |
> | S0306 | Other travel (including holiday trips and payments for settling international credit cards transactions). |
> [accordion] Insurance and Pension Services
>
> | Category | Description |
> | - | - |
> | S0601 | Life insurance premium except term insurance. |
> | S0602 | Freight insurance - relating to import and export of goods. |
> | S0603 | Other general insurance premium including reinsurance premium and term life insurance premium. |
> | S0605 | Auxiliary services including commission on insurance. |
> | S0607 | Insurance claim settlement of non-life insurance and life insurance (only term insurance). |
> | S0608 | Life insurance claim settlements. |
> | S0610 | Premium for pension funds. |
> | S0611 | Periodic pension entitlements for example monthly, quarterly or yearly payments of pension amounts by Indian pension fund companies. |
> [accordion] Telecommunication, Computer and Information Services
>
> | Category | Description |
> | - | - |
> | S0801 | Hardware consultancy/implementation. |
> | S0802 | Software consultancy/implementation. |
> | S0803 | Database, data processing charges. |
> | S0804 | Repair and maintenance of computer and software. |
> | S0805 | News agency services. |
> | S0806 | Other information services - Subscription to newspapers and periodicals. |
> | S0807 | Off-site software imports. |
> | S0808 | Telecommunication services including electronic mail services and voice mail services. |
> [accordion] Other Business Services
>
> | Category | Description |
> | - | - |
> | S1003 | Operational leasing services (other than financial leasing) without operating crew, including charter hire - Airlines companies. |
> | S1004 | Legal services. |
> | S1005 | Accounting, auditing, book-keeping services. |
> | S1006 | Business and management consultancy and public relations services. |
> | S1007 | Advertising, trade fair service. |
> | S1008 | Research and development services. |
> | S1009 | Architectural services. |
> | S1013 | Environmental services. |
> | S1014 | Engineering services. |
> | S1015 | Tax consulting services. |
> | S1016 | Market research and public opinion polling service. |
> | S1017 | Publishing and printing services. |
> | S1020 | Commission agent services. |
> | S1021 | Wholesale and retailing trade services. |
> | S1022 | Operational leasing services (other than financial leasing) without operating crew, including charter hire - Shipping companies. |
> | S1023 | Other technical services including scientific/space services. |
> [accordion] Personal, Cultural and Recreational Services
>
> | Category | Description |
> | - | - |
> | S1101 | Audio-visual and related services like motion picture and video tape production, distribution and projection services. |
> | S1103 | Radio and television production, distribution and transmission services. |
> | S1104 | Entertainment services. |
> | S1105 | Museums, library and archival services. |
> | S1106 | Recreation and sporting activities services. |
> | S1107 | Education (for example fees for correspondence courses abroad). |
> | S1108 | Health service (payment towards services received from hospitals, doctors, nurses, paramedical and similar services rendered remotely or on-site). |
> | S1109 | Other personal, cultural and recreational services. |
> [accordion] Manufacturing Services
>
> | Category | Description |
> | - | - |
> | S1701 | Payments for processing of goods. |
## Prerequisites
You must meet the following prerequisites to accept payments from your Indian customers:
* Ensure you have an active Razorpay account with [KYC verification completed](/docs/payments/set-up#kyc-details).
* Foreign businesses with goods and services that can accept payments using this solution are:\
1. Digital Goods\
2. Digital Services\
3. Online Travel Agencies (OTA)\
4. Physical Goods\
5. Travel\
6. Education
## How it Works
Follow the steps given below to onboard and accept payments from Indian customers:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings**.
3. You must provide the Purpose Code information when applying for international payments.
1. Click **International Payment Codes** under **International payment settings**.

2. Update your purpose code under the **International Payment Codes** section.

3. Select the appropriate **Purpose Code**.
Based on your business requirements, you also need to provide your **HS Code** or **IEC Code**.
> [tab] Add HS Code
>
> 1. Click **International Payment Codes** under **International payment settings**.
>
> 2. Update your HS Code under the **International Payment Codes** section.
>
> 3. Select the appropriate **Harmonised System Code**, also known as HS Code.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * For Software: HSCode is **85238020** and HSDescription is **Other Information technology software**.
> > * For Goods: Refer to the list from the [DGFT website](https://www.dgft.gov.in/CP/).
> [tab] Add IEC Code
>
> 1. Click **International Payment Codes** under **International payment settings**.
>
> 2. Update your **IEC Code** under the **International Payment Codes** section.
>
> 3. Select the appropriate **Purpose Code**.
>
> 4. Enter the 10-digit Importer/Exporter Code (IEC) and click **Next**.
>
> 
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > The IEC is a code issued by the Indian Director General of Foreign Trade (DGFT) to Indian companies that intend to export from India. You can apply for an IEC at the [DGFT website](https://www.dgft.gov.in/CP/).
> >
> > The IEC code input screen appears for specific purpose codes, (P0103) being one of them.
4. Review and click **Confirm**. The Razorpay Activation/Operations team verifies the selected **Purpose Code**.
As consumers or buyers, you get an option to make payments through the Razorpay Payment Gateway. On selecting Razorpay, various payment methods will be displayed on Razorpay checkout to complete the payment.
## List of Purpose Codes
Download the complete [list of transaction purpose codes](https://razorpay.com/docs/build/browser/assets/images/transaction_purpose_codes.xlsx) you can select during the onboarding process. \
## Documents and Details Required
Given below is a list of documents required:
1. The Import/Export code is required when selling tangible goods.
2. All import transactions should be accompanied by invoices.
3. Airway bill is mandatory to import goods if and when required.
## Frequently Asked Questions (FAQs)
> [accordion] What is the pricing for using this solution?
>
> Please connect with your sales/business team on a case-to-case basis.
> [accordion] What is the settlement TAT for international payments?
>
> The default settlement cycle is as per applicable law(s). You can view your settlement cycle on the Razorpay Dashboard.
> [accordion] Do you support multiple settlement currencies?
>
> The funds will be settled in your local currency. We support all major currencies including USD, EUR, CAD, GBP, JPY, SGD, AUD, PLN, CHF, KRW, AED and KWD, among others.
> [accordion] Do you need any bills/invoices from me?
>
> You should provide invoices for all your import transactions if and when asked. In the case of physical goods, you should also share the airway bill, along with the invoices.
> [accordion] Which card networks do you support? Is support for certain networks limited by geographical region?
>
> For Indian customers, following card networks are supported:
>
> * Visa
>
> * Mastercard
>
> * Diners
>
> * Rupay
>
> * Amex
>
> * Discover
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > To enable Diners and Discover cards, contact our [support team](https://razorpay.com/support/#request).
> [accordion] What if my end customer raises a dispute with Razorpay?
>
> The chargeback will be handled as-is, which means that a dispute is raised between networks/issuing banks and the business, and the chargeback is processed based on the final decision taken by the networks/banks involved.
> [accordion] Are refunds supported on these transactions?
>
> Yes, Razorpay supports refunds. You can enable it via your existing refund integration with Razorpay or via the Dashboard.
> [accordion] Is this feature available on all Razorpay integrations?
>
> Yes, this feature is available on all [Razorpay integrations](/docs/payments/payment-gateway).
> [accordion] Do we need to collect the PAN details from customers?
>
> Yes, PAN details from the customers are necessary for security approval.
> [accordion] Is there any restriction on maximum transaction value?
>
> Yes, the maximum transaction value is restricted to USD 30k across all the supported payment methods.
# Accept Payments from International Customers
Source: https://razorpay.com/docs/payments/international-payments/accept-payments-from-international-customers
Razorpay offers affordable solutions for Indian businesses to accept International Bank Transfers and International Card Payments, with funds settled directly to local bank accounts, ensuring minimal conversion loss and a smooth global payment experience.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Razorpay provides Indian businesses with a comprehensive suite of payment solutions to accept international payments effortlessly. Our platform supports various payment methods, allowing businesses to cater to global customers securely and efficiently.
## Supported Payment Methods
> [accordion] International Cards
>
> Indian businesses can accept payments from international debit and credit cards issued across the globe. Our platform ensures a seamless experience for both businesses and customers.
>
> > [accordion] Use Cases / Challenges
> >
> > * **Ecommerce:** Accept payments from global customers for products or services.
> > * **Education:** Collect tuition fees from international students.
> > * **Challenges:** Exchange rate fluctuations, compliance with international regulations, and varying card acceptance rates.
>
> > [accordion] Prerequisites
> >
> > To accept international payments, you need to meet the eligibility criteria established by our banking partners. Know more about the [prerequisites](/docs/payments/international-payments/international-debit-credit-cards#eligibility-and-prerequisites).
>
> > [accordion] Onboarding Flow
> >
> > For detailed steps on the application process, refer to the [onboarding flow](/docs/payments/international-payments/international-debit-credit-cards#application-process).
>
> > [accordion] Method Details
> >
> > * **Card Types:** Visa, MasterCard, American Express, and more.
> > * **Currencies:** Accept payments in multiple currencies, ensuring convenience for international customers.
> > * **Security:** PCI DSS compliance, 3D Secure, and robust fraud detection.
> [accordion] Local Payment Methods
>
> Razorpay enables Indian businesses to accept payments via local payment methods, ensuring better outreach and customer convenience in specific regions.
>
> > [accordion] Use Cases / Challenges
> >
> > **Uses Cases** \\
> >
> > * **Retail & Ecommerce:** Expand customer reach by accepting payments in local currencies, enhancing the purchasing experience for international buyers.
> > * **Subscription Services:** Provide flexible local payment options to subscribers in different countries.
> > * **B2B Transactions:** Facilitate cross-border partnerships by supporting convenient payment methods.
> >
> > **Challenges** \\
> >
> > * Ensuring payment method compatibility across various countries.
> > * Adapting to regional payment regulations and compliance.
> > * Navigating potential delays in settlement times for some local payment methods.
>
> > [accordion] Prerequisites
> >
> > * You must have an active Razorpay account with KYC verification completed.
> > * Enablement of local payment features on the Dashboard.
> > * Business readiness to comply with local regulations and settlement timelines for international transactions.
>
> > [accordion] Onboarding Flow
> >
> > You can accept payments from international customers in the form of online instant international bank transfers using the Razorpay Checkout form, refer to the [onboarding flow](/docs/payments/international-payments/local-payment-methods#request-local-payment-method).
>
> > [accordion] Method Details
> >
> > * **Supported Payment Options:** Various local bank transfer methods, mobile wallet options, and region-specific payment services.
> > * **Supported Currencies:** Multiple local currencies that cater to the preferences of international customers.
> > * **Security Measures:** End-to-end encryption and multi-layered security protocols to protect payment data and reduce fraud risk.
> [accordion] International Bank Transfer (MoneySaver Export Account)
>
> Razorpay provides cost-effective solutions for Indian businesses to manage international payments and receive funds directly in their local bank accounts. This ensures minimal conversion loss and a seamless experience when dealing with global clients.
>
> > [accordion] Use Cases / Challenges
> >
> > **Use Cases:** \\
> >
> > * **Export Businesses:** Receive payments for goods or services sold to international clients, directly in your bank account.
> > * **Professional Services:** Simplify international payment collection for consulting or freelance work.
> > * **B2B Transactions:** Improve cash flow management for businesses dealing with overseas clients or suppliers.
> >
> > **Challenges:** \\
> >
> > * Exchange rate volatility and its impact on the final amount received.
> > * Compliance with international fund transfer regulations.
> > * Potential delays in receiving funds through certain transfer methods.
>
> > [accordion] Prerequisites
> >
> > You must meet the following prerequisites set to accept payments from your international customers.
> >
> > * Know more about the [Local Currency Bank Accounts](/docs/payments/international-payments/international-bank-transfer#prerequisites) prerequisites.
> > * Know more about the [SWIFT Transfer](/docs/payments/international-payments/international-bank-transfer#prerequisites) prerequisites.
>
> > [accordion] Onboarding Flow
> >
> > For detailed steps on the activation process, refer to the [Local Currency Bank Transfer](/docs/payments/international-payments/international-bank-transfer#prerequisites) and [SWIFT Transfer](/docs/payments/international-payments/international-bank-transfer#prerequisites) activation steps.
>
> > [accordion] Method Details
> >
> > * ACH (Local USD Bank Transfer Rails)
> > * SEPA (Local EUR Bank Transfer Rails)
> > * FPS (Local GBP Bank Transfer Rails)
> > * SWIFT
### Related Information
* [Purpose Codes](/docs/payments/international-payments/purpose-codes)
* [Currency Conversion](/docs/payments/international-payments/currency-conversion)
* [FIRS Automated Process](/docs/payments/international-payments/firs-automated-process)
# Address Verification System
Source: https://razorpay.com/docs/payments/international-payments/address-verification-system
Use Razorpay's AVS as an address verification service to identify and reduce the risk of fraud in international payments.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
The Address Verification System (AVS) verifies if a customer's billing address (postal code and the billing street address) matches the billing address on file with the card issuer. Based on the response from the issuer, Razorpay will accept or cancel the transaction. This helps prevent fraud in international payments.
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
> [!TIP]
>
> **Availability**
>
> This feature is available only for US, UK, and Canada cards.
> [accordion] Example
>
> Suppose an international customer, John Doe, uses a Wells Fargo credit card to make an online purchase on your website with the following address:
>
> ```
> 1304 Main Street, Anytown, Illinois, 60473
> ```
>
> The AVS will compare the numbers **1304** and/or **60473** with the address on file with Wells Fargo.\\
>
> If the match is successful, Razorpay authorises the transaction. In case of a mismatch, Razorpay declines the transaction.
> [accordion] Advantages
>
> The advantages of using the Address Verification System are:
>
> * **Extra layer of security for your customers:** Your customer's lost or stolen credit card cannot be used for fraudulent transactions as the address entered during the transactions will not match the address in the card issuer's database. Razorpay will not authorize such transactions. This protects customers from credit card fraud to an extent.
> * **Higher chances of winning cashback disputes**: Suppose your customer's stolen or lost card is
> used for transactions, and the fraudulent party uses the customer's correct address. In that case, AVS cannot detect such transactions as fraudulent as there is no address mismatch. Razorpay authorises such transactions. If the customer files a chargeback dispute, you are more likely to win the dispute as the transaction passed the AVS check.
> [accordion] Prerequisites
>
> * [Integrate](/docs/payments/payment-gateway/web-integration/standard) with Razorpay Standard Checkout. This feature is available for all types of Standard Checkout, including server language SDKs, e-commerce plugins, and products such as Invoices, Payment Button, Payment Links and Payment Pages.
> * Enable [international payments](/docs/payments/international-payments) for your Razorpay account.
## How it Works
Below is a diagram of the workflow:

## How Customers Add Card and Address Details at Checkout
Your customers can add their card and address details on the checkout pop-up page for address verification.
1. The customer selects `card` as the payment method and enters the credit card details.

2. The customer is asked to enter their billing address. This is a one-time activity and Razorpay will save the address securely. Customer will not be asked to provide the address on repeat transactions.

3. The Address Verification System matches both addresses. There can be three types of matches:
* **Complete Match**: The address provided by the customer matches exactly with the address available with the card issuer.
* **Partial Match**: This indicates that the billing address being compared has the same ZIP code or the same numeric values in the street address, but not both.
* **No Match**: A `no match` response indicates that neither part of the billing address matches the card issuer data. This can act as a strong signal of potential fraud.
4. Based on the match, Razorpay takes the following actions:
* Authorise the transaction: The transaction is authorised, and the credit card is debited.
* Cancel the transaction: The transaction is declined.
## Frequently Asked Questions (FAQs)
> [accordion] Do I need to make any changes to my integration?
>
> No, if you use Razorpay Standard Checkout, you do not need to make any change to your integration. This feature will work out-of-the-box once it is enabled for your account.
> [accordion] Is this feature available for domestic payments?
>
> No, this feature is available only for international payments.
> [accordion] Can my customer complete the payment in case of a partial match?
>
> Yes, your customer can complete the payment even if there is a partial match.
# India Billing API - Integration Guide for Stripe Merchants
Source: https://razorpay.com/docs/payments/international-payments/billing-api
Integrate Razorpay India Billing API with your existing Stripe billing to execute payments for Indian customers using UPI Autopay, card mandates and smart retries.
Available in
๐ฎ๐ณ India
Keep Stripe as your billing system. Let Razorpay execute payments in India.
The India Billing API lets you continue using Stripe for billing, subscriptions and usage metering. For Indian customers, Razorpay handles payment execution, including UPI Autopay, card mandates, Pre-Debit Notifications (PDN) and RBI compliance, without changing your existing Stripe workflows.
This integration is proven with Replit, which uses Stripe for billing, subscriptions and usage metering. For Indian users, payment execution routes through Razorpay with zero changes to their Stripe workflows.
## How It Works
Stripe decides when and how much to charge. Razorpay executes those charges in India, compliantly, with UPI Autopay, smart retries and pre-debit notifications.
Your existing Stripe billing, invoicing and reconciliation workflows remain untouched. For Indian customers, Razorpay handles coupon validation (coupon creation remains at Stripe), mandate creation, PDN delivery, payment execution and status reporting back to Stripe. Razorpay also calculates and adds 18% GST on the amount debited from Indian customers. See [Charges, Taxes and Limits](#charges-taxes-and-limits).
## What Changes vs. What Stays the Same
| Stays the Same (Stripe) | New (Razorpay Handles) |
| - | - |
| Billing logic, pricing, plans | UPI Autopay and card mandate creation |
| Subscription lifecycle management | RBI-compliant Pre-Debit Notifications |
| Invoice creation and reconciliation | Payment execution and smart retries |
| Your billing/invoicing taxes | 18% India GST added on the debited amount |
| Usage metering (Orb/Metronome) | Mandate limit handling and FX conversion (USD โ INR โ USD) |
| Webhooks your app listens to | Payment status reporting back to Stripe |
## Prerequisites
* Share your Stripe API key with Razorpay.
* Create custom payment methods (`Razorpay_UPI` and `Razorpay_Card`) in Stripe.
* Create a plan mapping between your Stripe plans and Razorpay.
* For usage-based billing, configure your webhook endpoint to forward Stripe's `invoice.payment_attempt_required` events to Razorpay's `/v1/cb/stripe/webhook`. Your server is the intermediary: Stripe sends the event to your endpoint and you forward it to Razorpay. This is not required for scheduled subscription renewals.
## Integration Flows
The India Billing API supports three flows. No billing rebuild is required.
1. [Mandate Setup](#flow-1-mandate-setup)
2. [Subscription Payments](#flow-2-subscription-payments)
3. [Usage-Based Billing](#flow-3-usage-based-billing)
Additionally, you can accept [one-time credit pack payments](#one-time-credit-pack-payments) using the standard Razorpay Orders flow.
## Flow 1: Mandate Setup
This is a one-time flow for each customer. When a customer selects a plan on your pricing page, Razorpay opens its checkout, collects customer details and allows the customer to apply coupons.
1. Customer selects a plan on your pricing page.
2. Your server calls the [Create Checkout Session API](#create-checkout-session) to create a Razorpay checkout session.
3. Your frontend invokes Razorpay Custom JS with the `checkout_session_id`. The Custom JS renders the pricing breakdown (including GST), lets the customer validate coupons and creates the subscription on authorisation.
4. Customer authorises the payment. Razorpay creates the mandate and reports the payment outcome back to Stripe.
5. Stripe marks the invoice as paid and the subscription as active.
6. Your app provisions access via existing Stripe webhooks.
> [!NOTE]
>
> **Handy Tips**
>
> The checkout session is consumed by Razorpay Custom JS on your frontend. Custom JS exposes helpers to fetch the pricing and GST breakdown, validate coupons and create the subscription. Contact your Razorpay account manager for the Custom JS integration snippet.
### Create Checkout Session
Use this API to create a checkout session for mandate setup.
`POST /v1/cb-checkout/session>`
```bash Curl theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/cb-checkout/session \
-H "Content-Type: application/json" \
-d '{
"mode": "subscription",
"purpose": "create",
"customer_id": "",
"amount": 50000,
"currency": "USD",
"items": [
{
"price_id": "",
"quantity": 1
}
],
"method_id": "",
"promocode_id": "",
"metadata": {
"user_id": ""
}
}'
```
```json Response theme={null}
{
"checkout_session_id": "rzp_ckout_...",
"expiry": 1735689600,
"expires_in": 1800
}
```
> [accordion] Request Parameters
>
> `mode` *mandatory*
> : `string` The checkout mode. Set this to `subscription` for mandate setup.
>
> `purpose` *mandatory*
> : `string` The purpose of the checkout session. Possible values:
>
> * `create`: Set up a new subscription and mandate.
> * `upgrade`: Change the plan for an existing subscription.
> * `migrate`: Move an existing Stripe-card customer to a Razorpay mandate.
>
> See [Checkout Purposes](#checkout-purposes).
>
> `customer_id` *mandatory*
> : `string` The Stripe customer ID. For example, `cus_abc123`.
>
> `amount` *mandatory*
> : `integer` The amount in the smallest currency unit. For example, for \$500.00, pass `50000`.
>
> `currency` *mandatory*
> : `string` The currency code. For example, `USD`.
>
> `items` *mandatory*
> : `array` An array of line items for the checkout session. Each item contains:
>
> `price_id` *mandatory*
> : `string` The Stripe price id.
>
> `quantity` *mandatory*
> : `integer` The quantity for the line item.
>
> `method_id` *mandatory*
> : `string` The Razorpay custom payment method ID (`RAZORPAY_CPMT_ID`). This identifies the payment method type (UPI or card) created in Stripe during one-time setup.
>
> `promocode_id` *optional*
> : `string` The promotional code to apply to the checkout session. Coupon creation happens at Stripe. Razorpay validates and applies the coupon at checkout.
>
> `metadata` *optional*
> : `object` Additional custom metadata for the session. For example:
>
> `user_id`
> : `string` Your internal user identifier.
> [accordion] Response Parameters
>
> `checkout_session_id`
> : `string` The unique identifier for the checkout session. Use this to invoke Razorpay Custom JS on your frontend.
>
> `expiry`
> : `integer` The Unix timestamp at which the checkout session expires.
>
> `expires_in`
> : `integer` The time in seconds until the checkout session expires. The session is valid for 30 minutes (`1800` seconds).
### Checkout Purposes
The `purpose` field in the [Create Checkout Session API](#create-checkout-session) determines the intent of the session.
| Purpose | Description |
| - | - |
| `create` | Sets up a new subscription and mandate for a customer who does not yet have one. |
| `upgrade` | Changes the plan for an existing subscription. Any difference in amount (delta) is handled as a credit or refund. |
| `migrate` | Moves an existing customer paying by Stripe card onto a Razorpay mandate, without interrupting their subscription. |
> [!NOTE]
>
> **Handy Tips**
>
> The full request payload for `upgrade` and `migrate` (including plan-change and migration parameters) is shared during onboarding. Contact your Razorpay account manager to enable these flows.
## Flow 2: Subscription Payments
Subscription payments are fully automated. After the mandate is set up, Razorpay handles scheduled renewals end-to-end with no frontend involvement and no webhook forwarding from you. The entire flow is driven by Razorpay.
1. A Razorpay cron job identifies subscriptions with an upcoming billing date.
2. Razorpay sends a Pre-Debit Notification (PDN) to the customer around 48 hours before the billing date.
3. On the billing date, Razorpay auto-debits the customer via the stored mandate. Razorpay automatically retries failed debits in line with RBI norms.
4. Razorpay reports the payment outcome to Stripe. Stripe updates the invoice (paid/failed).
5. Your app reacts via existing Stripe webhooks.
> [!NOTE]
>
> **Handy Tips**
>
> Scheduled renewals do **not** require you to forward any Stripe webhook to Razorpay. Razorpay's cron job initiates the PDN and the debit based on the upcoming billing date. Webhook forwarding is only needed for [usage-based billing](#flow-3-usage-based-billing).
## Flow 3: Usage-Based Billing
Usage-based billing is a coupled, single-step model. When your metering system (Orb, Metronome or custom) creates a usage-based invoice on Stripe, Stripe fires an `invoice.payment_attempt_required` event that you forward to Razorpay. Razorpay charges the customer immediately, with no pre-debit notification.
1. Your metering system monitors usage and creates an invoice in Stripe when the threshold is reached (recommended within \$150).
2. Stripe fires `invoice.payment_attempt_required` to your webhook endpoint.
3. Your server forwards the event to Razorpay using the [Stripe Webhook Forwarding API](#stripe-webhook-forwarding).
4. Razorpay immediately debits the customer using the existing mandate. There is no PDN โ the Stripe invoice triggers an immediate charge.
5. Razorpay reports the outcome back to Stripe.
6. Your billing system sees the Stripe invoice as paid. No India-specific logic is needed on your end.
> [!NOTE]
>
> **Handy Tips**
>
> `invoice.payment_attempt_required` is a custom invoice event used to signal that an immediate charge is required. It is not part of the standard Stripe SDK event types, so your webhook handler must handle it explicitly before your exhaustive `switch` on `event.type` (for example, with a string comparison such as `(event.type as string) === "invoice.payment_attempt_required"` in TypeScript).
### Stripe Webhook Forwarding
Use this API to forward Stripe usage-based billing events to Razorpay.
`POST /v1/cb/stripe/webhook>`
```bash Curl theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/cb/stripe/webhook \
-H "Content-Type: application/json" \
-d '{
"provider": "stripe",
"data": ""
}'
```
> [accordion] Request Parameters
>
> `provider` *mandatory*
> : `string` The billing provider. Set this to `stripe`.
>
> `data` *mandatory*
> : `object` The full Stripe webhook event object, forwarded as-is.
> [!WARNING]
>
> **Watch Out!**
>
> Forward an event to Razorpay only if it relates to a Razorpay-managed subscription. Determine this from your own records (for example, whether you created the subscription through Razorpay) and fall back to the subscription metadata. Do not forward events for subscriptions billed entirely through Stripe.
## One-Time Credit Pack Payments
For one-time payments such as credit packs, use the standard Razorpay Orders flow instead of the checkout session flow. This involves creating a customer, creating an order, verifying the payment signature, fetching the payment and capturing it.
### Step 1: Create a Customer
Create a customer with basic details such as name.
`POST /v1/customers>`
```bash Curl theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/customers \
-H "Content-Type: application/json" \
-d '{
"name": ""
}'
```
```json Response theme={null}
{
"id": "cust_1Aa00000000004"
}
```
> [accordion] Request Parameters
>
> `name` *mandatory*
> : `string` The customer name.
> [accordion] Response Parameters
>
> `id`
> : `string` The unique identifier for the customer. For example, `cust_1Aa00000000004`. Use this as the `customer_id` when creating an order.
### Step 2: Create an Order
After a customer is created, an order needs to be generated using the Orders API. This order contains details such as the payment amount, currency, customer details. After the order is created, an `order_id` is generated, for example, `order_NGrgEcmYJsfUyl`. Learn more about [Order and Payment states](/docs/payments/orders#order-states).
`POST /v1/orders>`
```bash Curl theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/orders \
-H "Content-Type: application/json" \
-d '{
"amount": 10000,
"currency": "USD",
"customer_id": "cust_1Aa00000000004",
"customer_details": {
"name": "",
"email": "",
"contact": "",
"shipping_address": {
"line1": "Mantri apartment",
"city": "Bengaluru",
"country": "IND",
"state": "Karnataka",
"zipcode": "560032"
}
},
"payment": {
"capture": "manual",
"capture_options": {
"manual_expiry_period": 7200
}
}
}'
```
```json Response theme={null}
{
"id": "order_RB58MiP5SPFYyM",
"amount": 10000,
"currency": "USD"
}
```
> [accordion] Request Parameters
>
> `amount` *mandatory*
> : `integer` The payment amount in the smallest currency unit. For example, for \$100.00, pass `10000`.
>
> `currency` *mandatory*
> : `string` The ISO currency code. For example, `USD`.
>
> `customer_details` *mandatory*
> : `object` This contains details about the customer details of the order.
>
> `name` *mandatory*
> : `string` Customer's name.
>
> * Character length: Between 5 and 50 characters.
> * Allowed characters: Uppercase letters (A-Z), lowercase letters (a-z), and spaces (not at the beginning).
> * Not allowed characters: Numbers, special characters (e.g., @, ", ,, ., etc.), Unicode characters, emojis, and non-Latin scripts or regional languages.
> * Prohibited names: Names must be meaningful and contextually appropriate.
> * Avoid using repetitive patterns (e.g., aaa, xyz, kkk kk).
> * Names like litri litri, Hfg Gh, or husi husi are not permitted.
> * Curse words and offensive names are prohibited.
> * Example: `Gaurav Kumar`.
>
> `email` *optional*
> : `string` The customer's email address. A maximum length of 64 characters for the username. For example, in "[gaurav.kumar@example.com](mailto:gaurav.kumar@example.com)", "gaurav.kumar" must not exceed 64 characters.
>
> `contact` *optional*
> : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919123456780`.
>
> `shipping_address` *mandatory*
> : `object` This contains the shipping address of the order.
>
> `line1` *mandatory*
> : `string` Address Line 1 of the address.
>
> * Character length: Must be between 3 and 100 characters.
> * Allowed characters: Uppercase letters (A-Z), lowercase letters (a-z), numbers (0-9), spaces, and special characters (\*&/-()#\_+\[]:'".,.).
> * Not allowed characters: Regional languages.
>
> `city` *mandatory*
> : `string` Name of the city. Must be between 3 and 50 characters in length and can only include uppercase (A-Z) and lowercase (a-z) English letters, and spaces.
>
> `country` *mandatory*
> : `string` ISO3 country code of the billing address. Only `IND` is allowed.
>
> `state` *mandatory*
> : `string` Name of the state. It must be between 3 and 50 characters extended and can only include uppercase (A-Z) and lowercase (a-z) English letters and spaces. Please send the full name of the state, for example, Madhya Pradesh.
>
> `zipcode` *mandatory*
> : `string` The ZIP code must consist of 6-digit numeric characters. Only valid Indian ZIP codes will be accepted. Refer to the [list of supported ZIP codes](https://razorpay.com/docs/build/browser/assets/images/IN_zipcodes.xlsx).
>
> `payment` *mandatory*
> : `object` Payment capture configuration.
>
> `capture` *mandatory*
> : `string` Set to `manual` for manual capture.
>
> `capture_options` *mandatory*
> : `object` Contains `manual_expiry_period`.
>
> `manual_expiry_period` *mandatory*
> : `integer` the time in seconds before the authorisation expires. For example, `7200` for 2 hours.
> [accordion] Response Parameters
>
> `id`
> : `string` The unique identifier for the order. For example, `order_RB58MiP5SPFYyM`.
>
> `amount`
> : `integer` The order amount in the smallest currency unit.
>
> `currency`
> : `string` The ISO currency code.
### Step 3: Verify Payment Signature
Signature verification is a mandatory step to ensure that the callback is sent by Razorpay. The `razorpay_signature` contained in the callback can be regenerated by your system and verified as follows.
Create a string for hashing by combining the "razorpay\_payment\_id" from the callback and the Order ID generated in the initial step, separated by a `|`. Proceed to hash this string using SHA256 alongside your API Secret.
```
generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
if (generated_signature == razorpay_signature) {
payment is successful
}
```
#### Generate Signature on your Server
> [accordion] Sample code
>
> ```java Java theme={null}
> /**
> * This class defines common routines for generating
> * authentication signatures for Razorpay Webhook requests.
> */
> public class Signature
> {
> private static final String HMAC_SHA256_ALGORITHM = "HmacSHA256";
> /**
> * Computes RFC 2104-compliant HMAC signature.
> * * @param data
> * The data to be signed.
> * @param key
> * The signing key.
> * @return
> * The Base64-encoded RFC 2104-compliant HMAC signature.
> * @throws
> * java.security.SignatureException when signature generation fails
> */
> public static String calculateRFC2104HMAC(String data, String secret)
> throws java.security.SignatureException
> {
> String result;
> try {
>
> // get an hmac_sha256 key from the raw secret bytes
> SecretKeySpec signingKey = new SecretKeySpec(secret.getBytes(), HMAC_SHA256_ALGORITHM);
>
> // get an hmac_sha256 Mac instance and initialize with the signing key
> Mac mac = Mac.getInstance(HMAC_SHA256_ALGORITHM);
> mac.init(signingKey);
>
> // compute the hmac on input data bytes
> byte[] rawHmac = mac.doFinal(data.getBytes());
>
> // base64-encode the hmac
> result = DatatypeConverter.printHexBinary(rawHmac).toLowerCase();
>
> } catch (Exception e) {
> throw new SignatureException("Failed to generate HMAC : " + e.getMessage());
> }
> return result;
> }
> }
>
> ```
>
> ```php PHP theme={null}
> use Razorpay\Api\Api;
> $api = new Api($key_id, $key_secret);
> $attributes = array('razorpay_signature' => '23233', 'razorpay_payment_id' => '332' , 'razorpay_order_id' => '12122');
> $order = $api->utility->verifyPaymentSignature($attributes)
>
> ```
>
> ```ruby Ruby theme={null}
> require 'razorpay'
> Razorpay.setup('key_id', 'key_secret')
> payment_response = {
> 'razorpay_order_id': '12122',
> 'razorpay_payment_id': '332',
> 'razorpay_signature': '23233'
> }
>
> Razorpay::Utility.verify_payment_signature(payment_response)
>
> ```
>
> ```python Python theme={null}
> import razorpay
> client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
>
> client.utility.verify_payment_signature({
> 'razorpay_order_id': razorpay_order_id,
> 'razorpay_payment_id': razorpay_payment_id,
> 'razorpay_signature': razorpay_signature
> })
>
> ```
>
> ```c .NET theme={null}
> Dictionary attributes = new Dictionary();
>
> attributes.Add("razorpay_payment_id", paymentId);
> attributes.Add("razorpay_order_id", Request.Form["razorpay_order_id"]);
> attributes.Add("razorpay_signature", Request.Form["razorpay_signature"]);
>
> Utils.verifyPaymentSignature(attributes);
> ```
>
> ```nodejs Node.js theme={null}
> var { validatePaymentVerification } = require('./dist/utils/razorpay-utils');
>
> validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> ```
>
> ```Go Go theme={null}
> import (
> "crypto/hmac"
> "crypto/sha256"
> "crypto/subtle"
> "encoding/hex"
> "fmt"
> )
>
> func main() {
> signature := "477d1cdb3f8122a7b0963704b9bcbf294f65a03841a5f1d7a4f3ed8cd1810f9b"
> secret := "qp3zKxwLZxbMORJgEVWi3Gou"
> data := "order_J2AeF1ZpvfqRGH|pay_J2AfAxNHgqqBiI"
> //fmt.Printf("Secret: %s Data: %s\n", secret, data)
>
> // Create a new HMAC by defining the hash type and the key (as byte array)
> h := hmac.New(sha256.New, []byte(secret))
>
> // Write Data to it
> _, err := h.Write([]byte(data))
>
> if err != nil {
> panic(err)
> }
>
> // Get result and encode as hexadecimal string
> sha := hex.EncodeToString(h.Sum(nil))
>
> fmt.Printf("Result: %s\n", sha)
>
> if subtle.ConstantTimeCompare([]byte(sha), []byte(signature)) == 1 {
> fmt.Println("Works")
> }
> }
> ```
### Step 4: Fetch and Verify Payment
Fetch the payment details to confirm the payment status. See [Fetch a Payment With ID](/docs/api/payments/fetch-with-id).
### Step 5: Capture Payment
Capture the authorised payment. See [Capture a Payment](/docs/api/payments/capture)
## Coupons and Recurring Discounts
Recurring coupons work out of the box with Razorpay. No coupon sync or offer mapping is required.
1. Stripe creates the upcoming invoice with the coupon or discount already applied (reduced amount).
2. Razorpay's cron job scans for upcoming Stripe invoices around 48 hours before the billing date and reads the discounted amount.
3. Razorpay sends a PDN to the customer for the discounted invoice amount from Stripe.
4. On the billing date, Razorpay debits the same discounted amount via the stored mandate.
> [!NOTE]
>
> **Handy Tips**
>
> Any Stripe-level discount is automatically respected by Razorpay during renewal. No special handling is needed on the merchant's side. Stripe is the source of truth for the invoice amount.
## Charges, Taxes and Limits
Stripe remains the source of truth for your billing and invoice amounts. For Indian customers, Razorpay applies the following on the amount it debits.
### 18% GST
Razorpay calculates and adds 18% GST on the amount debited from Indian customers. The customer is charged the total amount, not just the plan amount.
`total_amount = plan_amount + tax_amount`
Where `tax_amount = 18% of plan_amount`. The pricing breakdown (plan amount, GST and total) is available on the frontend via Razorpay Custom JS so the customer sees the final amount before authorising.
### \$1 Minimum Charge
Every debit must be at least $1.00. If the payable amount is below $1.00 (for example, after a large coupon or discount), Razorpay charges \$1.00 and automatically refunds the difference to the customer.
### UPI Recurring Debit Cap
UPI recurring debits are capped at \$250 per transaction. If a debit exceeds this limit, it fails and the customer must switch to a card mandate to complete the payment.
## Pre-Debit Notification (PDN) Timelines
Razorpay sends Pre-Debit Notifications to customers before scheduled subscription debits. Usage-based billing charges immediately and has no PDN.
| Billing Type | PDN Sent Before Debit |
| - | - |
| Subscription renewals (UPI Autopay and card mandate) | Around 48 hours before the billing date |
| Usage-based billing | No PDN โ the Stripe invoice triggers an immediate charge |
## Frequently Asked Questions
> [accordion] Do I need to change my Stripe billing logic?
>
> No. Your existing Stripe billing, invoicing and reconciliation workflows remain untouched, and Stripe stays the source of truth for your invoice amounts. Razorpay handles payment execution for Indian customers and adds 18% GST on the debited amount. See [Charges, Taxes and Limits](#charges-taxes-and-limits).
> [accordion] What payment methods does Razorpay support for Indian customers?
>
> Razorpay supports UPI Autopay and card mandates for recurring payments in India. Both methods are RBI-compliant with automatic pre-debit notifications for scheduled renewals.
> [accordion] What happens if a recurring payment fails?
>
> Razorpay automatically retries failed debits in line with RBI norms. The payment outcome (paid or failed) is reported back to Stripe, and your app reacts via existing Stripe webhooks.
> [accordion] Is usage-based billing a separate integration?
>
> Usage-based billing uses the [Stripe Webhook Forwarding](#stripe-webhook-forwarding) API to forward Stripe's `invoice.payment_attempt_required` events to Razorpay, which then charges immediately with no PDN. Scheduled subscription renewals do not use webhook forwarding โ Razorpay's cron job drives them automatically.
> [accordion] How are coupons handled?
>
> Coupon creation and application happen at the Stripe level. Razorpay reads the discounted invoice amount from Stripe and charges accordingly. No coupon sync or offer mapping is required.
> [accordion] Does Razorpay add GST to the amount charged?
>
> Yes. Razorpay calculates and adds 18% GST on the amount debited from Indian customers. The customer is charged `plan_amount + tax_amount`, where `tax_amount` is 18% of the plan amount. See [Charges, Taxes and Limits](#charges-taxes-and-limits).
> [accordion] Is there a minimum charge amount?
>
> Yes. Every debit must be at least $1.00. If the payable amount is below $1.00 (for example, after a large coupon), Razorpay charges \$1.00 and automatically refunds the difference to the customer.
> [accordion] Is there a limit on UPI recurring debits?
>
> Yes. UPI recurring debits are capped at \$250 per transaction. If a debit exceeds this limit, the customer must switch to a card mandate to complete the payment.
# Currency Conversion
Source: https://razorpay.com/docs/payments/international-payments/currency-conversion
Know how currency conversion works in the APIs, Razorpay Dashboard and Settlements.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
Razorpay Settlements occur in INR based on the conversion rate at the time of payment.
## Checkout Form and APIs
On the checkout form or when using APIs for Razorpay products such as Orders, Payment Links, Subscriptions or Invoices, you need to specify the desired currency and pass the amount in the currency subunit.
> [accordion] Sample Code
>
> The following is a sample API request and response to create an order for \$20:
>
> ```bash Request theme={null}
> curl -u : \
> -X POST https://api.razorpay.com/v1/orders \
> -H "content-type: application/json"
> -d '{
> "amount": 2000,
> "currency": "USD",
> "receipt": "rcptid #11"
> }'
> ```
>
> ```java Java theme={null}
> try {
> JSONObject orderRequest = new JSONObject();
> orderRequest.put("amount", 2000); // amount in the smallest currency unit
> orderRequest.put("currency", "USD");
> orderRequest.put("receipt", "order_rcptid_11");
>
> Order order = razorpay.Orders.create(orderRequest);
> } catch (RazorpayException e) {
> // Handle Exception
> System.out.println(e.getMessage());
> }
> ```
>
> ```python Python theme={null}
> order_amount = 2000
> order_currency = 'USD'
> order_receipt = 'order_rcptid_11'
> notes = {'Shipping address': 'Bommanahalli, Bangalore'} # OPTIONAL
>
> client.order.create(amount=order_amount, currency=order_currency, receipt=order_receipt, notes=notes)
> ```
>
> ```php PHP theme={null}
> $order = $client->order->create([
> 'receipt' => 'order_rcptid_11',
> 'amount' => 2000, // amount in the smallest currency unit
> 'currency' => 'USD',//
> )
> ]);
> ```
>
> ```csharp .NET theme={null}
> Dictionary options = new Dictionary();
> options.Add("amount", 2000); // amount in the smallest currency unit
> options.add("receipt", "order_rcptid_11");
> options.add("currency", "USD");
> Order order = client.Order.Create(options);
> ```
>
> ```ruby Ruby theme={null}
> options = amount: 2000, currency: 'USD', receipt: ''
> order = Razorpay::Order.create
> ```
>
> ```javascript Node.js theme={null}
> var options = {
> amount: 2000, // amount in the smallest currency unit
> currency: "USD",
> receipt: "order_rcptid_11"
> };
> instance.orders.create(options, function(err, order) {
> console.log(order);
> });
> ```
>
> ```json Response theme={null}
> {
> "id": "order_00000000000001",
> "entity": "order",
> "amount": 2000,
> "currency": "USD",
> "receipt": "order_rcptid_11",
> "status": "created",
> "attempts": 0,
> "created_at": 1596208654,
> "notes": []
> }
> ```
>
> `currency` *mandatory*
> : `string` Currency in which you want to accept the payment. For example, `GBP`. Check the [supported international currencies.](/docs/payments/international-payments#supported-products)
>
> `amount` *mandatory*
> : `integer` The amount to be charged in the specified currency subunit.
>
> `receipt` *optional*
> : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
>
> For example, when selling a product for โน1000 in the domestic market, you pass INR in the `currency` parameter and `100000` in the `amount` parameter (since the amount should be in sub units).
>
> When selling in the international market, you might want to charge \$20 for the same product. In this case, you must pass `USD` in the `currency` parameter and `2000` in the `amount` parameter (since the amount should be in sub units).
> [accordion] Payment Entity
>
> The [Payment entity](/docs/api/payments/entity) will contain additional fields when the currency is not INR to provide visibility into the conversion rate.
>
> **Example**
>
> The following is a sample payment entity for a \$1 payment:
>
> ```json Payment Entity theme={null}
> {
> "id": "pay_Donb2t6WkJYhfU",
> "entity": "payment",
> "amount": 100,
> "currency": "USD",
> "base_amount": 7129,
> "base_currency": "INR",
> "status": "captured",
> "order_id": "order_CjCr5oKh4AVC51",
> "international": true,
> "method": "card",
> "amount_refunded": 0,
> "refund_status": null,
> "description": "Payment at the Dollar Store",
> "card_id": "card_Donb2wk8eC8EDN",
> "email": "",
> "contact": "",
> "notes": [],
> "fee": 207,
> "tax": 0,
> "error_code": null,
> "error_description": null,
> "created_at": 1400826750
> }
> ```
>
> `base_currency`
> : `string` The conversion currency that will be used to calculate fees and settlements. This currently defaults to INR and is present only if the `currency` is not INR.
>
> `base_amount`
> : `integer` The converted payment amount that will be used to calculate fees and settlements. Represented in the smallest unit of the `base_currency`. This attribute is currently only present if the `currency` is not INR.
## Select International Currency
When using products such as Payment Links or Subscription Links, ensure you select the desired currency from the currency drop-down list and add the amount in the selected currency. For example, if you want to charge \$20 when selling in the international market, select `USD` in the **Currency** drop-down list and enter 20 in the **Amount** field.
Watch this video to see how to select the international currency from the Dashboard.

## Settlements
After your customers have made the payment, the payment amount is converted to INR and settled to your Razorpay Payment Gateway (PG) account as per your settlement schedule. The exchange rate (according to the processing bank) on the date the payment was made is used to make the conversion.
#### Example
A customer made a payment of \$10 on February 02, 2019.
* **Settlement Schedule**: T+7 business days for domestic transactions, where T is the date of capture of payment.
* **Date of payment capture**: February 02, 2019
* **Conversion Rate**: \$1 = โน70 as on February 02, 2019
* **Settlement Amount**: For $10 payment, $10 \* โน70= 700 (minus taxes and fees) is settled to your account on February 09, 2019.
# International Payments | FAQs
Source: https://razorpay.com/docs/payments/international-payments/faqs
Find answers to frequently asked questions about Razorpay International Payments.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [accordion] Can I avail the early settlement feature for international payments and reduce my settlement period from T+7 working days?
>
> Yes, you can apply for early settlement on international payments at an additional charge. Please reach out to our [support team](https://razorpay.com/support/).
> [accordion] Can NGOs accept international payments via Razorpay?
>
> Due to certain compliance guidelines, we cannot provide the international payment feature to NGOs.
> [accordion] Do you support companies registered outside India?
>
> Yes, Razorpay serves businesses registered in India.
> [accordion] How do I display different currencies (other than INR) on the Razorpay Checkout to my customers?
>
> * You must get the [international payments feature](/docs/payments/international-payments/international-debit-credit-cards#application-process) enabled on your Razorpay account to accept payments in currencies other than INR.
> * The native currencies like USD and SGD, which are a part of the [list of currencies supported by Razorpay](/docs/payments/international-payments#supported-currencies), can be updated as a part of the **currency** parameter on the payment request.
> * Raise a request with the [support team](https://razorpay.com/support/#request/merchant/international-payment-acceptance) to display any currencies that are not a part of the above list.
> [accordion] Do you support wire transfers for international payments?
>
> No. Currently, we only support international payments made using cards issued by overseas banks for all the major networks, following are the supported card networks:
>
> * Visa
>
> * Mastercard
>
> * Amex
>
> * Diners
>
> * Discover
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > To enable Diners and Discover cards, contact our [support team](https://razorpay.com/support/#request).
> [accordion] What currencies do you support?
>
> Razorpay supports more than 100 international currencies. Refer to the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
> [accordion] Is there a list of Razorpay products that support international payments?
>
> Yes. Know more about the [products that support](/docs/payments/international-payments#supported-products) international payments.
> [accordion] Who handles the currency conversion?
>
> * [Supported Currencies](/docs/payments/international-payments#supported-currencies): No currency conversion is required. You can pass the payment amount in the native currency. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion).
> * Non-supported Currencies: For the currencies we do not support, you will have to handle conversion at your end and pass it to Razorpay in INR.
> [accordion] What is the settlement cycle for international payments?
>
> The default settlement cycle is as per applicable law(s). You can view your settlement cycle on the Razorpay Dashboard.
> [accordion] How does the settlement happen for international payments?
>
> The Settlement currency is INR (Indian rupees) for all transactions made using Razorpay. Thus, international payments are settled in INR. The exchange rate at the time of the payment creation is considered for conversion.
# FIRS Automated Process
Source: https://razorpay.com/docs/payments/international-payments/firs-automated-process
Know about FIRS certificate, why you need it and how to obtain it from the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
FIRS Certificate is a document that acts as evidence that you have received funds from a foreign country. The document is recognised as proof in scenarios such as getting GST refunds, claiming drawbacks from the government, or being required by beneficiary banks for compliance purposes. You can now generate FIRS from the Dashboard.
> [accordion] Why do you need FIRS Certificate
>
> FIRS certificate contains important information about inward remittance, such as:
>
> * Sender details
> * Converted amount details
> * Amount of foreign currency
> * UTR and account number
> * Date of certificate issuance
> [!WARNING]
>
> **Watch Out!**
>
> It is important to update your Purpose code to generate FIRS Certificates.
## Purpose Code Update
Follow the steps to update your purpose code:
1. Log in to the Dashboard and navigate to **Accounts & Settings**.
2. Click **International Payment Codes** under **International payment settings**.

3. Update your purpose code under the **International Payment Codes** section.

> [!NOTE]
>
> **Handy Tips**
>
> If you do not find your Transaction Purpose Code in the [Transaction Code list](https://razorpay.com/docs/build/browser/assets/images/transaction_purpose_codes.xlsx), contact the [Razorpay Support team](https://razorpay.com/support/) from your Dashboard.
4. The Razorpay Activation/Operations team checks whether the selected **Purpose Code** is correct.
## Generate FIRS Certificate
All new and existing users accepting international payments can easily obtain the FIRS certificate on the Dashboard in a downloadable format.
To generate FIRS certificate:
1. Log in to the Dashboard and navigate to **Account & Settings**.
2. Under **International payment settings** click **Foreign inward remittance statement (FIRS)**.
3. You can view a list of FIRS certificates based on your monthly transactions in a downloadable format.

4. There are two sections.
* The FIRS certificates provided by the bank.
* Razorpay-generated statements.
> [!NOTE]
>
> **Handy Tips**
>
> Razorpay-generated statements act as an alternative to FIRS certificates provided by banks.

If the FIRS is not generated from the bank or you need a consolidated list of FIRS, click on **Request for Razorpay Statement**. You can view or download the FIRS certificate from your Dashboard.

> [!NOTE]
>
> **Handy Tips**
>
> Generating reports can take up to 1 hour.
>
> 
# Glossary
Source: https://razorpay.com/docs/payments/international-payments/glossary
List of commonly used terms related to Razorpay International Payments.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
The following table lists all the commonly used terms in international payments and their descriptions.
| Terms | Description |
| - | - |
| International Payments | International payments are transactions where the payer and the payee are in different countries, involving cross-border funds transfer and currency conversion processes. |
| Currency Conversionโ | The process of converting one currency into another during an international transaction. Razorpay Settlements occur in INR based on the conversion rate at the time of payment. |
| Purpose Codes | Specific codes issued by the Reserve Bank of India (RBI) to denote the nature of foreign currency transactions. Each payment must be tagged with a purpose code to ensure compliance with regulations. |
| SWIFT Transfer | An international payment method that uses the SWIFT network to transfer funds between banks globally. |
| FIRS (Foreign Inward Remittance Statement) | A document that provides proof of funds received from a foreign country, essential for compliance, claiming GST refunds, and other regulatory purposes. |
| Non-3DS Transactions | Payments processed without the 3D Secure protocol, often used for international card transactions. These transactions carry higher risk due to the lack of an additional authentication step. |
| Address Verification System (AVS) | A security feature that verifies the customer's billing address against the address on file with the card issuer to prevent fraud. |
| 3D Secure (3DS) | An additional layer of security for online card transactions where the cardholder must authenticate the transaction using a password or a one-time codeโ. |
# International Bank Transfer (MoneySaver Export Account)
Source: https://razorpay.com/docs/payments/international-payments/international-bank-transfer
Accept international payments through local currency bank accounts with Razorpay's International Bank Transfer. Open virtual accounts in US, UK, Europe, Australia, Canada and more to receive payments via ACH, FPS, SEPA, NPP, EFT, SWIFT and more.
Available in
๐ฎ๐ณ India
> [card] [Activate International Bank Transfer](/docs/payments/international-payments/international-bank-transfer#activate-international-bank-transfer)
>
> Check the steps to activate International Bank Transfer.
> [card] [International Bank Transfer Dashboard](/docs/payments/international-payments/international-bank-transfer#accessing-the-dashboard)
>
> International Bank Transfer dashboard homepage overview.
International Bank Transfer enables Indian businesses to accept international payments through local currency bank accounts without the complexity of opening foreign bank accounts. Your international buyers can pay you using familiar local payment methods like ACH, FPS, SEPA and SWIFT, whilst you receive settlements directly in your Indian bank account in INR.
> [accordion] Advantages
>
> > [tab] For Your Business
> >
> > * **Competitive Pricing** \\
> >
> > International bank tranfers cost only 1% with Zero Forex Markup vs traditional banks and other fintech platforms.
> >
> > * **Faster Settlement TAT** \\
> >
> > Receive your payments within 1 business day of the payment being captured vs traditional bank transfer that takes 5-7 business days.
> >
> > * **Complete Compliance** \\
> >
> > Receive your FIRC within minutes of the amount being credited to your INR account; built-in invoice management and buyer detail collection to ensure RBI and partner compliance.
> >
> > * **Hassle-free setup** \\
> >
> > Opening bank accounts in foreign countries typically requires extensive paperwork and physical presence. Razorpay offers a real-time, completely digital solution to activate foreign currency accounts across different geographies.
> >
> > * **Multi-currency support** \\
> >
> > Accept payments in 30+ currencies through USD, GBP and EUR virtual accounts, with support for ACH, FPS, SEPA and SWIFT transfers.
> >
> > * **Easy platform integration** \\
> >
> > Seamlessly connect your virtual accounts to Amazon Seller Central, Upwork, Deel and other marketplaces or freelancing platforms.
> >
> > * **Higher success rates** \\
> >
> > International card payments often fail due to fraud checks and risk validations. Bank transfers have significantly higher success rates, improving your conversion.
> >
> > * **No chargebacks on push transfers** \\
> >
> > Push-based bank transfers are authorised payments that cannot be reversed through chargebacks, protecting you from fraudulent disputes and providing better cash flow predictability. This does not apply to [Flash Links (ACH Debit)](/docs/payments/international-payments/international-bank-transfer/flash-links-ach-debit), which is a pull-based payment and can be reversed by the payer through a chargeback.
>
> > [tab] For Your Customers
> >
> > * **No card required** \\
> >
> > Customers without access to international cards can pay through their bank accounts, making it easy for you to sell in countries with lower card penetration.
> >
> > * **No bank branch visit needed** \\
> >
> > Customers can make payments online through local bank transfers (like ACH) instead of visiting their bank branch for international wire transfers. This significantly improves the payment experience.
> >
> > * **Familiar payment experience** \\
> >
> > Buyers can pay in their local currency using payment methods they are already comfortable with, reducing friction and abandoned payments.
> >
> > * **Lower costs for buyers** \\
> >
> > Local ACH transfers incur lower fees compared to international card payments or SWIFT transfers, making your products more attractive.
> >
> > * **Faster payments** \\
> >
> > Local payment rails process faster than traditional international wire transfers, improving cash flow for your business.
> >
> > * **Currency flexibility** \\
> >
> > Customers can initiate payments in their native currency (USD, GBP, EUR), whilst you receive settlements in INR in your Indian bank account.
## How It Works
1. Activate International Bank Transfer.
* New Razorpay user: Sign up for an [account](https://razorpay.com/accept-international-payments/bank-transfers/).
* Existing Razorpay user: Log in to the Dashboard. Navigate to **Account & Settings** โ **International payments** (under Payment methods) โ **International bank transfers** and click **Activate**.
2. Receive virtual bank account details for USD, GBP, EUR, AUD, CAD, SWIFT and more.
3. Share these account details with your international buyers.
4. Accept payments when buyers transfer money using local payment methods.
5. Upload invoices and buyer details for each transaction (not required for Amazon, Upwork and Freelancer platform transactions).
6. Track payments through detailed timelines on your dashboard.
7. Receive settlements in INR in your Indian bank account.
## Supported Payment Methods
International Bank Transfer supports the following payment methods:
| Currency Name | Currency Code | Payment Method | Account Type |
| - | - | - | - |
| United States Dollar | USD | ACH | Virtual USD Account |
| Pound Sterling | GBP | FPS | Virtual GBP Account |
| European Euro | EUR | SEPA | Virtual EUR Account |
| Canadian Dollar | CAD | EFT | Virtual CAD Account |
| Swiss Franc | CHF | SIC ACH/SIC RTGS | Virtual CHF Account |
| Swedish Krona | SEK | RIX Instant/RIX RTGS | Virtual SEK Account |
| Danish Krone | DKK | DKK Local | Virtual DKK Account |
| Australian Dollar | AUD | NPP/Osko/BECS | Virtual AUD Account |
| Bahrain Dinar | BHD | SWIFT ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | Virtual SWIFT Account ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| Chinese Yuan | CNY | | |
| Czech Koruna | CZK | | |
| European Euro | EUR | | |
| Pound Sterling | GBP | | |
| Hong Kong Dollar | HKD | | |
| Hungarian Forint | HUF | | |
| Israeli Shekel | ILS | | |
| Japanese Yen | JPY | | |
| Kenyan Shilling | KES | | |
| Kuwait Dinar | KWD | | |
| Mexican Peso | MXN | | |
| New Zealand Dollar | NZD | | |
| Norwegian Krone | NOK | | |
| Omani Rial | OMR | | |
| Polish Zloty | PLN | | |
| Qatar Rial | QAR | | |
| Romanian Leu | RON | | |
| Saudi Riyal | SAR | | |
| Singapore Dollar | SGD | | |
| South African Rand | ZAR | | |
| Thai Baht | THB | | |
| Turkish Lira | TRY | | |
| Ugandan Shilling | UGX | | |
| United Arab Emirates Dirham | AED | | |
| United States Dollar | USD | | --- |
## Use Cases
International Bank Transfer is ideal for:
* Freelancers and consultants providing services to international clients.
* SaaS companies selling software subscriptions globally.
* IT services providers working with overseas customers.
* Ecommerce sellers on Amazon, eBay, or their own websites.
* B2B exporters selling physical goods internationally.
* Digital content creators monetising international audiences.
* Professional services firms offering consulting, legal or accounting services globally.
## Prerequisites
Before activating International Bank Transfer, ensure you meet the following requirements:
* Active Razorpay account with KYC verification completed.
* PAN details of your business provided during onboarding.
* You must be an Indian business that falls under one of the following export purpose codes to use MoneySaver Export Account:
| Purpose Code | Description |
| - | - |
| P0103 | Advance receipts against export contracts, which will be covered later by GR/PP/SOFTEX/SDF (other than Nepal and Bhutan). |
| P1004 | Legal services. |
| P1005 | Accounting, auditing and bookkeeping services. |
| P1006 | Business and management consultancy and public relations. |
| P1007 | Advertising, trade fair service. |
| P1008 | Research and Development services. |
| P1009 | Architectural services. |
| P0802 | Software consultancy/implementation (other than those covered in SOFTEX form). |
| P1020 | Wholesale and retailing trade services. |
| P1002 | Trade related services - commission on exports/imports. |
| P1104 | Entertainment services. |
| P1015 | Tax consulting services. |
| P1016 | Market research and public opinion polling service. |
| P1017 | Publishing and printing services. |
| P1019 | Commission agent services. |
| P1107 | Educational services. |
| P1109 | Other personal, cultural and recreational services. |
| P1701 | Receipts on account of processing of goods. |
| P0301 | Purchases towards travel (includes purchases of foreign TCs, currency notes over the counter, by hotels, emporiums, institutions, as well as amount received by TT/SWIFT transfers or debit to non-resident account). |
| P0302 | Business travel. |
| P0304 | Travel for medical treatment including TCs purchased by hospitals. |
| P0305 | Travel for education including TCs purchased by educational institutions. |
| P0306 | Other travel receipts. |
| P0601 | Receipts of life insurance premium. |
| P0602 | Receipts of freight insurance - relating to export of goods. |
| P0603 | Receipts on account of other general insurance premium. |
| P0605 | Receipts on account of auxiliary services (commission on insurance). |
| P0607 | Insurance claim settlement of non-life insurance and life insurance (only term insurance). |
| P0608 | Life insurance claim settlements (excluding insurance) received by residents in India. |
| P0801 | Hardware consultancy/implementation. |
| P0803 | Database, data processing charges. |
| P0804 | Repair and maintenance of computer and software. |
| P0805 | News agency services. |
| P0806 | Other information services - subscription to newspapers, periodicals and so on. |
| P0808 | Telecommunication services including electronic mail services and voice mail services. |
| P1013 | Environmental services. |
| P1014 | Engineering services. |
| P1101 | Audio-visual and related service: Motion picture and video tape production, distribution & projection service. |
| P1103 | Radio and television production, distribution and transmission services. |
| P1105 | Museums, library and archival services. |
| P1106 | Recreation and sporting activity services. |
| P1108 | Health service (receipts on account of services provided by Indian hospitals, doctors, nurses, paramedical and similar services rendered remotely or on-site). |
* You should have international payment via Payment Link enabled on your account if you want to receive payment from customers in foreign currency, such as USD. The money will be settled in your Indian current account in INR. Know [how to enable international payments for your account](#activate-international-bank-transfer).
## Activate International Bank Transfer
The activation process differs based on whether you are a new or existing Razorpay user.
> [accordion] New Razorpay User
>
> If you are new user, you will need to complete the following steps displayed on the onboarding screens to activate international payment methods.
>
> 1. Sign up for a [Razorpay account](https://razorpay.com/accept-international-payments/bank-transfers/).
> 2. On the onboarding screen, select **Outside India (International)** and click **Start Onboarding**.
> 3. Fill up the following details to complete the onboarding:
> * Basic Details:
> * Name (Business or Individual).
> * Phone number.
> * Email address.
> * Payment channels you want to enable.
> * Business Details:
> * Type of business: Individual, Sole Proprietorship, Partnership, Private Limited, Public Limited, LLP, NGO and so on.
> * Personal PAN (for individuals) or Business PAN.
> * Business Documents:
> * GSTIN certificate (if GST registered).
> * Udyam registration certificate (for MSMEs).
> * Complete your KYC:
> * Business address with proof.
> * Authorised signatory details.
> * Complete video KYC:
> * Requires Aadhaar and PAN card.
> * Live video verification with Razorpay agent.
> * Takes approximately 3-4 minutes.
> 4. Follow the on-screen instructions to provide any additional details or documentation required for activation.
> [accordion] Existing Razorpay User
>
> If you are an existing Razorpay user, to activate **Local Currency Bank Transfer** payment method, follow the steps given below:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** โ **International payments** (under Payment methods).
> 3. In the **Local Currency Bank Transfer** section, under the International bank transfers tab, click **Activate**.
>
> 
> 4. On the **Purpose code** page, select the correct purpose code from the list and click **Continue**.
>
> 
> 5. On the **Importer - Exporter code** page:
> * If you have an IE code, select **Yes**. Enter the 10-digit **IE code** and select **I agree to the Terms and Conditions**. Click **Continue**.
> * If the IE code does not apply to you, select **No, because it is not applicable for me** and click **Continue**.
> * If you do not have an IE code but want to apply, select **No, but I want to apply for it**, and click **Apply now**.
>
> 
>
> 6. On the Video KYC page, select **Yes, I am Gaurav Kumar**, and click **Start Video KYC** to proceed with the video KYC.
>
> 
> 7. Your request submitted successfully, click **Okay, got it**.
>
> 
## Accessing The Dashboard
After the International Bank Transfer account is activated, you can access your dashboard:
**If you are using only International Bank Transfer:** You will automatically land on the International Bank Transfer homepage when you log in with all the international payment tools.
**If you are using multiple Razorpay products:**
1. Log in to the Dashboard.
2. On the left navigation, click **Intl Bank Transfer**.
3. You will land on the dashboard homepage with all the international payment tools.

### Dashboard Overview
Dashboard homepage is organised into key sections:
> [accordion] Virtual Bank Accounts
>
> At the top of your homepage, you will see cards for all your virtual bank accounts:
>
> * USD Account (ACH)
> * GBP Account (FPS)
> * EUR Account (SEPA)
> * SWIFT Account
> * SGD, AED, AUD, CHF, DKK, SEK and CAD Accounts (Coming soon)
>
> 
>
> #### Accessing Your Account Details
>
> > [accordion] Virtual Account Details
> >
> > You can access your virtual account details in two locations:
> >
> > > [tab] Dashboard Homepage
> > >
> > > 1. Log in to the Dashboard.
> > > 2. Navigate to **Intl Bank Transfer**.
> > > 3. On the homepage, you will see cards for all your virtual accounts.
> > > 4. Click on any account card to view complete details.
> > >
> > > 
> >
> > > [tab] International Accounts Tab
> > >
> > > 1. From the left navigation menu, click **International Accounts**.
> > > 2. You will see a dedicated page with all your virtual account details.
> > > 3. Click on any account card to view complete details.
> > >
> > > 
>
> #### Share Your Account Details
>
> There are two ways to share your virtual account details with customers, depending on your preference and their requirements.
>
> > [accordion] Manually Share Account Details
> >
> > This is the quickest method when you want to share details via your own email, WhatsApp or other messaging platforms.
> >
> > 1. On your dashboard homepage or International Bank Accounts page, locate the account you want to share.
> > 2. On account card. Click **Copy**.
> >
> > 
> > 3. Account details are copied to your clipboard. Paste the details into your email, WhatsApp message or other messaging platforms.
>
> > [accordion] Share Account Details Directly Via Email From The Dashboard
> >
> > Use the built-in email sharing feature to share the account details.
> >
> > 1. On your dashboard homepage or International Bank Accounts page, locate the account you want to share.
> > 2. On account card. Click **Share**.
> >
> > 
> > 3. Add Client details:
> > * In the **Client name** field, enter your client's full name.
> > * In the **Send to** field, enter your client's email address.
> > * (Optional) Click **+ Add CC** if you want to copy additional email addresses.
> > 4. Click **Send Email**.
> >
> > 
> [accordion] Recent Transactions
>
> Below the virtual accounts section, you will see the most recent payment transactions:
>
> * Payment id and date.
> * Amount in original currency.
> * Payment status (Captured, Authorised, Failed).
> * Amount saved compared to traditional methods.
> * **+ Add Details** button for transactions requiring invoice upload.
>
> 
> [accordion] Video Guide
>
> The dashboard includes comprehensive video guide to help you get started quickly:
>
> * Getting Started with MoneySaver Export Account.
> * Accepting Your First Payment.
> * Adding Invoices & Client Details.
> * Tracking Payments.
> * Managing Marketplace Payouts.
> * Connecting to Freelancer Platforms.
> [accordion] Understanding Your Savings
>
> The **Savings Calculator** on the dashboard shows how much you can save using Razorpay International Bank Transfer compared to traditional banks and other platforms.
>
> > [accordion] Savings Calculator
> >
> > Located on the dashboard homepage, the calculator helps you understand potential savings:
> >
> > **How to Use:**
> >
> > 1. Use the slider to set your monthly payment volume.
> > 2. View real-time comparison across three options:
> > * Razorpay: Amount you receive (with zero FX markup).
> > * Fintech Platforms: Amount after fees.
> > * Traditional Banks: Amount after bank charges.
> >
> > **What It Shows:**
> >
> > * Exact amount you will receive in INR with each option.
> > * Your savings compared to alternatives.
> > * Annual savings projection.
> >
> > **Example:**
> > For \$10,000 monthly payments:
> >
> > * **Razorpay**: โน8,77,700 (Zero FX markup, Free FIRC)
> > * **Fintech Platforms**: โน8,21,599 (โน66,101 less)
> > * **Banks**: โน8,80,642 (โน7,706 less)
> >
> > 
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > The calculator uses current exchange rates and actual fee structures for accurate comparisons. Check regularly to see your savings.
> [accordion] Platform Integration
>
> If you are selling on Ecommerce marketplaces or offering services on freelancing platforms, you can connect your Razorpay International Bank Transfer to receive payments directly from these platforms.
>
> International Bank Transfer integrates with:
>
> > [tab] Online Marketplaces
> >
> > * Amazon.us (United States) - USD
> > * Amazon.co.uk (United Kingdom) - GBP
> > * Amazon EU (European Union) - EUR
> > * Amazon.com.au (Australia) - AUD
> > * Amazon DK (Denmark) - DKK
> > * SWIFT-based Marketplaces - Multiple currencies
> > * Amazon.ca (Canada) - CAD (Coming soon)
> > * Amazon.ae (United Arab Emirates) - AED (Coming soon)
> > * Amazon CH (Switzerland) - CHF (Coming soon)
> > * Amazon.se (Sweden) - SEK (Coming soon)
>
> > [tab] Freelancing Platforms
> >
> > * Upwork (Global freelancing job marketplace)
> > * Deel (Freelance contracts & payouts)
> > * Toptal (Elite freelance talent network)
> > * Freelancer (Bid-based freelance jobs platform)
> > * Fiverr (Freelance services marketplace)
## Unsupported Merchant Categories
International Bank Transfer does not support the following MCCs because of compliance reasons.
| MCC | Description |
| - | - |
| 5933 | Pawnbrokers (Pawn Shops) |
| 8651 | Political organisations |
| 5094 | Precious metals and stones, including diamond traders |
| 7995 | Gambling - Betting (including lottery tickets, casino gaming chips, off-track betting and wagers at race tracks) |
| 5813 | Alcohol - Drinking Places (Alcoholic Beverages, Bars, Taverns, Cocktail lounges, Nightclubs and Discotheques) |
| 5993 | Tobacco (Cigar Stores and Stands) |
| 5193 | Seeds or plants (Florists Supplies, Nursery Stock, and Flowers) |
| 5966 | Outbound telemarketing (Direct Marketing-Outbound Telemarketing Merchants) |
In addition to the above categories, International Bank Transfer does not support businesses in the prohibited industries mentioned in [Razorpay Terms and Conditions (Part 17)](https://razorpay.com/terms).
## Frequently Asked Questions (FAQs)
> [accordion] I have customers spread across the US, UK and Europe. I want to offer our customers a cheaper, more reliable, and better payment experience. Can I collect payments in USD, GBP or EUR currency?
>
> Yes, you can offer services to your international customers from the US and other countries by providing them with a local currency bank account, and they can pay in their respective currencies.
> [accordion] How can I transfer money from the local currency bank accounts to my current account with an Indian bank?
>
> The money is settled in your current account in INR currency by Razorpay after deducting the appropriate charges.
> [accordion] Can I keep funds in these local currency accounts for a month or more for other payouts in foreign currency?
>
> No, you cannot hold the funds in the local currency accounts.
> [accordion] Do I need to share any bills/invoices with Razorpay?
>
> Yes. You must provide invoices for all the transactions accepted via MoneySaver account. Airway bill is mandatory for the export of physical goods. Our banking partners require this for audit purposes as mandated by RBI. The settlement will not be initiated without a valid invoice copy, airway bill (in case of delivery of physical goods) and buyer's address details.\\
>
> You should [upload the invoices](/docs/payments/international-payments/international-bank-transfer/transactions-invoices#uploading-invoices-and-business/buyer-details) on the Dashboard to enable Razorpay to settle funds to the Indian bank account.
> [accordion] Does Razorpay need the buyer's address details along with the invoices?
>
> Yes. You must provide the buyer's address details and invoices for all the transactions accepted via a MoneySaver account. You should [upload the buyer's address details](/docs/payments/dashboard/buyers-address-details) on the Dashboard to enable Razorpay to settle funds to the Indian bank account.
> [accordion] How can I provide invoices for these payment transactions?
>
> An invoice or airway bill (in case of delivery of physical goods) is mandatory for export transactions. You may [upload invoices](/docs/payments/international-payments/international-bank-transfer/transactions-invoices#uploading-invoices-and-business/buyer-details) to your Dashboard. The payment is settled once you share a valid invoice.
> [accordion] What is the pricing for using this method?
>
> Please refer to the pricing details mentioned [here](https://razorpay.com/accept-international-payments/bank-transfers/).
> [accordion] What is the settlement TAT?
>
> For push-based bank transfers, such as ACH, FPS, SEPA and SWIFT, the settlement cycle is T+1 from the time the payment is captured or invoice details are shared against a payment, whichever is later.\\
>
> [Flash Links (ACH Debit)](/docs/payments/international-payments/international-bank-transfer/flash-links-ach-debit) settles later because it is a pull-based rail with a chargeback window. See the [ACH Debit settlement timeline](/docs/payments/international-payments/international-bank-transfer/flash-links-ach-debit#track-ach-debit-transactions).
> [accordion] Does Razorpay support multiple settlement currencies for a seller?
>
> Yes, we support INR settlements to your current account in India and non-INR settlements to your EEFC account.
> [accordion] Will I get FIRS for these transactions for tax purposes?
>
> FIRS will be sent to your contact email within 24 hours after settlement.
> [accordion] What if my end customer raises a dispute with Razorpay?
>
> Disputes do not apply to push-based bank transfers, such as ACH, FPS, SEPA and SWIFT, as the payer initiates the transfer.\\
>
> This does not apply to [Flash Links (ACH Debit)](/docs/payments/international-payments/international-bank-transfer/flash-links-ach-debit), which is a pull-based payment. ACH debits can be reversed by the payer through a chargeback. See [Chargebacks and reversals](/docs/payments/international-payments/international-bank-transfer/flash-links-ach-debit#chargebacks-and-reversals).
> [accordion] Are refunds supported on these transactions?
>
> No, refunds are not supported for push-based bank transfers, such as ACH, FPS, SEPA and SWIFT.\\
>
> Refunds are supported for [Flash Links (ACH Debit)](/docs/payments/international-payments/international-bank-transfer/flash-links-ach-debit) transactions.
> [accordion] What is the payment flow for the consumer/buyer?
>
> The payment flow is given below:
>
> 1. The customer receives your virtual bank account details shared by you via email, WhatsApp or invoice.
> 2. The customer adds your virtual bank account details as a beneficiary in their bank account or online banking portal.
> 3. The customer initiates a local bank transfer to your account using their preferred payment method.
> 4. The payment amount reflects on your Razorpay dashboard within a few hours of the customer initiating the transfer.
### Related Information
* [Flash Links (ACH Debit)](/docs/payments/international-payments/international-bank-transfer/flash-links-ach-debit)
* [Connect Platforms](/docs/payments/international-payments/international-bank-transfer/connect-platforms)
* [Transactions and Invoices](/docs/payments/international-payments/international-bank-transfer/transactions-invoices)
# Connect Online Marketplaces and Freelancing Platforms
Source: https://razorpay.com/docs/payments/international-payments/international-bank-transfer/connect-platforms
Connect your Razorpay International Bank Transfer (MoneySaver) Account to Online Marketplaces like Amazon and Freelancing Platforms like Upwork, Deel, Toptal and Freelancer.
Available in
๐ฎ๐ณ India
> [card] [Online Marketplaces](/docs/payments/international-payments/international-bank-transfer/connect-platforms#online-marketplaces)
>
> Check the steps to integrate with Online Marketplaces.
> [card] [Freelancing Platforms](/docs/payments/international-payments/international-bank-transfer/connect-platforms#freelancing-platforms)
>
> Check the steps to integrate with Freelancing Platforms.
If you are selling on ecommerce marketplaces or offering services on freelancing platforms, you can connect your Razorpay International Bank Transfer to receive payments directly from these platforms.
## Supported Platforms
International Bank Transfer integrates with:
> [tab] Online Marketplaces
>
> * Amazon.us (United States) - USD
> * Amazon.co.uk (United Kingdom) - GBP
> * Amazon EU (European Union) - EUR
> * Amazon.com.au (Australia) - AUD
> * Amazon DK (Denmark) - DKK
> * SWIFT-based Marketplaces - Multiple currencies
> * Amazon.ca (Canada) - CAD (Coming soon)
> * Amazon.ae (United Arab Emirates) - AED (Coming soon)
> * Amazon CH (Switzerland) - CHF (Coming soon)
> * Amazon.se (Sweden) - SEK (Coming soon)
> [tab] Freelancing Platforms
>
> * Upwork (Global freelancing job marketplace)
> * Deel (Freelance contracts & payouts)
> * Toptal (Elite freelance talent network)
> * Freelancer (Bid-based freelance jobs platform)
> * Fiverr (Freelance services marketplace)
## Online Marketplaces
### Amazon Marketplace Integration
Amazon is one of the most popular platforms for Indian sellers. Here is how you can connect your Razorpay account to Amazon Seller Central.
#### Prerequisites
You must meet the following prerequisites to accept international payments from your customers:
* You must have an Amazon Global Selling account.
* Active Razorpay account with KYC verification completed.
* You must have an active Razorpay account with KYC verification completed.
* You must be an Indian business that falls under one of the following export purpose codes to use MoneySaver Export Account:
| Purpose Code | Description |
| - | - |
| P0103 | Advance receipts against export contracts, which will be covered later by GR/PP/SOFTEX/SDF (other than Nepal and Bhutan). |
| P1004 | Legal services. |
| P1005 | Accounting, auditing and bookkeeping services. |
| P1006 | Business and management consultancy and public relations. |
| P1007 | Advertising, trade fair service. |
| P1008 | Research and Development services. |
| P1009 | Architectural services. |
| P0802 | Software consultancy/implementation (other than those covered in SOFTEX form). |
| P1020 | Wholesale and retailing trade services. |
| P1002 | Trade related services - commission on exports/imports. |
| P1104 | Entertainment services. |
| P1015 | Tax consulting services. |
| P1016 | Market research and public opinion polling service. |
| P1017 | Publishing and printing services. |
| P1019 | Commission agent services. |
| P1107 | Educational services. |
| P1109 | Other personal, cultural and recreational services. |
| P1701 | Receipts on account of processing of goods. |
| P0301 | Purchases towards travel (includes purchases of foreign TCs, currency notes over the counter, by hotels, emporiums, institutions, as well as amount received by TT/SWIFT transfers or debit to non-resident account). |
| P0302 | Business travel. |
| P0304 | Travel for medical treatment including TCs purchased by hospitals. |
| P0305 | Travel for education including TCs purchased by educational institutions. |
| P0306 | Other travel receipts. |
| P0601 | Receipts of life insurance premium. |
| P0602 | Receipts of freight insurance - relating to export of goods. |
| P0603 | Receipts on account of other general insurance premium. |
| P0605 | Receipts on account of auxiliary services (commission on insurance). |
| P0607 | Insurance claim settlement of non-life insurance and life insurance (only term insurance). |
| P0608 | Life insurance claim settlements (excluding insurance) received by residents in India. |
| P0801 | Hardware consultancy/implementation. |
| P0803 | Database, data processing charges. |
| P0804 | Repair and maintenance of computer and software. |
| P0805 | News agency services. |
| P0806 | Other information services - subscription to newspapers, periodicals and so on. |
| P0808 | Telecommunication services including electronic mail services and voice mail services. |
| P1013 | Environmental services. |
| P1014 | Engineering services. |
| P1101 | Audio-visual and related service: Motion picture and video tape production, distribution & projection service. |
| P1103 | Radio and television production, distribution and transmission services. |
| P1105 | Museums, library and archival services. |
| P1106 | Recreation and sporting activity services. |
| P1108 | Health service (receipts on account of services provided by Indian hospitals, doctors, nurses, paramedical and similar services rendered remotely or on-site). |
> [accordion] Integration Steps
>
> Follow the steps given below to change your deposit account in Amazon Seller Central:
>
> 1. Log in to Amazon Seller Central account.
> 2. Navigate to **Settings** and click **Account Info**.
>
> 
> 3. Navigate to the **Payment Information** tab and click **Deposit Methods**.
>
> 
> 4. Enter the relevant bank account details based on your selling region:
> * ACH account โ Amazon USA
> * FPS account โ Amazon UK
> * SEPA account โ Amazon Europe
> * NPP/Osko/BECS Account - Amazon Australia
> * EFT Account - Amazon Canada
> * RIX Account - Amazon Sweden
> 
> 5. Select the **Default Account** check box (Under **Type of Account**) to make Razorpay as your primary deposit method and click **Set Deposit Method**.
>
> 
## Freelancing Platforms
If you are offering services on freelancing platforms, you can connect your Razorpay International Bank Transfer to receive payments directly from these platforms.
> [accordion] Freelancing Platforms
>
> Detailed step-by-step integration guides for each freelancing platform are available on the dashboard:
>
> 1. Log in to the [Razorpay Dashboard](https://dashboard.razorpay.com/app/money-saver/connect-platforms).
> 2. Navigate to **Connect Platforms** on the left navigation with Intl Bank Transfer.
> 3. On Freelancing Platforms section. Click the platform you want to connect (**Upwork**, **Deel**, **Toptal** or **Freelancer**).
> 4. Follow the on-screen instructions to integrate with the specific platform.
>
> 
### Related Information
[Transactions and Invoices](/docs/payments/international-payments/international-bank-transfer/transactions-invoices)
# Flash Links (ACH Debit)
Source: https://razorpay.com/docs/payments/international-payments/international-bank-transfer/flash-links-ach-debit
Accept payments from your US customers directly from their US bank account using ACH Debit (ACH Pull). US payers pay Indian exporters via a familiar pay-by-bank experience, and you receive settlements in INR in your Indian bank account.
Available in
๐ฎ๐ณ India
**ACH Debit** (also known as **ACH Pull**) lets your US customers pay you directly from their US bank account using a familiar "pay by bank" method. Instead of relying on expensive traditional wire transfers, your US buyers authorise a bank debit, and you receive settlements in INR in your Indian bank account.
ACH Debit is available two ways: as a **Flash Link (ACH Debit)** that you generate and share, and automatically as an option at **Razorpay Checkout** for eligible US payments. See [Accept Payments via ACH Debit](#accept-payments-via-ach-debit) for both flows.
ACH Debit is an addition to [International Bank Transfer (MoneySaver Export Account)](/docs/payments/international-payments/international-bank-transfer). It is available only for merchants who have International Bank Transfer activated and Flash Links (ACH Debit) enabled on their account.
> [accordion] Advantages
>
> > [tab] For Your Business
> >
> > * **Lower cost than wire transfers** \\
> >
> > ACH Debit is significantly cheaper than traditional SWIFT wire transfers, letting your US customers pay you without the high per-transfer fees and FX markups of wires.
> >
> > * **Fewer card-related failures at submission** \\
> >
> > Bank-based ACH payments avoid the common card failure reasons, such as expiry, limits or card network blocks. Note that ACH debits can still be reversed after payment through a chargeback. See [Chargebacks and reversals](#chargebacks-and-reversals).
> >
> > * **Familiar experience for US payers** \\
> >
> > US customers pay from their bank account using a method they already use for domestic payments, reducing friction and abandoned payments.
> >
> > * **Suited to high-value B2B payments** \\
> >
> > ACH Debit works well for large invoices where cards are expensive and wires are slow, making it ideal for services and B2B exports.
> >
> > * **Settlement in INR with compliance built in** \\
> >
> > You receive settlements in INR in your Indian bank account, with FIRS and invoice management handled as part of International Bank Transfer.
>
> > [tab] For Your Customers
> >
> > * **Pay directly from a bank account** \\
> >
> > Customers pay from their existing US bank account without needing an international card or visiting a bank branch.
> >
> > * **1-click bank connection** \\
> >
> > Customers can securely connect most US banks through Plaid, so they do not have to enter bank details manually.
> >
> > * **Lower fees than cards or wires** \\
> >
> > ACH Debit typically costs the payer less than international card payments or wire transfers.
> >
> > * **Clear, familiar authorisation** \\
> >
> > Customers review and accept a standard bank authorisation before the payment is submitted, so they always know what they are approving.
## How It Works
1. Activate [International Bank Transfer](/docs/payments/international-payments/international-bank-transfer#activate-international-bank-transfer) and get Flash Links (ACH Debit) enabled on your account (see [Enable Flash Links (ACH Debit)](#enable-flash-links-ach-debit)).
2. Share a Flash Link (ACH Debit) with your US customer, or let ACH Debit appear automatically at Checkout for eligible US payments.
3. Your customer opens the link, connects their US bank account (via Plaid) or enters their bank details, and authorises the ACH debit.
4. The payment is submitted to the ACH network for processing.
5. Track the payment status and timeline on your dashboard.
6. Receive settlement in INR in your Indian bank account.
## Eligibility
The ACH Debit option is shown to a payer only when all of the following are true:
* The payer is located in the **United States** (based on the payer's IP/location).
* The payment currency is **USD**.
* **International Bank Transfer (MoneySaver)** is activated for your account.
* **Flash Links (ACH Debit)** is enabled for your account.
Because eligibility is based on the payer's IP/location, a US payer who is travelling abroad, or connecting through a VPN outside the US, may not see the ACH Debit option.
You must also meet the standard [International Bank Transfer prerequisites](/docs/payments/international-payments/international-bank-transfer#prerequisites), including a valid export purpose code.
## Enable Flash Links (ACH Debit)
Flash Links (ACH Debit) is enabled on top of International Bank Transfer and is not a self-serve dashboard toggle. To get it enabled on your account:
1. Ensure [International Bank Transfer](/docs/payments/international-payments/international-bank-transfer#activate-international-bank-transfer) is already activated.
2. Contact your Razorpay account manager or [Razorpay Support](https://razorpay.com/support/) to request Flash Links (ACH Debit).
Once enabled, ACH Debit becomes available through Flash Links and at Checkout for eligible US payments.
## Accept Payments via ACH Debit
There are two ways your US customers can pay you using ACH Debit.
> [tab] Invoices
>
> Generate a Flash Link (ACH Debit) by creating an invoice from your International Bank Transfer dashboard and sharing it with your US customer:
>
> 1. Log in to the Dashboard and navigate to **Intl Bank Transfer**.
> 2. Create a new invoice and add the **Customer details** and **Items**.
> 3. In the **Payment collection** step, select **Flash Links (ACH Debit)** ("Collect via ACH debit"). You can also enable **Bank Transfer** (where your customer pushes the payment from their bank) on the same invoice.
> 4. Finalise the invoice, then copy the generated link or send it to your customer directly over email from the dashboard.
>
> Because you provide the invoice and customer details while creating the invoice, your customer is not asked to enter their billing address again when they pay.
> [tab] Checkout
>
> If you use Razorpay Checkout, ACH Debit appears automatically as a payment option, with **no API or integration changes required**, when:
>
> * Your account is activated for International Bank Transfer and Flash Links (ACH Debit) is enabled.
> * The payer's location is the United States.
> * The transaction currency is USD.
>
> Your customer selects **ACH Debit** at Checkout to pay from their US bank account.
## Payer Experience
When your US customer pays through a Flash Link (ACH Debit) or at Checkout:
1. The customer selects **ACH Debit** ("Pay directly from bank account").
2. **Connect a bank account:** The customer connects their US bank account through **Plaid**. If they prefer, or if the bank connection is unavailable, they can enter their bank details manually.
* When entering details manually, the customer provides their **routing number** and **account number**.
3. **Provide name and address (if required):** Whether the customer is asked for their name and billing address depends on how the payment was initiated. When you generate a Flash Link (ACH Debit) by creating an invoice from the International Bank Transfer dashboard, these details are captured during invoice creation and are not requested again. When the payment is initiated another way, such as at Checkout, the customer provides their full name and billing address at this step.
4. **Authorise the payment:** The customer reviews and accepts a standard ACH debit authorisation before submitting. The authorisation states that they permit the debit from their bank account and notes the expected processing time. The exact wording is shown on the payment page.
5. **Confirmation:** After submitting, the customer sees a success screen confirming the payment has been submitted to the ACH network for processing. They receive a payment confirmation email once the payment succeeds.
## Track ACH Debit Transactions
You can monitor your ACH Debit payments from the **Transactions** section of your International Bank Transfer dashboard.
* ACH Debit transactions are labelled as **ACH Debit** payments, and you can filter transactions by this method.
* Transaction details include the payment ID, amount, created date, customer details, bank name, account type and the masked bank account number (last 4 digits visible).
* A timeline view shows each status change for the payment.
ACH Debit transactions move through the following statuses:
| Status | Description |
| - | - |
| Authorised | The bank account is verified and the payment has been submitted to the ACH network. This is a transitionary state. |
| Captured | The payment has been processed successfully. |
| Failed | The payment could not be processed and was rejected before capture, for example because of invalid account details or insufficient funds. The failure reason is shown. |
| Refunded | The payment was refunded to the customer by you. See [Refunds](#refunds). |
A captured payment can still be reversed later if the payer raises a chargeback. See [Chargebacks and reversals](#chargebacks-and-reversals).
> [!NOTE]
>
> **Handy Tips**
>
> Because ACH is a bank-based rail with a chargeback window, settlement takes longer than card payments. Settlement is around **T+5 business days from the time the payment is captured, or from when a valid invoice is provided, whichever is later**. As with all International Bank Transfer payments, settlement is not initiated until a valid invoice is available for the transaction.
## Chargebacks and Reversals
ACH Debit is a pull-based payment, so a debit can be reversed by the payer *after* it has been captured through a chargeback. This is different from push-based International Bank Transfer payments, which cannot be reversed.
How a chargeback is handled depends on whether the payment has been settled to you:
* **Chargeback within 3 days of payment:** Razorpay returns the amount directly to the payer, and no settlement occurs to your account.
* **Chargeback after the payment has been settled to you:**
* You are fully liable to return the payment amount, plus any additional processing fees required to send the funds back to the payer.
* Razorpay reserves the right to withdraw the chargeback amount and fees directly from your Razorpay account or linked settlement account.
* For details, refer to the [Razorpay chargeback policy](https://razorpay.com/terms/).
> [!NOTE]
>
> **Handy Tips**
>
> Because of the chargeback window, we recommend confirming that a payment has settled before treating it as final, especially for high-value orders or before shipping goods or delivering services.
## Refunds
Unlike push-based International Bank Transfer payments, ACH Debit transactions **support refunds**.
* Refunds are available for ACH Debit transactions that have been captured.
* Both **full** and **partial** refunds are supported.
* Refunds typically take **5โ10 business days** to appear in your customer's bank account.
* Refund status follows Razorpay's standard refund states (`pending`, `processed`, `failed`), and refund history is visible in the transaction details.
> [!NOTE]
>
> A refund is a return of funds that you initiate. It is different from a [chargeback](#chargebacks-and-reversals), where the payer reverses a captured debit.
## Reports
ACH Debit transactions appear in your payment reports with the following differences:
* The payment **method** column value is `intl_bank_transfer`, and the bank-transfer sub-type is `ach_pull`. Merchants can filter on these column values to isolate ACH Debit transactions.
* The **Card Type** and **Card Network** columns are blank.
* The **Bank Name** and **Account Type** columns are populated for ACH transactions.
* The **failure reason** column is populated for failed transactions.
* The masked bank account number (last 4 digits) is included.
## Pricing
For ACH Debit pricing, refer to the pricing details mentioned [here](https://razorpay.com/accept-international-payments/bank-transfers/).
## Frequently Asked Questions (FAQs)
> [accordion] What is ACH Debit (ACH Pull)?
>
> ACH (Automated Clearing House) is the US electronic bank transfer network. ACH Debit, also called ACH Pull, is a method where the payment is "pulled" from the customer's US bank account after they authorise it. This lets your US customers pay you directly from their bank account instead of using a card or a wire transfer.
> [accordion] Which US banks are supported?
>
> Customers can connect most US banks through Plaid, including major banks. If a customer's bank cannot be connected, they can enter their bank details manually.
> [accordion] Who can pay using ACH Debit?
>
> ACH Debit is available for payers located in the United States paying in USD, when your account has International Bank Transfer activated and Flash Links (ACH Debit) enabled.
> [accordion] What is the settlement timeline?
>
> Settlement for ACH Debit is around T+5 business days from the time the payment is captured, or from when a valid invoice is provided, whichever is later. As with all International Bank Transfer payments, settlement is not initiated without a valid invoice. This is longer than card payments because ACH is a bank-based rail with a chargeback window.
> [accordion] Are refunds supported?
>
> Yes. Full and partial refunds are supported for captured ACH Debit transactions. Refunds typically take 5โ10 business days to reach your customer's bank account. A refund is a return of funds that you initiate, and is different from a chargeback; see the question below.
> [accordion] How are chargebacks handled?
>
> ACH Debit is a pull-based payment, so the payer can reverse a captured debit through a chargeback.
>
> * If the payer issues a chargeback within 3 days of payment, Razorpay returns the amount directly to the payer, and no settlement occurs to your account.
> * If the payer issues a chargeback after the payment has been settled to you, you are fully liable to return the payment amount plus any additional processing fees required to send the funds back to the payer. Razorpay reserves the right to withdraw the chargeback amount and fees directly from your Razorpay account or linked settlement account.
>
> For details, refer to the [Razorpay chargeback policy](https://razorpay.com/terms/). See also [Chargebacks and reversals](#chargebacks-and-reversals).
> [accordion] Do I need to make any changes to my Checkout integration?
>
> No. If you use Razorpay Checkout, ACH Debit appears automatically for eligible US payments (payer located in the US, currency USD) once International Bank Transfer and Flash Links (ACH Debit) are enabled on your account. No API or integration changes are required.
> [accordion] Do I need to upload invoices for ACH Debit transactions?
>
> Yes. As with other International Bank Transfer payments, invoices and buyer details are required for compliance. When you generate a Flash Link (ACH Debit) from the dashboard, you create the invoice as part of the flow. Learn more about [managing invoices and transactions](/docs/payments/international-payments/international-bank-transfer/transactions-invoices).
> [accordion] Will I receive FIRS for these transactions?
>
> Yes. FIRS is provided for International Bank Transfer settlements, including ACH Debit, for your tax and compliance needs. FIRS is sent to your contact email within 24 hours after settlement.
### Related Information
* [International Bank Transfer](/docs/payments/international-payments/international-bank-transfer)
* [Transactions and Invoices](/docs/payments/international-payments/international-bank-transfer/transactions-invoices)
* [Connect Platforms](/docs/payments/international-payments/international-bank-transfer/connect-platforms)
# Manage Invoices and Transactions
Source: https://razorpay.com/docs/payments/international-payments/international-bank-transfer/transactions-invoices
Managing Invoices, Tracking Payments and Monitoring Transactions with Razorpay International Bank Transfer. Know how to upload invoices and track payment status.
Available in
๐ฎ๐ณ India
For every international payment you receive through International Bank Transfer, you must upload an invoice and buyer details to comply with RBI and banking partner requirements. This guide explains how to manage invoices and track your transactions.
> [!WARNING]
>
> **Watch Out!**
>
> Uploading invoices and business/buyer details is mandatory for all International Bank Transfer transactions (not required for Amazon, Upwork and Freelancer platform transactions). Without these documents, your payment cannot be settled to your Indian bank account.
## Uploading Invoices and Business/Buyer Details
There are two ways to add invoice and buyer details for your payments:
> [tab] Dashboard Homepage (Recent Transactions)
>
> This is the quickest method when you are on your dashboard homepage:
>
> 1. Log in to the Dashboard and navigate to **Intl Bank Transfer**.
> 2. On the homepage, scroll to the **Recent transactions** section. You will see the list of your most recent transactions.
> 3. Look for payments with a CTA - **+ Add Details**. These payments require invoice details.
> 4. On the right side, click **+ Add Details**.
>
> 
> 5. On the dialog box, you can drag and drop or click **Upload**.
>
> 
> 6. Enter **Business/buyer name** and other required details.
> 7. Click **Submit**.
>
> After the invoice is uploaded and the address details are added, payment will be captured within 60 minutes.
> [tab] Transactions Tab
>
> This method is useful when you want to see all pending invoices at once:
>
> 1. From the left navigation menu, click **Transactions**. You will see the list of all your transactions.
> 2. At the top, you will see two filter tabs:
> * **All**: Shows all transactions.
> * **Pending Actions**: Shows only transactions that requires invoices.
> 3. Look for payments with a CTA - **+ Add Details** and settlement status **Not Initiated**. These payments require invoice details.
> 4. On the right side, click **+ Add Details**.
>
> 
> 5. On the dialog box, you can drag and drop or click **Upload**.
>
> 
> 6. Enter **Business/buyer name** and other required details.
> 7. Click **Submit**.
>
> After the invoice is uploaded and the address details are added, payment will be captured within 60 minutes.
### Related Information
[International Bank Transfer](/docs/payments/international-payments/international-bank-transfer)
# International Debit and Credit Cards
Source: https://razorpay.com/docs/payments/international-payments/international-debit-credit-cards
Enable/disable international payments using foreign cards. Check the eligibility criteria, prerequisites and the application process.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Accept international payments from foreign bank cards by enabling international payments on your Dashboard..
> [!NOTE]
>
> **Feature Enablement**
>
> International payments require special security and risk checks. We enable this feature only after our banking partners have approved it, ensuring compliance and protecting against fraud.
## Enable Payments from International Debit and Credit Cards
To enable international payments for the first time, place a request from the Dashboard.
> [accordion] Eligibility and Prerequisites
>
> You must meet the following eligibility criteria set by our banking partners to accept international payments:
>
> * You must have an active Razorpay account with KYC verification completed.
> * You must have a valid website with the following sections/pages clearly defined:
> * **Terms and Conditions**
>
> * **Privacy policy**
>
> * **Refund and Cancellation policy**
>
> * **Shipping policy**
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > International payments cannot be enabled for your account without these sections/pages on your website.
>
> * Check the list for the [business categories not supported by Razorpay](https://razorpay.com/terms/).
> [accordion] Application Process
>
> To request international payments:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** โ **International payments** (under Payment methods).
> 3. Click **Activate** to enable the International cards.
>
> 
> 4. Follow the on-screen instructions to provide any additional details or documentation required for activation.
> [accordion] Documents and Details Required
>
> 1. In case of sales of tangible products, Import/Export code is required.
> 2. If you have past international transaction experience, the following documents are accepted:
> * Bank statement for inward remittance.
> * Settlement record from the current payment partner.
## Disable Payments from International Debit and Credit Cards
You can disable the **International payments** option on your account from your Dashboard.
1. Log in to the Dashboard.
2. Navigate to **Account & Settings** โ **International payments** (under Payment methods).
3. Use the toggle button to enable or disable international card payments.

# Local Payment Methods
Source: https://razorpay.com/docs/payments/international-payments/local-payment-methods
Offer local payment methods as a payment method to customers at Razorpay Checkout.
Available in
๐ฎ๐ณ India
Razorpay supports the following local payment methods instruments to accept payments across different geographies and varied currencies.
* [Giropay](/docs/payments/payment-methods/giropay) for German customers.
* [Sofort](/docs/payments/payment-methods/sofort) for European customers.
* [Trustly](/docs/payments/payment-methods/trustly) for UK and European customers.
* [POLi](/docs/payments/payment-methods/poli) for Australian customers.
You can accept international payments from customers in the form of online local payment methods using the Razorpay Checkout form.
## Request Local Payment Method
To request Local Payment Method, follow these steps:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings** โ **International payments** (under Payment methods).
3. Click **Activate** beside **Local payment methods**.

4. An **Instant Bank Transfers Activation** request form appears. Select the payment instrument to be enabled on your Checkout. Click **Save & Next**.
> [!NOTE]
>
> **Handy Tips**
>
> You can use one or multiple payment instruments as per your needs.

5. Fill in the required details and click **Save & Next**.
> [!NOTE]
>
> **Handy Tips**
>
> * If you are an existing business, some of the required details will be auto-filled.
> * You can click the **Edit** button to fill in the incomplete details before submitting the form.

6. Fill in the **Management/Ownership** details in the form. When complete form details are filled, click **Submit form** button.

7. After the form is submitted, the request is sent to activate the selected payment instruments. The feature enablement request goes to our banking partners and will take 15 - 20 business days to be approved.

After the payment instrument is enabled, you will see the **Activated** status beside the selected one.

## Frequently Asked Questions (FAQs)
> [accordion] Am I eligible for this feature?
>
> All international-enabled businesses will have this feature on the Dashboard.
> [accordion] What are the alternative payment methods available via Razorpay?
>
> Razorpay already supports PayPal, and has now launched POLi for Australians, Trustly for the UK and Europeans, Sofort for Europeans and Giropay for German customers.
> [accordion] What are the prices for Alternative Payment Methods?
>
> You will be charged 3.0% Platform fee for accepting payments via the **Local Payment Methods**.
> [accordion] Why is my request rejected?
>
> The request can be rejected due to multiple reasons:
>
> * Risky business category: The respective payment method (lets say, Trustly) is not comfortable with your business model.
> * Incorrect account details: The banking partner rejects your request if you have provided any incorrect information at the time of your application.
> * Outdated website: The customer-facing website is thoroughly checked by our banking partners. The banking partner can reject your request if the website is not updated or has a limited information, including details such as **Terms & Conditions**, **Delivery timelines**, **Refund & Cancellation** policies and so on.
> [accordion] Is this feature available on all Razorpay integrations?
>
> We will give early access to sellers on Razorpay Standard Checkout. The feature will be rolled out to custom and server-to-server (s2s) integration in the upcoming sprints.
> [accordion] How much time will it take for my request to get approved?
>
> The feature enablement request goes to our banking partners and will take 15 - 20 business days to be approved.
# Accept Payments Above Your Transaction Limit
Source: https://razorpay.com/docs/payments/international-payments/over-limit-transactions
Know how we accept and hold international card payments above your transaction limit instead of declining them, and how long we hold each one.
Available in
๐ฎ๐ณ India
International card payments above your transaction limit are no longer declined. We accept and hold the payment for a set period, then settle it to you.
A ceiling still applies. We decline any payment above your ceiling, as we did before. Your ceiling is set for your account and is usually higher than your limit. Most large payments that used to fail now reach you.
Your customer sees no difference. The payment succeeds as normal.
> [!NOTE]
>
> **Handy Tips**
>
> Every amount, percentage and hold period on this page is an example. Your own terms appear in your Razorpay Dashboard.
## Prerequisites
Over-limit payments apply to your account when:
* Your account is KYC approved and fully activated. Know more about [KYC Verification](/docs/payments/set-up#set-up-a-razorpay-account-and-complete-kyc).
* You have international payments enabled. Know more about [International Payments](/docs/payments/international-payments).
* We have enabled over-limit payments on your account and set your limits, hold periods and ceiling.
These limits and holds apply only to international card payments. Your domestic payments are unaffected, and their [transaction limits](/docs/payments/payment-methods/transaction-limits) are unchanged.
## Use Cases
* A customer places an order larger than your usual ticket size. Earlier we declined the payment. Now we accept it, hold it and settle it to you.
* You run a seasonal or high-value campaign where order values rise above your normal limit. Your customers complete payment as usual instead of seeing a failure.
## Your Transaction Limits
**Your limit** decides when we hold a payment. Above it, the payment still goes through. It only takes longer to settle.
**Your ceiling** decides whether we accept the payment at all. Above it, we decline the payment and it never reaches you.
You have 2 limits. One covers your **non-3DS payments**, which the customer's bank did not verify before they went through. The other covers your 3DS payments and is the higher of the two. A single ceiling sits on top of both. Know more about [Support for Non-3D Secure Transactions](/docs/payments/international-payments/support-non-3ds).
## How it Works
1. Your customer makes an international card payment above your transaction limit.
2. We accept and capture the payment as usual.
3. We hold the full payment for a set number of days. The period depends on which limit the payment crossed.
4. We release the amount to your balance on the release date.
5. The released amount settles on your normal settlement cycle.
We decline any payment above your ceiling at step 1, so it never reaches your balance.
## Hold Periods for Over-Limit Payments
For this section, take an account with the terms in the table below:
| Category | Amount |
| - | - |
| Limit on non-3DS payments | โน3,00,000 |
| Limit on your 3DS payments | โน5,00,000 |
| Ceiling | โน20,00,000 |
The table below lists how long we hold a payment on this account:
| The Payment | What Happens |
| - | - |
| Over โน3,00,000, if it is a non-3DS payment | We hold it for 90 days, then it settles |
| Over โน5,00,000, if it is one of your 3DS payments | We hold it for 60 days, then it settles |
| Over โน20,00,000 | We decline it |
We hold non-3DS payments for longer because disputes on them are more likely.
Keep these points in mind:
* **We hold the whole payment, not only the amount above your limit.** On a โน6,00,000 3DS payment against a โน5,00,000 limit, we hold all โน6,00,000, not the โน1,00,000 above the limit.
* **The hold period does not change with the amount.** A payment slightly above your limit is held for exactly as long as one well above it. The period depends on which limit the payment crossed, not by how much.
> [accordion] Example: 6 payments taken on day 1
>
> Your settlement cycle is T+7, so anything settling normally reaches you on day 8. The table below lists what happens to each payment:
>
> | S. No. | Payment | Amount | What Happens |
> | - | - | - | - |
> | 1 | 3DS | โน2,00,000 | Within the limit. Settles on day 8. |
> | 2 | Non-3DS | โน2,50,000 | Within the limit. Settles on day 8. |
> | 3 | Non-3DS | โน4,00,000 | Above the โน3,00,000 limit. Held in full, released on day 91. |
> | 4 | Non-3DS | โน8,00,000 | Above the โน3,00,000 limit. Held in full, released on day 91. |
> | 5 | 3DS | โน8,00,000 | Above the โน5,00,000 limit. Held in full, released on day 61. |
> | 6 | 3DS | โน22,00,000 | Above the โน20,00,000 ceiling. Declined. |
>
> Payments 1 and 2 behave as they did before. We would have declined payments 3, 4 and 5 before this change, and they now reach you, only later than usual. We still decline payment 6.
>
> Payments 3 and 4 differ in size but wait the same length of time. Payment 3 is smaller than payment 5 yet waits a month longer. It crossed the non-3DS limit, which carries the longer hold.
## When Your Non-3DS Payments Have a Lower Limit
If you asked us to enable non-3DS payments, they usually carry their own limit. That limit is lower than the one on the rest of your payments. Payments between that limit and your ceiling still go through.
These payments are not held. They settle on the timeline set for that band, which is longer than your normal cycle. The timeline depends on your terms.
The two accounts below show the range. Both carry their own limits and their own ceiling, different from the account used above.
> [accordion] Example 1: Your non-3DS payments settle on your normal cycle
>
> The table below lists the terms on this account:
>
> | Configuration | Your 3DS Payments | Your Non-3DS Payments |
> | - | - | - |
> | Limit | โน5,00,000 | โน3,00,000 |
> | Settlement timeline within its limit | T+7 | T+7 |
> | Settlement timeline in the band above its limit | None | 60 days |
> | Ceiling | โน5,00,000 | โน5,00,000 |
>
> The table below lists when each payment settles:
>
> | Payment Amount | If It Is One of Your 3DS Payments | If It Is a Non-3DS Payment |
> | - | - | - |
> | Up to โน3,00,000 | Settles on day 8 | Settles on day 8 |
> | โน3,00,001 to โน5,00,000 | Settles on day 8 | Settles on day 61 |
> | Above โน5,00,000 | Declined | Declined |
>
> Below โน3,00,000 every payment settles on day 8. Only the โน3,00,000 to โน5,00,000 band behaves differently, and only for non-3DS payments.
>
> On this account the ceiling equals the limit on your 3DS payments. We therefore never hold a 3DS payment here. We decline it above โน5,00,000.
> [accordion] Example 2: Your non-3DS payments already settle on a longer cycle
>
> Some accounts carry a [reserve](/docs/payments/settlements/reserves) on their non-3DS payments, so those payments settle on a longer cycle to begin with. The lower limit then sits inside that longer cycle. A payment in the band waits longer still, rather than waiting twice.
>
> The table below lists the terms on this account:
>
> | Configuration | Your 3DS Payments | Your Non-3DS Payments |
> | - | - | - |
> | Limit | โน5,00,000 | โน3,00,000 |
> | Settlement timeline within its limit | T+7 | T+50 |
> | Settlement timeline in the band above its limit | None | 120 days |
> | Ceiling | โน5,00,000 | โน5,00,000 |
>
> The table below lists when each payment settles:
>
> | Payment Amount | If It Is One of Your 3DS Payments | If It Is a Non-3DS Payment |
> | - | - | - |
> | Up to โน3,00,000 | Settles on day 8 | Settles on day 51 |
> | โน3,00,001 to โน5,00,000 | Settles on day 8 | Settles on day 121 |
> | Above โน5,00,000 | Declined | Declined |
>
> As in Example 1, the ceiling equals the limit on your 3DS payments. We therefore never hold a 3DS payment on this account.
In both examples, read the middle row. A โน4,00,000 3DS payment sits inside the โน5,00,000 limit and settles on day 8. The same โน4,00,000 as a non-3DS payment falls in the band above โน3,00,000 and settles later. The group the payment falls into decides the outcome, not its size.
## Raise Your Transaction Limit
Raise a support request from your Razorpay Dashboard to increase your transaction limit or your ceiling. We review your account and your use case before deciding, and may ask you for additional documents.
If we accept the request, your new limits and hold periods apply from that point. Raising your limit also raises your ceiling, because we work out the ceiling from your limit.
## Turn Off Over-Limit Payments
Raise a support request from your Razorpay Dashboard to turn this off. Once we action it, we decline over-limit international card payments and hold nothing, as we did before. Raise another request whenever you want it turned back on.
We may also turn it off on your account, for example where compliance or risk requirements call for it.
## Notifications
We email you when:
* We approve your request to raise your limit or your ceiling. The email confirms your new limits and hold periods.
* We turn off over-limit payments on your account.
## View Your Limits and Held Payments
Your Razorpay Dashboard shows your current limits and your ceiling under **Settings**. Any held amount appears under **Settlements**, with the date we release it. Each held payment links back to the payment it came from. Use it to see which payments are waiting and when we release each one.
Your settlement report shows the amount held against each settlement, so your books tie back. Know more about [settlement reports](/docs/payments/settlements/dashboard#reports).
## Frequently Asked Questions (FAQs)
> [accordion] Is there an amount you still decline?
>
> Yes. We decline anything above your ceiling. Your ceiling appears in your Razorpay Dashboard alongside your limits.
> [accordion] What is the difference between my limit and my ceiling?
>
> Your limit affects **when** you get the money. Your ceiling affects **whether** you get it. We accept a payment above your limit and settle it to you, only later than usual. We decline a payment above your ceiling.
> [accordion] Do you hold the whole payment, or only the part above my limit?
>
> The whole payment. On a โน6,00,000 payment against a โน5,00,000 limit, we hold all โน6,00,000, not โน1,00,000.
> [accordion] Why do you hold two payments of similar size for different lengths of time?
>
> Because they crossed different limits. Non-3DS payments carry a lower limit and a longer hold. Your Razorpay Dashboard shows which of your payments fell into which group.
> [accordion] Does the hold get longer the further above the limit I go?
>
> No. It is the same whether you are โน1,000 above or โน5,00,000 above.
> [accordion] Will my customer know anything is different?
>
> No, unless the payment is above your ceiling, in which case it fails as it would have before. Otherwise the payment goes through normally, and the hold affects only when the money reaches you.
> [accordion] Is the held amount a fee?
>
> No. It is your money. We hold it temporarily and settle it to you in full. We charge no fee on it and nothing accrues on it.
> [accordion] Does this apply to my domestic payments?
>
> No. These limits and holds apply only to international card payments.
> [accordion] Can I ask for an over-limit payment to be released early?
>
> Raise a request from your Razorpay Dashboard. Early release is at our discretion. We look at each request case by case, against the payment, your account history and your dispute record. If we approve it, the amount joins your normal settlement pipeline rather than being paid out immediately.
> [accordion] What happens if I need to refund the payment before it settles?
>
> We pay refunds from your live balance or your refund credits. You cannot refund from a held payment until we release it. Keep enough live balance available if you expect to refund large payments.
> [accordion] Can I have this turned off permanently?
>
> Yes. Raise a support request and we will turn it off, after which we decline over-limit payments as we did before.
### Related Information
* [Reserves on International Payments](/docs/payments/settlements/reserves)
* [Support for Non-3D Secure Transactions](/docs/payments/international-payments/support-non-3ds)
* [Transaction Limits for Payment Methods](/docs/payments/payment-methods/transaction-limits)
* [About Settlements](/docs/payments/settlements)
# About Purpose Codes
Source: https://razorpay.com/docs/payments/international-payments/purpose-codes
Learn about Purpose Codes (definition, list and selection) and enabling international payments.
Available in
๐ฎ๐ณ India
A purpose code is a unique identifier issued by a country's central bank that is necessary for the successful execution of international payments. These codes are assigned to each transaction involving foreign currency and specify the purpose for which the transaction is being made.
The purpose codes are issued by the Reserve Bank of India (RBI) to specify the nature of foreign currency transactions. For Indian businesses, receiving payments from foreign customers is an **inward remittance**, and sending payments abroad for goods or services is an **outward remittance**.
* Each payment must be tagged with an appropriate purpose code, with separate codes for import and export transactions.
* Export purpose codes begin with 'P', while import purpose codes start with 'S'.
> [!WARNING]
>
> **Watch Out!**
>
> It is mandatory to add the purpose codes during international payment enablement. Failure to do so will result in compliance issues and delays in transactions.
## Select Correct Purpose Code
You must select the correct purpose code to avoid issues related to regulation compliance.
For example, a software development startup in India exporting software to the United States should choose the appropriate purpose code, such as "P0802 - Software consultancy/implementation" when receiving payments. This ensures that the RBI and banks understand the exact nature of the transaction and aids in compliance with Indian regulations.
To select the correct purpose code, make sure to:
* **Check RBI Purpose code list**: Refer to RBI's comprehensive list of purpose codes and their corresponding descriptions to choose the correct purpose code. You can check with your bank for the purpose code list.
* **Engage with Chartered Accountants (CAs)**: CAs can assist in identifying the correct purpose code for your specific business activities.
> [!WARNING]
>
> **Watch Out!**
>
> Incorrect use of purpose codes can lead to non-compliance with Foreign Exchange Management Act (FEMA) regulations and reporting issues to regulatory agencies. For example, if the purpose of a transaction does not align with the assigned purpose code, it may result in errors when reporting to regulatory authorities.
## List of Purpose Codes
Download the complete [list of transaction purpose codes](https://razorpay.com/docs/build/browser/assets/images/transaction_purpose_codes.xlsx) you can select during the onboarding process. \
> [!NOTE]
>
> **Handy Tips**
>
> The purpose code selected will apply to all international business transactions.
## Accept Payments from International Customers
> [card] [New Razorpay User](/docs/payments/international-payments/purpose-codes#new-razorpay-user)
>
> Steps to accept payments from international customers if you are a new user.
> [card] [Existing Razorpay User](/docs/payments/international-payments/purpose-codes#existing-razorpay-user)
>
> Steps to accept payments from international customers if you are an existing user.
### New Razorpay User
To enable international payments and accept payments from international customers for new users:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings** โ **International payments** (under Payment methods).
3. Select the payment method you wish to activate, such as **International Cards** or **International Bank Transfers** and click **Activate** button corresponding to the payment method.
4. On the **International activation form** page, under Business Details, enter all the details based on the business requirements and click **Continue**.
5. On the Purpose code page, select the correct purpose code from the list and click **Continue**.

6. On the **Importer - Exporter code** page:
* If you have an IE code, select **Yes**. Enter the 10-digit **IE code** and select **I agree to the Terms and Conditions**. Click **Continue**.
* If the IE code does not apply to you, select **No, because it is not applicable for me** and click **Continue**.
* If you do not have an IE code but want to apply, select **No, but I want to apply for it**, and click **Apply now**.
7. On **Supporting details** page, enter all the supporting details and click **Submit details**.
Once the details are submitted, the Razorpay Activation/Operations team verifies them. After the verification process is complete, you can start accepting payments.
### Existing Razorpay User
To update purpose codes if you are an existing user and have already enabled international payments:
1. Click **International Payments Codes** under **International payment settings**.
2. Update your purpose code under the **International Payment Codes** section.

3. Select the appropriate **Purpose Code**.
Based on your business requirements, you also need to provide your **HS Code** or **IEC Code**.
> [tab] Add HS Code
>
> 1. Click **International Payments Codes** under **International payment settings**.
>
> 2. Update your HS Code under the **International Payment Codes** section.
>
> 
>
> 3. Select the appropriate **Harmonised System Code**, also known as HS Code.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * For Software: HSCode is **85238020** and HSDescription is **Other Information technology software**.
> > * For Goods: Refer to the list from the [DGFT website](https://www.dgft.gov.in/CP/).
> [tab] Add IEC Code
>
> 1. Click **International Payments Codes** under **International payment settings**.
>
> 2. Update your **IEC Code** under the **International Payment Codes** section.
>
> 
>
> 3. Select the appropriate **Purpose Code**.
>
> 4. Enter the 10-digit Importer/Exporter Code (IEC) and click **Next**.
>
> 
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > The IEC is a code issued by the Indian Director General of Foreign Trade (DGFT) to Indian companies that intend to export from India. You can apply for an IEC at the [DGFT website](https://www.dgft.gov.in/CP/).
> >
> > The IEC code input screen appears for specific purpose codes, (P0103) being one of them.
4. Review and click **Confirm**. The Razorpay Activation/Operations team verifies the selected **Purpose Code**.
As consumers or buyers, you get the option to make payments through the [Razorpay payment gateway](/docs/payments/payment-gateway). On selecting Razorpay, various payment methods will be displayed at the Razorpay checkout to complete the payment.
# Superior Plan Integration Guide
Source: https://razorpay.com/docs/payments/international-payments/superior-plan
Send customer and order details with your international card payments to get the full benefit of the Razorpay Superior plan.
Available in
๐ฎ๐ณ India
The Superior plan raises your success rate on international card payments by approving more of them. It also covers fraud chargebacks on your international card payments, with no change to your settlement cycle. Superior was earlier called Chargeback Shield.
To get the full benefit, send a few extra details with each order: who the customer is, what they are buying and, for travel, who is travelling. Our risk model uses these details to approve genuine payments it would otherwise decline.
This page links to the integration guide for your checkout type and business category.
## Prerequisites
* Superior is active on your account. Turn it on or off from the **Superior Plan** card on your Razorpay Dashboard.
* Your business is in one of the [categories that need extra details](#categories-that-need-extra-details).
## Categories That Need Extra Details
Superior covers international card payments in every business category. The extra details on this page are needed today only for these categories:
* E-commerce
* Digital services, for example, edtech, SaaS, insurance and web development
* Airlines and online travel agencies (OTAs)
* Hotels
If your business is in another category, there are no extra details to send yet.
> [!NOTE]
>
> **Handy Tips**
>
> * You do not need to send extra details for recurring and subscription payments.
> * Shopify stores need no integration. We collect the details through the Shopify app, so you can skip this guide.
## Choose Your Integration Guide
Pick the row for how you accept payments and the column for what you sell. Each guide lists the exact fields to send and where to send them.
| How You Integrate | E-commerce and Digital Services | Airlines and OTAs | Hotels |
| - | - | - | - |
| Standard Checkout | [E-commerce and digital guide](/docs/payments/payment-gateway/web-integration/standard/chargeback/build-integration-ecommerce) | [Travel guide](/docs/payments/payment-gateway/web-integration/standard/chargeback/build-integration-travel) | [Hotel guide](/docs/payments/payment-gateway/web-integration/standard/chargeback/build-integration-hotel) |
| Custom Checkout | [E-commerce and digital guide](/docs/payments/payment-gateway/web-integration/custom/chargeback/build-integration-ecommerce) | [Travel guide](/docs/payments/payment-gateway/web-integration/custom/chargeback/build-integration-travel) | [Hotel guide](/docs/payments/payment-gateway/web-integration/custom/chargeback/build-integration-hotel) |
| S2S | [E-commerce and digital guide](/docs/payments/payment-gateway/s2s-integration/json/v2/build-integration/international-cards/e-commerce) | [Travel guide](/docs/payments/payment-gateway/s2s-integration/json/v2/build-integration/international-cards/travel) | [Hotel guide](/docs/payments/payment-gateway/s2s-integration/json/v2/build-integration/international-cards/hotel) |
### Category Tips
* **Digital services**: Follow the e-commerce and digital guide. Skip the shipping address, which does not apply to digital services.
* **Airlines**: Pass the full flight number in `carrier_code`.
* **Travel and hotels**: Pass the customer's billing address inside the `customer_details` object.
* **S2S integrations**: Add the Razorpay Shield JS script to your checkout page first. This is step 1.1 of each S2S guide.
## How the Integration Works
1. **Build**: Follow your guide from the table above. Send all mandatory fields. Recommended fields improve approvals further.
2. **Test**: Run test payments in test mode. Use the Test Integration page for [Standard Checkout](/docs/payments/payment-gateway/web-integration/standard/chargeback/test-integration) or [Custom Checkout](/docs/payments/payment-gateway/web-integration/custom/chargeback/test-integration).
3. **Go live**: Complete the Go-Live Checklist for [Standard Checkout](/docs/payments/payment-gateway/web-integration/standard/chargeback/go-live-checklist) or [Custom Checkout](/docs/payments/payment-gateway/web-integration/custom/chargeback/go-live-checklist) and switch to live API keys. Once the details are flowing in production, tell your account manager or raise a support request from your Razorpay Dashboard.
4. **Integration audit**: Our team audits your orders to check that the fields are passing through correctly. We tell you if any further changes are needed.
5. **Enhanced approvals on**: Once your integration is complete and correct, you get the full benefit of the Superior plan.
### Related Information
* [International Payments](/docs/payments/international-payments)
* [Support for Non-3D Secure Transactions](/docs/payments/international-payments/support-non-3ds)
* [International Chargebacks](/docs/payments/disputes/international-chargebacks)
* [Visa Merchant Elevated Risk Program (MERP)](/docs/payments/international-payments/visa-merp)
# Support for Non-3D Secure Transactions
Source: https://razorpay.com/docs/payments/international-payments/support-non-3ds
Enable or disable Non-3DS international card payments from Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
You can enable or disable Non-3D secure international card payments using your Dashboard..
## Prerequisites
Following are the prerequisites to enable/disable Non-3D secure international card payments:
* You must have an active Razorpay account with KYC verification completed.
* You must have [international payments](/docs/payments/international-payments) enabled for your account.
## Enable/Disable Support for Non-3D Secure Transactions
To enable/disable Non-3D Secure transactions, follow these steps:
> [tab] Enable
>
> 1. Log in to the Dashboard.
>
> 2. Navigate to **Account & Settings** โ **Payment Methods**.
>
> 3. Select **International Payments** and click **Request** besides **Support for Non-3D Secure transactions** under **International Cards**.
>
> 
>
> 4. A request pop-up is displayed to confirm if you want to enable the support for Non-3D Secure transactions. Click request.
>
> > [!NOTE]
> >
> > **Feature Enablement**
> >
> > * The Razorpay Risk team analyses your request for support on Non-3D Secure transactions. The team can either accept or reject your request based on certain parameters.
> > * **Non-3DS cards are processed without second-factor authentication**. These international card payments are prone to a higher risk of fraud and chargebacks. In case of any fraud or service-related chargeback, Razorpay does not take the responsibility and the liability lies with the seller.
>
> 
> [tab] Disable
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** โ **Payment Methods**.
> 3. Select **International Payments** and click on the **Disable** button to disable the support for Non-3D Secure transactions. The **Request** button gets displayed once again.
### Related Information
* [Reserves on International Payments](/docs/payments/settlements/reserves)
* [Accept Payments Above Your Transaction Limit](/docs/payments/international-payments/over-limit-transactions)
# Visa Merchant Elevated Risk Program (MERP)
Source: https://razorpay.com/docs/payments/international-payments/visa-merp
Know what the Visa Merchant Elevated Risk Program (MERP) is, who it applies to and how the Razorpay Superior plan lowers your risk of being identified.
Available in
๐ฎ๐ณ India
The Visa Merchant Elevated Risk Program (MERP) is a Visa monitoring programme for the Asia Pacific region, enforced from October 2026. It identifies individual merchants showing clear, high-confidence signs of elevated risk: disproportionate fraud and disputes, abnormal activity and unusual decline behaviour.
Unlike Visa's portfolio-level programmes, MERP does not wait for a merchant to reach high volumes. A merchant can be identified early in its processing history.
The Razorpay [Superior plan](/docs/payments/international-payments/superior-plan) significantly lowers your chance of being identified. We screen your international card payments for fraud before they reach Visa and cover fraud chargebacks on payments processed under the plan. Know more about [how the Superior plan helps](#how-the-superior-plan-helps).
## Who MERP Applies To
MERP applies to merchants accepting Visa payments through acquirers in the Asia Pacific region. This includes all Razorpay merchants in Asia Pacific.
Visa evaluates each merchant individually and identifies it by its statement descriptor. Merchants most likely to be identified are those:
* Seeing sudden spikes in transaction count or volume, or activity at unusual times.
* Seeing a rise in fraud reports, disputes or card declines.
* Processing activity that does not match the business they were onboarded for.
## Consequences of a MERP Identification
If Visa confirms an identification, the outcome can range from penalties of up to USD 50,000 to losing the ability to accept card payments.
| Consequence | What It Means for You |
| - | - |
| Network non-compliance assessments | Visa levies assessments on the acquirer, which can be passed on to you. |
| Fraud chargebacks on authenticated payments | Issuers can raise fraud chargebacks on past payments that were reported as fraud. Payments you considered settled can be charged back. |
| Remediation | You may need to explain the flagged activity and document the controls you put in place. |
| Account restriction or closure | Your international card payments may be suspended or your account closed. |
We have a fixed window to respond to Visa after an identification. If we ask you for information, respond within the timeline in our request so we can contest the identification where the evidence supports it.
## How the Superior Plan Helps
MERP identifications are driven by fraud and disputes. The Superior plan helps you accept more international card payments while tackling fraud at the source.
* **Fraud screening**: Our risk engine checks every international card payment on the Superior plan and blocks high-risk payments before they reach Visa. Fewer fraudulent payments mean fewer fraud reports and fraud chargebacks, the core signals behind a MERP identification.
* **Ongoing monitoring**: We continuously monitor your fraud, dispute and decline signals on international payments.
* **Fraud chargeback cover**: If a fraudulent payment does get through, we cover the fraud chargeback on payments processed while the Superior plan was active.
> [!NOTE]
>
> **Handy Tips**
>
> A payment is covered only if it was processed while the Superior plan was active on your account.
## Reduce Your MERP Risk
Moving to the Superior plan is the most direct way to lower your MERP risk. Superior takes care of fraud, but service chargebacks still count towards MERP. These come from customers who, for example, did not receive their order, were not happy with it or forgot about a subscription. The practices below help you keep them low on international payments:
* **Delivery**: State timelines before checkout, flag delays with a refund option, ship with tracking, take a signature for high-value orders and keep stock levels accurate.
* **Product and pricing**: Use accurate descriptions and images, show the full price including taxes and shipping, publish a clear refund policy and keep a check on products that draw a lot of disputes.
* **Subscriptions**: Confirm billing terms upfront, make cancellation easy and send reminders before trials convert and before renewals (7 days before a yearly renewal, 2โ3 days before a monthly one).
* **Recognisable payments**: Use a clear statement descriptor, a support contact and clear receipts.
## If You Are Identified Under MERP
Visa notifies our acquiring bank and we contact you by email. What follows:
1. **Investigation**: We review your activity and may ask for business details, invoices for goods sold, fulfilment proof or transaction receipts. Respond within the timeline in the request.
2. **Contest or remediate**: Where the evidence supports it, we contest the identification with Visa. Either way, we may need a remediation plan, which can require changes from you.
3. **Chargebacks**: For several months after an identification, issuers can raise fraud chargebacks on past payments that were reported as fraud. These are debited from your balance.
4. **Network penalties**: If Visa levies a non-compliance assessment for your identification, we may pass it on to you.
5. **Ongoing monitoring**: We may apply limits, reserves or added checks on your international payments, or suspend them, until risk returns to normal.
### Related Information
* [Superior Plan Integration Guide](/docs/payments/international-payments/superior-plan)
* [International Chargebacks](/docs/payments/disputes/international-chargebacks)
* [Disputes](/docs/payments/disputes)
# About Orders
Source: https://razorpay.com/docs/payments/orders
All about Razorpay Orders, their states and Razorpay Dashboard actions.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Order is an important step of the payment life cycle at Razorpay. When a customer clicks the pay button on your website or app, an order is created with a unique identifier. This contains details such as the transaction amount and currency. The order id secures the payment request and one cannot tamper with the order amount. Pass this order id to the Razorpay Checkout.
You need to integrate your server with Orders API before proceeding with Razorpay Payment Gateway integration on your website or app.
### Advantages
* Single successful payment bound to an order. Prevents multiple payments.
* Quick and easy query in the database. Combines multiple payment attempts for a single order.
## Order States
Following are the various states of an order:
| Status | Description |
| - | - |
| `created` | When a new order is created, it is in the `created` state. It stays in this state until payment is attempted on it. |
| `attempted` | An order moves from `created` to `attempted` state when payment is first attempted on it. It remains in the `attempted` state until a payment associated with that order is captured. |
| `paid` | After the payment is captured successfully, the order moves to the `paid` state. No further payment requests are allowed once the order moves to the `paid` state. The order continues to be in the `paid` state even if the payment associated with the order is refunded. If another payment attempt that started before the order moved to `paid` is authorised later, for example, a late authorised payment, that payment is [auto-refunded](/docs/payments/refunds/auto-refunds). |
> [!WARNING]
>
> **Watch Out!**
>
> If an order is in anย `attempted`ย state with the associated payment id in theย `authorised`ย state, initiating another payment using the same order id is not allowed.
## Order and Payment Flows
Following is a pictorial representation of how order and payment flows are closely related:

## Create Orders
You can [create an order using this API](/docs/api/orders/create).
## Dashboard Actions
Perform the following actions using the Dashboard:
* [View orders](/docs/payments/orders/dashboard#view-order-details-using-api)
* [Subscribe to Webhook Events related to orders](/docs/payments/orders/dashboard#subscribe-to-webhook-events)
* [View reports related to orders](/docs/payments/orders/dashboard#reports)
### Related Information
[Orders APIs](/docs/payments/orders/apis)
# Orders APIs
Source: https://razorpay.com/docs/payments/orders/apis
List of Orders APIs available to perform various actions.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can use the Orders APIs to perform various actions. You can perform a few of these actions from the Dashboard as well.
## List of Orders APIs
The table below lists the various Orders APIs and gives a brief description of each API:
| API | Description |
| - | - |
| [Create an order](/docs/api/orders/create) | API to create an order |
| [Fetch orders](/docs/api/orders/fetch-all) | API to view all orders |
| [Fetch orders with expanded payments object](/docs/api/orders/fetch-all-expanded-payments) | API to view all orders with expanded payments object |
| [Fetch orders with card parameter expanded in payments object](/docs/api/orders/fetch-all-expanded-card-payments) | API to view all orders with card parameter expanded in the payments object |
| [Fetch order by order id](/docs/api/orders/fetch-with-id) | API to view order details by providing the order id |
| [Fetch payments for an order](/docs/api/orders/fetch-payments) | API to view all the payments made for the order |
| [Update order](/docs/api/orders/update) | API to update the 'Notes' field of an existing order |
### Related Information
* [About Orders](/docs/payments/orders)
* [Order - Dashboard Actions](/docs/payments/orders/dashboard)
# Orders - Dashboard Actions
Source: https://razorpay.com/docs/payments/orders/dashboard
View Order details, subscribe to webhook events and view reports from the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can use the Dashboard to perform the following actions:
* [View Order Details from Dashboard](#view-order-details-from-dashboard)
* [Subscribe to Webhooks](#subscribe-to-webhook-events)
* [View reports](#reports)
## View Order Details From Dashboard
Watch this video to see how to view order details from the Dashboard.
[YouTube video player](https://www.youtube.com/embed/y5abD3RiaJM?si=KaE175lV4SOraRJ1)
To view order details:
1. Log in to the Dashboard.
2. Select **Transactions** from the left menu and click **View All** on the **Orders** tab.
3. A list of all the orders is displayed.
4. Click an **Order Id** to view the details of the order.
### View Order Details Using API
* [View all orders using Fetch Orders API](/docs/api/orders/fetch-all).
* [View specific details of an order using Fetch an Order with ID API](/docs/api/orders/fetch-with-id).
## Subscribe to Webhook Events
Subscribe to Webhook events available for orders to receive notifications.
To subscribe to Webhook events:
1. Log in to the Dashboard.
2. Navigate to **Accounts & Settings** โ Webhooks to subscribe to any of the following events:
The table below lists the webhook events available for orders.
| Webhook Event | Description |
| - | - |
| `order.paid` | Triggered when an order is successfully paid. |
Know more about [Webhooks](/docs/webhooks) and check the [sample payloads](/docs/webhooks/orders).
## Reports
Detailed insights can be gained using reports and real-time data on the Dashboard. These reports can then be used for accounting and reconciliation purposes. Know more about [reports](/docs/payments/dashboard/reports).
### Related Information
* [About Orders](/docs/payments/orders)
* [Orders APIs](/docs/payments/orders/apis)
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/orders/faqs
Find answers to some Frequently Asked Questions (FAQs) about Razorpay Orders.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [accordion] What happens if an order is in the attempted state with an authorised payment id?
>
> If an order is in the attempted state with the associated payment id in the authorised state, initiating another payment using the same order id is not allowed.
> [accordion] Can an order be attempted more than once?
>
> No further payment requests are allowed once an order is in the paid state. Even if the payment associated with the order is refunded, the order remains in the paid state.
> [accordion] Can I view order details on the Dashboard?
>
> Yes, you can [view the order details](/docs/payments/orders/dashboard#view-order-details-from-dashboard) from the Dashboard.
> [accordion] What are the different states of an order?
>
> An order can be in one of three states: Created, Attempted, or Paid. Know more about the [different states of an order](/docs/payments/orders#order-states).
# About Payment Methods
Source: https://razorpay.com/docs/payments/payment-methods
Check the different payment methods that can be configured to accept payments from your customers using Razorpay products.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
๐บ๐ธ United States
The Razorpay Checkout offers multiple payment methods, allowing your customer the flexibility to complete the payment using the payment method of their choice. This improves user experience and allows you to offer alternate payment methods to your customer in the case of downtimes or low success rate with one of the payment methods.
For example, if you are facing downtime with netbanking, the customer can complete the payment using cards or wallets.
You can view the payment methods enabled for your account or [raise requests for additional payment methods or providers](/docs/payments/dashboard/account-settings/payment-methods#enable-payment-methods) on the Dashboard.
## View Payment Methods
To view payment methods enabled for you:
1. Log in to the Dashboard.
2. Click **Account & Settings** in the left menu.

3. Go to **Payment methods** to view the payment methods enabled for your Razorpay account.

You can also request for [Additional Payment Methods](/docs/payments/dashboard/account-settings/payment-methods#request-payment-methods) from the Dashboard.
## Supported Payment Methods
Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others require approval from us. Raise a request from the Dashboard to enable such payment methods.
| Payment Method | Code | Availability |
| - | - | - |
| [Cash on Delivery](/docs/payments/payment-methods/cod) | `cod` | Requires [Approval](/docs/payments/payment-methods/cod) and Integration. |
| Debit Card | `debit` | โ |
| Credit Card | `credit` | โ |
| [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
| [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
| EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
| [Wallet](/docs/payments/payment-methods/wallets#supported-wallets) | `wallet` | โ |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
| [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
| [Sodexo](/docs/payments/payment-methods/sodexo) | `TBD` | Requires [Approval](https://razorpay.com/support) if not on [Optimizer](/docs/payments/optimizer). |
## Supported UPI apps
You can accept payments from customers through UPI apps, such as Google Pay, BHIM UPI and PhonePe. Razorpay supports multiple [third-party UPI apps](https://www.npci.org.in/what-we-do/upi/3rd-party-apps) and has direct integration with Google Pay.
You can select the appropriate method of [UPI integration](/docs/payments/payment-methods/upi) based on the kind of checkout experience you want to give your customers.
## Google Pay Integration
In addition to the [standard](/docs/payments/payment-methods/upi/google-pay) and [custom](/docs/payments/payment-methods/upi/google-pay/custom-integration) checkout integrations, there are certain intent-based payment flows that you can enable on your Checkout. Know more about [Omnichannel](/docs/payments/payment-methods/upi/google-pay/omnichannel) and [Google Pay SDK](/docs/payments/payment-methods/upi/google-pay/custom-integration#intent-based-integration) integrations.
## Transaction Limits
* [Transaction Limits for Payment Methods](/docs/payments/payment-methods/transaction-limits)
* [UPI Transaction Limits](/docs/payments/payment-methods/transaction-limits/upi)
## Payment Method Error Codes
There are certain error codes specific for each payment method supported by Razorpay. Know more about the [Payment Method Error Codes](/docs/errors/payments/payment-methods-error-parameters).
# Apple Pay Standard Checkout
Source: https://razorpay.com/docs/payments/payment-methods/apple-pay
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Apple Pay is a secure, contactless payment method that allows customers to pay using their Apple devices with Face ID/Touch ID authentication. Once Apple Pay is enabled and integrated, it appears on your Checkout page as a payment option, providing a frictionless checkout experience for international customers. Know more about [Apple Pay](https://www.apple.com/apple-pay/).
> [accordion] Advantages
>
> Integrating Apple Pay as a payment method on Checkout offers you the following advantages:
>
> * **Higher Conversion Rates**: Up to 58% improvement in checkout conversion rates for international customers.
> * **Reduced Friction**: Eliminate manual card entry with biometric authentication (Face ID/Touch ID).
> * **Enhanced Security**: Benefit from Apple's tokenisation and liability shift protection.
> * **Faster Checkout**: 45% reduction in checkout time for Apple device users.
> * **Increased Average Order Value**: Potential 12% increase in transaction value.
> * **Global Reach**: Accept payments from customers in 70+ countries.
## Prerequisites
Before enabling Apple Pay, ensure you have:
* Razorpay Standard Checkout with international payments feature enabled.
* HTTPS-enabled website with TLS 1.2 or higher.
* Access to your web server to upload verification files.
* Registered business entity (non-profit organisations are not eligible).
* Display the Apple Pay [brand mark](https://developer.apple.com/apple-pay/marketing/Apple-Pay-Mark.zip) on your website in the payment methods section. Follow [Apple's official marketing guidelines](https://developer.apple.com/apple-pay/marketing/) to display the Apple Pay brand mark to indicate support before checkout.
## Integrate Apple Pay on Standard Checkout
Follow the steps given below:
> [accordion] Step 1: Domain Registration and Verification
>
> Apple Pay needs you to host a file in your domain. To find the list of these domains, please log in to the [dashboard](https://dashboard.razorpay.com/app/payment-methods/apple-pay).
>
> > [!NOTE]
> >
> > **Handy Tip**
> >
> > Only domains whitelisted with the accounts service will be visible here. Similar domains are visible as well. Please contact our [Support team](https://razorpay.com/support/) if you cannot find your Apple Pay showing domain here. You need to whitelist your URL.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > * The file path must be exactly as specified (case-sensitive).
> > * File hosting is required on websites where Razorpay Checkout loads as an overlay/iframe. This includes:
> > * WooCommerce, Magento and other ecommerce platforms where Razorpay appears as an overlay. Any website where `checkout.razorpay.com` iframe is embedded.
> > * No file hosting required on:
> > * Shopify, Mobile SDKs (Flutter, Native iOS, React Native) and Razorpay no-code solutions, such as [Payment Links](/docs/payments/payment-links), [Payment Pages](/docs/payments/payment-pages), [Payment Handles (razorpay.me)](/docs/payments/mobile-app/accept-payments/razorpay-me) and [Invoices](/docs/payments/invoices).
> > * File hosting is required if you use both hosted checkouts and overlay iframe integration (a non-Shopify website where an iframe loads as an overlay and Payment Buttons) on your business id. Please do not activate Apple Pay if you have both these kinds of checkouts unless you have hosted the file at the exact path.
>
> #### Domain Verification Process:
>
> 1. Download the [verification file](https://razorpay.com/docs/build/browser/assets/images/apple-developer-merchantid-domain-association.zip).
>
> 2. Host the file on your server.
> * Upload the file to this exact path on your website:
>
> ```
> /.well-known/apple-developer-merchantid-domain-association
> ```
>
> * For example, if your domain is `https://www.yourstorename.com`, the file must be accessible at:
>
> ```
> https://www.yourstorename.com/.well-known/apple-developer-merchantid-domain-association
> ```
>
> 3. Ensure correct configuration. When setting up Apple Pay domain verification, follow these requirements:
>
> File Path and Response
>
> * The verification file must be accessible at the exact path, `/.well-known/apple-developer-merchantid-domain-association`.
> * The file must return a direct HTTP 200 status code and not a 301, 302 or any 3xx redirects.
> * Apple does not support HTTP URL redirects for the domain association file.
>
> Server Configuration
>
> * The file must be served via HTTPS 1.1 protocol.
> * The file must have Content-Type: text/plain in the header.
> * The file must be externally accessible (not behind authentication).
> * The file must not be password protected.
> * The file must not be behind a proxy or redirect.
>
> Network Access
>
> * Ensure the file is not behind a firewall or access restrictions.
>
> * If using a firewall, configure it to allow Apple's [IP addresses](https://developer.apple.com/documentation/applepayontheweb/setting-up-your-server).
>
> 4. Dashboard Configuration and Verification
> * Log in to the Dashboard and navigate to **Account & Settings** โ **International payments** (under Payment methods). Click [**Apple Pay**](https://dashboard.razorpay.com/app/payment-methods/apple-pay).
>
> 
>
> > [!WARNING]
> >
> > **Important**
> >
> > This will only be visible if the business has International payments activated. If you do not have international payments active, you will not see Apple Pay.
>
> * You will see a list of domains associated with your business account:
> * **Verified domains**: Ready for Apple Pay.
> * **Unverified domains**: Require file hosting and verification.
> * Click **Verify domains** for any unverified domains.
> * Domain status will change to "Verified" once file hosting is correctly configured.
> [accordion] Step 2: Accept Terms and Conditions
>
> If you have uploaded the file or have not requested to opt out of Apple Pay, we will assume you are okay with [Apple'sย guidelines](https://developer.apple.com/apple-pay/acceptable-use-guidelines-for-websites/).
> [accordion] Step 3: Configuration (Automatic)
>
> Once domain verification is complete and terms are accepted:
>
> * Apple Pay will automatically appear on your checkout when accessed by eligible customers.
> * No code changes are required for Standard Checkout integration.
> * The payment button displays dynamically based on device compatibility.
## Payment Flow For Customers
Given below is the payment flow for Apple Pay at Razorpay Checkout:
1. The customer selects **Apple Pay** at checkout.

2. Apple Pay displays their default card, billing address and the payment amount.
3. They authenticate using Face ID, Touch ID or double-click the side button following the on-screen prompt **Double Click to Pay**.

4. Upon successful authentication, the payment processes instantly and the customer is returned to your website or app with a confirmation.
> [!NOTE]
>
> **Best Practice: Apple Pay with iFrames**
>
> As a best practice, if you want to show Apple Pay in an iframe element when the shopper is using Safari as their browser:
>
> * For shoppers on Safari 17 later: add the `allow` attribute to the iframe to let the iframe communicate correctly with Apple Pay APIs:
> ``
> * Safari 17 is available on iOS 17 and later, and macOS 12 and later.
> * For shoppers on Safari 16 or earlier: match the iframe origin and your top-level origin. The protocols, hosts (full domain name), and ports, when specified, must be the same for both pages.
## Frequently Asked Questions
> [accordion] Why is Apple Pay button not appearing on my checkout page?
>
> If the Apple Pay button is not appearing, check for these common issues:
>
> * Verify that your domain verification file is correctly hosted and accessible.
> * Ensure your website is using HTTPS with proper TLS configuration.
> * Confirm that international payments feature is enabled.
> * Check if the customer's device supports Apple Pay.
> [accordion] Why is my Apple Pay domain verification failing?
>
> Domain verification failures typically occur due to the following reasons:
>
> * The verification file must return an HTTP 200 status code (not 301 or 302 redirects).
> * The file path must be exactly `/.well-known/apple-developer-merchantid-domain-association`.
> * The file must be accessible via HTTPS (not HTTP).
> * The file content must exactly match what Razorpay provided, with no modifications or extra characters.
> [accordion] Do I need to make any code changes to support Apple Pay on Standard Checkout?
>
> No code changes are required for Standard Checkout integration. Once domain verification is complete and Apple Pay is enabled on your account, it will automatically appear as a payment option for eligible customers.
> [accordion] What is the additional cost for accepting Apple Pay?
>
> There are no additional charges for Apple Pay transactions. Standard Razorpay payment processing rates apply, same as regular card transactions.
> [accordion] Can customers save their Apple Pay details for future purchases?
>
> Apple Pay uses device-specific tokens that are automatically available for repeat purchases. Customers do not need to manually save payment details as their Apple Wallet handles this seamlessly.
> [accordion] How do I identify an Apple Pay transaction in my system?
>
> Apple Pay transactions can be identified by checking the payment `notes` field in the API response or webhook payload:
>
> ```json theme={null}
> "notes": {
> "provider": "apple_pay"
> }
> ```
>
> This `provider` field will always contain `apple_pay` for Apple Pay transactions, making it easy to distinguish them from regular card payments.
> [accordion] What is the difference between Apple Pay and card payment webhooks?
>
> There are structural differences between Apple Pay and standard card payment webhook events: \\
>
> Apple Pay Payment:
>
> ```json theme={null}
> "notes": {
> "provider": "apple_pay"
> }
> ```
>
> Card Payment:
>
> ```json theme={null}
> "notes": [],
> "token_id": "token_RIa2YPNM92wfzv"
> ```
>
> Key differences:
>
> * Apple Pay includes `provider: "apple_pay"` in the `notes` field.
> * Card payments may include a `token_id` for saved cards.
> [accordion] I am not able to verify my URL via the self-serve dashboard. What should I do?
>
> Check if the file is hosted correctly at your domain by visiting:
> `https://www.yourstorename.com/.well-known/apple-developer-merchantid-domain-association`.
>
> Follow the [Apple Pay documentation](/docs/payments/payment-methods/apple-pay) and ensure the file is publicly accessible.
> [accordion] How do I check if Apple Pay is active on my checkout?
>
> On Mobile:
>
> * Open Safari in incognito mode on an iPhone with Apple Pay configured.
> * Visit your checkout page.
> * Apple Pay should appear at the top of payment options and under the cards menu.
>
> On Desktop:
>
> * Use Safari on macOS with Apple Pay configured.
> * Ensure you are signed into your Apple account.
> * Apple Pay will be visible if you have cards linked to your Apple account.
> [accordion] Do my card offers apply to Apple Pay payments?
>
> Yes, for domestic payments in India. Card offers you run on Standard Checkout apply when customers pay with Apple Pay, with no changes to your integration. Know more about [Offers on Apple Pay](/docs/payments/offers/apple-pay).
> [accordion] Will Apple Pay work in test mode?
>
> No, Apple Pay does not work in test mode.
> [accordion] I cannot see Apple Pay on desktop. What should I do?
>
> Apple Pay will be visible on desktop under the following conditions:
>
> macOS Requirements:
>
> * Customer must have Apple Pay cards linked to their Apple account.
> * User must be signed into their Apple account on their macOS device.
>
> Alternative scenarios:
>
> * If the transaction is initiated in a non-INR currency.
### Related Information
* [Apple Pay Custom Integration](/docs/payments/payment-methods/apple-pay/custom-integration/web-sdk)
* [Apple Pay Integration โ iOS (Custom Checkout)](/docs/payments/payment-methods/apple-pay/ios-custom-checkout)
* [Offers on Apple Pay](/docs/payments/offers/apple-pay)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-methods/apple-pay/custom-integration
Accept Apple Pay payments from international customers on your own checkout UI using the Razorpay Custom Checkout SDK.
Available in
๐ฎ๐ณ India
Apple Pay is a secure, contactless payment method that lets customers pay using their Apple devices with Face ID/Touch ID authentication. With the Custom Checkout headless SDK, you check Apple Pay eligibility and either let Razorpay render the Apple Pay button or render your own โ all on your existing Custom Checkout integration, with no redirect. Know more about [Apple Pay](https://www.apple.com/apple-pay/).
This integration works with your existing card payment flow: check eligibility, render a button and initiate the payment with one additional `app` parameter.
> [accordion] Advantages
>
> * Accept payments in over 120 currencies from international customers.
> * Reduce checkout time with one-touch biometric payments (Face ID/Touch ID).
> * Full control of where and how the Apple Pay button appears on your page.
> * Razorpay encapsulates device eligibility โ no need to integrate the Apple Pay JS API or write capability-detection logic yourself.
> * No need to handle Apple certificates or domain verification beyond hosting one file โ Razorpay manages the rest.
## Prerequisites
Before you begin, ensure you have:
* An existing Razorpay Custom Checkout integration.
* Apple Pay enabled and International Payments enabled on your Razorpay account.
* HTTPS on your website โ Apple Pay requires a secure context.
* Your API Key Id. Generate [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. Use Live Mode keys to accept real payments.
* Apple Pay domain verification completed for your domain (host the domain association file; Razorpay registers it with Apple).
## Integration Steps
Follow the steps given below.
### 1.1 Create an Order on Your Server
An order should be created for every payment.
* Create an order using the [Orders API](/docs/api/orders/create). This is a server-side call.
* Pass the returned `order_id` to your frontend. This ties the order to the payment and secures the request from tampering.
> [!WARNING]
>
> **Watch Out!**
>
> Payments made without an `order_id` cannot be captured and will be automatically refunded. Create an order before initiating payment.
```bash Request theme={null}
curl -X POST https://api.razorpay.com/v1/orders \
-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-H 'content-type:application/json' \
-d '{
"amount": 50000,
"currency": "USD",
"receipt": "receipt_1"
}'
```
The response includes an `id` (for example, `order_XXXXXXXXXX`). Pass this to your frontend for SDK initialisation. For the full list of order request and response parameters, see the [Create an Order API](/docs/api/orders/create).
### 1.2 Load the Custom Checkout Script
Include the Custom Checkout script, preferably in the `` of your page:
```html HTML theme={null}
```
> [!NOTE]
>
> **Handy Tips**
>
> Load the script from `https://checkout.razorpay.com/v1/razorpay.js` rather than serving a copy. This keeps updates and fixes automatic. Existing Custom Checkout merchants already load this script.
### 1.3 Initialise the SDK
Initialise Razorpay with your key and the `order_id` created in step 1.1. Provide a handler to receive the successful payment response (you can also use event listeners โ see step 1.6).
```javascript JavaScript theme={null}
var razorpay = new Razorpay({
key: 'rzp_live_xxx',
order_id: 'order_XXXXXXXXXX', // created server-side at page load
contact: '9123456789',
email: 'gaurav.kumar@example.com',
handler: function (response) {
// response.razorpay_payment_id
// response.razorpay_order_id
// response.razorpay_signature // verify on your server
}
});
```
> [accordion] Initialisation Parameters
>
> | Parameter | Type | Required | Description |
> | - | - | - | - |
> | `key` | string | Yes | API Key ID (`rzp_test_*` or `rzp_live_*`). |
> | `order_id` | string | Yes | Order ID generated via the Orders API. |
> | `contact` | string | Optional | Customer's phone number, used to prefill the contact field. |
> | `email` | string | Optional | Customer's email address, used to prefill the email field. |
> | `handler` | function | Optional | Called with the success response (`razorpay_payment_id`, `razorpay_order_id`, `razorpay_signature`). Alternatively, use event listeners (step 1.6). |
### 1.4 Check Apple Pay Eligibility
Use `canMakePayment()` to check whether the customer's device can pay with Apple Pay. Razorpay's SDK encapsulates the device capability check, so you do not integrate the Apple Pay JS API or evaluate `paymentCredentialsAvailable` yourself.
```javascript JavaScript theme={null}
// canMakePayment() is async โ call it inside an async function or a
>
> ```
>
> > [!NOTE]
> >
> > **Handy Tip**
> >
> > Load this script on every page where you intend to render the Apple Pay button. The script must be loaded before the `` component is placed in the DOM. Existing Custom Checkout merchants already load this script and do not need to add a new one.
> [accordion] Running Alongside Standard Checkout
>
> If the same page also uses Razorpay Standard Checkout, load `razorpay.js` before `checkout.js`.
>
> ```html HTML theme={null}
>
>
>
>
> ```
>
> The `` web component is self-contained โ it does not read from or write to `window.Razorpay`. So once `checkout.js` finishes loading and sets up `window.Razorpay` for Standard Checkout, no restore step is needed on your end; both integrations continue to work independently on the same page.
> [accordion] Step 3: Create an Order on Your Server
>
> You must create a Razorpay order on your server before rendering the Apple Pay button. The `order_id` returned from this call is passed directly to the web component.
>
> ```bash Request theme={null}
> curl -X POST https://api.razorpay.com/v1/orders \
> -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> -H 'content-type:application/json' \
> -d '{
> "amount": 50000,
> "currency": "USD",
> "receipt": "receipt_1"
> }'
> ```
>
> The response includes an `id` field (for example, `order_XXXXXXXXXX`). Pass this value to your frontend to use as the `order-id` attribute on the component.
>
> The parameter descriptions and errors are present in the [Create an Order API](/docs/api/orders/create).
> [accordion] Step 4: Drop in the Component Tag
>
> Place the `` component in your HTML at the exact location where you want the Apple Pay button to render. The button loads inline at the position of this component.
>
> ```html HTML theme={null}
> id="checkout"
> key="rzp_test_XXXXXXXXXX"
> order-id="order_XXXXXXXXXX"
> contact="+919876543210"
> method="card"
> app-name="apple_pay"
> >
> ```
>
> To customise the button appearance, add the optional design attributes:
>
> ```html HTML theme={null}
> id="checkout"
> key="rzp_test_XXXXXXXXXX"
> order-id="order_XXXXXXXXXX"
> contact="+919876543210"
> method="card"
> app-name="apple_pay"
> button-label="pay"
> button-theme="dark"
> button-width="148px"
> button-height="32px"
> >
> ```
>
> The component fetches order details as soon as it is attached, checks Apple Pay eligibility and renders the button automatically once ready. No JavaScript setup is needed for that part.
>
> > [!NOTE]
> >
> > **Handy Tip**
> >
> > The component checks device eligibility on mount and renders the Apple Pay button only if the customer's device supports it. If Apple Pay is not available, nothing is rendered โ no additional conditional logic is needed on your end.
> [accordion] Step 5: Listen for the Result
>
> Attach event listeners to the component to handle the payment outcome.
>
> ```js JavaScript theme={null}
> const checkoutEl = document.getElementById('checkout');
>
> checkoutEl.addEventListener('payment.success', (e) => {
> // e.detail.paymentData.razorpay_payment_id
> // e.detail.paymentData.razorpay_order_id
> // e.detail.paymentData.razorpay_signature
> });
>
> checkoutEl.addEventListener('payment.failure', (e) => {
> // e.detail.error -> { code, description, source, reason }
> });
>
> checkoutEl.addEventListener('error', (e) => {
> // init/validation failures (bad key, bad order-id, etc.)
> });
> ```
>
> That is the whole integration.
> [accordion] Step 6: Verify the Payment Signature on Your Server
>
> After a successful payment (the `payment.success` event fires), verify the payment signature on your server before fulfilling the order.
>
> Send the following fields to your backend:
>
> * `razorpay_payment_id`
> * `razorpay_order_id`
> * `razorpay_signature`
>
> Verify them using the standard [Razorpay signature verification process](/docs/payments/server-integration/python/integration-steps#4-verify-payment-signature).
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Never fulfil an order based solely on the client-side `payment.success` event. Signature verification ensures the payment was genuinely processed by Razorpay and has not been tampered with.
## Component Reference
> [accordion] Attributes
>
> | Attribute | Type | Required | Default | Description |
> | - | - | - | - | - |
> | `key` | string | Yes | โ | Your Razorpay key id (`rzp_test_*` or `rzp_live_*`). |
> | `order-id` | string | Yes | โ | Razorpay order id created server-side (for example, `order_XXXXXXXXXX`). |
> | `contact` | string | Yes | โ | Customer's phone number in E.164 format (for example, `+919876543210`). |
> | `email` | string | No | โ | Customer's email address (for example, `user@example.com`). Recommended for payment confirmation and dispute resolution. |
> | `method` | string | Yes | โ | Payment method. Use `card`. |
> | `app-name` | string | Yes | โ | Name of the payment app. Use `apple_pay`. |
> | `button-label` | string | No | `pay` | Button label. Values: `pay`, `buy`, `plain`, `checkout`, `donate`. |
> | `button-theme` | string | No | `dark` | Button background. `dark` for dark background with light text, `light` for light background with dark text. |
> | `button-width` | string | No | `100px` | Button width โ any valid CSS value (for example, `148px`). |
> | `button-height` | string | No | `44px` | Button height โ any valid CSS value (for example, `32px`). |
> | `theme-color` | string | No | โ | Hex colour for theming the DCC UI (for example, `#528FF0`), shown when Dynamic Currency Conversion is applicable. |
### Events
> [accordion] payment.success
>
> Fired when the payment completes successfully. The event detail contains:
>
> ```js JavaScript theme={null}
> {
> status: 'success',
> paymentData: {
> razorpay_payment_id: string,
> razorpay_order_id: string,
> razorpay_signature: string
> }
> }
> ```
>
> Use these three values to verify the payment on your server before fulfilling the order.
> [accordion] payment.failure
>
> Fired when the payment fails or the customer cancels the payment sheet.
>
> ```js JavaScript theme={null}
> {
> status: 'failure',
> error: {
> code: string,
> description: string,
> source: string,
> reason: string
> }
> }
> ```
> [accordion] error
>
> Fired if the component fails to initialise โ for example, due to an invalid attribute or Apple Pay not being enabled for your business account.
>
> ```js JavaScript theme={null}
> {
> errorCode: string,
> message: string
> }
> ```
>
> Check that `key`, `order-id`, `method` and `app-name` are all correctly set if you receive this event on load.
## Error Handling Reference
Every failure โ from `payment.failure` or the `error` event โ carries the same shape:
```js JavaScript theme={null}
{
code: 'PAYMENT_CANCELLED' | 'PAYMENT_FAILED' | 'INTERNAL_ERROR',
description: string, // safe to show to the customer
source: 'customer' | 'merchant' | 'bank' | 'internal',
reason: string, // machine-readable, for logging
}
```
| Code | Meaning | Suggested Handling |
| - | - | - |
| `PAYMENT_CANCELLED` | Customer closed the sheet, or you called `abort()` | Return to the product/cart page |
| `PAYMENT_FAILED` | Payment was attempted but declined/failed | Show description, offer retry or another method |
| `INTERNAL_ERROR` | Something went wrong on our end (network, script load, etc.) | Show a generic "try again later" message |
## Quick Checklist
* Load `https://checkout.razorpay.com/v1/razorpay.js`
* Create the order on your server before rendering the tag
* Add `` with required attributes
* Wire up `payment.success` / `payment.failure` / `error` listeners
* Verify the payment signature on your server before fulfilling the order
### Related Information
* [Web JS Integration](/docs/payments/payment-methods/apple-pay/custom-integration/web-sdk/web-js-integration)
* [Apple Pay Standard Checkout](/docs/payments/payment-methods/apple-pay)
# Web JS Integration
Source: https://razorpay.com/docs/payments/payment-methods/apple-pay/custom-integration/web-sdk/web-js-integration
Integrate Apple Pay using the headless Razorpay JS SDK with amount and currency passed at initialisation, with full control over button rendering and payment flow.
Available in
๐ฎ๐ณ India
The headless JS integration gives you full control over the Apple Pay button and payment flow. You initialise the Razorpay JS object with the amount and currency at start, then check eligibility and trigger the payment yourself. Know more about [Apple Pay](https://www.apple.com/apple-pay/).
> [accordion] Advantages
>
> Integrating Apple Pay using the headless JS SDK offers you the following advantages:
>
> * **Full control**: Render your own button or let Razorpay render one for you using `mount()`.
> * **Flexible initialisation**: Pass amount and currency at init time when the cart total is known upfront.
> * **Device-aware eligibility**: Use `canMakePayment()` to check Apple Pay support before showing the button.
> * **Event-driven results**: Handle payment success, failure and errors through event listeners.
> * **No extra script for existing merchants**: The SDK ships with the Custom Checkout script you already use.
## Prerequisites
Before starting the integration, ensure you have the following:
* A Razorpay account with Apple Pay enabled.
* An existing Razorpay Custom Checkout integration.
* International Payments enabled on your Razorpay account.
* Your API Key Id available. Know how to generate [API Keys from the Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
* An HTTPS-enabled domain (TLS 1.2 or higher). Apple Pay requires a secure context and will not function over HTTP.
* Server-side capability to create orders via the Razorpay Orders API.
* Domains verified in the Dashboard for Apple Pay.
## Integration Steps
Follow the steps given below.
> [accordion] Step 1: Domain Verification
>
> Verify your checkout domain(s) for Apple Pay before you go live. To find the list of these domains, please log in to the [dashboard](https://dashboard.razorpay.com/app/payment-methods/apple-pay).
>
> > [!NOTE]
> >
> > **Handy Tip**
> >
> > Only domains whitelisted with the accounts service will be visible here. Similar domains are visible as well. Please contact our [Support team](https://razorpay.com/support/) if you cannot find your Apple Pay showing domain here. You need to whitelist your URL.
>
> Dashboard Configuration and Verification
>
> * Log in to the Dashboard and navigate to **Account & Settings** โ **International payments** (under Payment methods). Click [**Apple Pay**](https://dashboard.razorpay.com/app/payment-methods/apple-pay).
>
> 
>
> > [!WARNING]
> >
> > **Important**
> >
> > This will only be visible if the business has International payments activated. If you do not have international payments active, you will not see Apple Pay.
> * You will see a list of domains associated with your business account:
> * **Verified domains**: Ready for Apple Pay.
> * **Unverified domains**: Need to be verified.
> * Click **Verify domains** for any unverified domains.
> [accordion] Step 2: Load the Script
>
> Include the Razorpay Custom Checkout script in your page's `` tag.
>
> ```html HTML theme={null}
>
>
>
> ```
>
> > [!NOTE]
> >
> > **Handy Tip**
> >
> > Load this script on every page where you intend to use the Apple Pay integration. Existing Custom Checkout merchants already load this script.
> [accordion] Running Alongside Standard Checkout
>
> Both `razorpay.js` (headless Apple Pay) and `checkout.js` (Standard Checkout) register their constructor on the same `window.Razorpay` global. If your page uses both, whichever script loads last overwrites the other's constructor on `window.Razorpay`. Capture the headless constructor as soon as `razorpay.js` loads, and let `checkout.js` load after it so `window.Razorpay` is restored to Standard Checkout's constructor for the rest of your page.
>
> ```html HTML theme={null}
>
>
>
>
> ```
>
> If you cannot guarantee this load order (for example, scripts injected dynamically or loaded in parallel), queue the captures instead and resolve them once both scripts have loaded:
>
> ```js JavaScript theme={null}
> window.__rzpQueue = window.__rzpQueue || [];
>
> function enqueueRazorpayCtor(name) {
> window.__rzpQueue.push({ name, ctor: window.Razorpay });
> if (window.__rzpQueue.length === 2) {
> // Both scripts have loaded โ headless SDK loaded first, Standard Checkout loaded second.
> const [applePay, standard] = window.__rzpQueue;
> window.__rzpApplePay = applePay.ctor;
> window.Razorpay = standard.ctor;
> }
> }
> ```
>
> Use `window.__rzpApplePay` (instead of `window.Razorpay`) to instantiate the headless Apple Pay object in Step 3, and leave `window.Razorpay` untouched for your existing Standard Checkout code.
>
> ```js JavaScript theme={null}
> const razorpay = new window.__rzpApplePay({ ... });
> ```
> [accordion] Step 3: Initialise with Amount and Currency
>
> Pass the amount and currency when you initialise Razorpay. Use the `on_payment_initiate_create_order` callback to create the order on your server right before the payment sheet opens.
>
> ```js JavaScript theme={null}
> const razorpay = new Razorpay({
> key: 'rzp_test_XXXXXXXXXX',
> prefill: {
> contact: '+919876543210', // This is your customer's contact number.
> },
> amount: 1000,
> currency: 'EUR',
> on_payment_initiate_create_order: async () => {
> // Called right before the payment sheet opens.
> // Create the order on your server here, then:
> razorpay.set('order_id', orderIdFromYourServer);
> },
> });
> ```
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > `on_payment_initiate_create_order` is where you create the Razorpay order. You must call `razorpay.set('order_id', ...)` inside it before it resolves โ the payment cannot be authorised without an order id.
> [accordion] Step 4: Listen for the Result
>
> Register event listeners for payment success and failure.
>
> ```js JavaScript theme={null}
> razorpay.on('payment.success', (response) => {
> // response.paymentData.razorpay_payment_id
> // response.paymentData.razorpay_order_id
> // response.paymentData.razorpay_signature
> });
>
> razorpay.on('payment.failure', (response) => {
> // response.error -> { code, description, source, reason }
> });
> ```
> [accordion] Step 5: Check Availability and Trigger the Payment
>
> Check whether the customer's device supports Apple Pay using `canMakePayment()`, then trigger the payment using one of the following options.
>
> > [tab] Option 1: mount() (Recommended)
> >
> > Use `mount()` to have Razorpay render an Apple Pay button into a container element you provide. This is the recommended default โ it needs the least code, and the SDK starts the Apple Pay session on click and handles the payment for you.
> >
> > ```js JavaScript theme={null}
> > razorpay.mount({
> > method: 'card',
> > app: { name: 'apple_pay' },
> > container: document.getElementById('apple-pay-container'),
> > buttonLabel: 'pay',
> > buttonTheme: 'dark',
> > buttonWidth: '148px',
> > buttonHeight: '32px',
> > });
> > ```
> >
> > `mount()` creates the button, appends it to the container and wires up the click to payment lifecycle for you. The result still comes via the `payment.success` / `payment.failure` events from Step 3.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Call `canMakePayment()` before `mount()` if you want to avoid mounting a button the customer cannot actually use (for example, hide the container on `available: false`).
>
> > [tab] Option 2: Your Own Button + createPayment()
> >
> > Use this option only if you need full control over the button's markup and rendering. Use `canMakePayment()` to check eligibility, then call `createPayment()` inside your button's click handler.
> >
> > ```js JavaScript theme={null}
> > const { available, reason } = await razorpay.canMakePayment({
> > method: 'card',
> > app: { name: 'apple_pay' },
> > });
> >
> > if (!available) {
> > // hide your Apple Pay button, show alternatives
> > } else {
> > // show your button
> > }
> >
> > myButton.addEventListener('click', () => {
> > razorpay.createPayment({
> > method: 'card',
> > app: { name: 'apple_pay' },
> > });
> > });
> > ```
> >
> > > [!NOTE]
> > >
> > > **Handy Tip**
> > >
> > > `createPayment()` is fire-and-forget โ the outcome always comes through the `payment.success` / `payment.failure` events registered in Step 3.
> [accordion] Step 6: Verify the Payment Signature on Your Server
>
> After a successful payment (the `payment.success` event fires), verify the payment signature on your server before fulfilling the order.
>
> Send the following fields to your backend:
>
> * `razorpay_payment_id`
> * `razorpay_order_id`
> * `razorpay_signature`
>
> Verify them using the standard [Razorpay signature verification process](/docs/payments/server-integration/python/integration-steps#4-verify-payment-signature).
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Never fulfil an order based solely on the client-side `payment.success` event. Signature verification ensures the payment was genuinely processed by Razorpay and has not been tampered with.
## Error Handling Reference
Every failure โ from `payment.failure` events or a caught exception โ carries the same shape:
```js JavaScript theme={null}
{
code: 'PAYMENT_CANCELLED' | 'PAYMENT_FAILED' | 'INTERNAL_ERROR',
description: string, // safe to show to the customer
source: 'customer' | 'merchant' | 'bank' | 'internal',
reason: string, // machine-readable, for logging
}
```
| Code | Meaning | Suggested Handling |
| - | - | - |
| `PAYMENT_CANCELLED` | Customer closed the sheet, or you called `abort()` | Return to the product/cart page |
| `PAYMENT_FAILED` | Payment was attempted but declined/failed | Show description, offer retry or another method |
| `INTERNAL_ERROR` | Something went wrong on our end (network, script load, etc.) | Show a generic "try again later" message |
## Quick Checklist
* Load `https://checkout.razorpay.com/v1/razorpay.js`
* Initialise `new Razorpay({ amount, currency, ... })`
* Implement order creation inside `on_payment_initiate_create_order`
* Wire up `payment.success` / `payment.failure` handling
* Test `canMakePayment()` handling for devices/browsers where Apple Pay is not available
* Verify the payment signature on your server before fulfilling the order
### Related Information
* [Web Component Integration](/docs/payments/payment-methods/apple-pay/custom-integration/web-sdk/web-component)
* [Apple Pay Standard Checkout](/docs/payments/payment-methods/apple-pay)
# iOS Native Integration
Source: https://razorpay.com/docs/payments/payment-methods/apple-pay/ios-custom-checkout
Accept Apple Pay payments in your native iOS app using Razorpay's Custom Checkout SDK. Build your own UI around the Apple Pay button with Razorpay handling payment processing.
Available in
๐ฎ๐ณ India
Use Razorpay Apple Pay to add Apple Pay to your iOS app. Razorpay handles payment processing; you build your own UI around the Apple Pay button.
> [!NOTE]
>
> **SDK Version**
>
> The Apple Pay feature is available in SDK version `2.2.0` and later.
## Prerequisites
| Requirement | Details |
| - | - |
| Razorpay account | With Apple Pay enabled (**Dashboard โ Account & Settings โ Payment Methods**) |
| Razorpay API key | `rzp_live_*` (your live key) |
| Apple Developer account | Required to configure an Apple Pay Merchant ID |
| Apple Pay Merchant ID | For example, `merchant.com.yourcompany.app` โ created in the Apple Developer Portal |
| Merchant ID certificate | Uploaded to the Razorpay Dashboard so the backend can decrypt Apple Pay tokens |
| Xcode 14+ | iOS deployment target 13.0+ |
| Physical iOS device | Transactions can only complete on real devices |
| Server-side order | Created via the Razorpay Orders API |
## One-Time Setup (Before Code)
Complete this setup once before writing any integration code.
> [accordion] Apple Developer Portal Steps
>
> 1. **Create Apple Pay Merchant ID** โ In the Apple Developer Portal, go to **Identifiers โ + โ Merchant IDs**. Use the format `merchant.com.yourcompany.app` and register.
>
> 2. **Share Merchant ID with Razorpay** โ Send your Merchant ID to your Razorpay point of contact. The team will share a CSR file with you.
>
> 3. **Generate Certificate on Apple** โ In the Apple Developer Portal, open your Merchant ID โ **Create Certificate** under Apple Pay Payment Processing. Upload the `.csr`, then download the `apple_pay.cer`.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Certificates expire after 25 months. Set a reminder to renew before expiry.
>
> 4. **Share Certificate with Razorpay** โ Send the `apple_pay.cer` file back to your Razorpay point of contact for configuration.
> [accordion] Xcode Steps
>
> 1. Open your `.xcodeproj`.
> 2. Select your app target โ **Signing & Capabilities**.
> 3. Click **+ Capability โ Apple Pay**.
> 4. Tick the Merchant ID created above.
>
> This generates a `.entitlements` file. Sample output:
>
> ```xml Entitlements theme={null}
> com.apple.developer.in-app-payments
>
> merchant.com.yourcompany.app
>
> ```
## Integration Steps
### Step 1 โ Install via Swift Package Manager
The SDK is distributed as a Swift package at `https://github.com/razorpay/razorpay-customui-pod`.
1. In Xcode, select **File โ Add Package Dependenciesโฆ**
2. Paste the package URL: `https://github.com/razorpay/razorpay-customui-pod`
3. Under **Dependency Rule**, choose **Exact Version** and enter `2.2.0`.
4. Click **Add Package**.
5. On the product selection screen, add the `RazorpayApplePay` library to your app target, then click **Add Package**.
`RazorpayApplePay` automatically pulls in its dependencies (`RazorpayCustom`, `RazorpayCore`) โ you do not need to add those separately.
| Product | Add to Target? | Purpose |
| - | - | - |
| `RazorpayApplePay` | Yes | Apple Pay integration |
| `RazorpayCustomUI` | Yes | Umbrella product for the full Custom Checkout suite |
### Step 2 โ Import and Conform to the Payment Completion Protocol
In your checkout view controller:
```swift Swift theme={null}
import UIKit
import WebKit
import Razorpay
import RazorpayApplePay
class CheckoutVC: UIViewController, RazorpayPaymentCompletionProtocol {
// ...
}
```
| Protocol | Purpose |
| - | - |
| `RazorpayPaymentCompletionProtocol` | Payment success and error callbacks |
### Step 3 โ Initialise the SDK with the Apple Pay Plugin
```swift Swift theme={null}
private var razorpay: RazorpayCheckout?
// Apple Pay runs through PassKit and requires a WKWebView.
// Pass a throwaway instance the SDK holds but never navigates.
private let dummyWebView = WKWebView()
override func viewDidLoad() {
super.viewDidLoad()
razorpay = RazorpayCheckout.initWithKey(
"rzp_live_XXXXXXXXXX",
andDelegate: self,
withPaymentWebView: dummyWebView,
ApplePay: ApplePay.pluginInstance()
)
}
```
> [accordion] Initialisation Parameters
>
> | Parameter | Required | Description |
> | - | - | - |
> | `key` | Yes | Your Razorpay key ID โ for example, `rzp_live_*xxxx` |
> | `andDelegate` | Yes | The object conforming to `RazorpayPaymentCompletionProtocol` |
> | `withPaymentWebView` | Yes | A `WKWebView` instance. Apple Pay does not use a webview, but Custom Checkout init requires one โ pass a throwaway `WKWebView()` that you retain. |
> | `ApplePay` | Yes | An instance from `ApplePay.pluginInstance()` |
### Step 4 โ Check if the Customer Can Pay
Call this before showing your Apple Pay button. It checks whether the user can pay via Apple Pay on their device.
```swift Swift theme={null}
applePayButton.isHidden = true
razorpay?.applePay?.canMakePayment { [weak self] canPay in
DispatchQueue.main.async {
self?.applePayButton.isHidden = !canPay
}
}
```
### Step 5 โ Create an Order on Your Server
Create a Razorpay order via the Orders API on your backend and send the `order_id` to your iOS app.
```bash Request theme={null}
curl -X POST https://api.razorpay.com/v1/orders \
-u rzp_test_XXXXXXXXXX:your_secret \
-H "Content-Type: application/json" \
-d '{
"amount": 50000,
"currency": "INR"
}'
```
The response returns an `order_id` such as `order_CuEzONfnOI86Ab`. Pass this to your iOS app.
> [accordion] Order Parameters
>
> | Key | Required | Description |
> | - | - | - |
> | `amount` | Yes | Payment amount in the smallest currency subunit. For example, for โน299, pass `29900`. For three-decimal currencies such as KWD, BHD and OMR, to accept 295.991, pass `295990`. For zero-decimal currencies such as JPY, to accept 295, pass `295`. |
> | `currency` | Yes | The currency in which the transaction should be made. |
### Step 6 โ Load the Payment Button
Apple's Human Interface Guidelines require the use of `PKPaymentButton` (or a visually compliant variant). Custom buttons will lead to App Store rejection.
```swift Swift theme={null}
import PassKit
private lazy var applePayButton: PKPaymentButton = {
let btn = PKPaymentButton(
paymentButtonType: .buy,
paymentButtonStyle: .automatic
)
btn.addTarget(self,
action: #selector(applePayTapped),
for: .touchUpInside)
return btn
}()
```
**Button constraints:**
* Use `PKPaymentButton`, not a generic `UIButton` with an Apple Pay icon.
* Do not place text or icons inside it.
* Respect Apple's minimum height requirement.
* Use `.automatic` style on iOS 14+ for automatic light/dark mode adaptation.
> [!NOTE]
>
> **Test on a Real Device**
>
> Run on a physical iOS device โ transactions cannot complete on the simulator. Tap your Apple Pay button, authenticate with Face ID or Touch ID, then confirm the payment record appears in the Razorpay Dashboard.
### Step 7 โ Trigger the Payment on User Tap
This call must be made in response to a user gesture (such as a button tap). Use the existing `razorpay.authorize(options)` API with an Apple Pay payload.
```swift Swift theme={null}
@objc func applePayTapped() {
let options: [AnyHashable: Any] = [
"amount": 50000, // in currency subunits (for example, paise)
"currency": "INR",
"email": "test@example.com",
"contact": "+919898989898",
"order_id": "order_xxxxxxxxx",
"method": "card",
"app": [
"name": "apple_pay",
"apple_pay": [
"merchant_identifier": "merchant.com.yourcompany.app"
]
]
]
razorpay?.authorize(options)
}
```
> [accordion] Payment Parameters
>
> | Key | Required | Description |
> | - | - | - |
> | `amount` | Yes | Payment amount in the smallest currency subunit. For example, for โน299, pass `29900`. |
> | `currency` | Yes | The currency for the transaction. |
> | `contact` | Yes | Customer phone number. Maximum length 15 characters, inclusive of country code. |
> | `email` | Optional | Customer email address. Maximum length 40 characters. |
> | `order_id` | Yes | Unique identifier of the order created in Step 5. |
> | `method` | Yes | Must be `"card"`. |
> | `app.name` | Yes | Must be `"apple_pay"`. |
> | `apple_pay.merchant_identifier` | Yes | Your Apple Pay Merchant ID from the Apple Developer Portal. |
### Step 8 โ Handle the Payment Result
```swift Swift theme={null}
extension CheckoutVC: RazorpayPaymentCompletionProtocol {
func onPaymentSuccess(_ payment_id: String,
andData response: [AnyHashable: Any]) {
let orderId = response["razorpay_order_id"] as? String ?? ""
let signature = response["razorpay_signature"] as? String ?? ""
// Send payment_id, orderId, signature to your server
// for signature verification.
}
func onPaymentError(_ code: Int32,
description str: String,
andData response: [AnyHashable: Any]) {
// Handle failure or cancellation
}
}
```
**Success response keys (in `andData`):**
```json Response theme={null}
{
"razorpay_payment_id": "pay_XXXXXXXXXX",
"razorpay_order_id": "order_XXXXXXXXXX",
"razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
}
```
**Failure response keys (in `andData`):**
```json Response theme={null}
{
"error": {
"code": "PAYMENT_CANCELLED",
"description": "Customer dismissed the payment sheet.",
"reason": "payment_cancelled"
}
}
```
### Step 9 โ Verify Payment Signature on Your Server
Always verify the signature on your server before fulfilling the order. Send `razorpay_payment_id`, `razorpay_order_id`, and `razorpay_signature` to your backend for HMAC verification.
> [!WARNING]
>
> **Watch Out!**
>
> Never fulfil an order based solely on the client-side result. Always verify the payment signature server-side.
See the [signature verification guide](/docs/payments/server-integration/nodejs/integration-steps) for Node.js and other language samples.
## Error Codes
On failure, read the error code as a `String` from `response["error"]["code"]` inside the `andData` dictionary passed to `onPaymentError`.
> [!NOTE]
>
> **Handy Tips**
>
> The `code: Int32` parameter of `onPaymentError` is always `0` for Apple Pay โ the actionable code is the `String` inside `andData`.
| Error | When It Fires |
| - | - |
| `INVALID_OPTIONS` | Missing `apple_pay.merchant_identifier`, missing or invalid amount, or a merchant key so malformed the request URL cannot be built. |
| `NO_SUPPORTED_CARD` | Device supports Apple Pay, but the Wallet has no card for the merchant's supported networks. |
| `DEVICE_NOT_SUPPORTED` | Apple Pay unavailable on the device โ hardware, OS, region, or restrictions. |
| `SHEET_PRESENTATION_FAILED` | PassKit declined to present the payment sheet. |
| `PAYMENT_CANCELLED` | Customer dismissed the sheet or cancelled at the Face ID or Touch ID prompt. |
| `NETWORK_ERROR` | Connection loss, timeout, or any transport-level failure. |
| `PAYMENT_FAILED` | Internal or processing failure (serialise failure, empty or unparseable response) and the normalised code for any backend decline. |
## Complete Working Example
> [tab] UIKit
>
> ```swift Swift theme={null}
> import UIKit
> import WebKit
> import PassKit
> import Razorpay
> import RazorpayApplePay
>
> class CheckoutVC: UIViewController, RazorpayPaymentCompletionProtocol {
> private var razorpay: RazorpayCheckout?
> private let dummyWebView = WKWebView()
> @IBOutlet weak var statusLabel: UILabel!
>
> private lazy var applePayButton: PKPaymentButton = {
> let btn = PKPaymentButton(paymentButtonType: .buy, paymentButtonStyle: .automatic)
> btn.cornerRadius = 8
> btn.translatesAutoresizingMaskIntoConstraints = false
> btn.addTarget(self, action: #selector(applePayTapped), for: .touchUpInside)
> return btn
> }()
>
> override func viewDidLoad() {
> super.viewDidLoad()
> razorpay = RazorpayCheckout.initWithKey(
> "rzp_live_XXXXXXXXXX",
> andDelegate: self,
> withPaymentWebView: dummyWebView,
> ApplePay: ApplePay.pluginInstance()
> )
> view.addSubview(applePayButton)
> NSLayoutConstraint.activate([
> applePayButton.centerXAnchor.constraint(equalTo: view.centerXAnchor),
> applePayButton.centerYAnchor.constraint(equalTo: view.centerYAnchor),
> applePayButton.widthAnchor.constraint(equalToConstant: 250),
> applePayButton.heightAnchor.constraint(equalToConstant: 48)
> ])
> applePayButton.isHidden = true
> razorpay?.applePay?.canMakePayment { [weak self] canPay in
> DispatchQueue.main.async { self?.applePayButton.isHidden = !canPay }
> }
> }
>
> @objc func applePayTapped() {
> let options: [AnyHashable: Any] = [
> "amount": 50000, "currency": "INR",
> "email": "gaurav.kumar@example.com", "contact": "+919876543210",
> "order_id": "order_CuEzONfnOI86Ab", "method": "card",
> "app": [
> "name": "apple_pay",
> "apple_pay": ["merchant_identifier": "merchant.com.yourcompany.app"]
> ]
> ]
> razorpay?.authorize(options)
> }
>
> func onPaymentSuccess(_ payment_id: String, andData response: [AnyHashable: Any]) {
> statusLabel.text = "Success: \(payment_id)"
> }
>
> func onPaymentError(_ code: Int32, description str: String, andData response: [AnyHashable: Any]) {
> statusLabel.text = "Error: \(str)"
> }
> }
> ```
> [tab] SwiftUI
>
> ```swift Swift theme={null}
> import SwiftUI
> import WebKit
> import PassKit
> import Razorpay
> import RazorpayApplePay
>
> struct ApplePayButton: UIViewRepresentable {
> let action: () -> Void
> func makeUIView(context: Context) -> PKPaymentButton {
> let btn = PKPaymentButton(paymentButtonType: .buy, paymentButtonStyle: .automatic)
> btn.addTarget(context.coordinator, action: #selector(Coordinator.tap), for: .touchUpInside)
> return btn
> }
> func updateUIView(_ uiView: PKPaymentButton, context: Context) {}
> func makeCoordinator() -> Coordinator { Coordinator(action: action) }
> class Coordinator: NSObject {
> let action: () -> Void
> init(action: @escaping () -> Void) { self.action = action }
> @objc func tap() { action() }
> }
> }
>
> struct CheckoutView: View {
> @StateObject private var coordinator = CheckoutCoordinator()
> var body: some View {
> VStack {
> Text(coordinator.status)
> if coordinator.applePayAvailable {
> ApplePayButton { coordinator.startPayment() }.frame(height: 48)
> }
> }.onAppear { coordinator.setup() }
> }
> }
>
> class CheckoutCoordinator: NSObject, ObservableObject, RazorpayPaymentCompletionProtocol {
> @Published var status = "Ready"
> @Published var applePayAvailable = false
> private var razorpay: RazorpayCheckout?
> private let dummyWebView = WKWebView()
>
> func setup() {
> razorpay = RazorpayCheckout.initWithKey(
> "rzp_live_XXXXXXXXXX",
> andDelegate: self,
> withPaymentWebView: dummyWebView,
> ApplePay: ApplePay.pluginInstance()
> )
> razorpay?.applePay?.canMakePayment { [weak self] canPay in
> DispatchQueue.main.async { self?.applePayAvailable = canPay }
> }
> }
>
> func startPayment() {
> let options: [AnyHashable: Any] = [
> "amount": 50000, "currency": "INR",
> "email": "gaurav.kumar@example.com", "contact": "+919876543210",
> "order_id": "order_CuEzONfnOI86Ab", "method": "card",
> "app": [
> "name": "apple_pay",
> "apple_pay": ["merchant_identifier": "merchant.com.yourcompany.app"]
> ]
> ]
> razorpay?.authorize(options)
> }
>
> func onPaymentSuccess(_ payment_id: String, andData response: [AnyHashable: Any]) {
> status = "Success: \(payment_id)"
> }
> func onPaymentError(_ code: Int32, description str: String, andData response: [AnyHashable: Any]) {
> status = "Error: \(str)"
> }
> }
> ```
## Frequently Asked Questions
> [accordion] I use a table view or collection view where payment methods expand on selection. How does the plugin fit?
>
> The plugin separates detection from payment. Use `canMakePayment` to decide whether to include the Apple Pay row at all. When the user selects that row, show the Apple Pay button. When they tap your CTA, call `razorpay.authorize(options)` with the Apple Pay payload.
>
> ```swift Swift theme={null}
> // On view setup
> razorpay?.applePay?.canMakePayment { [weak self] canPay in
> DispatchQueue.main.async {
> if canPay { self?.paymentMethods.append(.applePay) }
> self?.tableView.reloadData()
> }
> }
>
> // When user taps the CTA inside the expanded row
> @IBAction func payTapped() {
> let options: [AnyHashable: Any] = [ /* full Apple Pay payload */ ]
> razorpay?.authorize(options)
> }
> ```
> [accordion] Do I need to import PassKit?
>
> Yes. PassKit provides Apple's `PKPaymentButton` for the button UI. It is part of iOS, so it adds no dependency weight. You will also need to import `WebKit` since Custom Checkout init requires a `WKWebView` instance.
> [accordion] The Apple Pay sheet appears but the transaction always fails. What should I check?
>
> * **Merchant ID alignment** โ Does the Merchant ID you passed in `options["app"]["apple_pay"]["merchant_identifier"]` match the one in your `.entitlements` and the one uploaded to the Razorpay Dashboard?
> * **Certificate uploaded** โ Is the CSR-signed certificate for that Merchant ID present in the Razorpay Dashboard?
> * **Network match** โ Are you testing with a card whose network is enabled for your Razorpay account?
> * **Backend support** โ Is Apple Pay enabled for your account in the Razorpay Dashboard?
>
> If all four are correct, check the response in `onPaymentError`'s `andData` for the specific failure reason from the backend.
### Related Information
* [Apple Pay Standard Checkout](/docs/payments/payment-methods/apple-pay)
* [Apple Pay โ Custom Checkout](/docs/payments/payment-methods/apple-pay/custom-integration)
* [Apple Pay Web Component Integration](/docs/payments/payment-methods/apple-pay/custom-integration/web-sdk/web-component)
# React Native Integration
Source: https://razorpay.com/docs/payments/payment-methods/apple-pay/react-native-custom-checkout
Accept Apple Pay payments in your React Native app using Razorpay's Custom Checkout SDK. Build your own UI around the Apple Pay button with Razorpay handling payment processing.
Available in
๐ฎ๐ณ India
Use Razorpay Apple Pay to add Apple Pay to your React Native app. Razorpay handles payment processing while you build your own UI around the Apple Pay button.
> [!NOTE]
>
> **SDK Version**
>
> The Apple Pay feature is available in `react-native-customui` version `2.3.0` and later. Apple Pay runs on iOS only.
## Prerequisites
| Requirement | Details |
| - | - |
| Razorpay account | With Apple Pay enabled (**Dashboard โ Account & Settings โ Payment Methods**) |
| Razorpay API key | `rzp_live_*` (your live key) |
| Apple Developer account | Required to configure an Apple Pay Merchant ID |
| Apple Pay Merchant ID | For example, `merchant.com.yourcompany.app`, created in the Apple Developer Portal |
| Merchant ID certificate | Generated from the CSR that Razorpay shares and sent back to your Razorpay point of contact (see [One-Time Setup](#one-time-setup-before-code)) |
| React Native project | With the `react-native-customui` package installed |
| Apple Pay plugin pod | `razorpay-applepay-pod` 1.0.1+ added to your `ios/Podfile` (see [Step 2](#step-2-add-the-apple-pay-plugin-pod)) |
| Xcode 14+ and CocoaPods | iOS deployment target 12.0+ |
| Physical iOS device | Transactions can only complete on real devices |
| Server-side order | Created via the Razorpay Orders API |
> [!NOTE]
>
> **iOS Only**
>
> Apple Pay is available on iOS only. On Android, `canMakePayment()` resolves `false`, so hide the Apple Pay button there. Never call `open()` with `app.apple_pay` on Android.
## One-Time Setup (Before Code)
Complete this setup once before writing any integration code.
> [accordion] Apple Developer Portal Steps
>
> 1. **Create Apple Pay Merchant ID:** In the Apple Developer Portal, go to **Identifiers โ + โ Merchant IDs**. Use the format `merchant.com.yourcompany.app` and register.
>
> 2. **Share Merchant ID with Razorpay:** Send your Merchant ID to your Razorpay point of contact. The team will share a CSR file with you.
>
> 3. **Generate Certificate on Apple:** In the Apple Developer Portal, open your Merchant ID โ **Create Certificate** under Apple Pay Payment Processing. Upload the `.csr`, then download the `apple_pay.cer`.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Certificates expire after 25 months. Set a reminder to renew before expiry.
>
> 4. **Share Certificate with Razorpay:** Send the `apple_pay.cer` file back to your Razorpay point of contact for configuration.
> [accordion] Xcode Steps
>
> 1. Open `ios/YourApp.xcworkspace` in Xcode.
> 2. Select your app target โ **Signing & Capabilities**.
> 3. Click **+ Capability โ Apple Pay**.
> 4. Tick the Merchant ID created above.
>
> This generates a `.entitlements` file. Sample output:
>
> ```xml Entitlements theme={null}
> com.apple.developer.in-app-payments
>
> merchant.com.yourcompany.app
>
> ```
>
> The merchant identifier in this entitlement must be the same one you pass as `app.apple_pay.merchant_identifier` at runtime.
## Integration Steps
### Step 1: Install the SDK
Install the package from npm:
```sh Terminal theme={null}
npm install react-native-customui@^2.3.0
```
### Step 2: Add the Apple Pay Plugin Pod
The Apple Pay plugin is opt-in. Add it to your `ios/Podfile`, inside your app target:
```ruby Podfile theme={null}
pod 'razorpay-applepay-pod', '~> 1.0.1'
```
Then install the pods:
```sh Terminal theme={null}
cd ios && pod install
```
Existing apps that already have the pod should run `pod update razorpay-applepay-pod`.
> [accordion] Why is the plugin opt-in?
>
> Declaring the plugin as a hard dependency would force the Apple Pay pod on every app using `react-native-customui`, so you add it explicitly only when you need Apple Pay.
>
> The SDK resolves the plugin at runtime. If the pod is absent, your app still builds and Apple Pay degrades cleanly: `canMakePayment` returns `false` and `open()` rejects with `DEVICE_NOT_SUPPORTED`.
### Step 3: Initialise Once
```js JavaScript theme={null}
import Razorpay from 'react-native-customui';
Razorpay.initRazorpay(KEY_ID); // once, when your checkout screen mounts
```
Eligibility uses the key and SDK instance this creates. Calling `canMakePayment()` before it resolves `false` and logs a console warning; it does not reject. Do not `await` this call, as the promise returned by `initRazorpay` never settles.
### Step 4: Check if the Customer Can Pay
Call this before showing your Apple Pay button. It checks whether the user can pay via Apple Pay with your merchant account.
```js JavaScript theme={null}
import Razorpay from 'react-native-customui';
const eligible = await Razorpay.canMakePayment();
```
`canMakePayment` returns a boolean. It is merchant-aware, not a device probe: it fetches the card networks enabled for your Razorpay account and resolves `true` only when Apple Pay is live for your account and the customer's Wallet holds a card on an accepted network. It returns `false` on Android, and when `initRazorpay` has not been called. Hide the Apple Pay button when it is `false`.
### Step 5: Create an Order on Your Server
Create a Razorpay order via the Orders API on your backend and send the `order_id` to your app.
```bash Request theme={null}
curl -X POST https://api.razorpay.com/v1/orders \
-u rzp_live_XXXXXXXXXX:your_secret \
-H "Content-Type: application/json" \
-d '{
"amount": 50000,
"currency": "INR",
"receipt": "YOUR_ORDER_REF",
"notes": { "orderId": "YOUR_ORDER_REF" }
}'
```
The response returns an `order_id` such as `order_CuEzONfnOI86Ab`. Pass this to your app.
To carry your own order reference through an Apple Pay payment, set `receipt` and `notes` on the **order** (as shown above). See [Attaching Your Own Order Reference](#attaching-your-own-order-reference).
> [!WARNING]
>
> **Watch Out!**
>
> Never embed your API secret in the mobile app. Orders must be created by your own backend. A decompiled app bundle exposes any secret it contains, and with it your merchant account.
> [accordion] Order Parameters
>
> | Key | Required | Description |
> | - | - | - |
> | `amount` | Yes | Payment amount in the smallest currency subunit. For example, for โน299, pass `29900`. For three-decimal currencies such as KWD, BHD and OMR, to accept 295.991, pass `295990`. For zero-decimal currencies such as JPY, to accept 295, pass `295`. |
> | `currency` | Yes | The currency in which the transaction should be made. |
> | `receipt` | Optional | Your internal order reference. Returned as `order_receipt` in settlement recon and reports. Use this to map an Apple Pay payment back to your own order. |
> | `notes` | Optional | Key-value notes stored on the order. Must be a nested JSON object, such as `{ "orderId": "YOUR_ORDER_REF" }`. Readable later via the Orders API. |
### Step 6: Load the Payment Button
Apple's Human Interface Guidelines require the use of `PKPaymentButton` (or a visually compliant variant). Custom buttons will lead to App Store rejection.
React Native has no built-in Apple Pay button. Expose `PKPaymentButton` to JavaScript with a small native view module (an `RCTViewManager` subclass that returns a `PKPaymentButton`), or use a community package that does the same. Whichever you use, it must render Apple's `PKPaymentButton` and call your payment handler on tap.
**Button constraints:**
* Use `PKPaymentButton`, not a generic button with an Apple Pay icon.
* Do not place text or icons inside it.
* Respect Apple's minimum height requirement.
* Use the `automatic` style on iOS 14+ for automatic light and dark mode adaptation.
* Disable the button while a payment is in flight (see Step 7).
> [!NOTE]
>
> **Test on a Real Device**
>
> Run on a physical iOS device. Transactions cannot complete on the simulator. Tap your Apple Pay button, authenticate with Face ID or Touch ID, then confirm the payment record appears in the Razorpay Dashboard.
### Step 7: Trigger the Payment on User Tap
This call must be made in response to a user gesture (such as a button tap). Do not call it on mount or from a timer. Use the existing `Razorpay.open(options)` API with an Apple Pay payload.
```js JavaScript theme={null}
import Razorpay from 'react-native-customui';
function onApplePayTapped() {
Razorpay.open({
key_id: 'rzp_live_XXXXXXXXXX',
order_id: 'order_CuEzONfnOI86Ab',
amount: '50000', // in currency subunits (for example, paise)
currency: 'INR',
email: 'gaurav.kumar@example.com',
contact: '9876543210',
method: 'card',
app: {
name: 'apple_pay',
apple_pay: {
merchant_identifier: 'merchant.com.yourcompany.app',
},
},
notes: { orderId: 'YOUR_ORDER_REF' },
})
.then(data => console.log(data.razorpay_payment_id))
.catch(err => console.log(err.error));
}
```
> [!WARNING]
>
> **Guard Against Double Taps**
>
> Apple Pay will not present a second payment sheet while one is pending. If `open()` is called twice, both calls fail with `SHEET_PRESENTATION_FAILED`. Set a busy flag at the start of the tap handler, before any async work such as creating the order, and clear it only after the promise settles.
> [accordion] Payment Parameters
>
> | Key | Required | Description |
> | - | - | - |
> | `key_id` | Yes | Your Razorpay key ID. For example, `rzp_live_*xxxx`. |
> | `amount` | Yes | Payment amount in the smallest currency subunit. For example, for โน299, pass `29900`. Must match the order amount. |
> | `currency` | Yes | The currency for the transaction. |
> | `contact` | Yes | Customer phone number. Maximum length 15 characters, inclusive of country code. |
> | `email` | Yes | Customer email address. Maximum length 40 characters. |
> | `order_id` | Yes | Unique identifier of the order created in Step 5. |
> | `method` | Yes | Must be `"card"`. |
> | `app.name` | Yes | Must be `"apple_pay"`. `method` must also be `"card"`, otherwise a normal card payment opens. |
> | `app.apple_pay.merchant_identifier` | Yes | Your Apple Pay Merchant ID from the Apple Developer Portal. |
> | `notes` | Optional | Requires `razorpay-applepay-pod` 1.0.1+. Key-value notes attached to the payment. Both nested (`{ "orderId": "YOUR_ORDER_REF" }`) and flat (`"notes[orderId]"`) formats are supported. You can also set a reference on the order instead (see [Attaching Your Own Order Reference](#attaching-your-own-order-reference)). |
### Step 8: Handle the Payment Result
`open()` returns a promise. It resolves with the payment payload on success and rejects with an error object on failure or cancellation.
```js JavaScript theme={null}
Razorpay.open(options)
.then(data => {
const { razorpay_payment_id, razorpay_order_id, razorpay_signature } = data;
// Send payment_id, order_id and signature to your server
// for signature verification.
})
.catch(err => {
const code = err.error?.code;
const description = err.error?.description ?? err.description;
if (code === 'PAYMENT_CANCELLED') return; // customer closed the sheet
// Show description to the customer, log code
});
```
**Success response (promise resolves with):**
```json Response theme={null}
{
"razorpay_payment_id": "pay_XXXXXXXXXX",
"razorpay_order_id": "order_XXXXXXXXXX",
"razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
}
```
**Failure response (promise rejects with):**
Customer cancels:
```json Response theme={null}
{
"error": { "code": "PAYMENT_CANCELLED" },
"code": 0,
"description": "Payment cancelled by user"
}
```
Payment declined after it was created:
```json Response theme={null}
{
"error": {
"code": "PAYMENT_FAILED",
"description": "Payment failed",
"metadata": { "payment_id": "pay_XXXXXXXXXX" }
},
"code": 0,
"description": "Payment failed"
}
```
`err.error.code` is always present. `err.error.description` is not: errors raised on the device carry only the code, and their message is in the top-level `err.description`. Read `err.error.description` first and fall back to `err.description`. `metadata.payment_id` is present only on `PAYMENT_FAILED` when a payment was created before the failure.
### Step 9: Verify Payment Signature on Your Server
Always verify the signature on your server before fulfilling the order. A successful `open()` is not a fulfilled order. Send `razorpay_payment_id`, `razorpay_order_id` and `razorpay_signature` to your backend for HMAC verification.
> [!WARNING]
>
> **Watch Out!**
>
> Never fulfil an order based solely on the client-side result. Always verify the payment signature server-side.
See the [signature verification guide](/docs/payments/server-integration/nodejs/integration-steps) for Node.js and other language samples.
## Attaching Your Own Order Reference
To map payments back to your own order ID, pass `notes` in the `Razorpay.open()` options (requires `razorpay-applepay-pod` 1.0.1+). As an optional alternative, set the reference on the **order** instead.
Set it at order creation (Step 5):
```json Order theme={null}
{
"amount": 50000,
"currency": "INR",
"receipt": "YOUR_ORDER_REF",
"notes": { "orderId": "YOUR_ORDER_REF" }
}
```
Then read it back:
| Where you set it | Where it comes back |
| - | - |
| Order `receipt` | `order_receipt` in settlement recon and reports |
| Order `notes` | `notes` on the order, via the Orders API |
## Error Codes
Apple Pay uses the **same** `Razorpay.open()` promise, the same success and error events and the same error envelope as any other payment method in this SDK. If your app already handles card payments, your existing `.then()` and `.catch()` handle Apple Pay with no changes.
On failure, read the error code as a string from `err.error.code` in the rejected promise. The top-level `err.code` is a legacy number shared with other payment methods. For Apple Pay it is `0` for every failure, including cancellation, so check `err.error.code === 'PAYMENT_CANCELLED'` to detect a cancel.
| Error | When It Fires |
| - | - |
| `INVALID_OPTIONS` | Missing `app.apple_pay.merchant_identifier`, missing or invalid amount or a merchant key so malformed the request URL cannot be built. |
| `NO_SUPPORTED_CARD` | Device supports Apple Pay, but the Wallet has no card for the merchant's supported networks. |
| `DEVICE_NOT_SUPPORTED` | Apple Pay unavailable on the device: hardware, OS, region or restrictions. Also returned when the `razorpay-applepay-pod` is not installed. |
| `SHEET_PRESENTATION_FAILED` | PassKit declined to present the payment sheet, including when a sheet is already pending. |
| `PAYMENT_CANCELLED` | Customer dismissed the sheet or cancelled at the Face ID or Touch ID prompt. |
| `NETWORK_ERROR` | Connection loss, timeout or any transport-level failure. |
| `PAYMENT_FAILED` | Internal or processing failure (serialise failure, empty or unparseable response) and the normalised code for any backend decline. |
## Currency and Card Networks
American Express is accepted for INR payments only. For any other currency the SDK removes American Express from the payment sheet automatically. You do not need to do anything.
## Complete Working Example
```js JavaScript theme={null}
import React, { useEffect, useState } from 'react';
import { Platform, Text, View } from 'react-native';
import Razorpay from 'react-native-customui';
import ApplePayButton from './ApplePayButton'; // your PKPaymentButton bridge
const KEY_ID = 'rzp_live_XXXXXXXXXX';
const MERCHANT_IDENTIFIER = 'merchant.com.yourcompany.app';
export default function CheckoutScreen({ orderId, amount, currency }) {
const [eligible, setEligible] = useState(false);
const [busy, setBusy] = useState(false);
const [status, setStatus] = useState('Ready');
useEffect(() => {
if (Platform.OS !== 'ios') return;
Razorpay.initRazorpay(KEY_ID);
Razorpay.canMakePayment().then(setEligible);
}, []);
function onApplePayTapped() {
if (busy) return;
setBusy(true);
Razorpay.open({
key_id: KEY_ID,
order_id: orderId,
amount: String(amount),
currency,
email: 'gaurav.kumar@example.com',
contact: '9876543210',
method: 'card',
app: {
name: 'apple_pay',
apple_pay: { merchant_identifier: MERCHANT_IDENTIFIER },
},
notes: { orderId: orderId },
})
.then(data => setStatus(`Success: ${data.razorpay_payment_id}`))
.catch(err => setStatus(`Error: ${err.error?.code}`))
.finally(() => setBusy(false));
}
return (
{status}
{eligible && (
)}
);
}
```
## Frequently Asked Questions
> [accordion] Can I test Apple Pay on the iOS Simulator or in Razorpay test mode?
>
> No. The Simulator has no Secure Element, so the Apple Pay token it produces is empty and the payment fails. Razorpay test mode does not process Apple Pay tokens. Test on a physical iOS device with a real card in Wallet, using your `rzp_live_*` key.
> [accordion] I show payment methods in a list where each expands on selection. How does Apple Pay fit?
>
> The SDK separates detection from payment. Use `canMakePayment` to decide whether to include the Apple Pay row at all. When the user selects that row, show the Apple Pay button. When they tap it, call `Razorpay.open(options)` with the Apple Pay payload.
> [accordion] The Apple Pay sheet appears but the transaction always fails. What should I check?
>
> * **Merchant ID alignment:** Does the Merchant ID you passed in `app.apple_pay.merchant_identifier` match the one in your `.entitlements` and the one you shared with Razorpay?
> * **Certificate uploaded:** Has your Razorpay point of contact confirmed that the certificate for that Merchant ID is configured?
> * **Network match:** Are you testing with a card whose network is enabled for your Razorpay account?
> * **Backend support:** Is Apple Pay enabled for your account in the Razorpay Dashboard?
> * **Real device:** Are you running on a physical device, not the Simulator?
>
> If all of these are correct, take `err.error.metadata.payment_id` (when present) from the rejected promise and look up that payment in the Razorpay Dashboard or through the Payments API for the decline reason.
> [accordion] canMakePayment returns false but the device has cards in Wallet. Why?
>
> `canMakePayment` checks your merchant account as well as the device. It returns `false` when Apple Pay is not enabled for your Razorpay account, when none of the cards in Wallet are on a network enabled for your account, when the `razorpay-applepay-pod` is not installed, when `initRazorpay` has not been called, or on Android.
### Related Information
* [Apple Pay Standard Checkout](/docs/payments/payment-methods/apple-pay)
* [Apple Pay - Custom Checkout](/docs/payments/payment-methods/apple-pay/custom-integration)
* [Apple Pay iOS Integration](/docs/payments/payment-methods/apple-pay/ios-custom-checkout)
* [Apple Pay Web Component Integration](/docs/payments/payment-methods/apple-pay/custom-integration/web-sdk/web-component)
# Bank Transfer
Source: https://razorpay.com/docs/payments/payment-methods/bank-transfer
Offer bank transfer as a payment method to customers at Razorpay Checkout.
Available in
๐ฎ๐ณ India
Accept payments from customers using online bank transfers at Razorpay Checkout.

> [accordion] On-Demand Feature - Raise a Request
>
> > [!NOTE]
> >
> > **Feature Request**
> >
> > This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
> [!WARNING]
>
> **Watch Out!**
>
> Bank transfer downloads are not supported by default on webviews. This feature is only available on web and native SDKs.
## How it Works
1. Customer selects bank transfer as the payment method on Checkout.
2. A Customer Identifier is created with bank account number and IFSC details and displayed to customer.
3. Customer copies these details and make a netbanking payment from their online banking portal.
These Customer Identifiers are linked to the bank account you have registered with Razorpay. The money will be settled to your account as per the settlement schedule.
You can choose:
* [**Method 1: Create New Customer Identifier Per Order**](#method-1-create-new-customer-identifier-per-order)
* [**Method 2: Create New Customer Identifier Per Customer**](#method-2-create-new-customer-identifier-per-customer)
> [!WARNING]
>
> **Watch Out!**
>
> All bank transfer payments are auto-captured. [Manual capture](/docs/payments/payments/capture-settings#manually-capture-payments) of payments is not supported.
## Method 1: Create New Customer Identifier Per Order
This creates a new Customer Identifier per order, every time a customer selects bank transfer as the payment method on Checkout.
#### Integration
The bank transfer payment method will appear for the [Payment Gateway](/docs/payments/payment-gateway/web-integration/standard) and products such as Payment Links and Payment Pages.
> [!NOTE]
>
> **Payment Links and Payment Pages**
>
> No additional integration is required if you are using Payment Links and Payment Pages. Raise a request with our [Support Team](https://razorpay.com/support/#request) to activate the feature on your account.
Apart from enabling this feature on your account, complete the following steps to integrate this feature on your Razorpay Standard Integration:
> [accordion] Step 1: Track Checkout Modal Using `ondismiss` Function
>
> If you have integrated with [Razorpay Standard Checkout](/docs/payments/payment-gateway/web-integration/standard), you must implement the `ondismiss` function to track the lifecycle of the Checkout modal. This displays the `close` icon, which the customer can use to exit the Checkout.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > If you are using [Android SDK](/docs/payments/payment-gateway/android-integration/standard), you can rely on the "payment cancelled by user" error response to track the lifecycle of the Checkout modal.
>
> ```javascript ondismiss function theme={null}
> "modal": {
> "ondismiss": function(){
> console.log(data);
> }
> }
> ```
> [accordion] Step 2: Attach Event Listeners to `Razorpay` Instance
>
> For bank transfer payments, Checkout will not give a success or a failure callback. You must attach event listeners to the `Razorpay` instance to track if and when the customer has selected the bank transfer payment method.
>
> ```javascript Event Listener theme={null}
> var rzp = new Razorpay(options);
> rzp.on('payment.submit', function (data) {
> if (data.method === 'bank_transfer') {
> // User has selected Bank Transfer
> }
> });
> ```
> [accordion] Step 3: Subscribe to Webhook Event
>
> You must subscribe to the `virtual_account.credited` webhook event on the Dashboard to receive notifications whenever customers make payments using bank transfers. Know how to [set up webhooks](/docs/webhooks/setup-edit-payments).
>
> **Sample Payload**
>
> ```json virtual_account.credited theme={null}
> {
> "entity": "event",
> "account_id": "acc_BFQ7uQEaa7j2z7",
> "event": "virtual_account.credited",
> "contains": [
> "payment",
> "virtual_account",
> "bank_transfer"
> ],
> "payload": {
> "payment": {
> "entity": {
> "id": "pay_DETA2KrOlhqQzF",
> "entity": "payment",
> "amount": 50000,
> "currency": "INR",
> "status": "captured",
> "order_id": "order_DBJOWzybf0sJbb",
> "invoice_id": null,
> "international": false,
> "method": "bank_transfer",
> "amount_refunded": 0,
> "amount_transferred": 0,
> "refund_status": null,
> "captured": true,
> "description": "NA",
> "card_id": null,
> "bank": null,
> "wallet": null,
> "vpa": null,
> "email": "gaurav.kumar@example.com",
> "contact": "+919000090000",
> "customer_id": "cust_1Aa00000000004",
> "notes": [],
> "fee": 731,
> "tax": 112,
> "error_code": null,
> "error_description": null,
> "created_at": 1567675983
> }
> },
> "virtual_account": {
> "entity": {
> "id": "va_DET8z3wBxfPB5L",
> "name": "Acme Corp",
> "entity": "virtual_account",
> "status": "active",
> "description": "Virtual Account to test webhook",
> "amount_expected": null,
> "notes": {
> "Important": "Notes for Internal Reference"
> },
> "amount_paid": 50000,
> "customer_id": "cust_1Aa00000000004",
> "close_by": null,
> "closed_at": null,
> "created_at": 1567675923,
> "receivers": [
> {
> "id": "ba_DET8z5Z5ghv4hW",
> "entity": "bank_account",
> "ifsc": "RATN0VAAPIS",
> "bank_name": "RBL Bank",
> "name": "Acme Corp",
> "account_number": "1112220006712324"
> }
> ]
> }
> },
> "bank_transfer": {
> "entity": {
> "id": "bt_DETA2KSUJ3uCM9",
> "entity": "bank_transfer",
> "payment_id": "pay_DETA2KrOlhqQzF",
> "mode": "NEFT",
> "bank_reference": "156767598340",
> "amount": 50000,
> "payer_bank_account": {
> "id": "ba_DETA2UuuKtKLR1",
> "entity": "bank_account",
> "ifsc": "KKBK0000007",
> "bank_name": "Kotak Mahindra Bank",
> "name": "Gaurav Kumar",
> "account_number": "765432123456789"
> },
> "virtual_account_id": "va_DET8z3wBxfPB5L"
> }
> }
> },
> "created_at": 1567675983
> }
> ```
## Method 2: Create New Customer Identifier Per Customer
This ensures that each customer will be allocated a unique Customer Identifier, whenever they use the bank transfer method on Checkout. This method requires specific integration steps, which are mentioned in the following section.
#### Integration
The bank transfer payment method will appear for the [Payment Gateway](/docs/payments/payment-gateway/web-integration/standard) and products such as Payment Links and Payment Pages.
> [!NOTE]
>
> **Payment Links and Payment Pages**
>
> No additional integration is required if you are using Payment Links and Payment Pages. Raise a request with our [Support Team](https://razorpay.com/support/#request) to activate the feature on your account.
Apart from enabling this feature on your account, you must implement the following steps in your payment gateway integration:
> [accordion] Step 1: Create a Customer
>
> You must create a customer using the Customers API. You can also do this using the Dashboard.
>
> The following endpoint creates or add a customer with basic details such as name and contact details. You can use this API for various Razorpay Solution offerings.
>
> `POST /customers`
>
> ```bash Curl theme={null}
> curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> -X POST https://api.razorpay.com/v1/customers \
> -H "Content-Type: application/json" \
> -d '{
> "name": "",
> "contact": "",
> "email": "",
> "fail_existing": "0",
> "notes": {
> "notes_key_1": "Tea, Earl Grey, Hot",
> "notes_key_2": "Tea, Earl Greyโฆ decaf."
> }
> }'
> ```
>
> ```java Java theme={null}
> RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
>
> JSONObject customerRequest = new JSONObject();
> customerRequest.put("name","");
> customerRequest.put("contact","");
> customerRequest.put("email","");
> customerRequest.put("fail_existing", "0");
> JSONObject notes = new JSONObject();
> notes.put("notes_key_1","Tea, Earl Grey, Hot");
> notes.put("notes_key_2","Tea, Earl Greyโฆ decaf.");
> customerRequest.put("notes",notes);
>
> Customer customer = razorpay.customers.create(customerRequest);
> ```
>
> ```python Python theme={null}
> import razorpay
> client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
>
> client.customer.create({
> "name": "",
> "contact": "",
> "email": "",
> "fail_existing": "0",
> "notes": {
> "notes_key_1": "Tea, Earl Grey, Hot",
> "notes_key_2": "Tea, Earl Greyโฆ decaf."
> }
> })
> ```
>
> ```go Go theme={null}
> import ( razorpay "github.com/razorpay/razorpay-go" )
> client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
>
> data := map[string]interface{}{
> "name": "",
> "contact": "",
> "email": "",
> "fail_existing": "0",
> "notes": map[string]interface{}{
> "notes_key_1": "Tea, Earl Grey, Hot",
> "notes_key_2": "Tea, Earl Greyโฆ decaf.",
> },
> }
>
> body, err := client.Customer.Create(data, nil)
> ```
>
> ```php PHP theme={null}
> $api = new Api($key_id, $secret);
>
> $api->customer->create(array('name' => '', 'email' => '','contact'=>'','notes'=> array('notes_key_1'=> 'Tea, Earl Grey, Hot','notes_key_2'=> 'Tea, Earl Greyโฆ decaf'));
> ```
>
> ```csharp .NET theme={null}
> RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
>
> Dictionary options = new Dictionary();
>
> options.Add("name", "");
> options.Add("contact", "");
> options.Add("email", "");
> options.Add("fail_existing", "0");
>
> Customer customer = Customer.Create(options);
> ```
>
> ```ruby Ruby theme={null}
> require "razorpay"
> Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
>
> Razorpay::Customer.create({
> "name": "",
> "contact": "",
> "email": "",
> "fail_existing": "0",
> "notes": {
> "notes_key_1": "Tea, Earl Grey, Hot",
> "notes_key_2": "Tea, Earl Greyโฆ decaf."
> }
> })
> ```
>
> ```javascript Node.js theme={null}
> var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
>
> instance.customers.create({
> name: "",
> contact: "",
> email: "",
> fail_existing: "0",
> notes: {
> notes_key_1: "Tea, Earl Grey, Hot",
> notes_key_2: "Tea, Earl Greyโฆ decaf."
> }
> })
> ```
>
> ```json Success Response theme={null}
> {
> "id" : "cust_1Aa00000000004",
> "entity": "customer",
> "name" : "",
> "email" : "",
> "contact" : "",
> "gstin": null,
> "notes": {
> "notes_key_1":"Tea, Earl Grey, Hot",
> "notes_key_2":"Tea, Earl Greyโฆ decaf."
> },
> "created_at ": 1234567890
> }
> ```
>
> ```json Failure Response theme={null}
> {
> "error": {
> "code": "BAD_REQUEST_ERROR",
> "description": "Contact number should be at least 8 digits, including country code",
> "source": "business",
> "step": "NA",
> "reason": "invalid_contact_number",
> "metadata": {},
> "field": "contact"
> }
> }
> ```
>
> > [tab] Request Parameters
> >
> > `name` *optional*
> > : `string` Customer's name. Alphanumeric value with period (.), apostrophe ('), forward slash (/), at (@) and parentheses are allowed. The name must be between 3-50 characters in length. For example, `Gaurav Kumar`.
> >
> > `contact ` *optional*
> > : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919876543210`.
> >
> > `email ` *optional*
> > : `string` The customer's email address. A maximum length of 64 characters. For example, `gaurav.kumar@example.com`.
> >
> > `fail_existing` *optional*
> > : `string` Possible values:
> >
> > * `1` (default): If a customer with the same details already exists, throws an error.
> > * `0`: If a customer with the same details already exists, fetches details of the existing customer.
> >
> > `gstin` *optional*
> > : `string` Customer's GST number, if available. For example, `29XAbbA4369J1PA`.
> >
> > `notes` *optional*
> > : `object` This is a key-value pair that can be used to store additional information about the entity. It can hold a maximum of 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
>
> > [tab] Response Parameters
> >
> > `id`
> > : `string` Unique identifier of the customer. For example, `cust_1Aa00000000004`.
> >
> > `name`
> > : `string` Customer's name. Alphanumeric, with period (.), apostrophe ('), forward slash (/), at (@) and parentheses allowed. The name must be between 3-50 characters in length. For example, `Gaurav Kumar`.
> >
> > `contact`
> > : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919876543210`.
> >
> > `email`
> > : `string` The customer's email address. A maximum length of 64 characters. For example, `gaurav.kumar@example.com`.
> >
> > `gstin`
> > : `string` GST number linked to the customer. For example, `29XAbbA4369J1PA`.
> >
> > `notes`
> > : `json object` This is a key-value pair that can be used to store additional information about the entity. It can hold a maximum of 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `created_at`
> > : `integer` UNIX timestamp, when the customer was created. For example, `1234567890`.
> >
> > Pass the `customer_id` available in the response to Checkout.
> [accordion] Step 2: Create an Order
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order:
>
> * Using the sample code on the Razorpay Postman Public Workspace.
> * By manually integrating the API sample codes on your server.
>
> #### Razorpay Postman Public Workspace
>
> You can use the Postman workspace below to create an order:
>
> [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
>
> #### API Sample Code
>
> Use this endpoint to create an order using the Orders API.
>
> `POST /orders`
>
> ```bash Curl theme={null}
> curl -X POST https://api.razorpay.com/v1/orders
> -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> -H 'content-type:application/json'
> -d '{
> "amount": 500,
> "currency": "INR",
> "receipt": "qwsaq1",
> "partial_payment": true,
> "first_payment_min_amount": 230,
> "notes": {
> "key1": "value3",
> "key2": "value2"
> }
> }'
> ```
>
> ```java Java theme={null}
> RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
>
> JSONObject orderRequest = new JSONObject();
> orderRequest.put("amount",50000);
> orderRequest.put("currency","INR");
> orderRequest.put("receipt", "receipt#1");
> JSONObject notes = new JSONObject();
> notes.put("notes_key_1","Tea, Earl Grey, Hot");
> notes.put("notes_key_1","Tea, Earl Grey, Hot");
> orderRequest.put("notes",notes);
>
> Order order = instance.orders.create(orderRequest);
> ```
>
> ```python Python theme={null}
> import razorpay
> client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
>
> client.order.create({
> "amount": 50000,
> "currency": "INR",
> "receipt": "receipt#1",
> "partial_payment": False,
> "notes": {
> "key1": "value3",
> "key2": "value2"
> }
> })
> ```
>
> ```php PHP theme={null}
> $api = new Api($key_id, $secret);
>
> $api->order->create(array('receipt' => '123', 'amount' => 100, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> ```
>
> ```csharp .NET theme={null}
> RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
>
> Dictionary orderRequest = new Dictionary();
> orderRequest.Add("amount", 50000);
> orderRequest.Add("currency", "INR");
> orderRequest.Add("receipt", "receipt#1");
> Dictionary notes = new Dictionary();
> notes.Add("notes_key_1", "Tea, Earl Grey, Hot");
> notes.Add("notes_key_2", "Tea, Earl Grey, Hot");
> orderRequest.Add("notes", notes);
>
> Order order = client.Order.Create(orderRequest);
> ```
>
> ```ruby Ruby theme={null}
> require "razorpay"
> Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
>
> para_attr = {
> "amount": 50000,
> "currency": "INR",
> "receipt": "receipt#1",
> "notes": {
> "key1": "value3",
> "key2": "value2"
> }
> }
>
> Razorpay::Order.create(para_attr)
> ```
>
> ```javascript Node.js theme={null}
> var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
>
> instance.orders.create({
> "amount": 50000,
> "currency": "INR",
> "receipt": "receipt#1",
> "partial_payment": false,
> "notes": {
> "key1": "value3",
> "key2": "value2"
> }
> })
> ```
>
> ```go Go theme={null}
> import ( razorpay "github.com/razorpay/razorpay-go" )
> client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
>
> data := map[string]interface{}{
> "amount": 50000,
> "currency": "INR",
> "receipt": "some_receipt_id",
> "partial_payment": false,
> "notes": map[string]interface{}{
> "key1": "value1",
> "key2": "value2",
> },
> }
> body, err := client.Order.Create(data, nil)
> ```
>
> ```json Success Response theme={null}
> {
> "id": "order_IluGWxBm9U8zJ8",
> "entity": "order",
> "amount": 5000,
> "amount_paid": 0,
> "amount_due": 5000,
> "currency": "INR",
> "receipt": "rcptid_11",
> "offer_id": null,
> "status": "created",
> "attempts": 0,
> "notes": [],
> "created_at": 1642662092
> }
> ```
>
> ```json Failure Response theme={null}
> {
> "error": {
> "code": "BAD_REQUEST_ERROR",
> "description": "Order amount less than minimum amount allowed",
> "source": "business",
> "step": "payment_initiation",
> "reason": "input_validation_failed",
> "metadata": {},
> "field": "amount"
> }
> }
> ```
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is โน299, then pass `29900` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be 3 characters.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY and three decimal currencies, such as KWD, BHD and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7000 is to be received from the customer in two installments of #1 - โน5000, #2 - โน2000 then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
> >
> > Know more about [Orders API](/docs/api/orders).
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] Step 3: Pass `customer_id` and `order_id` to Checkout
>
> You must pass the `customer_id` and `order_id` generated in the previous steps to Checkout, as shown below:
>
> ```javascript Standard Checkout theme={null}
>
>
>
> ```
> [accordion] Step 4: Track Checkout Modal Using `ondismiss` Function
>
> (Only if you are using [Standard Checkout](/docs/payments/payment-gateway/web-integration/standard))
>
> If you have integrated with Razorpay Standard Checkout, you must implement the `ondismiss` function to track the lifecyle of the Checkout modal. This displays the `close` icon, which the customer can use to exit the Checkout.
>
> ```javascript ondismiss function theme={null}
> "modal": {
> "ondismiss": function(){
> console.log(data);
> }
> }
> ```
> [accordion] Step 5: Attach Event Listeners to `Razorpay` Instance *\[Optional]*
>
> For bank transfer payments, Checkout will not give a success or a failure callback. You must attach event listeners to the `Razorpay` instance to track if and when the customer has selected the bank transfer payment method.
>
> ```javascript Event Listener theme={null}
> var rzp = new Razorpay(options);
> rzp.on('payment.submit', function (data) {
> if (data.method === 'bank_transfer') {
> // User has selected Bank Transfer
> }
> });
> ```
> [accordion] Step 6: Subscribe to Webhook Event
>
> You must subscribe to the `virtual_account.credited` webhook event on the Dashboard to receive notifications whenever customers make payments using bank transfers. Know how to [setup webhooks](/docs/webhooks/setup-edit-payments#set-up-webhooks).
>
> **Sample Payload**
>
> ```json virtual_account.credited theme={null}
> {
> "entity": "event",
> "account_id": "acc_BFQ7uQEaa7j2z7",
> "event": "virtual_account.credited",
> "contains": [
> "payment",
> "virtual_account",
> "bank_transfer"
> ],
> "payload": {
> "payment": {
> "entity": {
> "id": "pay_DETA2KrOlhqQzF",
> "entity": "payment",
> "amount": 50000,
> "currency": "INR",
> "status": "captured",
> "order_id": "order_DBJOWzybf0sJbb",
> "invoice_id": null,
> "international": false,
> "method": "bank_transfer",
> "amount_refunded": 0,
> "amount_transferred": 0,
> "refund_status": null,
> "captured": true,
> "description": "NA",
> "card_id": null,
> "bank": null,
> "wallet": null,
> "vpa": null,
> "email": "gaurav.kumar@example.com",
> "contact": "+919000090000",
> "customer_id": "cust_1Aa00000000004",
> "notes": [],
> "fee": 731,
> "tax": 112,
> "error_code": null,
> "error_description": null,
> "created_at": 1567675983
> }
> },
> "virtual_account": {
> "entity": {
> "id": "va_DET8z3wBxfPB5L",
> "name": "Acme Corp",
> "entity": "virtual_account",
> "status": "active",
> "description": "Virtual Account to test webhook",
> "amount_expected": null,
> "notes": {
> "Important": "Notes for Internal Reference"
> },
> "amount_paid": 50000,
> "customer_id": "cust_1Aa00000000004",
> "close_by": null,
> "closed_at": null,
> "created_at": 1567675923,
> "receivers": [
> {
> "id": "ba_DET8z5Z5ghv4hW",
> "entity": "bank_account",
> "ifsc": "RATN0VAAPIS",
> "bank_name": "RBL Bank",
> "name": "Acme Corp",
> "account_number": "1112220006712324"
> }
> ]
> }
> },
> "bank_transfer": {
> "entity": {
> "id": "bt_DETA2KSUJ3uCM9",
> "entity": "bank_transfer",
> "payment_id": "pay_DETA2KrOlhqQzF",
> "mode": "NEFT",
> "bank_reference": "156767598340",
> "amount": 50000,
> "payer_bank_account": {
> "id": "ba_DETA2UuuKtKLR1",
> "entity": "bank_account",
> "ifsc": "KKBK0000007",
> "bank_name": "Kotak Mahindra Bank",
> "name": "Gaurav Kumar",
> "account_number": "765432123456789"
> },
> "virtual_account_id": "va_DET8z3wBxfPB5L"
> }
> }
> },
> "created_at": 1567675983
> }
> ```
### Related Information
* [Hosted Integration for Bank Transfer](/docs/payments/payment-methods/bank-transfer/hosted-integration)
* [Custom Integration for Bank Transfer](/docs/payments/payment-methods/bank-transfer/custom-integration)
# About Payments
Source: https://razorpay.com/docs/payments/payments
Check payments, the various payment states and Razorpay Dashboard actions. Understand late authorisations.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can accept live payments using the Razorpay Payment Gateway once your Razorpay account is activated.
## Payment Life Cycle
Following are the various states of a payment:
| States | Description |
| - | - |
| `created` | This is the first state. The customer has provided the payment details, which are sent to Razorpay. The payment has not been processed yet. |
| `authorized` | The payment state changes to `authorized` when the bank successfully authenticates the customer's payment details. The money is deducted from the customerโs account by Razorpay. The amount is settled to your account after the payment is manually or automatically captured. Payment in this state is auto-refunded to the customer if not captured within 3 days of creation. |
| `captured` | When the payment status is changed to `captured`, the payment is verified as complete by Razorpay. The amount is settled to your account as per the settlement schedule. |
| `refunded` | You can refund the payments that have been successfully captured at your end. The amount is reversed to the customer's account. |
| `failed` | An unsuccessful payment attempt is marked as `failed`, and the customer will have to retry the payment. Any amount debited will be refunded into customers account in 5-7 working days. |
The following state diagram depicts the flow of money through the various payment states:

## Late Authorisation
Late authorisation is a situation that arises when a payment is interrupted by external factors such as network issues or technical errors at the customer's or bank's end. In such cases, funds may or may not get debited from the customer's bank account, and Razorpay does not receive a payment status from the bank. Know more about [Late Authorization](/docs/payments/payments/late-authorisation).
## Dashboard Actions
You can perform the following actions on payments from the Dashboard:
* Configure settings to [auto-capture payments](/docs/payments/payments/capture-settings).
* [Manually capture payments](/docs/payments/payments/capture-settings#manually-capture-payments)
* [Issue a refund for a payment](/docs/payments/refunds/issue)
* [View details of a payment](/docs/payments/payments/dashboard#view-payment-details)
* [View settlement details of a payment](/docs/payments/settlements/dashboard#view-settlements-using-dashboard)
### Related Information
* [Payment Methods](/docs/payments/payment-methods)
* [Test Card Details](/docs/payments/payments/test-card-details)
* [Payment Capture Settings](/docs/payments/payments/capture-settings)
* [International Payment Support](/docs/payments/international-payments)
# Payments APIs
Source: https://razorpay.com/docs/payments/payments/apis
List of available Payments and Downtime APIs for various actions such as Capture, Fetch and Update.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can use the Payments APIs to perform various actions. You can perform a few of these actions from the Dashboard as well.
## List of Payments APIs
The table below lists the various Payments APIs and gives a brief description of each API:
| API | Description |
| - | - |
| [Capture a payment](/docs/api/payments/capture) | API to capture a payment |
| [Fetch a payment](/docs/api/payments/fetch-with-id) | API to view details of a payment |
| [Fetch multiple payments](/docs/api/payments/fetch-all-payments) | API to get details of all payments |
| [Fetch payments based on orders](/docs/api/payments/fetch-payments-orders) | API to get payments based on orders |
| [Fetch card details for a payment](/docs/api/payments/fetch-card-details-payment) | API to get the card details for a payment |
| [Update a payment](/docs/api/payments/update) | API to update notes of a payment |
| [Payment Downtime API](/docs/api/payments/downtime) | API for payment downtime and webhooks |
### Related Information
* [About Payments](/docs/payments/payments)
* [Payments - Dashboard Actions](/docs/payments/payments/dashboard)
# Payment Capture Settings
Source: https://razorpay.com/docs/payments/payments/capture-settings
Configure auto and manual payment capture settings from Razorpay Dashboard and using APIs.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
When a customer makes an online payment, it usually flows through different states. Know more about [payment states](/docs/payments/payments#payment-life-cycle).
By default, once your customer completes a payment, it is automatically moved to the `captured` state.
However, the payment can remain in the `authorized` state in the following scenarios:\
* **Late authorization** \
Due to external factors such as network issues or technical errors, Razorpay may not immediately receive payment status from the bank. In this case, Razorpay polls the APIs intermittently for 3 days to check the status. If we receive the payment status as successful, the payment is moved to the `authorized` state. Know more about [late authorization](/docs/payments/payments/late-authorisation).
* **Specific business use case** \
Some businesses such as those in the Ecommerce industry, may retain the payment in the `authorized` state and later move them to the `captured` state.
> [!WARNING]
>
> **Watch Out!**
>
> * For **Direct Settlement** merchants, payments will be auto-captured irrespective of the configuration.
> * You must ensure that all payments in theย authorizedย stateย are movedย toย the capturedย state withinย 3ย days of creation.ย Thisย is mandatory because paymentsย thatย areย not capturedย within this period will be [refunded automatically](/docs/payments/refunds/auto-refunds) to customers.
You can configure **Payment Capture settings** on the Dashboard. You can choose to:
* [Auto-capture all payments](#auto-capture-all-payments)
* [Auto-capture with set timeouts](#auto-capture-with-custom-timeouts)
* [Manually capture timeout](#manual-capture-timeout)
> [!NOTE]
>
> **Handy Tips**
>
> * Only the Razorpay account owner can configure payment capture settings on the Dashboard.
> * Payment Capture settings are applicable only for payments created using the Orders API.
| Option | Description |
| - | - |
| Auto-capture all payments | All payments `authorized` within 3 days from the time of creation are auto-captured. |
| Auto-capture timeouts |
Allows you to define custom auto-capture timeout.
The minimum value is 12 minutes.
The maximum value (default) is 3 days.
|
| Manual capture timeout |
Allows you to define custom manual capture timeout.
The minimum value is 12 minutes.
The maximum value (default) is 3 days.
|
| Auto-refund speed | Payments in the `authorized` state are auto-refunded after the timeout. The available option is **Normal Refund** where the payment is refunded to your customer in 5-7 working days. The refund speed selected here is only applicable to payments that are auto-refunded. |
## Auto-capture All Payments
You can use this setting to capture all `authorized` payments automatically. This eliminates the time and effort spent manually capturing payments. **This is the default setting for all customers.**

Watch this video to know how to set up the **Automatic Capture** option.
[https://www.youtube.com/embed/1u0X1k6mh-U](https://www.youtube.com/embed/1u0X1k6mh-U)
> [accordion] To auto-capture all `authorized` payments:
>
> 1. Log in to the Dashboard.
> 2. Navigate to the **Account & Settings** option and scroll to the **Payments Capture** option.
> 3. Click the **Change** button next to **Automatic Capture**.
> 4. Under **Automatic Capture**, click the drop-down and select the time period in the **Capture all payments authorised within** field. For example, 3 days.
> 5. Click **Next**.
> 6. Select **Refund Automatically** and click **Next**.
> 7. Select Normal Refund as the **Refund Speed**.
> 8. Click **Save**.
## Auto-capture With Custom Timeouts
Once the payment is `created`, you can:
* Auto-capture payments that are `authorized` within a certain time period, and
* Manually capture payments that are `authorized` after that time period.
You can do this by setting up custom timeouts for automatic and manual capture.
### Auto-capture Timeout
Let us say you only want to auto-capture payments that are `authorized` within 3 days from creation.
| --- Capture Settings |
Select **Automatic Capture**
Automatic capture timeout = 3 days.
|
| - | - |
| Payments auto-refunded | If payments are `authorized` after 3 days. |

Watch this video to see how to set up the **Automatic Capture with Timeout** option.
[YouTube video player](https://www.youtube.com/embed/_pll_tqFGhY?si=Kvl9jk4KoibLTQFb)
### Auto-capture + Manual Capture Timeouts
Let us say you want to:
* Auto-capture payments that are `authorized` within 2 days from creation.
* Manually capture payments that are `authorized` within 3 days from creation.
| --- Capture Settings |
Select **Automatic Capture**
Automatic capture timeout = 2 days.
Manual capture timeout = 3 days.
|
| - | - |
| Payments auto-refunded if |
Payments not `captured` by you within 3 days.
Payments are `authorized` after 3 days.
|

Watch this video to see how to set up the **Automatic and Manual Capture with Timeout** option.
[YouTube video player](https://www.youtube.com/embed/6vyGZ8vOqno?si=wqvPQNV4d9Cw-x_m)
> [accordion] To configure capture settings:
>
> 1. Log in to your Dashboard.
> 2. Navigate to the **Account & Settings** option and scroll to the **Payments Capture** option.
> 3. Click the **Change** button next to **Automatic Capture**.
> 4. Under **Automatic Capture**, click the drop-down and select the time period in the **Capture all payments authorised within** field. For example, 2 days.
> 5. Click **Next**.
> 6. Select **Capture manually via dashboard or API**.
> 7. Click the drop-down and select the time period in the **Capture payments manually authorised within** field. For example, 3 days.
> 8. Click **Next**.
> 9. Select Normal Refund as the **Refund Speed**.
> 10. Click **Save**.
## Manually Capture Payments
You can use this setting to capture `authorized` payments manually.
> [!WARNING]
>
> **Watch Out!**
>
> Manual capture of payments is not supported on [bank transfer](/docs/payments/payment-methods/bank-transfer). All bank transfer payments are auto-captured.
### Manual Capture Timeout
Let us say you only want to manually capture payments that are `authorized` within 3 days from creation. To do this, you should set the manual capture timeout as 3 days.
| --- Capture Settings |
Select **Manual Capture**
Manual capture timeout = 3 days.
|
| - | - |
| Payments auto-refunded if |
Payments not `captured` by you within 3 days.
Payments are `authorized` after 3 days.
|

Watch this video to set up the **Manual Capture** option.
[YouTube video player](https://www.youtube.com/embed/zBcK1KIed30?si=F06RpJcegPNBI8ND)
> [accordion] To set up the manual capture:
>
> 1. Log in to the Dashboard.
> 2. Navigate to the **Account & Settings** option and scroll to the **Payments Capture** option.
> 3. Click the **Change** button next to **Automatic Capture**.
> 4. Select the **Manual Capture** option.
> 5. Set the manual capture timeout to 3 days and click **Next**.
> 6. Select Normal Refund as the **Refund Speed**.
> 7. Click **Save**.
You can manually capture payments in the `authorized` state using our [Capture API](/docs/api/payments/capture) or from the [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). All payments that are not captured within the manual timeout period will be auto-refunded.
## Configure Payment Capture Settings Using Orders API
Capture values passed in the [Orders API](/docs/payments/payments/capture-settings/api) take precedence over the Payment Capture settings configured on the Dashboard. You can use this to change the capture settings for individual payments.
### Related Information
* [How Payment Gateway Works](/docs/payments/payment-gateway/how-it-works)
* [Payment States](/docs/payments/payments)
* [Refunds](/docs/payments/refunds)
* Manually capture payments in the `authorized` state using the [Capture API](/docs/api/payments/capture) or from the [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments)
* [Set up and Subscribe to Webhook events](/docs/webhooks/setup-edit-payments)
# Payments - Dashboard Actions
Source: https://razorpay.com/docs/payments/payments/dashboard
View payment details, manually capture payments, issue a refund or view settlement details of a payment from the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can use the Dashboard to perform the following actions:
[View Payment Details](#view-payment-details)
[View Settlement Details of a Payment](#view-settlement-details-of-a-payment)
[Subscribe to Webhook Events](#subscribe-to-webhook-events)
## View Payment Details
Watch this video to see how to view the payment details.
[YouTube video player](https://www.youtube.com/embed/lgeCPKJnNHk?si=-wR4AfdbYeCv_5Cm)
To view the details of a payment made to your account:
1. Log in to your Dashboard.
2. Click **Transactions** โ **Payments**.
3. Click a **Payment Id** to view details of the payment.
## View Settlement Details of a Payment
Watch this video to view the settlement details of a payment.
[YouTube video player](https://www.youtube.com/embed/vatTtGeH9vU?si=fHNUcLgFPali5CFw)
To view a detailed break-down of a settlement made to your account:
1. Log in to your Dashboard.
2. Navigate to **Transactions** โ **Payments**.
3. Click on the specific **Payment Id** for which you want to view the settlement details.
4. In the **Payment Details** view, you can view the settlement details.
5. Click on the **settlement\_id** to view the detailed breakdown.
## Manually Capture Payments
Watch this video to capture payments manually.
[YouTube video player](https://www.youtube.com/embed/txOqhzbbwM4?si=bpN0HoEHcgcYVaFp)
To manually capture payments:
1. Log in to the Dashboard.
2. Navigate to **Transactions** โ **Payments**.
3. Under the **Payments** tab, identify the authorized payment you want to capture.
4. Click the relevant **Payment Id**.
5. In the **Payment Details** pane, click **Capture Payment**.
6. A dialog box is displayed. Click **Yes, Capture**.
## Issue a Refund
You can issue refunds to your customers from the Dashboard. Know more about [issuing refunds](/docs/payments/refunds/issue).
## Subscribe to Webhook Events
You can subscribe to webhook events from the Dashboard. Know more about [Webhooks](/docs/webhooks).
To subscribe to webhook events:
1. Log in to the Dashboard.
2. Navigate to **Accounts & Settings** โ **Webhooks** to subscribe to events available for payments.
The table below lists the webhook events available for payments.
| Webhook Event | Description |
| - | - |
| `payment.authorized` | Triggered when a payment is authorised. |
| `payment.captured` | Triggered when a payment is successfully captured. |
| `payment.failed` | Triggered when a payment fails. |
> [!NOTE]
>
> **Handy Tips**
>
>
>
The payload for a Webhook is a snapshot of the entity when the event occurred.
> For example, when a customer makes a payment, its status changes to `authorized`. It can then immediately move to the `captured` state.
>
The payment can be in the `captured` state when the `payment.authorized` Webhook is fired. However, the payload for the `payment.authorized` event contains details of the events when the payment was authorised, not when it was captured.
>
In case of network tokenised cards, the last 4 digits will be of the tokenised card and not the actual card.
The field `flow` is present only in the case of Turbo UPI Payments.
>
Know more about [webhooks](/docs/webhooks) and check the [sample payloads](/docs/webhooks/payments).
### Related Information
* [About Payments](/docs/payments/payments)
* [Payment APIs](/docs/payments/payments/apis)
# Downtime Updates
Source: https://razorpay.com/docs/payments/payments/downtime-updates
View various downtimes, grouped across different payment methods.
Available in
๐ฎ๐ณ India
Downtime is a period during which one or more payment options under-perform, leading to considerable delays in payment processing. These downtimes are due to technical issues or outages at Razorpay's partner or issuing banks side. Razorpay informs you about the downtime to communicate it to your customers.
## Bank Downtime Updates
Bank Downtimes Updates provides you with an overview of various downtimes grouped across different payment methods on your Dashboard. You can view the latest status of downtimes for netbanking, cards, UPI and Emandate at any point in time. You can also view instrument details for downtimes such as Cards Network, Issuers and Banks in the **Downtime Updates** section on your Dashboard.

## View Downtime Details
To view the downtime details:
1. Log in to the Dashboard.
2. Click **Bank Downtimes icon** in the top menu.

3. Click on the required VPA handle, Network or Bank to view the details of the downtime. You can view the following information:
* Number of downtimes for the day.
* Duration of the downtime.
* Past 30 days incidents, with downtime date, time, duration and severity levels.

> [!NOTE]
>
> **Handy Tips**
>
> * The status is auto-refreshed every 5 minutes.
> * You can also do a manual refresh after every 5 minutes.
## Downtime Communication on Checkout
Razorpay identifies and sends you downtime updates via email for various payment instruments like cards and netbanking. Your customers will be able to view the downtime message on checkout, which will help them choose a payment method with a better success rate.
> [!WARNING]
>
> **Watch Out!**
>
> We temporarily prevent customers from accessing payment instruments, which are bound to fail on checkout. For example, if all payments made via Netbanking are bound to fail, we show the option in a disabled state on checkout until it recovers. However, they can select an alternative instrument that is more likely to work to complete the payment successfully.
>
> > [accordion] Customer Experience
> >
> > 
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
Razorpay shares updates regarding downtimes on various payment methods at the checkout as shown:
> [accordion] Card
>
> 
> [accordion] UPI
>
> 
> [accordion] Netbanking
>
> 
### Related Information
* [Payment Downtime API](/docs/api/payments/downtime)
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/payments/faqs
Find answers to frequently asked questions about Razorpay Payments.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
## Payments
> [accordion] How does a customer make payments using the Razorpay Payment Gateway?
>
> Try [Razorpay Checkout](https://razorpay.com/demopg3/).
>
> > [!WARNING]
> >
> > **Watch Out!**\\
> >
> > This is a real transaction. The money will be deducted from your account when you complete the transaction. The money will be auto-refunded to your account in 4-5 days.
> [accordion] How much does Razorpay charge per transaction?
>
> Under the standard plan designed for small and medium enterprises, Razorpay charges 2% per transaction. Razorpay also offers an enterprise plan designed for large volumes, which gives you the best prices possible for your business. Know more about [pricing](https://razorpay.com/pricing/).
> [accordion] Is GST mandatory to accept payments?
>
> No, GST is not mandatory if your business does not have an annual turnover of over โน20 lakhs. However, if you do not provide your GST details, you would not be able to claim TDS at the time of filing your tax returns.
> [accordion] What is the applicable GST? How is it charged?
>
> 18% GST is charged on the fee deducted for all payment methods except domestic card transactions of amount \< = โน 2,000. You can check the [Monthly Invoice Report](/docs/payments/magic-checkout/analytics/reports#generate-reports) from the **Reports** section of your Dashboard to understand GST charged.
> [accordion] How can we test our website or mobile app integration with Razorpay Payment Gateway?
>
> Razorpay offers a sandbox environment where you can test integrations before going live. To test your integration, [generate test API Keys](/docs/api/authentication#generate-api-keys) in test mode and implement them in your code. Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience. No money is deducted as these are simulated transactions.
> [accordion] Do you have any test cards that we can use to check our website or mobile app integration with Razorpay Payment Gateway?
>
> You can use the following test card details to inspect the payment flow with the available payment methods. Use any CVV and any future date as the expiry date.
>
> * **Mastercard**: 5104015555555558 / 5104060000000008
> * **Visa**: 4386289407660153
> * **Subscription**: 5104015555555558
> * **International MasterCard**: 5555555555554444 / 5105105105105100
> * **International Visa**: 401288888881881 / 4000184186218826
> * **AMEX**: 379862000000006
> [accordion] What is Standard Capture?
>
> Standard capture is an authorisation followed by a `delayed` capture of the payment. In this scenario, if a customer makes a payment, the amount is deducted from the customer's bank account by Razorpay. The authorised amount is settled to your account only after you initiate a `capture` request.
> [accordion] What is auto-capture? How do I enable auto-capture for payments?
>
> When a customer makes a payment, it goes to the `authorized` state. You need to capture the payments to get them settled to your account. Auto-capture enables the payments to be captured automatically as soon as they are `authorized`. Payments that are `authorized`, but not `captured` are automatically refunded to the customers in 5 days.\\
>
> To set up automatic capture of payments, set up [Payment Capture settings](/docs/payments/payments/capture-settings) on your Dashboard.
> [accordion] How do I manually capture a payment?
>
> You can manually capture payments:
>
> * [From the Dashboard](/docs/payments/payments/capture-settings#manually-capture-payments)
> * [Using APIs](/docs/api/payments/capture)\\
>
> You need to capture the payments to get them settled to your account. Payments that are `authorized`, but not `captured` are automatically refunded to the customers in 5 days.
> [accordion] Can I accept International Payments through Razorpay?
>
> Yes, you can accept international payments using Razorpay Payment Gateway. Know more about [International Payments](/docs/payments/international-payments).
> [accordion] How are payments made by my customers settled to my account? Is any action required from my end?
>
> No action is required from your end for the settlements. The captured payments are settled automatically to your account as per your settlement cycle. Know more about [Settlements](/docs/payments/settlements).
> [accordion] A payment is marked as 'failed' on my Dashboard but money is debited from the customerโs account. What do I do?
>
> A payment is said to be in the 'failed' state when we do not receive a successful callback message on the transaction from the issuing bank. If the customerโs account is debited and we do not receive a successful callback, the amount will be auto-refunded by the customerโs issuing bank in 7-10 working days.\\
>
> In case of a failed payment, we verify the status with the bank at regular intervals. If there is a change in status, the payment moves to the `authorized` state, and a notification is sent to you and the customer.\\
>
> In such scenarios, you can choose to do any one of the following:
>
> * **Provide services**: Capture the payment and provide the service/good as was promised earlier to the customer.
> * **Refund the transaction**: If you are not able to provide service to the customer as per the agreed terms (Such as, time of delivery, cost of purchase or inventory issues), refund the payment to the customer.
> [accordion] Is Razorpay PCI-DSS compliant?
>
> Yes, Razorpay is PCI-DSS compliant.
> [accordion] What is Late Authorisation?
>
> Late authorisation is a situation that arises when a payment is interrupted by external factors such as network issues or technical errors at customer's or bank's end. In such cases, funds may or may not get debited from the customer's bank account and Razorpay does not receive a payment status from the bank. Know more about [Late Authorisation](/docs/payments/payments/late-authorisation).
> [accordion] Why am I facing issues with the checkout?
>
> Facing issues with your checkout? Here are possible reasons:
>
> * Checkout not loading:
> * Check for any incorrect parameters in the payload. See[Standard web integration best practices](/docs/payments/payment-gateway/web-integration/standard/best-practices).
> * Ensure that the API key in use is valid, non-expired and most recently generated one. See [API keys](/docs/payments/dashboard/account-settings/api-keys).
> * Delay in payment processing on Checkout: The delay in payment confirmation, often referred to as 'Late Auth,' is a common issue within the payments ecosystem. Know more about [Late Authorisation](/docs/payments/payments/late-authorisation).
> * Payment failed, but debited from customer: If the payment is debited from the customer but does not reflect on the dashboard, the amount will be refunded within 3-7 business days.
# Late Payment Authorisations
Source: https://razorpay.com/docs/payments/payments/late-authorisation
Check the Late Payment authorisation and its causes, differences between normal and late authorised payments and how to handle them.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Late authorisation is a situation that arises when a payment is interrupted by external factors, such as network issues or technical errors at the customer's or bank's end. In such cases, funds may or may not get debited from the customer's bank account, and Razorpay does not receive a bank's payment status.
## How Late Authorisations are Handled
If there is no response from the bank about a payment that a customer has made, the Dashboard displays this transaction's status as `Created.` If there is no response, even after 10 minutes, the transaction is marked as `Failed` due to timeout. After that, Razorpay polls the bank at various intervals for 3 days, from the payment creation day. During this time, if our system receives the payment status from the bank as **Successful**, the payment is marked as `Authorized.` The payments authorised in this manner are considered as late authorised.

> [!NOTE]
>
> **Handy Tips**
>
> On average, less than 0.5% of the total number of payments get late authorised. In cases where funds get debited from the customer's bank account and are not [captured](/docs/payments/payments), the amount is [auto-refunded](/docs/payments/refunds/auto-refunds) to the customer. As a best practice, you should subscribe to the [**`payment.authorized`** webhook](/docs/webhooks) to get notifications about authorised or failed payments.
Not all payments that appear as failed are considered as late authorised. Late authorisation is a special case of handling technical or manual interruptions that prevent Razorpay from receiving payment status from the bank and proceed with the payment flow.
## What Causes Late Authorisation
Interruptions that prevent a payment gateway from receiving payment status information from the bank is a common cause for late authorisations. In most cases, payments are interrupted because of any of the following reasons:
* Network issues at the customer's end.
* Technical issues at the customer's bank's end.
* Customers closing the pop-up window or pressing the back button after submitting the OTP.
If Razorpay receives the payment status from the bank later, payment is moved to the `authorized` state leading to late payment authorisation. You have little control over these interruptions. Know more about [handling late authorisations](/docs/payments/payments/late-authorisation/handle) to avoid customer inconvenience.
## Normal Authorisations Vs. Late Authorisations
The difference in the payment flow for a normal payment and a late authorised payment is explained in the table below:
| **Normal Payment** | **Late Authorised Payment** |
| - | - |
| The customer completes the payment; bank gateway notifies Razorpay. | The customer completes the payment; bank gateway fails to notify Razorpay. |
| If the bank gateway response is **Successful** (customer's bank account is debited), Razorpay records this as an **Authorised** payment. | If there is no response from the bank, the payment remains in the **Created** state for the first 10 minutes and is later marked as **Failed** after getting timed out. The customer's bank account may or may not have been debited. |
| Once authorised, you can either choose to **capture** or **refund** this payment. | This payment can be **Captured** or **Refunded** only if it is late authorised. |
> [!NOTE]
>
> **Handy Tips**
>
> Authorised payments are payments that the customer completes. You need to capture the payment for it to be settled in your account.
### Related Information
[Handle Late Payment Authorisations](/docs/payments/payments/late-authorisation/handle)
# Handle Late Authorised Payments
Source: https://razorpay.com/docs/payments/payments/late-authorisation/handle
Use Orders API or webhooks to handle late authorisations.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Late authorised payments are rare situations, as only less than 0.5% of the total payments get late authorised. The payments that are **late authorised** and not captured are auto-refunded once the capture time window has passed. Know more about [Payment Capture Settings](/docs/payments/payments/capture-settings) and [auto-refunds](/docs/payments/refunds/auto-refunds).
Based on your business needs, you can decide how to handle payments that may get late authorised. This largely depends on whether you can provide services for the late authorised payment.
## If You Wish to Provide Services Later
You can keep a track of these payments and fulfil the order when it is authorised.
For example, if you are an online marketplace merchant, who sells clothes and accessories, you can mark the order as 'pending' in your system and deliver the order when the payment gets authorised
## If You Cannot Provide Services for Late Authorised Payments
Ignore these orders and communicate to the customer. Payments that stay in an `Authorized` state are auto-refunded to customers within 5 working days (without considering the bank's processing time).
> [accordion] Example
>
> If you are an online food delivery service, you need to deliver food immediately on receiving payments. In this case, you cannot wait for late authorisation of payments. Ignore this order and inform the customer about order cancellation and auto-refund of any amount that may have got debited from the customer's account.
> [!NOTE]
>
> **Handy Tips**
>
> Auto refunds are issued within 5 days. However, if you want to issue a refund instantly, you can capture the payment and issue a refund as per your requirements. Know more about [Refunds](/docs/payments/refunds).
## If You Want to Provide Services Later
You can keep a track of these payments and fulfil the order when it is authorised.
> [accordion] Example
>
> If you are an online marketplace merchant, who sells clothes and accessories, you can mark the order as 'pending' in your system and deliver the order when the payment gets authorised.
> [!NOTE]
>
> **Communicate with Your Customers**
>
> When customers reach out to you about a payment that was debited from their bank accounts before the successful order completion, ensure that you clearly communicate the payment status and how you will be handling it. You can choose to send out a message such as the following:
>
> If your order has failed, any amount debited will be auto-refunded in 5 working days (not considering your bank's processing time).
## Payment Capture Settings
This is the easiest way to handle late authorisation. This feature gives you control over which payments should be auto-captured and which payments should be auto-refunded by allowing you to:
* Automatically capture all payments.
* Setup custom timeouts for automatic and [manual capture](/docs/payments/payments/capture-settings/api).
* Manually capture all payments.
Know more about [Payment Capture settings](/docs/payments/payments/capture-settings).
## Orders API
Orders API makes it easier to handle cases of late authorisation in the following ways:
* It clubs multiple payment attempts against the same order. If one of the payments is successful and another attempt gets **Late Authorised**, the late authorised payment is refunded immediately, and only successful payment is marked against the Order.
* Allows you to auto-capture payments based on the parameters passed in the [Orders API](/docs/payments/payments/capture-settings/api). Capture values passed in the Orders API take precedence over the Payment Capture settings configured on the Dashboard.
## Webhooks
Webhooks send you notifications when payments move to the **Authorized** state. The webhook `payment.authorized` sends you a notification when the payment you were expecting to be **Late Authorized** moves to **Authorized** state.
You can send email notifications to your customers about the payment status, asking them to take further action to deliver the service. You can set up webhooks from the Dashboard. Know more about [webhooks](/docs/webhooks).
## Frequently Asked Question (FAQs)
> [accordion] Is Late Authorisation of payment specific to ?
>
> No. While other gateways also face these interruptions, Razorpay ensures that you have a way of handling late authorised payments using:
>
> * [Orders API](/docs/api/orders)
> * [Webhooks](/docs/webhooks)
> * [Payment capture settings on the Dashboard](/docs/payments/payments/capture-settings).
>
> You can track the status of the payment on the Dashboard.
### Related Information
* [Late Authorisations](/docs/payments/payments/late-authorisation)
* [About Payments](/docs/payments/payments)
# Success Rate Analytics
Source: https://razorpay.com/docs/payments/payments/success-rate-analytics
View the transaction success rate on the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
Success rate is the **ratio of successful transactions to the total number of transactions.**
**Success Rate** (SR)=Total number of successful (authorised) transactions / Total number of attempted transactions over a given period of time.
**Example**
If you had 100 transactions in a week and 93 were successful, your success rate would be 93% for that week.
View the success rate of all your transactions and perform the various actions:
* [All Payment Methods](#all-payment-methods)
* [UPI](#upi)
* [Cards](#cards)
* [Netbanking](#netbanking)
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
## Access Success Rate Analytics (SRA) Dashboard
To access the Success Rate Analytics (SRA) Dashboard:
1. Log in to your Dashboard.
2. Navigate to **Transactions** โ **Success Rate**.

> [accordion] Using the Analytics Dashboard, you can:
>
> * Perform a detailed analysis of your recent transactions.
> * View the details of each payment method by clicking on the respective method options such as Cards, UPI, Netbanking and Emandate.
>
> 
> * View the payment volume distribution with the help of a pie diagram and understand the top reasons behind the payment failures. Know more about [failure reasons](#payment-failure-reasons).
>
> 
> * Correlate downtime with your success rate trends for specific methods.
## Date Range
Select the date and time for which you want to perform a success rate analysis. You can use a predefined range or opt for a custom range.

> [!NOTE]
>
> **Handy Tips** \\
>
> * The default date range is 6 hours.
> * You can select the date range from upto the last 90 days.
> * You can also select a specific time range as per your requirement.
Additionally, in the success rate line graph, you can select the time frame for an hourly, daily, weekly, and monthly basis. The table below explains the availability of each time frame:
| Time Frame | Explanation |
| - | - |
| Hourly | Hourly data for graphical representation is available only if the selected date range is less than 1 day. |
| Daily | Daily data for graphical representation is available only if the selected date range is between 2 and 14 days. |
| Weekly | Weekly data for graphical representation is available only if the selected date range is between 14 and 90 days. |
| Monthly | Monthly data for graphical representation is available only if the selected date range is more than 2 months. |
> [accordion] Example: Hourly Data for Cards
>
> 
## All Payment Methods
**All Payment Methods** provide a high-level view of your transactions and recent performance at the method level (Cards, UPI, Netbanking and Emandate).
> [accordion] With the **All Payment Methods** option, you can:
>
> * View the success rate at the **payment method** level (UPI, Cards, Netbanking and Emandate).
>
> 
> * The line graph shows the success rate distribution of all payment methods on an hourly, daily, weekly and monthly basis as per your date range selection.
>
> 
> * View the payment volume distribution at the method level with the pie chart.
>
> 
> * View the top failure reasons along with the breakdown. Know more about [failure reasons](#payment-failure-reasons).
>
> 
## UPI
The **UPI** option provides a high-level view of all UPI transactions and recent performance for the selected date range along with the payment providers details.
> [accordion] With the **UPI** option you can:
>
> * View the success rate of all UPI transactions.
>
> 
> * The line graph shows the success rate distribution of **Intent**, **Collect** or **All flows (Intent and Collect)** on an hourly, daily, weekly and monthly basis as per your date range selection. You can select **Intent**, **Collect** or **All flows (Intent and Collect)** to compare the success rate.
>
> 
> * View the payment volume distribution of **Intent** and **Collect** with the pie chart.
>
> 
> * View the top failure reasons along with the breakdown. Know more about [failure reasons](#payment-failure-reasons).
>
> 
## Cards
The **Cards** option provides a high-level view of all Cards transactions and recent performance along with various other details for the selected date range.
Filters available for Cards are as follows:
> [!WARNING]
>
> **Watch Out!** \\
>
> The sub-filters vary based on the top transacting **card type**, **card networks** and **banks** for the selected date range.
| Filters | Sub- Filters |
| - | - |
| Card Networks | Examples: Visa, Mastercard, RuPay and Others. |
| Banks | Examples: HDFC, ICICI, Axis and Others. |
> [accordion] With the **Cards** option you can:
>
> * View the success rate of all Card transactions.
>
> 
> * Filter the transactions to view Cards payments received via **Card Type (Credit, Debit, Prepaid)**, **Card Networks**, or **Banks** as per your requirement.
>
> 
> * In the success rate line chart, select different **Card Networks**, or **Banks** as per the filter selected to compare the rate between individual **Card Networks**, or **Banks**.
>
> 
>
> * View the payment volume distribution of all **Card Networks**, or **Banks** as per the filter selected with the pie chart.
>
> 
> * View the top failure reasons along with the breakdown. Know more about [failure reasons](#payment-failure-reasons).
>
> 
## Netbanking
The **Netbanking** option provides a high-level view of all Netbanking transactions and recent performance along with various other details for the selected date range.
> [accordion] With the **Netbanking** option you can:
>
> * View the success rate of all Netbanking transactions.
>
> 
>
> * In the success rate line chart, select different banks to compare rate between various banks.
>
> 
>
> > [!WARNING]
> >
> > **Watch Out!** \\
> >
> > The various labels available apply only to the graphical representation.
>
> * View the payment volume distribution of all banks with the pie chart.
>
> 
> * View the top failure reasons along with the breakdown. Know more about [failure reasons](#payment-failure-reasons).
>
> 
## Payment Failure Reasons
| Failure Reason | Explanation |
| - | - |
| Customer Related | Customer related failures occur from the customers side. For example: customer cancellations, incorrect CVV, insufficient funds. |
| Banking Related | Banking related failures occur due to issues at customer's bank, UPI apps, and external gateways. |
| Business Related | Business related failures occur due to issues at business side like non-activation of payment methods or international payments. |
| Others | Other failures include errors due to fraud detection or internal provider issues. |
# Test Cards Details to Test Payments and Subscriptions
Source: https://razorpay.com/docs/payments/payments/test-card-details
Use test cards to test Indian, international and EMI payments, and Subscriptions.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can test the payment flow using our test cards.
> [!WARNING]
>
> **Watch Out!**
>
> * You can use these test cards to make payments in **test** mode only.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
> * If you use these test cards for **live** mode payments, either of the following error message will be displayed: `card issuer is invalid` or `invalid card input`.
Watch this video to see how to use the test card details.
[Use the test card details](https://www.youtube.com/embed/2VR0hXpF9RA?si=-meoxCcUgdK8sQsO)
> [accordion] To use the test card details:
>
> 1. At the Checkout, select Card as the payment method.
> 2. Enter the **OTP** to access saved cards if required.
> 3. Enter the card details. This depends on the flow you are testing.
> 4. Enter any random CVV.
> 5. Enter any future date as the expiry date.
> 6. Click **Pay**. A sample payment page is displayed.
> * Enter a random **OTP** between 4 to 10 digits to make the payment successful and click **Submit**.
> * Enter a random **OTP** below 4 digits to fail the payment and click **Submit**.
Use the following cards for testing. You can use any random CVV and any future date as the expiry date.
## Test Cards for Indian Payments
Use the following test cards to test various payment scenarios for Indian payments. You can save any of the test cards below. The saved card flow allows customers to store their card details for future transactions. When a customer selects the option to save their card, Razorpay handles the tokenization process internally. Know more about [Saved Cards](/docs/payments/payment-methods/cards/features/saved-cards).
| Network | Card Number | Card Type | Card Sub Type | CVV & Expiry Date |
| - | - | - | - | - |
| Visa | 4100 2800 0000 1007 | Debit | Consumer | Use a random CVV and any future date |
| Mastercard | 5555 5100 0008 1006 | Credit | Business | Use a random CVV and any future date |
| Mastercard | 5180 2872 0009 1001 | Prepaid | Consumer | Use a random CVV and any future date |
| RuPay | 6527 6589 0000 1005 | Credit | Consumer | Use a random CVV and any future date |
| Diners | 3608 280009 1007 | Credit | Consumer | Use a random CVV and any future date |
| Amex | 3402 560004 01007 | Credit | Consumer | Use a random CVV and any future date |
### Error Scenarios
Use these test cards to simulate and test various error conditions for the following networks. Once you initiate the payment, in success/failure screen, you must select failure to get the right error. Know more about [Cards Error Codes](/docs/errors/payments/cards).
> [accordion] BAD\_REQUEST\_ERROR
>
> | Error reason | Error description | Network | Card number | CVV & expiry date |
> | - | - | - | - | - |
> | `payment_timed_out` | Your payment could not be completed due to a temporary issue. Try again later. | Visa | 4100 2800 0009 0000 | Use a random CVV and any future date |
> | `payment_timed_out` | Your payment could not be completed due to a temporary issue. Try again later. | Mastercard | 5305 6200 0006 0000 | Use a random CVV and any future date |
> | `insufficient_fund` | Your payment could not be completed due to insufficient account balance. Try another card or payment method. | Visa | 4100 2800 0008 0001 | Use a random CVV and any future date |
> | `insufficient_fund` | Your payment could not be completed due to insufficient account balance. Try another card or payment method. | Mastercard | 5305 6200 0005 0001 | Use a random CVV and any future date |
> | `payment_cancelled` | Your payment has been cancelled. Try again or complete the payment later. | Visa | 4100 2800 0007 0002 | Use a random CVV and any future date |
> | `payment_cancelled` | Your payment has been cancelled. Try again or complete the payment later. | Mastercard | 5305 6200 0004 0002 | Use a random CVV and any future date |
> | `card_declined` | Your payment did not go through as it was declined by the bank. Try another payment method or contact your bank. | Visa | 4100 2800 0006 0003 | Use a random CVV and any future date |
> | `card_declined` | Your payment did not go through as it was declined by the bank. Try another payment method or contact your bank. | Mastercard | 5305 6200 0003 0003 | Use a random CVV and any future date |
> | `card_declined` | Your payment did not go through as it was declined by the bank. Try another payment method or contact your bank. | Visa | 4100 2800 0005 0004 | Use a random CVV and any future date |
> | `card_declined` | Your payment did not go through as it was declined by the bank. Try another payment method or contact your bank. | Mastercard | 5305 6200 0002 0004 | Use a random CVV and any future date |
> | `card_declined` | Your payment did not go through as it was declined by the bank. Try another payment method or contact your bank. | Visa | 4100 2800 0004 0005 | Use a random CVV and any future date |
> | `card_declined` | Your payment did not go through as it was declined by the bank. Try another payment method or contact your bank. | Mastercard | 5305 6200 0001 0005 | Use a random CVV and any future date |
> | `card_disabled_for_` `online_payments` | Your card is disabled for online payments. Please reach to your bank or try with another card. | Visa | 4100 2800 0003 0006 | Use a random CVV and any future date |
> | `card_disabled_for_` `online_payments` | Your card is disabled for online payments. Please reach to your bank or try with another card. | Mastercard | 5305 6200 0000 0006 | Use a random CVV and any future date |
> | `card_number_invalid` | You have entered an incorrect card number. Try again. | Visa | 4100 2800 0001 0008 | Use a random CVV and any future date |
> | `card_number_invalid` | You have entered an incorrect card number. Try again. | Mastercard | 5305 6200 0008 0008 | Use a random CVV and any future date |
> [accordion] GATEWAY\_ERROR
>
> | Error reason | Error description | Network | Card number | CVV & expiry date |
> | - | - | - | - | - |
> | `gateway_technical_error` | Your payment did not go through due to a temporary issue. Any debited amount will be refunded in 4-5 business days. | Visa | 4100 2800 0002 0007 | Use a random CVV and any future date |
> | `gateway_technical_error` | Your payment did not go through due to a temporary issue. Any debited amount will be refunded in 4-5 business days. | Mastercard | 5305 6200 0009 0007 | Use a random CVV and any future date |
> | `authentication_failed` | Your payment could not be completed due to incorrect OTP or verification details. Try another payment method or contact your bank for details. | Visa | 4100 2800 0000 0009 | Use a random CVV and any future date |
> | `authentication_failed` | Your payment could not be completed due to incorrect OTP or verification details. Try another payment method or contact your bank for details. | Mastercard | 5305 6200 0007 0009 | Use a random CVV and any future date |
## Test Cards for International Payments
| Card Network | Card Number | CVV & Expiry Date |
| - | - | - |
| Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date |
| Visa | 4012 8888 8888 1881 | Use a random CVV and any future date |
> [!NOTE]
>
> **Handy Tips**
>
> You may encounter an address collection window when using the Mastercard test card number `5105 1051 0510 5100` for international payments. To complete the test payment, provide the following address details:
>
> * **Address Line 1**: 21 Applegate Apartment
> * **Address Line 2**: Rockledge Street
> * **City**: New York
> * **State**: New York
> * **Country**: US
> * **Zipcode**: 11561
## Test Cards for Subscriptions
| Type | Card Network | Card Type | Card Number | CVV & Expiry Date |
| - | - | - | - | - |
| Domestic | Visa | Credit Card | 4718 6091 0820 4366 | Use a random CVV and any future date |
| International | Mastercard | Credit Card | 5104 0155 5555 5558 | Use a random CVV and any future date |
| International | Mastercard | Debit Card | 5104 0600 0000 0008 | Use a random CVV and any future date |
> [!WARNING]
>
> **Watch Out!**
>
> In test mode, you can perform a subsequent debit only within 3 days of token creation, as card tokens are valid for 3 days only.
## Test Card for EMI Payments
| Card Network | Card Number | CVV & Expiry Date |
| - | - | - |
| Mastercard | 5241 8100 0000 0000 | Use a random CVV and any future date |
# Test UPI ID Details
Source: https://razorpay.com/docs/payments/payments/test-upi-details
Use test UPI IDs to test domestic (Indian) one-time payments.
Available in
๐ฎ๐ณ India
You can test the payment flow using our test UPI IDs.
Watch this video to see how to use the test UPI ID details.
[https://www.youtube.com/embed/hcoysDHJfGI](https://www.youtube.com/embed/hcoysDHJfGI)
To use the test UPI ID details:
1. At the Checkout, select UPI as the payment method.
2. Enter the UPI ID.
* Test payment success flow using `success@razorpay`.
> [!WARNING]
>
> **Watch Out!**
>
> In test mode, payment cancellation will result in a successful payment. Use the **live** mode to test payment cancellation on UPI.
* Test payment failure flow using `failure@razorpay`.
# Quickstart Guide
Source: https://razorpay.com/docs/payments/quickstart
Complete guide to get started with Razorpay's payments platform.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Welcome to Razorpay! This guide will walk you through setting up your account and choosing the right products for your business needs.
## Step 1: Create an Account
Sign up for a [Razorpay account](https://razorpay.com/signup) and complete the KYC process.
* Start using our products or SDK/API integration in Test Mode during the KYC verification process.
* After KYC completion and testing, live mode unlocks for real payments.
### Test Mode vs Live Mode
> [card] [Test Mode](/docs/payments/dashboard/test-live-modes#test-mode-vs-live-mode)
>
> * Start integration immediately without KYC completion.
> * Use test transactions with dummy data. No real money involved.
> * API keys begin with `rzp_test_`.
> * Perfect for development and testing.
> [card] [Live Mode](/docs/payments/dashboard/test-live-modes#test-mode-vs-live-mode)
>
> * Requires KYC verification (24-48 hours).
> * Accept real customer payments.
> * API keys begin with `rzp_live_`.
> * Full access to all features.
## Step 2: Select Product
[Choose Razorpay products](/docs/payments) based on your business requirements.
> [accordion] Online Payments vs. Offline Payments
>
> Choose between digital payment processing for ecommerce and websites using [Payment Gateway](/docs/payments/payment-gateway), [Magic Checkout](/docs/payments/magic-checkout) and [Payment Links](/docs/payments/payment-links) or physical payment solutions for retail stores and face-to-face transactions with [Razorpay POS](/docs/pos). Know more about [online and offline payment options](/docs/payments#accept-payments).
> [accordion] One-time Payments vs. Recurring Payments
>
> Select single transaction processing for individual purchases using [Payment Gateway](/docs/payments/payment-gateway), [Payment Links](/docs/payments/payment-links) and [Payment Pages](/docs/payments/payment-pages) or automated recurring billing for subscriptions and regular services with [Subscriptions](/docs/payments/subscriptions). Know more about [one-time and recurring payment solutions](/docs/payments#accept-payments).
> [accordion] No-code Products vs. Products with Coding Requirements
>
> Pick ready-to-use payment solutions with simple setup like [Payment Links](/docs/payments/payment-links), [Payment Pages](/docs/payments/payment-pages), [Invoices](/docs/payments/invoices) or refer to our [Payment Gateway SDKs](/docs/payments/payment-gateway#integrate-payment-gateway-web-mobile-ecommerce-plugins) for advanced integration needs. Explore [no-code and developer-friendly options](/docs/payments#accept-payments).
> [accordion] Solutions by Industry
>
> Find tailored payment solutions designed for your industry: [Payment Gateway](/docs/payments/payment-gateway) for ecommerce, [Subscriptions](/docs/payments/subscriptions) for SaaS, [Route](/docs/payments/route) for marketplaces or [Razorpay POS](/docs/pos) for traditional retail businesses. View [industry-specific payment solutions](/docs/payments#solutions-by-industry).
> [accordion] Solutions by Platform
>
> Integrate payments seamlessly with popular ecommerce platforms like Shopify, WooCommerce, Magento using [Payment Gateway ecommerce plugins](/docs/payments/payment-gateway#integrate-payment-gateway-web-mobile-ecommerce-plugins) or build custom solutions using our [Checkout SDKs](/docs/payments/payment-gateway#integrate-payment-gateway-web-mobile-ecommerce-plugins) for Go, PHP, Python, Node.js and [mobile platforms](/docs/payments/payment-gateway#integrate-payment-gateway-web-mobile-ecommerce-plugins) (Android, iOS, React Native, Flutter, Cordova, Capacitor). Browse [platform-specific integration guides](/docs/payments#solutions-by-platform).
## Step 3: Key Dashboard Actions
> [accordion] Generate API Keys
>
> If you are using our APIs, SDKs or plugins, follow these steps to generate API keys for the integration:
>
> 1. Log in to Dashboard.
>
> 2. Navigate to **Account & Settings** โ **API Keys** under Website and app settings.
>
> 3. Click **Generate Key**.
>
> 4. Download and save **Key ID** and **Key Secret** securely.
>
> > [!WARNING]
> >
> > **Important:**
> >
> > * Only Owner and Admin roles can access API keys.
> > * Generate separate keys for Test and Live modes.
> > * Key Secret is only visible at generation time.
>
> [API Keys Documentation โ](/docs/payments/dashboard/account-settings/api-keys)
> [accordion] Add Team Members
>
> Follow these steps:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** โ **Business settings** โ **Manage Team**.
> 3. Click **Invite New Member**.
> 4. Enter their email address and select role from the dropdown.
> 5. Click **Send Invitation**.
>
> [Team Management Guide โ](/docs/payments/dashboard/account-settings/manage-team)
> [accordion] Configure Webhooks
>
> We recommend setting up webhooks to receive notifications, if you are integrating with our APIs or SDKs.
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** โ **Webhooks**.
> 3. Click **Add New Webhook**.
> 4. Enter your endpoint URL.
> 5. Select events to monitor.
> 6. Add webhook secret for signature verification.
> 7. Save and activate.
>
> [Webhooks Documentation โ](/docs/webhooks)
> [accordion] Payment Capture Settings
>
> Log in to the Dashboard. Navigate to the **Account & Settings** option and scroll to the **Payments Capture** section.
>
> | Option | Description |
> | - | - |
> | Auto-capture all payments | All payments authorized within 3 days from the time of creation are auto-captured. |
> | Auto-capture timeouts |
Allows you to define custom auto-capture timeout.
The minimum value is 12 minutes.
The maximum value (default) is 3 days.
|
> | Manual capture timeout |
Allows you to define custom manual capture timeout.
The minimum value is 12 minutes.
The maximum value (default) is 3 days.
|
> | Auto-refund speed | Payments in the authorized state are auto-refunded after the timeout. With the Normal Refund option, your payment is refunded to your customer in 5-7 working days. The refund speed selected here is only applicable to payments that are auto-refunded. |
>
> [Payment Capture Guide โ](/docs/payments/payments/capture-settings)
## Next Steps
Once your account is created:
1. **Complete KYC**: [Submit KYC documents](/docs/payments/set-up#kyc-details) for live mode activation.
2. **Choose Product/Integration Method**: Select based on your business needs and technical capabilities.
3. **Test Thoroughly**: Use test mode before going live.
4. **Go Live**: Switch to live mode when ready. Use live mode keys if integrating with our APIs/SDKs/plugins.
# Razorpay Reviews
Source: https://razorpay.com/docs/payments/reviews
Collect verified reviews from real, fulfilled Shopify orders over WhatsApp, SMS and email, then display them on your product pages with Razorpay Reviews.
Available in
๐ฎ๐ณ India
Razorpay Reviews asks your customers for a review after their order is delivered, over WhatsApp, SMS and email, then publishes those reviews on your product pages. Every review request goes out against a real, fulfilled order, so every review you collect is tied to a genuine purchase.
You manage everything from the **Reviews** section of your Razorpay Dashboard. It is included with your Razorpay account at no extra cost.
> [accordion] Why Razorpay Reviews
>
> * **Every review is tied to a real order.** Requests are issued per fulfilled order through a signed, single-use link. There is no open "write a review" form on your storefront, so there is no route for a review from someone who never bought from you.
> * **WhatsApp, SMS and email.** All three, which matters in India, where WhatsApp response rates lead email by a wide margin.
> * **Photos and videos included.** Up to five per review, at no extra cost.
> * **Start with the reviews you have already earned.** Request reviews for up to 90 days of past orders during setup, and migrate your existing Judge.me reviews across.
> * **No extra cost.** Included with your Razorpay account.
## How Reviews Works
Here is what happens between a delivered order and a published review:
1. **We check your orders once a day.** Every day, Razorpay Reviews reads your fulfilled Shopify orders from the last 30 days and works out which ones are due for a review request. It is a scheduled check rather than an instant one, so an order fulfilled at midday is picked up in the next day's run.
2. **We work out when to ask.** Each order gets a send time based on your two delays: 7 days after delivery if Shopify has reported it, otherwise 14 days after fulfilment. Both are adjustable between 1 and 30 days. Requests are held to a reasonable sending hour in your store's local time, so a request falling due overnight goes out the next morning.
3. **The request goes out** on each channel you have enabled, for example WhatsApp, SMS and email are all on unless you turn them off. Channels send independently rather than as a fallback chain, so a customer with both an email address and a phone number hears from you on every channel you have left on. A channel is skipped when the customer has no contact detail for it.
4. **Your customer leaves a review.** The message contains a one-tap link with no login and no password. A single link covers every item in the order, so a three-item order means one link and one flow. Links stay valid for 45 days. The form asks for:
* **A star rating** - 1 to 5, required.
* **Review text** - optional, up to 1,000 characters.
* **Photos and videos** - optional, up to five files.
Each link works once. If a customer opens it again after submitting, they are told they have already shared their experience for that order. No discount or coupon is issued for leaving a review.
5. **The review is published, or waits for you.** This follows your choice in **Settings > Review publish**:
* **Automatically publish reviews** - reviews go live as soon as they arrive, according to your auto-publish rule. You can publish every review, or only those at or above a chosen star rating (2, 3, 4 stars and above, or 5 stars only). Anything below the rating you pick waits for you to approve it.
* **Manually moderate reviews** - reviews with text or photos wait in your queue.
> [!NOTE]
>
> Rating-only reviews always publish immediately, in either mode. Only reviews carrying text or photos enter the approval queue. So a bare 2-star rating with no comment appears even while you are moderating manually.
6. **It appears in your widgets.** Published reviews show in the review widget and count towards the rating badge on your product pages. Only published reviews are ever publicly visible.
## Get Started
To get started with Razorpay Reviews:
1. Go to **Reviews** in your Razorpay Dashboard and select **Start collecting reviews**.
2. Connect your Shopify store.
3. Set your branding.
4. Install the review widget in your theme.
5. Request reviews for past orders.
6. Check your timing and channels.
Refer to the sections below for detailed steps, and to [Collect Reviews](/docs/payments/reviews/collect) for how requests are scheduled, sent and displayed.
## Quickstart
### Before you start
You need:
* An active Razorpay account with Dashboard access.
* A Shopify store that you are an admin of.
* Your **Razorpay API key**. Generate or copy it from the [API keys page](https://dashboard.razorpay.com/app/keys).
### Step 1: Open Reviews in your Dashboard
Navigate to **Reviews** in your Razorpay Dashboard and select **Start collecting reviews**.
### Step 2: Connect your Shopify store
1. Install the **Razorpay Reviews** app on your Shopify store from the [Shopify App Store](https://apps.shopify.com/razorpay-trusted-badges).
2. Open the app and enter your **Razorpay API key** to link it to your Razorpay account. You can find your key on the [API keys page](https://dashboard.razorpay.com/app/keys).
3. Return to the Razorpay Dashboard. Your store now shows as connected and Reviews can read your orders.
> [!NOTE]
>
> **Handy Tips**
> Keep the Shopify tab open while you finish setup. If the connect step does not seem to complete, check that pop-ups are allowed for the Razorpay Dashboard. Authorisation opens in a new window.
### Step 3: Set your branding
This is what customers see when you ask them for a review.
1. **Brand name**: your store's name, as customers know it.
2. **Brand logo**: upload in 1:1 aspect ratio, maximum 5 MB, in JPG, PNG or WebP format.
### Step 4: Install the widget in your theme
Add the review widget to your Shopify theme so published reviews appear on your product pages. You can skip this step now and do it later from the **Widgets** tab. Refer to [Displaying reviews](/docs/payments/reviews/collect#displaying-reviews) for details.
### Step 5: Request reviews for past orders
Choose how far back to go: the last **90 days** (the default), 60 days, 30 days, or do not send to past orders at all. Select **Confirm & send**.
This is the fastest way to have reviews on your store from day one.
> [!WARNING]
>
> **Watch Out!**
> Backfill sends real messages to real customers. On a busy store, 90 days can mean a lot of WhatsApp and SMS messages going out at once. Choose a shorter window if you would rather start gently.
### Step 6: Check your timing and channels
Navigate to **Reviews > Settings > Review collection**.
* **Review request methods**: WhatsApp, SMS and email, all on by default. Switch off any you do not want to use.
* **Review request scheduling**: two delays, each between 1 and 30 days:
* **After delivery**: 7 days by default.
* **After fulfilment**: 14 days by default, used when Shopify does not report delivery.
Adjust the values if you want to, and save.
### Check it worked
* Open one of your product pages and confirm the review widget appears.
* Check **Reviews > Home** for submissions as they come in.
### Review states
| State | What it means |
| - | - |
| Submitted | Your customer has sent the review. |
| Published | Live on your store. The only publicly visible state. |
| Awaiting approval | Manual mode only, and only for reviews with text or photos. |
| Hidden | You have hidden it. Always reversible. |
Switching from manual approval back to auto-publish releases everything currently waiting, all at once. Every change is recorded, and hiding a review is never permanent - you can re-publish it at any time.
### Your queue does not stall
A review left awaiting approval for 7 days publishes automatically. This is deliberate: a queue you have not had time to work through should not quietly suppress genuine reviews your customers took the trouble to write. If you want to keep a review off your store, you can hide it.
## FAQs
> [accordion] How do I migrate my existing reviews?
>
> Connect your Judge.me account and we will pull them across, photos included. Coming from another platform? Email [reviews@razorpay.com](mailto:reviews@razorpay.com) and we will help you move. Refer to [Migrating your reviews](/docs/payments/reviews/collect#migrating-your-reviews) for details.
> [accordion] Why can't I upload a CSV of reviews?
>
> Razorpay Reviews keeps a verification trail behind every review, so shoppers can trust what they read. A spreadsheet carries no evidence that its rows came from real buyers, so we do not accept one - it would quietly weaken that guarantee for every other review on your page. A Judge.me import arrives with its own provenance, which is why it is supported.
> [accordion] When do reviews appear on my store?
>
> Immediately, if auto-publish is on - that is the default. In manual mode, reviews with text or photos wait for your approval, though rating-only reviews still publish straight away.
> [accordion] Do I need to edit my theme code?
>
> No. You add the widget once from your Shopify theme editor.
> [accordion] What does it cost?
>
> Nothing extra. Razorpay Reviews is included with your Razorpay account.
### Related Information
* [Collect Reviews](/docs/payments/reviews/collect)
# Collect Reviews
Source: https://razorpay.com/docs/payments/reviews/collect
Configure when review requests are sent, how reviews are displayed on your Shopify store, and how to migrate reviews from Judge.me.
Available in
๐ฎ๐ณ India
Decide when your customers are asked, how they hear from you, where reviews show up on your store, and how to bring across reviews you have already collected elsewhere.
## Scheduling
In **Settings > Review collection**, set two delays:
* **After delivery** - 7 days by default. Used whenever Shopify reports the order as delivered.
* **After fulfilment** - 14 days by default. The fallback, used when delivery is not reported.
Both accept 1 to 30 days. Timing is worked out by a daily job, so treat your delay as the day after which review alert is sent rather than an exact hour.
## Channels
WhatsApp, SMS and email, all on by default. Switch off any you do not want to use.
Each channel you turn on, sends messages independently. This ensures a customer with both an email address and a phone number hears from you on every channel you have enabled. If you would rather reach people once, turn the others off.
## The review form
Hosted by Razorpay and built for mobile. One link per order, valid for 45 days, covering every item in that order. A star rating is required, review text is optional. Customers can add up to 1,000 characters in the review text and can attach up to five photos or videos.
## Requesting reviews for past orders
During setup, you can request reviews for orders from the last 30, 60 or 90 days - the quickest way to build up reviews on a store that has been trading for a while.
## Displaying Reviews
| Widget | Where it goes | What it shows |
| - | - | - |
| Review widget | Your product page | The full review list - rating summary and individual reviews, with photos. |
| Rating badge | Next to your product title | Average star rating and review count, at a glance. |
### Adding them to your theme
Go to **Reviews > Widgets** in your Razorpay Dashboard and follow the steps to add each widget to your Shopify theme. There is no code to write and no snippet to paste. You place them from the theme editor and they know which product they are rendering for.
Most stores put the review widget directly below the product description and the rating badge just under the product title so shoppers see the score before they scroll.
### If nothing appears
The widgets only show **published** reviews. A new store with no reviews yet, or one in manual mode with everything still awaiting approval, shows nothing at all.
## Migrating Your Reviews
### From Judge.me
1. Go to **Reviews > Import reviews**.
2. Enter your Judge.me private API token.
3. We check the connection straight away. If the token is wrong, you will know immediately rather than an hour later.
4. The import runs in the background. You can leave the page while it works.
**What comes across:** star rating, title, review text, reviewer name, review date, photos and verified-buyer status where Judge.me recorded it.
> [!NOTE]
>
> **Handy Tips**
>
> * **Your photos keep working.** Review images are copied to Razorpay's own storage, so they do not break when you disconnect Judge.me.
> * **Re-running is safe.** Anything already imported is skipped, so you can run it again later to pick up newer reviews.
> * **Reviewer email addresses are never stored.** They are converted to a one-way hash as they arrive, so we can recognise a returning reviewer without holding their address.
### Coming from another platform?
Judge.me is the only direct migration today. If you are on Yotpo, Loox, Stamped, Ali Reviews or Shopify's own product reviews, email [reviews@razorpay.com](mailto:reviews@razorpay.com) and the team will work through it with you.
### Why we don't accept a CSV upload
Razorpay Reviews is built so that every review can be traced back to a real order. That verification trail is what lets shoppers trust the ratings on your store and it is what separates these reviews from ones anyone could type into a spreadsheet. A CSV carries no evidence of where its rows came from, so accepting one would quietly weaken that guarantee for every other review on the page. Judge.me reviews arrive with their own provenance, which is why that route is supported.
> [!WARNING]
>
> **Watch Out!**
> Import before you disconnect Judge.me. Photo links in an export from a disconnected app often point at images that no longer load.
### Related Information
* [Razorpay Reviews](/docs/payments/reviews)
# Set up a Razorpay Account
Source: https://razorpay.com/docs/payments/set-up
Set up a Razorpay account, submit your KYC using CKYC/Video KYC and start using the various Razorpay Payments and Banking Plus products.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You must sign up for a Razorpay account to use the Razorpay Payments products, access the Dashboard and accept payments from customers.
> [card] 1. Sign Up
>
> [Set up an account](/docs/payments/set-up#set-up-account) to use Razorpay products to accept customer payments. \
> You can also [set up multiple accounts](/docs/payments/set-up#set-up-multiple-accounts) with the same mobile number and email id.
> [card] [2. Submit KYC](/docs/payments/set-up#kyc-details)
>
> Submit your KYC documents to get your account verified and get the payments settled in your account.
Watch this video to create a new account on Razorpay and complete your KYC.
[YouTube video player](https://www.youtube.com/embed/0PCo0bEK10Q?si=y5r6ALScK_o_rXnz)
> [!NOTE]
>
> **Fast-Track Onboarding with Central KYC (CKYC) - Effective January 1, 2026**
>
> Streamline your onboarding with instant CKYC verification.
>
> Razorpay now offers immediate identity validation for businesses with existing Central KYC records. This enables full account activation in minutes by removing the necessity for Video KYC and manual document uploads.
>
> Know more about [CKYC and Traditional KYC](/docs/payments/set-up#ckyc-verification-vs-traditional-verification).
>
> **Key Benefits**
>
> * **Instant Verification**: If you have existing CKYC records (from bank, mutual fund, insurance), verification happens in seconds.
> * **No Document Uploads**: Many required documents are auto-fetched from CKYC.
> * **Skip Video KYC**: Businesses can bypass Video KYC completely.
> * **Faster Activation**: Complete onboarding in minutes instead of days.
> [!TIP]
>
> **Assisted Onboarding**
>
> Hire a dedicated onboarding manager for an additional fee to assist you through your onboarding journey. The onboarding manager will provide end-to-end assistance, from sign-up and KYC document submission to verification and account activation. Know more about [Assisted Onboarding](/docs/payments/set-up#assisted-onboarding).
## Set Up a Razorpay Account and Complete KYC
To set up a Razorpay Account, go to the [Razorpay website](https://razorpay.com/) and click **Sign Up**. Follow these steps for a smooth sign up process:
> [accordion] Set Up Account
>
> Provide your contact details to get started:
>
> 1. Enter an **email address or 10-digit phone number**.
>
> 
> 2. Create a **password**. Ensure that the criteria is fulfilled.
> 3. **Enter the OTP** sent to your email address or phone number. Click **Verify**.
> If you did not receive the OTP, click **Resend OTP**.
> 4. Click **Submit OTP**.
>
> 
> 5. Select **business type**. Click **Proceed**.
> [accordion] Basic Details
>
> Provide your basic details to set up your account.
>
> 1. Enter your **Full name**. This name must be of the person who will be completing the onboarding. Click **Continue**.
>
> 
> 2. Enter your **Mobile number**. Click **Continue**.
>
> 
> 3. **Enter the OTP** sent to your mobile number. Click **Continue**.
>
> 
> 4. **Select the platforms** where you would like to accept payments. Click **Continue**.
>
> 
> 5. Add **website or application links**. Click **Continue**. If you wish to add these later, click **Add later**.
>
> 
> 6. Add the **Social media links** that are available. Click **Continue**. If you wish to add these later, click **Add later**.
>
> 
> 7. **Review** the basic details you entered. Click **Continue** after verifying the information.
>
> 
> [accordion] Business Details
>
> Provide your business details.
>
> 1. Select your business type: **Registered or Unregistered**. Click **Continue**.
>
> 
>
> 2. Select your **business sub-type** based on the available options. Click **Continue**.
>
> 
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Additional PAN may be required based on your business type:
> >
> > * **Individuals:** Business Owner's PAN
> > * **Registered Business:** Business PAN (Company PAN) and Authorised Signatory PAN (Director/Partner)
> > * **Proprietorship:** Authorised Signatory/Proprietor's PAN
>
> > [accordion] If you are an unregistered Individual business:
> >
> > 1. Enter your **personal PAN number**. Click **Continue**.
> >
> > 
> > 2. Razorpay will automatically capture your details based on your PAN number. Review your PAN.
> >
> > If the details are correct, click **Yes, confirm**. Or, click **Edit PAN**.
> >
> > 
> > 3. Select your **brand name**. If the available options do not match your brand name, click **Other** and enter your brand name. Click **Continue**.
> >
> > 
> > 4. **Review** the business details you entered. Click **Continue** after verifying the information.
> >
> > 
>
> > [accordion] If you are a registered business:
> >
> > 1. Enter the **full name** of your business name. Ensure you do not use any special characters. Click **Continue**.
> >
> > 
> >
> > 2. Enter your **Personal PAN number**.
> >
> > 3. Select the **Date of Incorporation**.
> >
> > 
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Date of incorporation can be found on your business GST Document or UDYAM (MSME) certificate.
> >
> > 4. Razorpay will automatically capture your details based on your PAN number. Review your PAN.
> >
> > If the details are correct, click **Yes, confirm**. Or, click **Edit PAN**.
> >
> > 
> > 5. Select your **brand name**. If the available options do not match your brand name, click **Other** and enter your brand name. Click **Continue**.
> >
> > 
> > 6. **Review** the business details you entered. Click **Continue** after verifying the information.
> >
> > 
> [accordion] Business Documents (For Registered Businesses)
>
> Provide your business documents to help us verify your business identity.
>
> You must provide **at least 1 required document and 1 additional document**. Below is the list of accepted required and additional documents:
>
> **Required documents (Any 1)**:
>
> * GST certificate
> * MSME (UDYAM) Certificate
>
> **Additional (Any 1)**:
>
> * Shop Establishment Certificate (SEC)
>
> * Import Export Certificate (IEC)
>
> * Mobile Postpaid Bill
>
> 1. Enter your **GSTIN number**. If you have a GSTIN, you must **upload your GST certificate**. If you do not, select the **I don't have a GSTIN** option. Click **Continue**.
>
> 
> 2. Enter your **UDYAM MSME number** and **upload the MSME certificate**. Click **Continue**.
>
> 
> 3. Select an **Additional document** and upload it. Click **Continue**.
>
> 
> 4. **Review** the business documents you provided. Click **Continue** after verifying the information.
>
> 
> [accordion] KYC Details
>
> Complete your KYC to start accepting payments using Razorpay.
>
> > [accordion] For unregistered Individual businesses:
> >
> > 1. Enter your **mobile number** linked to your CKYC to avoid performing a video KYC. Click **Generate OTP**.
> >
> > 
> >
> > 2. Enter the OTP. Click **Verify OTP**.
> >
> > If your details are successfully fetched, the screen appears as shown:
> >
> > 
> >
> > If your CKYC verification fails, follow the below steps to share your Aadhar details using **Digilocker** or **upload manually**.
> >
> > 
> >
> > > [accordion] Submit id proof using Digilocker
> > >
> > > 1. Select **Share Aadhar details via Digilocker**. Ensure that your mobile number is linked with your Aadhar. Click **Continue**.
> > > 2. To accept Digilocker's Aadhar terms and conditions, click **Continue to digilocker**.
> > >
> > > 
> > > 3. Enter your **Aadhar number**. Click **Next**.
> > > 4. Enter the captcha text.
> > >
> > > 
> > > 5. **Enter the OTP** sent to your linked mobile number. Click **Continue**.
> > >
> > > 
> > > 6. Enter your **6-digit Digilocker pin**.
> > >
> > > 
> > > 7. **Provide consent** to share any issued document for KYC purpose. Click **Allow**.
> > >
> > > You will now be redirected back to Razorpay's onboarding page. Once the verification is successful, you can continue with the remaining steps.
> > >
> > > 
> >
> > > [accordion] Upload id proof manually
> > >
> > > 1. Select **Upload Identity Proof Manually**. Click **Continue**.
> > > 2. Select a **document to upload manually**. Click **Continue**:
> > > * Aadhar Card
> > > * Voter id
> > > * Passport
> > > 
> >
> > 3. Select and confirm your **business category and sub-category**. Click **Continue**.
> >
> > 
> >
> > 4. Select your **Average delivery time after receiving an order**. You will be asked for this information only if your CKYC failed.
> >
> > 
> >
> > 5. Add your **Bank details**.
> >
> > 
> >
> > Razorpay will now deposit โน1 to this account to verify. If the bank verification fails you must **upload a proof of the bank account**. Choose from the given options:
> >
> > * Video of cancelled cheque
> > * Letter/email from Branch Manager confirming account
> >
> > 
> >
> > 6. You are now ready to submit your application. Click **Submit Application**.
> >
> > 
> >
> > You can unlock international payments by clicking **Unlock International**. Know more about [International Payments](/docs/payments/international-payments). Or you can proceed to explore your dashboard by clicking **Explore Test Dashboard**.
> >
> > Once your details are verified by our team, **Live mode** will be enabled.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > During the review process, we may reach out to you for clarifications. You can address these queries on the Dashboard.
>
> > [accordion] For registered businesses:
> >
> > 1. Select how you want us to collect your KYC details. You can:
> >
> > * **Fetch details with PAN & OTP**
> > * **Share Aadhaar details via Digilocker**
> > * **Upload documents manually**
> >
> > If your details are successfully fetched, the screen appears as shown:
> >
> > 
> >
> > If your CKYC verification fails, follow the below steps to share your Aadhar details using **Digilocker** or **upload manually**.
> >
> > 
> >
> > > [accordion] Submit id proof using Digilocker
> > >
> > > 1. Select **Share Aadhar details via Digilocker**. Ensure that your mobile number is linked with your Aadhar. Click **Continue**.
> > > 2. To accept Digilocker's Aadhar terms and conditions, click **Continue to digilocker**.
> > >
> > > 
> > > 3. Enter your **Aadhar number**. Click **Next**.
> > > 4. Enter the captcha text.
> > >
> > > 
> > > 5. **Enter the OTP** sent to your linked mobile number. Click **Continue**.
> > >
> > > 
> > > 6. Enter your **6-digit Digilocker pin**.
> > >
> > > 
> > > 7. **Provide consent** to share any issued document for KYC purpose. Click **Allow**.
> > >
> > > You will now be redirected back to Razorpay's onboarding page. Once the verification is successful, you can continue with the remaining steps.
> > >
> > > 
> >
> > > [accordion] Upload id proof manually
> > >
> > > 1. Select **Upload Identity Proof Manually**. Click **Continue**.
> > > 2. Select a **document to upload manually**. Click **Continue**:
> > > * Aadhar Card
> > > * Voter id
> > > * Passport
> > > 
> >
> > 2. Enter the **Authorised Signatory's name**. Click **Continue**.
> >
> > 
> >
> > 3. Select and confirm your **business category and sub-category**. Click **Continue**.
> >
> > 
> >
> > 4. Add the **Registered Business Address**. You will be asked for this information only if your CKYC failed.
> >
> > 
> >
> > 5. Add your **Bank details**.
> >
> > 
> >
> > Razorpay will now deposit โน1 to this account to verify. If the verification fails you must **upload a proof of the bank account**. Choose from the given options:
> >
> > * Video of cancelled cheque
> > * Letter/email from Branch Manager confirming account
> >
> > 
> >
> > 6. You are now ready to submit your application. Click **Submit Application**.
> >
> > 
> >
> > You can unlock international payments by clicking **Unlock International**. Know more about [International Payments](/docs/payments/international-payments). Or you can proceed to explore your dashboard by clicking **Explore Test Dashboard**.
> >
> > Once your details are verified by our team, **Live mode** will be enabled.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > During the review process, we may reach out to you for clarifications. You can address these queries on the Dashboard.
> [accordion] Video KYC (For Individual Unregistered Businesses If CKYC Fails)
>
> 1. If your CKYC failed, you must proceed with the Video KYC process. Click **Start Video KYC**.
>
> 
>
> 2. Confirm if you are the authorised signatory proceeding with the video KYC process. Click **Continue**.
>
> 
>
> 3. If you are not the authorised signatory, you can share the VKYC shareable link with them.
>
> 
>
> 4. If you are the authorised signatory, review the instructions and click **Start**.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Ensure you have physical copies of your PAN and Aadhaar card ready.
>
> 5. Click **Accept & Proceed** to accept the terms and conditions.
>
> 
>
> 6. Click **Proceed** to start checking for camera, microphone and location.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Ensure no Proxy/VPN/TOR is active on your device.
>
> 7. A Razorpay agent will join and verify your documents on video.
>
> You have successfully completed your onboarding process.
> [accordion] After Your Account is Created
>
> * In some cases, additional details may be required once your account is created.
> * You can accept payments and make payouts using a [range of products](/docs/payments).
> * You can access the **Test** mode on the Dashboard to test and experience the products offered by Razorpay. Test mode does not involve actual money transactions.
> * You have to generate separate API keys for Live and Test modes. Know more about [API Keys](/docs/api/authentication#generate-api-keys).
> [accordion] Successful Activation
>
> Your **KYC Verification** is complete. You can:\\
>
> * Accept payments without any amount limits.
> * Razorpay will automatically settle payments in your bank account as per your [settlement cycle](/docs/payments/settlements#settlement-cycle).
> * Request for [other payment methods](/docs/payments/payment-methods#view-payment-methods) and apply for [international payments](/docs/payments/international-payments/international-debit-credit-cards#enable-payments-from-international-debit-and-credit-cards).
## CKYC Verification vs. Traditional Verification
Complete KYC to start accepting payments with Razorpay. The new Master KYC-compliant process offers two verification paths:
> [accordion] CKYC Verification
>
> * Instant verification using existing CKYC records
>
> * No document uploads needed
>
> * No Video KYC required
>
> > [accordion] How CKYC Works
> >
> > 1. **Enter PAN Details**
> > * **For registered businesses**: Business PAN and Date of Incorporation
> > * **For individuals**: Personal PAN
> > 2. **CKYC Record Check**:
> > * Razorpay checks if CKYC record exists for your PAN.
> > 3. **Consent via OTP**:
> > * If CKYC record is found, you must enter the mobile number linked to the CKYC.
> > * Enter the OTP sent by the CKYC system to provide consent.
> > 4. **Instant Verification**
> > * Documents auto-fetched from CKYC
> > * Identity verified instantly
> > * Proceed to additional requirements (if any)
> > 5. **CKYC Consent Process**
> > * **For Registered Businesses**: Your CKYC record is looked up using **Business PAN and Date of Incorporation**.
> > * **Date of Incorporation Sources**:
> > * Certificate of Incorporation
> > * GST Certificate
> > * Udyam Registration
> > * Business PAN document
> > * **For Individuals/Proprietorships**: Your CKYC record is looked up using **Personal PAN and Mobile OTP verification**.
> [accordion] Traditional Verification + Video KYC
>
> * Required when CKYC data unavailable
> * Upload required documents
> * Complete Video KYC with Authorised Signatory
> [!NOTE]
>
> **Handy Tips**
>
> You can provide information in any order you prefer during KYC. Review and modify details from account creation if needed. Check the [complete list of KYC documents](/docs/payments/business-types-kyc-documents) required for your business type.
> [!NOTE]
>
> **Handy Tips**
>
> * During KYC verification process, you can provide the required information in any order you prefer.
> * You should review the details submitted during account creation and make changes if required.
## Account States
The status of your Dashboard account after signing up and submitting your KYC details might be in one of the following states:
| Account Status | Description |
| - | - |
| `under_review` | When you have successfully submitted the KYC requirements and our team is reviewing the request. |
| `needs_clarification` | When you are asked to provide clarifications related to the KYC details submitted. |
| `activated` | When your KYC is approved and your account is ready to accept payments and settlements. |
| `suspended` | When your account is disabled due to risk and compliance reasons. Contact our [support team](https://razorpay.com/support/#request) for a resolution. |
| `rejected` | When the KYC details submitted by you are rejected. You can try creating a new account with correct KYC details. |
## Set Up Multiple Accounts
As a business owner, you may need different accounts for different kinds of work.
However, it is challenging to obtain a new mobile number each time you want to set up an account. With Multi-Account, you can set up different accounts using the same mobile number and email id as your existing account.
#### Example
Assume Gaurav is an Indian business owner who has an account with Razorpay using Mobile Number: `9000090000` and Email Id: `gaurav.kumar@example.com`.
Gaurav uses **Multi-Account** feature to set up another account. Razorpay will use the same number and email id as shown above to set up the other account. This will work in a similar way in your respective country.
> [accordion] Set up Another Account Using Website
>
> 1. Go to the [website](https://razorpay.com/) and click **Sign Up**.
> 2. Enter your mobile number or email id and click **Continue**.
> 3. Enter the OTP sent to your registered mobile number and click **Verify**.
> 4. All the accounts linked to the entered number/email is are displayed. Click **Create a new account**.
>
> 
> 5. Select the country and click **Verify**.
> 6. Your existing number and email id is already registered with the new account. Enter your name and continue with [Sign Up](/docs/payments/set-up#set-up-account) and [KYC](/docs/payments/set-up#kyc-details).
> [accordion] Set Up Another Account Using Dashboard
>
> 1. Log in to the Dashboard.
> 2. Click the profile icon โ **Switch Merchant**.
> 3. Click **Create A New Account**.
>
> 
> 4. Select the country and click **Verify**.
> 5. Your existing number and email id is already registered with the new account. Enter your name and continue with [Sign Up](/docs/payments/set-up#set-up-account) and [KYC](/docs/payments/set-up#kyc-details).
> [!WARNING]
>
> **Watch Out!**
>
> If your mobile number is already linked to multiple user accounts with different email ids, you cannot use the **Multi-Account** feature to set up multiple accounts using that number. In this case, use another mobile number or sign up using your email id.
>
> Assume *Gaurav* has 2 accounts with Razorpay.
>
> Assume Saurav is an Indian business owner and has 2 accounts with Razorpay.
>
> * Account 1: Mobile Number: `9123456789` | Email Id: `saurav.kumar@example.com`
> * Account 2: Mobile Number: `9123456789` | Email Id: `saurav.kumar+99@example.com`
>
> If Saurav tries to use the **Multi-Account** feature to make another account, Razorpay will block the creation of a new account. This will work similarly in your respective country.
## Assisted Onboarding
> [accordion] Why Hire an Onboarding Manager
>
> * **Dedicated onboarding manager**: Receive personalised support with a dedicated onboarding manager assigned to you within **1 hour**.
> * **Swift account activation**: Get your account activated within 8 business hours and start accepting payments via Razorpay.
> * **End-to-end assistance**: Receive comprehensive support until you complete your first transaction, addressing any queries throughout the process.
> [accordion] How to Hire an Onboarding Manager
>
> 1. On the [Razorpay sign-up page](https://easy.razorpay.com/), sign up using your mobile number.
> 2. Click **Know more** under **Hire an onboarding manager for faster account set up!**. Complete the payment.
>
> 
>
> An onboarding manager will be assigned to you within 1 hour to help you set up your account.
### Related Information
* [KYC Documents](/docs/payments/business-types-kyc-documents)
* [Frequently Asked Questions (FAQs)](/docs/payments/faqs)
# Solutions by Industry
Source: https://razorpay.com/docs/payments/solutions
Recommended Razorpay Payments products for ecommerce, BFSI and travel businesses.
Available in
๐ฎ๐ณ India
Every industry collects money differently. These guides pick out the Razorpay Payments products that fit each one, and explain how they work together.
> [card] [Ecommerce](/docs/payments/solutions/ecommerce)
>
> Accept payments, issue refunds and reconcile transactions for an online store.
> [card] [Banking, Financial Services & Insurance](/docs/payments/solutions/bfsi)
>
> Collect premiums and repayments with the security and real-time analytics BFSI requires.
> [card] [Travel](/docs/payments/solutions/travel)
>
> Take bookings and handle cancellations for a travel business.
# Banking, Financial Services & Insurance
Source: https://razorpay.com/docs/payments/solutions/bfsi
Explore Razorpay's BFSI solutions to streamline transactions and enhance security with seamless integration and real-time analytics for superior service and growth.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Razorpay provides comprehensive payment solutions that solve unique challenges across the lending, wealth management and insurance sectors. Following is the use case and recommended products.
## Manage Collections
Payment failures in financial services can result in significant revenue loss, with over 50% of customers dropping off if payments fail on the first attempt. Our suite of intelligent features is built to address this and provide best-in-class success rates. Following are the recommended products:
> [tab] Payment Gateway
>
> * Integrate with a wide coverage of SDKs and plugins for popular marketplaces like Shopify, WooCommerce, and more.
>
> * Access 100+ payment methods including UPI, Cards (debit and credit), EMI, Netbanking, International Payments, Wallet, Pay Later, and more.
>
> * Quickly recoup 15% of your failed payments on the first attempt with seamless and intuitive retry.
>
> Know more about [Payment Gateway](/docs/payments/payment-gateway).
> [tab] Payment Links
>
> * Share Payment Links via email, SMS, or messenger and get paid immediately.
>
> * Use the Razorpay WhatsApp Bot to create and share Payment Links directly from WhatsApp.
>
> * Recover abandoned carts by sending customers a Payment Link, encouraging them to complete their purchase.
>
> Know more about [Payment Links](/docs/payments/payment-links).
## Third Party Validation
Third-Party Validation (TPV) of bank accounts is a mandatory requirement for businesses in the BFSI sector dealing with securities, broking and mutual funds. Following are the recommended products:
> [tab] Payment Gateway with TPV
>
> * One-Click Retry on Razorpay Checkout.
> * Methods Available: UPI, Debit Card and Netbanking.
>
> Know more about [Payment Gateway with TPV](/docs/payments/third-party-validation).
> [tab] Payment Links with TPV
>
> * Share Payment Links with customers calling the call center for investing.
> * Remind customers to add funds to trading accounts and notify them of low balances.
> * Prevent drop-offs by sending Payment Links to resolve demat account payment issues.
>
> Know more about [Payment Links with TPV](/docs/api/payments/payment-links/third-party-validation).
> [tab] Smart Collect with TPV
>
> * Create Customer Identifiers to accept large payments from your customers.
> * Supports NEFT/RTGS/IMPS transactions.
>
> Know more about [Smart Collect with TPV](/docs/payments/smart-collect/apis).
> [tab] Turbo UPI TPV
>
> * Achieve higher success rates with a smoother payment experience.
> * Complete in-app flow with no redirections for better control over the user journey.
> * Significantly reduce timeout issues as customers never leave your app.
>
> Know more about [Turbo UPI with TPV](/docs/payments/payment-gateway/android-integration/standard/payment-methods/integration-tpv).
## Automate Recurring Revenues
Recurring revenues are core to financial services, including insurance premiums, SIPs and loan repayments. With Razorpay, you can offer easy and tailor-made subscription plans to your customers through a platform built for automation. Following are the recommended products:
> [tab] E-mandate
>
> * Register customers for SIP payments via E-mandate/Paper NACH.
> * Set up mandates for lump sum payments with first-time registration.
> * Facilitate mandate migration.
>
> Know more about [E-mandate](/docs/payments/recurring-payments).
> [tab] UPI Autopay
>
> * Enable users to set up periodic premium payments through their UPI apps.
> * Support daily, weekly, monthly, quarterly, or yearly plans to make products or services more affordable.
> * Supported by major UPI apps like AmazonPay, BHIM, PayTM, PhonePe, Google Pay, and [various banks](/docs/payments/subscriptions/supported-banks-apps#upi-autopay).
>
> Know more about [UPI Autopay](/docs/payments/subscriptions/faqs#upi).
> [tab] Subscriptions
>
> * Set up E-mandates, authorising the bank to deduct loan instalments automatically from their bank accounts at predefined intervals.
> * Provide flexible repayment schedules based on customer preferences and loan terms.
> * Automate the reconciliation of loan repayments, provide real-time visibility into payment statuses and reduce the chances of errors in financial reporting.
>
> Know more about [Subscriptions](/docs/payments/subscriptions).
## End-to-End Cash Flow Management
Financial companies face complex cash flows where money is collected from multiple sources and routed to various accounts - customers, investors, vendors, and service providers. Following are the recommended products:
> [tab] Route
>
> * Split payments as per the broking index (NSE, BSE, MCX, and more).
> * Distribute payments according to MF scheme bank accounts.
>
> Know more about [Route](/docs/payments/route).
> [tab] Optimizer
>
> * Improve payment routing to ensure transactions go through the best available acquirer or gateway, reducing failed transactions and increasing success rates.
> * Automatically send transactions to the best-performing gateway without customer input.
> * Smart Router routes payments to providers with a higher probability of success.
>
> Know more about [Optimizer](/docs/payments/optimizer).
## Explore RazorpayX for Advanced Business Banking
You can explore the RazorpayX product suite for these use cases:
* Managing multiple bank accounts via [RazorpayX Dashboard](/docs/x/dashboard).
* [Automated payouts](/docs/x/payouts) to bank accounts, debit cards, credit cards or prepaid cards.
* Streamlined salary disbursements through [RazorpayX Payroll](/docs/payroll).
# Ecommerce
Source: https://razorpay.com/docs/payments/solutions/ecommerce
Explore Razorpay's recommended products for the ecommerce industry, enabling easy access and management of payments, refunds, transfers, subscriptions, and more.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Manage all your payments and financial operations from a consolidated Dashboard. Create an online store, track payments, and issue refunds within minutes. Make better business decisions with real-time reporting. Following are the use cases and recommended products.
## Handle End-to-End Payments
Experience the future of payments with the easiest integration, online onboarding and feature-filled checkout. Avail of the lowest industry charges. Following are the recommended products:
> [tab] Payment Gateway
>
> * One-Click Retry on Razorpay Checkout.
> * Integrate with a wide coverage of SDKs and plugins for all popular marketplaces such as Shopify, WooCommerce, Magento and more.
> * Enjoy high success rates on UPI and Card payments.
> * 100+ Methods Available: UPI, Cards (debit and credit), EMI, Netbanking, International Payments, Wallet, Pay Later and more.
>
> Know more about [Payment Gateway](/docs/payments/payment-gateway).
> [tab] Magic Checkout
>
> * Enables seamless prepaid and COD transactions on your platform.
> * Integrate with plugins for popular marketplaces such as Shopify and WooCommerce.
>
> Know more about [Magic Checkout](/docs/payments/magic-checkout).
> [tab] Payment Links
>
> * Share the Payment Link via an email, SMS or messenger and get paid immediately.
> * Install the Razorpay WhatsApp Bot for Payment Links and accept payments from your customers by creating and sharing Payment Links to them directly from WhatsApp.
> * Recover abandoned carts by sending customers a Payment Link, encouraging them to return and complete their purchase.
>
> Know more about [Payment Links](/docs/payments/payment-links).
> [tab] Payment Button
>
> * Add a pay button to your website to accept one-time and subscription payments on your website in less than 5 minutes.
> * Share automated payment receipts with your customers.
>
> Know more about [Payment Button](/docs/payments/payment-button).
## Improve Checkout Experience and Conversion Rates
Despite high traffic, ecommerce businesses have to deal with high cart abandonment rates and lower payment conversions. Razorpay offers a combination of solutions to enhance the checkout experience and conversion rates. Following are the recommended products:
> [tab] Magic Checkout
>
> * Improve order conversions by 40% by offering a 5X Faster checkout experience
> * Reduce COD RTOs by 50% by dynamically blocking the COD payment method for high RTO-risk users based on Razorpayโs proprietary AI/ML model.
> * Securely store customer addresses and payment information during checkout.
> * Personalised checkout and payment experience and no redirections.
>
> Know more about [Magic Checkout](/docs/payments/magic-checkout).
> [tab] Razorpay Direct for Shopify
>
> * Integrate credit card payment with your Shopify store directly on the checkout page.
> * Collect credit card payments on your Shopify websites without any redirections to a payment gateway page and boost conversions.
>
> Know more about [Razorpay Direct for Shopify](/docs/payments/ecommerce-plugins/razorpay-direct-credit-card).
> [tab] Affordability Widget
>
> * Highlight the best offers and eligible payment methods to consumers upfront and reduce drop-offs.
> * Encourage more purchases with higher spending power.
> * Boost average order values by enabling customers to unlock bigger discounts and calculate additional savings with the Discount Whisperer feature.
> * Help customers check their eligibility and complete the purchase directly from the widget itself, eliminating friction.
> * Available on Shopify, WooCommerce, Android app and custom-built websites.
>
> Know more about [Affordability Widget](/docs/payments/payment-gateway/emiยฒ/widget).
> [tab] Razorpay Trusted Business
>
> * Showcase our Trusted Badge on checkout and embed the Razorpay Trusted Business Widget on your website to instil credibility amongst site visitors.
> * Reduce the share of COD orders and increase the share of prepaid orders by being perceived as a trusted business.
> * Boost customer confidence about your business's legitimacy and minimise drop-offs.
> * Available on Shopify, WooCommerce and custom-built websites.
>
> Know more about [Razorpay Trusted Business](/docs/payments/widgets/trusted-business).
> [tab] Offers
>
> * Create attractive payment offers on your website, increasing sales.
> * Provide interest-free EMI options with No Cost EMI Offers.
> * With the help of Low Cost EMI Offers, provide upfront discounts by splitting the interest cost with your customers.
> * Incremental offers lead to higher average order value, thereby boosting sales.
>
> Know more about [Offers](/docs/payments/offers).
## Automate Recurring Revenues
Recurring revenues are core to financial services, including insurance premiums, SIPs, and loan repayments. With Razorpay, you can offer easy and tailor-made subscription plans to your customers through a platform built for automation. We recommend:
> [tab] Subscriptions
>
> * Offer customers various Subscription plans, such as monthly, quarterly, and yearly options.
> * Securely store card information, eliminating the need for customers to enter card details every time they make a recurring payment.
> * Automate the entire payment process, charging customers' cards at predefined intervals based on their chosen Subscription frequency.
> * Provide discounts or cashback to increase average order value, thereby boosting sales.
>
> Know more about [Subscriptions](/docs/payments/subscriptions).
## Go Global
Businesses tend to find accepting international payments quite cumbersome due to issues such as currency conversion, FIRS collection from banks and the constant threat of credit card fraud. Following are the recommended products:
> [tab] Accept International Payments
>
> * Accept international payments in nearly 100 foreign currencies, with real-time, automatic currency conversion
> * Supported payment methods: Cards, PayPal, Trustly, Poli, Sofort and Giropay.
>
> Know more about [International Payments](/docs/payments/international-payments).
> [tab] Automated FIRS
>
> * Generate FIRS automatically from our Dashboard.
> * Free of cost, generated with a single click. There is no need to visit the bank and pay the fee.
>
> Know more about [Automated FIRS](/docs/payments/international-payments/firs-automated-process).
> [tab] Address Verification System
>
> * Confirm that the card user is the rightful owner.
> * Verify the cardholderโs billing address and card details.
>
> Know more about [Address Verification System](/docs/payments/international-payments/address-verification-system).
## Improve Customer Post-Purchase Experience
Razorpay solves issues related to high RTO costs, COD transactions involving cash handling, high RTO risk, and so on. Additionally, it also helps build loyalty and retention with increasing competition. Given below are the recommended products:
> [tab] Magic Checkout
>
> * Use our RTO Prediction capabilities to identify risk and dynamically disable the COD option, thereby reducing RTO.
> * Convert COD orders to prepaid by offering incentives to customers via Whatsapp.
>
> Know more about [Magic Checkout](/docs/payments/magic-checkout).
## Explore RazorpayX for Advanced Business Banking
* Make [instant Payouts](/docs/x/payouts) individually or in bulk via IMPS, NEFT, RTGS, UPI or Bank Transfer.
* Share [Payout Links](/docs/x/payout-links) with customers and reduce wait time for payouts.
* Automate vendor payouts with [RazorpayX Vendor Payments](/docs/x/vendor-payments).
* Ensure tax compliance with [RazorpayX Tax Payments](/docs/x/tax-payments).
# Travel
Source: https://razorpay.com/docs/payments/solutions/travel
Explore Razorpay's recommended products for the travel industry, ensuring secure and efficient transactions for seamless booking experiences.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Manage all your travel-related payments and financial operations from a consolidated Dashboard. Create an online booking platform, track payments, and issue refunds within minutes. Make better business decisions with real-time reporting. Following are the use cases and recommended products.
## Simplify Payment Processes
Efficient payment processes are vital in travel. They ensure seamless transactions across platforms and methods, enhancing booking efficiency for travellers and operators alike. Following are the recommended products:
> [tab] Payment Gateway
>
> * One Click Retry on Razorpay Checkout.
> * Integrate with a wide coverage of SDKs and plugins for all popular marketplaces such as Shopify, Woocommerce, Magento and more.
> * Enjoy high success rates on UPI and Card payments.
> * 100+ Methods Available: UPI, Cards (debit and credit), EMI, Netbanking, International Payments, Wallet, Pay Later and more.
>
> Know more about [Payment Gateway](/docs/payments/payment-gateway).
> [tab] Turbo UPI
>
> * Simplifies the booking process, minimising the effort required from customers.
> * Ensures safe transactions, protecting user data and building trust.
> * Easily integrates with existing travel booking systems, reducing implementation complexity.
>
> Know more about [Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi).
## Streamline Customer Payments
Streamlined payment solutions optimise booking processes by offering convenient payment methods and quick transaction confirmations, improving overall customer satisfaction in the travel sector. Following are the recommended products:
> [tab] Payment Links
>
> * Share Payment Links via email, SMS, or messenger and get paid immediately.
> * Use the Razorpay WhatsApp Bot to create and share Payment Links directly from WhatsApp.
> * Recover abandoned carts by sending customers a Payment Link, encouraging them to complete their purchase.
>
> Know more about [Payment Links](/docs/payments/payment-links).
> [tab] Smart Collect
>
> * Generate Customer Identifiers in real time via the Dashboard and APIs.
> * Enable customers to make payments via NEFT, RTGS and IMPS.
> * Eliminate the difficulty of manual reconciliation and save time and cost.
>
> Know more about [Smart Collect](/docs/payments/smart-collect).
## Enhance Customer Experience
Enhancing customer experience in travel involves providing flexible payment options and personalised services that cater to diverse traveller preferences, ultimately boosting satisfaction and loyalty. Following are the recommended products:
> [tab] Affordability Widget
>
> * Offer a pre-eligibility check on emiยฒ instruments, allowing customers to verify their credit eligibility directly from the widget.
> * Provide a variety of payment methods tailored to your customer's preferences, including EMIs and Pay Later options.
> * Use the Affordability Widget to raise customers' awareness of emiยฒ-based payment options and offers on your website or app before they reach checkout.
>
> Know more about [Affordability Widget](/docs/payments/payment-gateway/emiยฒ/widget).
> [tab] Offers
>
> * Create attractive payment offers on your website, increasing sales.
> * Provide interest-free EMI options with No Cost EMI Offers.
> * With the help of Low Cost EMI Offers, provide upfront discounts by splitting the interest cost with your customers.
> * Incremental offers lead to higher average order value, thereby boosting sales.
>
> Know more about [Offers](/docs/payments/offers).
> [tab] Razorpay Trusted Business
>
> * Showcase our Trusted Badge on checkout and embed the Razorpay Trusted Business Widget on your website to instil credibility amongst site visitors.
> * Reduce the share of COD orders and increase the share of prepaid orders by being perceived as a trusted business.
> * Boost customer confidence about your business's legitimacy and minimise drop-offs.
> * Available on Shopify, WooCommerce and custom-built websites.
>
> Know more about [Razorpay Trusted Business](/docs/payments/widgets/trusted-business).
> [tab] Turbo UPI
>
> * Simplifies the payment process, making it faster and more convenient for travellers.
> * Ensures high security, building trust and confidence in the booking platform.
> * Provides real-time payment confirmation, ensuring smooth travel planning.
>
> Know more about [Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi).
## Manage Transactions Efficiently
Efficient transaction management, including quick refunds and automated billing, ensures smooth operations and builds trust among travellers by offering reliable service and support. Following are the recommended products:
> [tab] Instant Refunds
>
> * Refund the amount to your customer almost instantly using Instant refunds.
> * We support netbanking and UPI for Instant refunds. Refunds are sent back to the original payment method used in making the payment.
>
> Know more about [Instant Refunds](/docs/payments/refunds/instant).
> [tab] Subscriptions
>
> * Offer customers various Subscription plans, such as monthly, quarterly, and yearly options.
> * Securely store card information, eliminating the need for customers to enter card details every time they make a recurring payment.
> * Automate the entire payment process, charging customers' cards at predefined intervals based on their chosen Subscription frequency.
> * Provide discounts or cashback to increase average order value, thereby boosting sales.
>
> Know more about [Subscriptions](/docs/payments/subscriptions).
## Go Global
Businesses tend to find accepting international payments quite cumbersome due to issues such as currency conversion, FIRS collection from banks and the constant threat of credit card fraud. Following are the recommended products:
> [tab] Accept International Payments
>
> * Accept international payments in nearly 100 foreign currencies, with real-time, automatic currency conversion
> * Supported payment methods: Cards, PayPal, Trustly, Poli, Sofort and Giropay.
>
> Know more about [International Payments](/docs/payments/international-payments).
> [tab] Automated FIRS
>
> * Generate FIRS automatically from our Dashboard.
> * Free of cost, generated with a single click. There is no need to visit the bank and pay the fee.
>
> Know more about [Automated FIRS](/docs/payments/international-payments/firs-automated-process).
> [tab] Address Verification System
>
> * Confirm that the card user is the rightful owner.
> * Verify the cardholderโs billing address and card details.
>
> Know more about [Address Verification System](/docs/payments/international-payments/address-verification-system).
## Explore RazorpayX for Advanced Business Banking
* Make [instant Payouts](/docs/x/payouts) individually or in bulk via IMPS, NEFT, RTGS, UPI or Bank Transfer.
* Share [Payout Links](/docs/x/payout-links) with customers and reduce wait time for payouts.
* Automate vendor payouts with [RazorpayX Vendor Payments](/docs/x/vendor-payments).
* Ensure tax compliance with [RazorpayX Tax Payments](/docs/x/tax-payments).
# About Disputes
Source: https://razorpay.com/docs/payments/disputes
Create Disputes and Chargebacks from the Razorpay Dashboard. Check the notifications and how disputes are handled for international payments.
Available in
๐ฎ๐ณ India
A dispute is a situation where a customer or the issuing bank questions the validity of payments. It may arise due to unauthorised charges, failure to deliver the promised merchandise or excessive charges levied by the business.
## Dispute Phases
A dispute can be in any of the following phases:
| Phase | Description |
| - | - |
| **Fraud** | A dispute is raised by the bank when it suspects a transaction to be fraudulent based on the risk analysis. |
| **Retrieval** | A request is initiated by the customer with their issuer bank for additional information about a transaction. This is essentially a "soft" chargeback. |
| **Chargeback** | A refund claim initiated by the customers with their issuer banks. In such cases, the bank starts an official inquiry. |
| **Pre-Arbitration** | A chargeback that you have won and is again challenged by the customer for the second time. |
| **Arbitration** | A chargeback that you have won and is rechallenged for the third time by the customer, and the card networks directly get involved. These disputes are usually costly. |
> [!NOTE]
>
> **Handy Tips**
>
> The pre-arbitration and arbitration dispute phases are usually long-drawn, complicated, and challenging. It is advised to take remedial action during the retrievals and chargeback phases to avoid complications.
## Dispute States
A dispute can have any of the following statuses (in the Razorpay system).

| Status | Description |
| - | - |
| **Open** | Indicates that the dispute has been created. |
| **Under Review** | Indicates that the issuing bank has reviewed the dispute. |
| **Won** | Indicates that the bank has accepted the remedial documents, and you have won the chargeback. |
| **Lost** | Indicates that the bank did not accept the remedial documents and you have lost the chargeback. |
| **Closed** | Indicates the state when a fraudulent transaction is closed after you provide details of the transaction or make a refund to the customer. This is seen in fraudulent transactions only. |
## Disputes Process Flow
Following is the process flow for disputes:
1. A dispute can be initiated in any of the following ways:
1. **Initiated by the issuing bank**: The issuing bank suspects a fraudulent transaction and asks for your justification.
2. **Initiated by the customer**: The customer claims that the transaction was unauthorised and raises it with the issuing bank.
2. You will be [notified about the dispute.](/docs/payments/disputes#notifications)
* **Accept** the dispute. The customer is refunded. In the case of fraud, you must refund the amount. In other cases, Razorpay will auto-refund the amount.
* [Contest the dispute by submitting evidence](/docs/payments/disputes/submit-evidence) to prove that the transaction was fair.
* If you contest, the documents are sent to the customerโs bank. The bank reviews the case and provides a verdict.
* If you lose the dispute, the amount would be deducted from your account and is sent to the customer.
## Notifications
Notifications are sent when disputes are created. These notifications are in the form of:
* **Emails**\
You will receive an email notification when a dispute is created. The email contains details of the transaction, amount and cause of dispute.
* **Webhooks**\
You can [subscribe to Webhook events](/docs/webhooks/disputes) to receive alerts whenever a dispute is created or there is a change in status.
> [!NOTE]
>
> **Disputes in International Payments**
>
> For a dispute raised for international payment, the amount deducted from your account will be based on the day's currency conversion rate when the dispute was created. The currency conversion rate is dependent on the rate charged by processing banks. This conversion rate may vary from that on the day when the payment was created.
## Dashboard Actions
You can perform the following actions using the Dashboard:
* [View disputes](/docs/payments/disputes/dashboard#view-disputes)
* [Accept disputes](/docs/payments/disputes/dashboard#accept-disputes)
* [Contest disputes and submit evidence](/docs/payments/disputes/dashboard#contest-disputes)
* [Subscribe to Webhook Events related to disputes](/docs/webhooks/disputes)
### Related Information
* [Submit Evidence](/docs/payments/disputes/submit-evidence)
* [View Disputes](/docs/payments/disputes/dashboard#view-disputes)
* [Disputes - Dashboard Actions](/docs/payments/disputes/dashboard)
* [Dispute FAQs](/docs/payments/disputes/faqs)
* [Dispute APIs](/docs/payments/disputes/apis)
* [Contact Support](https://razorpay.com/support/#request) for additional help with disputes.
# Disputes APIs
Source: https://razorpay.com/docs/payments/disputes/apis
List of Dispute APIs to perform actions like viewing, accepting and contesting Disputes.
Available in
๐ฎ๐ณ India
You can use the Dispute APIs to view all disputes or view a dispute by its id. You can also perform these actions from the Dashboard.
## List of Disputes APIs
The table below lists the various Disputes APIs and gives a brief description of each API:
| API | Description |
| - | - |
| [View all disputes](/docs/api/disputes/fetch-all) | API to fetch all disputes. |
| [View a dispute by dispute id](/docs/api/disputes/fetch) | API to view dispute details by providing the dispute id. |
| [Accept a dispute](/docs/api/disputes/accept) | API to accept a dispute. |
| [Contest a dispute](/docs/api/disputes/contest) | API to contest a dispute. |
### Related Information
* [About Disputes](/docs/payments/disputes)
* [Disputes - Dashboard Actions](/docs/payments/disputes/dashboard)
# Chargeback Fees & Penalties
Source: https://razorpay.com/docs/payments/disputes/chargeback-fees-and-penalties
Understand the turnaround time for each chargeback phase, the fees and penalties charged by card networks, and how Deduct at Onset (DAO) works.
Available in
๐ฎ๐ณ India
Understand the turnaround time for each chargeback phase, the fees and penalties levied by card networks at each stage, and how Razorpay handles the disputed amount while a case is being resolved.
## Chargeback Phases and Turnaround Time (TAT)
Each chargeback phase has a fixed window within which you must respond with your evidence. Missing this window results in an automatic loss of the chargeback, regardless of the merits of your case.
| Phase | Turnaround Time |
| - | - |
| **Chargeback** | T+3 business days |
| **Pre-Arbitration** | T+2 business days |
| **Arbitration** | T+1 business day |
> [!NOTE]
>
> **Handy Tips**
>
> Pre-arbitration and arbitration are long-drawn, complex, and costly stages. Responding with complete evidence at the first chargeback stage is the most effective way to avoid escalation.
## Fees and Penalties by Network
If a chargeback escalates beyond the first stage, the card network levies additional fees, which are passed on to you. These fees apply regardless of the final outcome of the case.
| Dispute Stage | Mastercard | Visa | RuPay | UPI |
| - | - | - | - | - |
| **Chargeback** | Nil | Nil | Nil | Nil |
| **Pre-Arbitration** | USD 15.00 | USD 0.75 | Nil | Nil |
| **Arbitration** | USD 675.00 | USD 600.00 | INR 3,000.00 | Arbitration acceptance/NRP fee of INR 500 + GST, and PRD fee of INR 3,000 + GST per arbitration |
**Note:** Visa's arbitration penalty fee was revised from USD 500 to USD 600, effective October 1, 2024.
If the arbitration is ruled in the cardholder's favour, the arbitration fee โ in addition to the disputed transaction amount โ is borne by you.
## Deduct at Onset (DAO)
When a dispute is raised, Razorpay deducts the disputed amount, along with any applicable fees, from your account balance at the outset โ before the case is resolved. This is standard practice across payment gateways and ensures sufficient funds are available to cover the liability if the dispute is decided against you, in line with network and regulatory requirements.
If the dispute is resolved in your favour, the withheld amount is credited back to your account.
## What Happens After a Decision
### If you win the dispute
Once you submit your evidence, Razorpay forwards it to the acquiring bank, which passes it on to the issuing bank and card network for review. If the case is decided in your favour, the amount debited earlier is credited back to your account. Since this involves multiple stakeholders, the reversal can take **up to 30 days** from the date your evidence was submitted.
### If you accept or lose the dispute
If you accept a dispute โ or lose it after contesting โ Razorpay notifies the issuing bank of the outcome via the acquiring bank. The issuing bank and card network then determine the refund amount and timeline for the customer. Razorpay does not have visibility or control over the exact timing of the refund reaching the customer's payment instrument; customers should be directed to their bank for refund status.
### Related Information
* [About Disputes](/docs/payments/disputes)
* [Chargeback Types & Prevention](/docs/payments/disputes/chargeback-types-and-prevention)
* [Submit Evidence](/docs/payments/disputes/submit-evidence)
* [Disputes - Dashboard Actions](/docs/payments/disputes/dashboard)
* [International Chargebacks](/docs/payments/disputes/international-chargebacks)
* [Dispute FAQs](/docs/payments/disputes/faqs)
* [Dispute APIs](/docs/payments/disputes/apis)
# Chargeback Types & Prevention
Source: https://razorpay.com/docs/payments/disputes/chargeback-types-and-prevention
Understand the common types of chargebacks and practical steps you can take to prevent disputes and protect your revenue.
Available in
๐ฎ๐ณ India
A chargeback occurs when a cardholder disputes a transaction with their issuing bank, and the bank reverses the payment while the case is investigated. Understanding why chargebacks happen and how to prevent them can help you reduce disputes and protect your revenue.
## Types of Chargebacks
Chargebacks are generally raised for one of the following reasons:
* **Fraudulent chargebacks**
Raised when a transaction was made without the cardholder's knowledge or consent โ for example, using stolen card details or a compromised identity.
* **Non-receipt chargebacks**
Raised when a customer claims they never received the goods or services they paid for.
* **Quality-related chargebacks**
Raised when a customer is dissatisfied with the product or service received โ for example, if it was defective, damaged, or significantly different from what was described.
> [!NOTE]
>
> **Handy Tips**
>
> A customer has a window of up to 120 days from the transaction date to raise a chargeback. This means a sale can be reversed well after it was completed, so evidence (invoices, delivery proof, communication records) should be retained accordingly.
## Why Avoiding Chargebacks Matters
Beyond the immediate loss of the disputed amount, a high volume of chargebacks can have broader consequences for your business:
* Card networks and acquiring banks may flag your business as high-risk, which can affect your standing with payment partners.
* Banks may start holding remittances if chargeback volumes stay elevated.
* In severe cases, this can lead to a suspension of your online payment acceptance.
## How to Avoid Chargebacks
Most chargebacks stem from a breakdown in communication or expectations between you and your customer, rather than intentional fraud. The following practices help reduce that risk:
* **Keep your return and refund policy clear and visible.** Make sure it's easy to find on your website and understood before checkout.
* **Communicate proactively with customers.** Keep them updated on order status, delays, and any changes, so they're less likely to dispute a charge out of uncertainty.
* **Retain proof of delivery.** Keep tracking numbers, invoices, and delivery confirmations on hand โ these are the first evidence you'll need if a chargeback is raised.
* **Respond to customer complaints promptly.** Resolving an issue directly with the customer is almost always faster and cheaper than fighting a chargeback later.
* **Verify high-risk transactions where possible.** For example, using 3D Secure authentication on card-not-present transactions reduces your exposure to fraud-related chargebacks. See [International Chargebacks](/docs/payments/disputes/international-chargebacks) for more on 3DS and non-3DS risk.
### Related Information
* [About Disputes](/docs/payments/disputes)
* [Submit Evidence](/docs/payments/disputes/submit-evidence)
* [Chargeback Fees & Penalties](/docs/payments/disputes/chargeback-fees-and-penalties)
* [International Chargebacks](/docs/payments/disputes/international-chargebacks)
* [Dispute FAQs](/docs/payments/disputes/faqs)
# Disputes - Dashboard Actions
Source: https://razorpay.com/docs/payments/disputes/dashboard
View, accept, contest Disputes and download Disputes reports from the Razorpay Dashboard. Subscribe to webhook events for realtime updates on your disputes.
Available in
๐ฎ๐ณ India
You can use the Dashboard to perform the following actions:
* [View Disputes](#view-disputes)
* [Accept Disputes](#accept-disputes)
* [Contest Disputes](#contest-disputes)
* [Download Disputes Report](#download-disputes-report)
* [Subscribe to Webhook Events](/docs/payments/disputes/subscribe-to-webhooks)
## View Disputes
Follow the steps given below to view dispute details from the Dashboard.
> [accordion] To view disputes:
>
> 1. Log in to the Dashboard.
> 2. Select **Transactions** from the left menu and click **Disputes**.
>
> 
> 3. A list of all the disputes is displayed. Click **Details** to view the details of the dispute.
>
> 
>
> 
### View Disputes Using APIs
* View all the disputes raised by your customer using [Fetch All Disputes API](/docs/api/disputes/fetch-all)
* View the details of a dispute by providing the dispute id using [Fetch a Dispute API](/docs/api/disputes/fetch)
## Accept Disputes
In case the customer's dispute is valid, you can accept the dispute.
When you accept a dispute:
1. The corresponding amount will be deducted from your Razorpay account balance.
2. The dispute's status will be changed to **lost**.
> [!NOTE]
>
> **Handy Tips**
>
> You can accept only those disputes that are in `open` state and fall within the respond by date.
Follow the steps given below to accept disputes from the Dashboard.
> [accordion] To accept disputes:
>
> 1. Log in to the Dashboard.
> 2. Select **Transactions** from the left menu and click **Disputes**.
> 3. A list of all the disputes is displayed. Click **Details** for the required Dispute id.
> 4. Click **Accept Dispute** on the right pane.
>
> 
>
> 5. Click **Yes, Accept** to confirm. The amount will be deducted from your Razorpay account balance.
### Accept Disputes Using API
Accept a dispute using the [Accept a Dispute API](/docs/api/disputes/accept).
## Contest Disputes
In case the goods or services have been provided to the customer, you can contest the dispute and submit the proof of deliveries, invoices or any other authorised proof of product/service delivery as evidence.
Follow the steps given below to contest disputes and submit evidence from the Dashboard.
> [accordion] To contest disputes:
>
> 1. Log in to the Dashboard.
> 2. Select **Transactions** from the left menu and click **Disputes**.
>
> 
> 3. A list of all disputes is displayed. Click **Details** for any dispute ID to open the right-side pane.
>
> 
> 4. Click **Contest & upload evidence**.
>
> 
> 5. You can choose to contest the dispute for the full payment amount or a partial amount. To contest for partial amount, click **Edit** and enter the amount you want to contest.
>
> 
> 6. In the **Explanation** field, provide the reason why the dispute is invalid.
>
> 
> 7. In the **Supporting Evidence** section, select the evidence type in the **Add Document** field and upload the document. You can upload multiple documents to support your claim. The supported document types are, PDF, PNG and JPG.
>
> 
> 8. Click **Submit Evidence**.
> 9. Click **Yes Contest** to confirm.
>
> 
### Contest Disputes Using API
* Contest a dispute using [Contest a Dispute API](/docs/api/disputes/contest)
* Upload supporting documents using [Documents API](/docs/api/documents)
## Download Disputes Report
You can download disputes as a file from the Dashboard. To download disputes report:
1. Log in to the Dashboard.
2. Select **Transactions** from the left menu and click **Disputes**.
3. A list of all the disputes is displayed. Apply the required filters for disputes and click the download icon on the right.

### Related Information
* [About Disputes](/docs/payments/disputes)
* [Submit Evidence](/docs/payments/disputes/submit-evidence)
* [Dispute FAQs](/docs/payments/disputes/faqs)
* [Contact Support](https://razorpay.com/support/#request) for additional help with disputes.
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/disputes/faqs
Find answers to frequently asked questions about Razorpay Payment Disputes.
Available in
๐ฎ๐ณ India
> [accordion] How do I get informed if a customer has raised a dispute?
>
> You will receive an email notification when a dispute is created. Additionally, you can subscribe to Webhook Events. Know more about [notifications related to disputes](/docs/payments/disputes#notifications).
> [accordion] How do I contest disputes?
>
> You can submit evidences to contest disputes. Know more about [submitting evidence to contest disputes.](/docs/payments/disputes/submit-evidence)
> [accordion] How are disputes handled for international payments?
>
> For a dispute raised for international payment, the amount deducted from your account will be based on the currency conversion rate of the day when the dispute was created. The currency conversion rate is dependent on the rate charged by processing banks. This conversion rate may vary from the day the payment was created. Know more about [submitting evidence to contest disputes.](/docs/payments/disputes/submit-evidence)
> [accordion] My card details are saved on Razorpay. How do I remove it?
>
> If you wish to remove your details, you can:
>
> * Click on the link `Manage your cards` link received in the email.
> * Visit [Razorpay Saved Cards Portal](https://razorpay.com/flashcheckout/manage/) to update or delete your saved card details.
> [accordion] How do I open a dispute with a seller when a purchase goes wrong?
>
> At Razorpay, we aim to deliver smooth and hassle-free transactions, but in rare cases, disputes may occur. As a payment solutions provider, we suggest that you (the buyer) contact the merchant (or seller) as early as possible to resolve any issues regarding your order. We have often found that prompt and clear communication is the key to a speedy resolution. Know more about [disputes](https://razorpay.com/dispute-guide/).
> [accordion] Does Razorpay intervene to resolve a pending dispute between a buyer and a seller?
>
> As a first step, we strongly recommend that customers initiate direct communication with the seller to resolve issues about a specific order. If you do not get a satisfactory response or no response, you can then raise a chargeback with your bank as a second option. These chargebacks will be raised with Razorpay by your bank and we will assist in amicably resolving the issue.
# International Chargebacks
Source: https://razorpay.com/docs/payments/disputes/international-chargebacks
Understand how cross-border chargebacks differ from domestic ones, the role of 3D Secure authentication, and how to prevent and respond to international disputes.
Available in
๐ฎ๐ณ India
Accepting cross-border payments opens up new markets, but it also carries a higher risk of disputes and fraud-related chargebacks. This page explains what makes international chargebacks different from domestic ones, and how to reduce your exposure to them.
## What is an International Chargeback?
An international (or cross-border) chargeback is a request โ raised by a cardholder or their issuing bank โ to reverse a transaction made using a card issued outside India. It's raised for the same broad reasons as a domestic chargeback: the cardholder didn't authorise the transaction, or is dissatisfied with the goods or services received.
> [!NOTE]
>
> **Disputes in International Payments**
>
> For a dispute raised on an international payment, the amount deducted from your account is based on the currency conversion rate applicable on the day the dispute was created โ not the rate on the day the original payment was made. This rate depends on your processing bank and may differ from the original transaction's conversion rate.
## How It Differs from a Domestic Chargeback
An international chargeback involves a transaction made in a different country from the one where the issuing bank operates. This adds complexity that domestic chargebacks don't have:
* **Currency conversion** โ the disputed amount is calculated using the conversion rate at the time of the dispute, which can differ from the original transaction amount.
* **Cross-border regulations** โ the case may be subject to different laws depending on the country of the merchant, the cardholder, or the delivery destination.
## 3D Secure (3DS) vs. Non-3DS Transactions
[3D Secure (3DS)](https://razorpay.com/learn/what-is-3d-secure/) is an additional authentication step โ such as an OTP, PIN, or static password โ applied to card-not-present (CNP) transactions to verify the cardholder's identity. It's designed to reduce fraud risk for both you and your customer.
**Non-3DS transactions**, where this additional authentication step isn't used, carry a higher risk of being reported as fraudulent or charged back. Since the cardholder isn't independently verified, you have very limited grounds to contest a chargeback on a non-3DS transaction that's flagged as fraud.
Participation in 3DS programs is ultimately determined by the card network and the card-issuing institution, not by you. However, if you accept cross-border card payments โ particularly non-3DS ones โ you should weigh this risk carefully as part of your international payments strategy.
## Preventing International Chargebacks
* Clearly communicate transaction terms, including price, taxes, and fees, along with your refund and return policy, before checkout.
* Confirm that the cardholder authorised the transaction, especially for high-value cross-border orders.
* Ensure the goods or services delivered match what was advertised.
* Respond to customer queries or complaints promptly, before they escalate to a dispute.
## Responding to an International Chargeback
If you receive an international chargeback, respond promptly with documentation that supports your case. Depending on the reason for the dispute, this may include:
* Proof of cross-border delivery
* Customs clearance copies
* Proof that the cardholder authorised the transaction
* A copy of the terms and conditions shared with the customer at the time of purchase
See [Submit Evidence](/docs/payments/disputes/submit-evidence) for the full list of evidence documents accepted for each chargeback reason code.
If you're unable to resolve the dispute through this process, you may need to seek independent legal advice.
### Related Information
* [About Disputes](/docs/payments/disputes)
* [Chargeback Types & Prevention](/docs/payments/disputes/chargeback-types-and-prevention)
* [Submit Evidence](/docs/payments/disputes/submit-evidence)
* [Chargeback Fees & Penalties](/docs/payments/disputes/chargeback-fees-and-penalties)
* [Dispute FAQs](/docs/payments/disputes/faqs)
# Submit Evidence
Source: https://razorpay.com/docs/payments/disputes/submit-evidence
Check the details required by the Issuing Bank for Dispute Representment.
Available in
๐ฎ๐ณ India
The process of submitting various evidence documents to banks and gateways for contesting a payment dispute is known as **Dispute Representment**. If you want to successfully contest the chargeback and show the transaction was legitimate, you must submit supporting **chargeback evidence documents**. Know more about [dispute process flow.](/docs/payments/disputes#disputes-process-flow)
## Chargeback Reason Codes & Evidence Documents for Dispute Resolution
Every major payment processing network uses multiple dispute reason codes (also called chargeback reason codes). These codes indicate why customers initiated payment disputes and are assigned by the issuing bank.
The chargeback reason codes are segregated based on the network and are further categorised into common types:
| Category | Description |
| - | - |
| **Customer Disputes** | Customer claims goods/services are not received, defective or the transaction was not recognised. |
| **Fraud** | Customer claims an unauthorised transaction occurred or the card was used without their knowledge. |
| **Authorisation Error** | Transaction processed without proper authorisation or with declined/expired approval. |
| **Processing Error** | Technical mistakes, such as a wrong amount, duplicate charge or incorrect details. |
Here is a list of the required evidence documents to submit against each specific chargeback reason code to help you win the dispute.
### UPI
> [tab] Customer Dispute
>
> > [accordion] 1061 - Credit Not Processed
> >
> > * **Reason Description**: The business failed to process the credit after the customer cancelled or returned the goods or services.
> > * **Suggested Documents**:
> > * Proof of refund generation
> > * Bank statement showing refund amount which should match the payment amount
> > * Customer communication showing refund confirmation
> > * Refund policies
>
> > [accordion] 1062 - Goods/Services Not As Described
> >
> > * **Reason Description**: The business delivered a product or service that significantly differed from what they advertised or described.
> > * **Suggested Documents**:
> > * Product description/image screenshots
> > * Proof of product/service delivery
> > * Customer communication showcasing dissatisfaction
> > * Return policies
>
> > [accordion] 1064 - Goods/Services Not Received
> >
> > * **Reason Description**: The business failed to deliver the product or service to the customer despite receiving payment for the purchase.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Terms & Conditions showcasing refund & fulfillment policies
> [tab] Fraud
>
> > [accordion] 128 - Fraudulent Transaction
> >
> > * **Reason Description**: The business debited the customer's account fraudulently.
> > * **Suggested Documents**:
> > * Internal logs to show authorisation was obtained
> > * Invoicing details along with detailed price breakdown for the debited amount
> > * Proof of service/goods delivery clearly mentioning customer name and address details
> [tab] Authorisation Error
>
> > [accordion] 108 - Remiter Debited but Beneficiary Not Credited
> >
> > * **Reason Description**: The customer's account was debited the authorised amount, but the beneficiary did not receive the credit.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Customer Withdrawn letter
> > * Terms & Conditions showcasing refund & fulfillment policies
>
> > [accordion] 1065 - Debit on Failed Transaction
> >
> > * **Reason Description**: The system debited the account, yet the business did not receive confirmation of the payment.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Customer Withdrawn letter
> > * Terms & Conditions showcasing refund & fulfillment policies
>
> > [accordion] 121 - TCC Raised but Beneficiary is Not Credited
> >
> > * **Reason Description**: The customer raised a dispute because the TCC was issued, but the beneficiary's account has not been credited.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Customer Withdrawn letter
> > * Terms & Conditions showcasing refund & fulfillment policies
> [tab] Processing Error
>
> > [accordion] 1063 - Paid by Other Means
> >
> > * **Reason Description**: The customer paid via cash or another method, yet the business still charged this card in error.
> > * **Suggested Documents**:
> > * Proof showing payment was not received using any other method
> > * Refund proof if amount was refunded for duplicate charge
> > * Proof to show the claimed transaction was for a different product/service
>
> > [accordion] 1084 - Duplicate Processing
> >
> > * **Reason Description**: The business processed the same transaction multiple times, incorrectly charging the customer twice or more for a single purchase.
> > * **Suggested Documents**:
> > * System logs to prove only one transaction was processed for single authorisation
> > * Invoicing to prove each transaction was for separate service/product
>
> > [accordion] 1085 - Charge Amount Exceeds Authorisation Amount
> >
> > * **Reason Description**: The business processed a charge that exceeded the amount the customer authorised.
> > * **Suggested Documents**:
> > * Invoice with detailed price breakdown (price, taxes, fee, discount and so on) prove amount charged was correct
> > * Screenshot of product/service along with the price details
> > * Authorisation proof showing final amount was authorised by cardholder
> > * System logs to show correct amount was charged
>
> > [accordion] 1081 - Not Settled Within Timeline
> >
> > * **Reason Description**: The payment failed because the business did not process the transaction within the stipulated time limit.
> > * **Suggested Documents**:
> > * Internal logs to prove that charge was submitted within allowed time frame
> > * Time stamp of transaction and processing of the payment showing debit amount
> > * In case of re-auth, please provide proof of same
> > * Customer authorisation proof
> > * Masked card details and invoice of the transaction
### Visa
> [tab] Customer Dispute
>
> > [accordion] 1 - Merchandise/Services Not Received
> >
> > * **Reason Description**: The customer paid for the order but did not receive the product/service because the business failed to deliver the goods/service.
> > * **Suggested Documents**:
> > * Delivery confirmation with signature
> > * Tracking information
> > * Service completion records
> > * Digital delivery logs
> > * Customer acknowledgement
>
> > [accordion] 2 - Cancelled Recurring Transaction
> >
> > * **Reason Description**: The business charged the customer for the subscription in a subsequent billing cycle, despite the customer having already cancelled the recurring billing.
> > * **Suggested Documents**:
> > * Cancellation policy
> > * No cancellation request received
> > * Continued usage logs
> > * Terms of service
> > * Cancellation window proof
>
> > [accordion] 3 - Not as Described or Defective
> >
> > * **Reason Description**: The customer received a damaged or defective item (or a service of poor quality), as the product significantly differed from the description.
> > * **Suggested Documents**:
> > * Product description/images
> > * Quality control records
> > * No return received
> > * Customer did not contact for resolution
> > * Terms and conditions
>
> > [accordion] 4 - Counterfeit Merchandise
> >
> > * **Reason Description**: The business delivered fake or counterfeit goods to the customer; the product was an imitation or unauthorised reproduction of a branded item.
> > * **Suggested Documents**:
> > * Authenticity certificates
> > * Supplier verification
> > * Brand authorisation
> > * Product source documentation
> > * Quality guarantees
>
> > [accordion] 5 - Misrepresentation
> >
> > * **Reason Description**: The business misrepresented the terms of the sale by making false claims about the product's features or the sales conditions.
> > * **Suggested Documents**:
> > * Accurate marketing materials
> > * Clear terms display
> > * Customer acknowledgement
> > * No misleading claims proof
> > * Contract terms
>
> > [accordion] 6 - Credit Not Processed
> >
> > * **Reason Description**: The business failed to process the promised refund or credit to the customer's account.
> > * **Suggested Documents**:
> > * Refund processing proof
> > * Credit timestamp
> > * Return not received
> > * Refund policy compliance
> > * Transaction reversal records
>
> > [accordion] 7 - Cancelled Merchandise/Services
> >
> > * **Reason Description**: The business charged the customer for the order even though the customer had cancelled it before shipment or service delivery.
> > * **Suggested Documents**:
> > * No cancellation received
> > * Cancellation policy terms
> > * Order already processed/shipped
> > * Cancellation window missed
> > * Terms agreement
>
> > [accordion] 8 - Original Credit Transaction Not Accepted
> >
> > * **Reason Description**: The card network rejected the Original Credit Transaction (OCT) that the business submitted for the refund or payout.
> > * **Suggested Documents**:
> > * Valid account verification
> > * Compliance with OCT rules
> > * Alternative refund method
> > * Transaction approval records
> [tab] Fraud
>
> > [accordion] 1 - EMV Liability Shift โ Counterfeit Fraud
> >
> > * **Reason Description**: A counterfeit card was used at a terminal that did not support chip technology, so the business takes the liability.
> > * **Suggested Documents**:
> > * EMV compliance certificate
> > * Terminal capability proof
> > * Transaction receipt showing chip read
> > * Authorisation approval
> > * Card-present evidence
>
> > [accordion] 2 - EMV Liability Shift โ Non-Counterfeit Fraud
> >
> > * **Reason Description**: A legitimate card was used fraudulently at a terminal that did not support chip technology, meaning the business takes the liability.
> > * **Suggested Documents**:
> > * EMV compliance documentation
> > * Terminal logs
> > * Chip transaction data
> > * Authorisation records
> > * PIN verification (if applicable)
>
> > [accordion] 3 - Other Fraud โ Card-Present Environment
> >
> > * **Reason Description**: The cardholder denies authorising this in-person transaction; these claims usually involve stolen or cloned cards used at a physical shop or business.
> > * **Suggested Documents**:
> > * Signed receipt
> > * EMV/chip data
> > * Security footage timestamp
> > * PIN verification
> > * Authorisation approval
> > * Card imprint (if manual)
>
> > [accordion] 4 - Other Fraud โ Card-Absent Environment
> >
> > * **Reason Description**: An unauthorised online, phone or mail transaction has occurred, which the cardholder denies authorising. This frequently causes e-commerce chargebacks.
> > * **Suggested Documents**:
> > * AVS match results
> > * CVV2/CVC2 verification
> > * IP address & device fingerprint
> > * Order history
> > * Shipping proof to billing address
> > * 3D Secure authentication
>
> > [accordion] 5 - Visa Fraud Monitoring Program
> >
> > * **Reason Description**: Visa's fraud detection system flagged the transaction. Visa issues this when the business exceeds the fraud thresholds set in their monitoring program.
> > * **Suggested Documents**:
> > * Fraud prevention measures documentation
> > * Transaction authentication records
> > * Compliance improvements
> > * Risk assessment protocols
> [tab] Authorisation Error
>
> > [accordion] 1 - Card Recovery Bulletin
> >
> > * **Reason Description**: The business failed to decline or retain the card, allowing the transaction to proceed despite the card appearing on Visa's restricted card bulletin.
> > * **Suggested Documents**:
> > * Confirmation that the authorisation was not flagged on a bulletin/warning list
> > * Proof card was valid at transaction time
> > * Terminal records
> > * CRB check documentation
>
> > [accordion] 2 - Declined Authorisation
> >
> > * **Reason Description**: The business violated authorisation rules by overriding the decline response and forcing the transaction through.
> > * **Suggested Documents**:
> > * Valid authorisation approval code
> > * Proof of subsequent approval
> > * Terminal logs showing approved status
> > * Authorisation reversal records
> [tab] Processing Error
>
> > [accordion] 2 - Incorrect Transaction Code
> >
> > * **Reason Description**: The business used the wrong code, processing the transaction type differently than intended (for example, a refund captured/processed wrongly as a sale).
> > * **Suggested Documents**:
> > * Correct transaction records
> > * Processing logs
> > * Customer agreement for transaction type
> > * System configuration proof
>
> > [accordion] 3 - Incorrect Currency Code
> >
> > * **Reason Description**: The customer was charged in an incorrect currency because the business processed the transaction using the wrong one.
> > * **Suggested Documents**:
> > * Original currency agreement
> > * Display screenshots
> > * Exchange rate disclosure
> > * Customer consent for currency
>
> > [accordion] 4 - Incorrect Account Number
> >
> > * **Reason Description**: A data entry error caused the business to post the transaction to the incorrect cardholder account.
> > * **Suggested Documents**:
> > * Correct account verification
> > * Customer confirmation
> > * Order records matching account
> > * Payment method selection proof
>
> > [accordion] 5 - Incorrect Amount
> >
> > * **Reason Description**: The business charged the customer an amount that differed from the original purchase price they had authorised.
> > * **Suggested Documents**:
> > * Original receipt/invoice
> > * Authorisation for exact amount
> > * Price agreement documentation
> > * Shopping cart screenshot
>
> > [accordion] 6.1 - Duplicate Processing โ Single Authorisation
> >
> > * **Reason Description**: The business incorrectly processed multiple transactions by using the same authorisation code from a single original authorisation.
> > * **Suggested Documents**:
> > * Authorisation logs
> > * Processing records
> > * Transaction IDs
> > * Batch reports showing unique transactions.
>
> > [accordion] 6.2 - Paid by Other Means
> >
> > * **Reason Description**: The business incorrectly charged this card after the customer had already paid using a different method, such as cash, cheque or another card.
> > * **Suggested Documents**:
> > * Proof of single payment method
> > * No alternative payment records
> > * Customer communication
> > * Payment reconciliation
>
> > [accordion] 7 - Invalid Data
> >
> > * **Reason Description**: The system failed to capture valid transaction data, rendering critical information unreadable or missing.
> > * **Suggested Documents**:
> > * Corrected transaction data
> > * Valid processing records
> > * Resubmission documentation
> > * Data integrity proof
### Mastercard
> [tab] Customer Dispute
>
> > [accordion] 4841 - Cancelled Recurring or Digital Goods Transaction
> >
> > * **Reason Description**: The business charged the customer for the subscription or digital goods despite the customer having already cancelled the recurring billing or service.
> > * **Suggested Documents**:
> > * Cancellation policy
> > * No cancellation received
> > * Service usage after date
> > * Terms of service
> > * Digital access logs
>
> > [accordion] 4850 - Installment Billing Dispute
> >
> > * **Reason Description**: The business violated the agreed terms or payment schedule of the instalment plan.
> > * **Suggested Documents**:
> > * Installment agreement
> > * Payment schedule
> > * Terms compliance
> > * Customer consent
> > * Billing records
>
> > [accordion] 4853 - Cardholder Dispute
> >
> > * **Reason Description**: This general dispute covers quality issues where the customer did not receive the goods or service, or the product was defective or misrepresented.
> > * **Suggested Documents**:
> > * Depends on specific dispute - delivery proof, quality records, product description, return policy, customer communication
>
> > [accordion] 4854 - Cardholder Dispute - Not Elsewhere Classified (NEC)
> >
> > * **Reason Description**: The dispute is valid, but the details do not fit any of the specific reason code categories.
> > * **Suggested Documents**:
> > * Varies by dispute type - general proof of valid transaction/delivery/service/authorisation/customer agreement
> [tab] Fraud
>
> > [accordion] 4837 - No Cardholder Authorisation
> >
> > * **Reason Description**: The cardholder claims they did not authorise or participate in the transaction.
> > * **Suggested Documents**:
> > * Cardholder verification
> > * AVS/CVV match
> > * 3D Secure
> > * Delivery proof
> > * IP geolocation
> > * Purchase history
>
> > [accordion] 4840 - Fraudulent Processing of Transactions
> >
> > * **Reason Description**: The business knowingly processed a fraudulent transaction despite the presence of clear fraud indicators.
> > * **Suggested Documents**:
> > * Fraud screening results
> > * Legitimate transaction proof
> > * Authentication records
> > * Risk assessment
> > * Customer verification
>
> > [accordion] 4849 - Questionable Business Activity
> >
> > * **Reason Description**: The transaction appears fraudulent, indicating that the business is engaged in suspicious or deceptive practices.
> > * **Suggested Documents**:
> > * Business legitimacy proof
> > * Clear terms
> > * Customer agreement
> > * Delivery confirmation
> > * Service completion
>
> > [accordion] 4870 - Chip Liability Shift
> >
> > * **Reason Description**: The business failed to use EMV chip technology, making it liable for the fraud when the chip card was processed on a magnetic stripe terminal.
> > * **Suggested Documents**:
> > * EMV terminal capability
> > * Chip transaction data
> > * Fallback reason
> > * Terminal certification
> > * Authorisation records
>
> > [accordion] 4871 - Chip/PIN Liability Shift
> >
> > * **Reason Description**: A Chip and PIN card was processed without proper verification, thus shifting the fraud liability to the business.
> > * **Suggested Documents**:
> > * PIN verification records
> > * Chip + PIN terminal proof
> > * Transaction authentication
> > * Terminal compliance
> > * Fallback documentation
> [tab] Authorisation Error
>
> > [accordion] 4808 - Authorisation-Related Chargeback
> >
> > * **Reason Description**: The business encountered multiple authorisation issues, which includes both failing to secure necessary approval and exceeding the authorised transaction amount.
> > * **Suggested Documents**:
> > * Valid authorisation code
> > * Correct amount authorisation
> > * Multiple auth prevention
> > * Terminal records
> > * Approval documentation
> [tab] Processing Error
>
> > [accordion] 4834 - Duplicate Processing
> >
> > * **Reason Description**: The business processed the transaction repeatedly, which resulted in the customer being charged multiple times for the same purchase or service.
> > * **Suggested Documents**:
> > * Single transaction proof
> > * Void/refund for duplicates
> > * Transaction logs
> > * Unique reference numbers
> > * System timestamps
### Rupay
> [tab] Customer Dispute
>
> > [accordion] 1061 - Credit Not Processed
> >
> > * **Reason Description**: The business failed to process the credit after the customer cancelled or returned the goods and services.
> > * **Suggested Documents**:
> > * Proof of refund generation
> > * Bank statement showing refund amount which should match the payment amount
> > * Customer communication showing refund confirmation
> > * Refund policies
>
> > [accordion] 1062 - Goods/Services Not As Described
> >
> > * **Reason Description**: The business delivered goods or services that significantly differed from the description or were defective.
> > * **Suggested Documents**:
> > * Product description/image screenshots
> > * Proof of product delivery
> > * Customer communication showcasing dissatisfaction
> > * Return policies
>
> > [accordion] 1064 - Goods/Services Not Received
> >
> > * **Reason Description**: The business failed to provide or deliver the goods or services that the customer purchased.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Terms & Conditions showcasing refund & fulfillment policies
>
> > [accordion] 1101 - Illegible Fulfilment
> >
> > * **Reason Description**: The business submitted illegible documents in response to the retrieval request.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Terms & Conditions showcasing refund & fulfillment policies
>
> > [accordion] 1102 - Retrieval Request Not Fulfilled
> >
> > * **Reason Description**: The acquiring partner failed to fulfil the retrieval request within the timeframe or responded with a non-fulfillment message.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Terms & Conditions showcasing refund & fulfillment policies
>
> > [accordion] 1103 - Invalid Fulfilment
> >
> > * **Reason Description**: The business submitted invalid documents in response to the retrieval request.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Terms & Conditions showcasing refund & fulfillment policies
> [tab] Fraud
>
> > [accordion] 1104 - Cardholder Does Not Recognise the Transaction
> >
> > * **Reason Description**: The cardholder does not recognise the transaction appearing on their statement.
> > * **Suggested Documents**:
> > * Invoice with masked card details to prove correct account was charged
> > * Authorisation logs to support the above
> > * Invoice with detailed price breakdown (price, taxes, fee, discount and so on) prove amount charged was correct
> > * Screenshot of product/service along with the price details
> > * System logs to show correct amount was charged
>
> > [accordion] 1141 - Fraudulent Card-Present Transaction
> >
> > * **Reason Description**: The cardholder asserts they did not make the in-person payment at the business's premises.
> > * **Suggested Documents**:
> > * Transaction details of at least 2 payments by the same customer which were not reported for fraud (if available)
> > * Invoices confirming customer details such as name, phone number, address and so on
> > * Delivery proof showing product/service was delivered as per T\&C
>
> > [accordion] 1142 - Fraudulent Card-Not-Present Transaction
> >
> > * **Reason Description**: The cardholder denies authorising the remote transaction, asserting they did not make the purchase without the card present (a Card-Not-Present or CNP transaction).
> > * **Suggested Documents**:
> > * Transaction details of at least 2 payments by the same customer which were not reported for fraud
> > * At least 2 parameters (device ID, fingerprint, IP address) of above payments should match for the disputed payment
> > * Invoices confirming customer details such as name, phone number, address and so on
> > * Delivery proof showing product was delivered as per T\&C
>
> > [accordion] 1143 - Fraudulent Multiple Transactions
> >
> > * **Reason Description**: The same card was subjected to multiple fraudulent transactions.
> > * **Suggested Documents**:
> > * Transaction details of at least 2 payments by the same customer which were not reported for fraud
> > * At least 2 parameters (device ID, fingerprint, IP address) of above payments should match for the disputed payment
> > * Invoices confirming customer details such as name, phone number, address and so on
> > * Delivery proof showing product was delivered as per T\&C
> [tab] Authorisation Error
>
> > [accordion] 1065 - Debit on Failed Transaction
> >
> > * **Reason Description**: The system debited the account, but the transaction failed to confirm at the business's premises.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Customer Withdrawn letter
> > * Terms & Conditions showcasing refund & fulfillment policies
>
> > [accordion] 1121 - Transaction Received Declined Authorisation Response
> >
> > * **Reason Description**: The business violated authorisation rules by overriding the decline response and forcing the transaction through.
> > * **Suggested Documents**:
> > * Documents to show cardholder authorised the transaction
> > * Internal logs to show the correct amount was debited along with invoices
> > * Timestamp of auth creation and approval from customer
> > * Proof of delivery for goods/services
>
> > [accordion] 1122 - Transaction Not Authorised
> >
> > * **Reason Description**: The customer claims the transaction was unauthorised, as it occurred when they were not present.
> > * **Suggested Documents**:
> > * Internal logs to prove cardholder authorisation of the transaction along with the final debit amount
> > * Invoicing with price breakdown and customer details
> > * Masked card information
>
> > [accordion] 1123 - Invalid Card Number
> >
> > * **Reason Description**: The business processed the transaction using an invalid card number and either failed to obtain authorisation or processed the credit using the incorrect number.
> > * **Suggested Documents**:
> > * Invoice with masked card details, customer name and contact details
> > * Authorisation logs to support the above
> [tab] Processing Error
>
> > [accordion] 1063 - Paid by Other Means
> >
> > * **Reason Description**: The business incorrectly charged this card despite the customer having already settled the transaction using a different method, such as cash, cheque or another card.
> > * **Suggested Documents**:
> > * Proof showing payment was not received using any other method
> > * Refund proof if amount was refunded for duplicate charge
> > * Proof to show the claimed transaction was for a different product/service
>
> > [accordion] 1081 - Not Settled Within Timeline
> >
> > * **Reason Description**: The business failed to settle the transaction within the specified timeframes.
> > * **Suggested Documents**:
> > * Internal logs to prove that charge was submitted within allowed time frame
> > * Time stamp of transaction and processing of the payment showing debit amount
> > * In case of re-auth, please provide proof of same
> > * Customer authorisation proof
> > * Masked card details and invoice of the transaction
>
> > [accordion] 1082 - Credit Posted as Debit
> >
> > * **Reason Description**: The business incorrectly processed the credit as a debit on the customer's account.
> > * **Suggested Documents**:
> > * Internal transaction logs proving correct debit was done
> > * Refund/Invoice details in case there was attempt to correct the wrong debit
> > * Invoice for the debit that was done on the cardholder
>
> > [accordion] 1083 - Incorrect Transaction Details
> >
> > * **Reason Description**: The business incorrectly entered either the account number or the transaction amount used in the payment.
> > * **Suggested Documents**:
> > * Invoice with masked card details to prove correct account was charged
> > * Authorisation logs to support the above
> > * Invoice with detailed price breakdown (price, taxes, fee, discount and so on) prove amount charged was correct
> > * Screenshot of product/service along with the price details
> > * System logs to show correct amount was charged
>
> > [accordion] 1084 - Duplicate Processing
> >
> > * **Reason Description**: The business processed the same transaction multiple times, incorrectly charging the customer twice or more for a single purchase.
> > * **Suggested Documents**:
> > * System logs to prove only one transaction was processed for single auth
> > * Invoicing to prove each transaction was for separate service/product
### American Express
> [tab] Customer Dispute
>
> > [accordion] C02 - Credit Not Processed
> >
> > * **Reason Description**: The business failed to process the promised credit or refund to the customer's account.
> > * **Suggested Documents**:
> > * Credit issuance proof
> > * Refund date/amount
> > * Return not received
> > * Policy compliance
> > * Processing confirmation
>
> > [accordion] C04 - Goods/Services Returned or Refused
> >
> > * **Reason Description**: Customer returned product or refused service. Goods were sent back or service was rejected but no refund issued.
> > * **Suggested Documents**:
> > * Return not received
> > * Refusal not documented
> > * Restocking completed
> > * Return policy terms
> > * Delivery confirmation
>
> > [accordion] C05 - Goods/Services Cancelled
> >
> > * **Reason Description**: The customer returned the product or refused the service, but the business failed to issue the corresponding refund.
> > * **Suggested Documents**:
> > * No cancellation received
> > * Cancellation policy
> > * Already shipped/provided
> > * Cancellation deadline passed
> > * Terms proof
>
> > [accordion] C08 - Goods/Services Not Received
> >
> > * **Reason Description**: The business failed to deliver the product or service to the customer, despite having already received payment for the purchase.
> > * **Suggested Documents**:
> > * Delivery confirmation
> > * Tracking proof
> > * Service completion
> > * Digital delivery logs
> > * Customer signature
>
> > [accordion] C14 - Paid by Other Means
> >
> > * **Reason Description**: The business charged the American Express card despite the customer having already settled the transaction using a different payment method.
> > * **Suggested Documents**:
> > * Single payment proof
> > * No alternative payment
> > * Payment reconciliation
> > * Customer communication
> > * Order records
>
> > [accordion] C18 - No Show
> >
> > * **Reason Description**: The business charged the customer a no-show fee after the customer failed to appear for the hotel or rental car reservation.
> > * **Suggested Documents**:
> > * No-show policy disclosure
> > * Cancellation window
> > * Policy agreement
> > * Reservation confirmation
> > * Terms acceptance
>
> > [accordion] C28 - Cancellation of Recurring Goods/Services
> >
> > * **Reason Description**: The business continued the recurring billing and charged the customer for the subscription, despite the customer having cancelled the service.
> > * **Suggested Documents**:
> > * No cancellation received
> > * Cancellation policy
> > * Continued usage
> > * Service access logs
> > * Terms of service
>
> > [accordion] C31 - Goods/Services Not As Described
> >
> > * **Reason Description**: Quality/description issues. Product or service significantly different from what was advertised or described.
> > * **Suggested Documents**:
> > * Accurate description
> > * Photos/specifications
> > * Quality standards met
> > * No complaint received
> > * Terms compliance
>
> > [accordion] C32 - Goods/Services Damaged or Defective
> >
> > * **Reason Description**: The business delivered a product or service that significantly differed from what they advertised or described.
> > * **Suggested Documents**:
> > * Quality control records
> > * No damage claim
> > * Shipping insurance
> > * Packaging adequacy
> > * No return received
>
> > [accordion] M01 - Chargeback Authorisation
> >
> > * **Reason Description**: The business previously agreed to the chargeback and authorised the reversal of this transaction.
> > * **Suggested Documents**:
> > * No prior agreement
> > * Chargeback authorisation invalid
> > * Documentation of dispute
> > * No consent given
>
> > [accordion] M10 - Vehicle Rental โ Capital Damages
> >
> > * **Reason Description**: The customer is disputing the damage charges that the rental company applied to the vehicle.
> > * **Suggested Documents**:
> > * Damage documentation
> > * Pre-rental inspection
> > * Photos with timestamp
> > * Rental agreement
> > * Insurance coverage
>
> > [accordion] M49 - Vehicle Rental โ Theft or Loss of Use
> >
> > * **Reason Description**: The rental company charged the customer for the theft or loss of use of the hired vehicle.
> > * **Suggested Documents**:
> > * Police report
> > * Theft documentation
> > * Contract terms
> > * Insurance claims
> > * Loss mitigation efforts
> [tab] Fraud
>
> > [accordion] F10 - Missing Imprint
> >
> > * **Reason Description**: The business failed to provide the required manual imprint for the key-entered transaction.
> > * **Suggested Documents**:
> > * Card imprint
> > * Electronic authorisation
> > * Card-present proof
> > * Terminal records
> > * Manual processing logs
>
> > [accordion] F14 - Missing Signature
> >
> > * **Reason Description**: The business failed to obtain the required signature on the transaction receipt for this card-present sale.
> > * **Suggested Documents**:
> > * Signed receipt
> > * Signature on file
> > * PIN verification
> > * Contactless approval
> > * Customer verification
>
> > [accordion] F24 - No Card Member Authorisation
> >
> > * **Reason Description**: The cardholder denies authorising or participating in this transaction.
> > * **Suggested Documents**:
> > * Authorisation proof
> > * Cardholder verification
> > * AVS/CVV match
> > * 3D Secure
> > * Purchase history
>
> > [accordion] F29 - Card Not Present
> >
> > * **Reason Description**: The cardholder disputes the card-not-present (CNP) transaction, claiming they did not authorise it.
> > * **Suggested Documents**:
> > * AVS/CVV verification
> > * IP address
> > * Device fingerprint
> > * Shipping to billing address
> > * Purchase patterns
>
> > [accordion] F30 - EMV Counterfeit
> >
> > * **Reason Description**: A counterfeit chip card was used to complete a fraudulent transaction at a terminal that did not support EMV technology.
> > * **Suggested Documents**:
> > * EMV terminal proof
> > * Chip data
> > * Authentication records
> > * Terminal capability
> > * Fallback documentation
>
> > [accordion] F31 - EMV Lost/Stolen/Never Received
> >
> > * **Reason Description**: The business accepted a transaction from an EMV card reported as lost or stolen because they used a non-chip terminal.
> > * **Suggested Documents**:
> > * EMV compliance
> > * Terminal capability
> > * Chip transaction attempt
> > * Authorisation records
> > * PIN verification
> [tab] Authorisation Error
>
> > [accordion] A01 - Charge Amount Exceeds Authorisation Amount
> >
> > * **Reason Description**: The business processed the transaction for an amount that exceeded the approved authorisation.
> > * **Suggested Documents**:
> > * Authorisation for full amount
> > * Incremental auth records
> > * Customer agreement for additional charges
> > * Receipt showing total
>
> > [accordion] A02 - No Valid Authorisation
> >
> > * **Reason Description**: The business processed the transaction without obtaining the required authorisation from American Express.
> > * **Suggested Documents**:
> > * Valid authorisation code
> > * Approval records
> > * Emergency authorisation
> > * Manual approval documentation
>
> > [accordion] A03 - Authorisation Approval Expired
> >
> > * **Reason Description**: The business used an expired authorisation when they submitted the transaction for settlement.
> > * **Suggested Documents**:
> > * Current authorisation
> > * Reauthorisation records
> > * Timeline documentation
> > * Settlement timing proof
> [tab] Processing Error
>
> > [accordion] P01 - Unassigned Card Number
> >
> > * **Reason Description**: The transaction failed because the business used a card number that American Express does not recognise.
> > * **Suggested Documents**:
> > * Valid card verification
> > * Account confirmation
> > * Authorisation approval
> > * Card authenticity
> > * Number validation
>
> > [accordion] P03 - Credit Processed as Charge
> >
> > * **Reason Description**: The business incorrectly processed the refund transaction as a new charge on the customer's statement.
> > * **Suggested Documents**:
> > * Transaction type proof
> > * System records
> > * Processing logs
> > * Refund intention
> > * Correction documentation
>
> > [accordion] P04 - Charge Processed as Credit
> >
> > * **Reason Description**: The business incorrectly processed the sale transaction as a refund, causing the charge to appear as a credit on the customer's statement.
> > * **Suggested Documents**:
> > * Correct transaction type
> > * Processing records
> > * Sale documentation
> > * System logs
> > * Authorisation type
>
> > [accordion] P05 - Incorrect Charge Amount
> >
> > * **Reason Description**: The business processed the transaction for an amount that differed from what the customer agreed to pay.
> > * **Suggested Documents**:
> > * Correct amount proof
> > * Receipt/invoice
> > * Customer agreement
> > * Authorisation for amount
> > * Pricing documentation
>
> > [accordion] P07 - Late Submission
> >
> > * **Reason Description**: The business submitted the transaction late, having exceeded the time limit for processing.
> > * **Suggested Documents**:
> > * Timely submission proof
> > * System delays
> > * Original date documentation
> > * Processing timeline
> > * Batch records
>
> > [accordion] P08 - Duplicate Charge
> >
> > * **Reason Description**: The business processed the same transaction multiple times, incorrectly charging the customer's account repeatedly.
> > * **Suggested Documents**:
> > * Single charge proof
> > * Transaction logs
> > * Void/refund records
> > * Unique identifiers
> > * System timestamps
>
> > [accordion] P22 - Non-Matching Card Number
> >
> > * **Reason Description**: The business processed the transaction using a card number that does not match the cardholder's account on file.
> > * **Suggested Documents**:
> > * Card number verification
> > * Account match proof
> > * Customer confirmation
> > * Order records
> > * Authorisation match
>
> > [accordion] P23 - Currency Discrepancy
> >
> > * **Reason Description**: The business processed the transaction using an incorrect currency, which was different from the currency the customer agreed to.
> > * **Suggested Documents**:
> > * Currency agreement
> > * Exchange rate disclosure
> > * Original pricing
> > * Customer consent
> > * Display proof
### Razorpay
> [tab] Customer Dispute
>
> > [accordion] RZP06 - Business Not Responding
> >
> > * **Reason Description**: The business has failed to respond to the customer's queries following the transaction.
> > * **Suggested Documents**:
> > * Proof of service/goods delivery to the customer's address in committed timeline
> > * Invoicing details showing transaction amount and date-time
> > * Customer communications over email (not WhatsApp)
>
> > [accordion] RZP05 - Account Debited but No Confirmation
> >
> > * **Reason Description**: The customer's account was debited, but the system failed to send confirmation of the transaction.
> > * **Suggested Documents**:
> > * Service/Product invoice in case payment was captured successfully
> > * Internal logs to prove the payment failed and no money was credited hence no service/goods were provided
> > * Customer interaction showcasing product/service related enquiries
> > * Terms & Conditions showcasing refund & fulfillment policies
>
> > [accordion] RZP01 - Goods/Services not Provided
> >
> > * **Reason Description**: The customer paid for the order, but the business never provided the goods or services.
> > * **Suggested Documents**:
> > * Proof of service/product delivery
> > * Customer interaction showcasing product/service related enquiries
> > * Terms & Conditions showcasing refund & fulfillment policies
>
> > [accordion] RZP04 - Refund not Processed
> >
> > * **Reason Description**: The business promised a refund but did not process the credit to the customer's account.
> > * **Suggested Documents**:
> > * Proof of refund generation
> > * Bank statement showing refund amount which should match the payment amount
> > * Customer communication showing refund confirmation
> > * Refund policies
>
> > [accordion] RZP00 - Not Available
> >
> > * **Reason Description**: This dispute does not fit into any of the existing, specific categories.
> > * **Suggested Documents**:
> > * Proof of service/goods delivery to the customer's address in committed timeline
> > * Invoicing details showing transaction amount and date-time
> > * Customer communications over email (not WhatsApp)
> > * Refund details in case you have already generated a successful refund to the customer
> [tab] Fraud
>
> > [accordion] RZP03 - Potential Fraud
> >
> > * **Reason Description**: The business has potentially committed fraud.
> > * **Suggested Documents**:
> > * System logs to prove the payment was authorised
> > * Invoicing details of the product/services
> > * Additionally in case of card not present scenario, you will have to submit compelling evidence; details of at least 2 prior transactions done by the same customer (with at least 2 parameters matching out of IP/device fingerprint/device ID) which are not reported as fraud
> > * Additionally in case of card present scenario, present EMV transaction data proving customer participation
> [tab] Authorisation Error
>
> > [accordion] RZP02 - Unauthorised Transaction
> >
> > * **Reason Description**: The cardholder denies authorising the transaction, claiming it occurred in their absence.
> > * **Suggested Documents**:
> > * System logs to prove the payment was authorised
> > * Invoicing details of the product/services along with delivery proof
> > * Additionally in case of card not present scenario, you will have to submit compelling evidence; details of at least 2 prior transactions done by the same customer (with at least 2 parameters matching out of IP/device fingerprint/device ID) which are not reported as fraud
> > * Additionally in case of card present scenario, submit EMV transaction data proving customer participation
> [tab] Processing Error
>
> > [accordion] RZP07 - Invalid Data
> >
> > * **Reason Description**: The system failed to process the transaction because the business's data was invalid.
> > * **Suggested Documents**:
> > * Data showing the transaction was authorised by processor using valid data
> > * Valid data includes masked card details, 2FA details for domestic transactions, customer name and date-time
## Next Steps in Dispute Representment
If you contest the chargeback using the required evidence documents, those documents are sent to the issuing bank for review. The issuing bank reviews the dispute representment case and provides a verdict within **15 to 30 days**.
If you lose the payment dispute, the amount of the chargeback is deducted from your account and is credited back to the customer's account.
If you win the dispute, no amount will be deducted from your balance, successfully resolving the chargeback.
### Related Information
* [About Disputes](/docs/payments/disputes)
* [Disputes - Dashboard Actions](/docs/payments/disputes/dashboard)
* [Dispute FAQs](/docs/payments/disputes/faqs)
* [Contact Support](https://razorpay.com/support/#request) for additional help with disputes.
# Subscribe to Webhooks
Source: https://razorpay.com/docs/payments/disputes/subscribe-to-webhooks
Subscribe to various webhook events related to disputes to receive instant notifications.
Available in
๐ฎ๐ณ India
Subscribe to webhook events available for disputes to get notifications.
To subscribe to webhook events:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings** โ **Webhooks** to subscribe to any of the events listed below.
## List of Webhook Events
The table below lists the webhook events available for disputes.
| Webhook Event | Description |
| - | - |
| `payment.dispute.created` | Triggered when a dispute is raised by the customer's issuing bank against a payment. |
| `payment.dispute.won` | Triggered when you win a dispute against a payment. |
| `payment.dispute.lost` | Triggered when you lose a dispute against a payment. |
| `payment.dispute.closed` | Triggered when a dispute is closed. |
| `payment.dispute.under_review` | Triggered when you contest a dispute and submit the evidence for review. |
| `payment.dispute.action_required` | Triggered when the evidence submitted is insufficient, unreadable or does not correspond to the contested amount. Please update/add evidences before contesting the dispute again. |
Know more about [Webhooks](/docs/webhooks) and check the [sample payloads.](/docs/webhooks/disputes)
### Related Information
* [About Disputes](/docs/payments/disputes)
* [Disputes APIs](/docs/payments/disputes/apis)
# About Payment Gateway
Source: https://razorpay.com/docs/payments/payment-gateway
Accept payments using Razorpay Payment Gateway. Discover its advantages, when to use it and the various integration types.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
A Payment Gateway creates a secure pathway between a customer and the business to facilitate payments securely. It involves the authentication of both parties from the banks involved. You can accept payments from customers on your website and mobile apps using the Razorpay Payment Gateway as a business owner.
> [accordion] Advantages
>
> * **Onboarding**: Integrate Razorpay Payment Gateway on your native-built website using Standard Checkout. Explore Razorpay plugins for various platforms such as **WooCommerce**, **WordPress**, **Magento**, **Shopify** and more.
>
> * **Success Rate**: Achieve a higher success rate by using **multiple connections** to route a transaction and **direct netbanking pipes**. Razorpay provides **downtime updates**, suggests the **next best payment option** at the point of payment failure on checkout and more.
>
> * **Refunds**: Razorpay retries failed API refunds smartly based on the **error code** received from the bank.
>
> * **Scalability and Availability**: Razorpay systems handle a load of **800 transaction requests per second** without deterioration. They provide downtime updates via email, status page and Dashboard.
>
> * **Settlements Reconciliation**: Use settlement reconciliation to keep **track** of all the transactions such as payments, refunds, transfers, and adjustments settled to you for a particular day or month.
>
> * **Coverage**: Razorpay supports a wide range of **domestic and international cards**, various **netbanking** options, **UPI**, **Cash on Delivery**, **EMI**, **Cardless EMI**, and **wallets** including Paytm and PhonePe.
## When to Use a Payment Gateway
You should consider integrating with a payment gateway if you have a **website** or a **mobile app**.
> [card] Do Not Have a Website or Mobile App?
>
> You can still accept payments by using other Razorpay products such as [Payment Links](/docs/payments/payment-links) and [Payment Pages](/docs/payments/payment-pages). Check the list of [no-code apps](/docs/payments#accept-payments) and find the product that best suits your business needs.
> [card] Not Ready to Integrate Yet?
>
> If you are unsure about integrating with Razorpay Gateway, you can use [Razorpay Payment Button](/docs/payments/payment-button). Embed a Payment Button on your website by just adding a couple of lines of code.
## Types of Checkout
Use this flow to decide whether to use Standard or Custom Checkout. You can also explore other available checkout options.

> [tab] Standard
>
> * Customise the **Pay** button to fit your business needs using JavaScript-based method.
> * Offers additional functions to automatically open and close the Checkout.
>
> Know more about [Standard Checkout](/docs/payments/payment-gateway/web-integration/standard).
> [tab] Custom
>
> * Ideal if you want to fully customise your checkout UI.
> * Design the entire payment flow the way you want.
>
> Know more about [Custom Checkout](/docs/payments/payment-gateway/web-integration/custom).
> [tab] Quick
>
> * Quickly integrate Razorpay Payment Gateway using automatic checkout method (Quick Integration).
> * **Pay** button is auto-generated and cannot be customised.
> An HTML-based form with no support for JavaScript customisations.
> * For more control on your integration, use [Standard Checkout](/docs/payments/payment-gateway/web-integration/standard).
>
> Know more about [Quick Integration](/docs/payments/payment-gateway/quick-integration).
> [tab] S2S
>
> * Use Server-to-Server (S2S) integration to communicate directly with the Razorpay servers and seamlessly integrate the service in your web application.
> * Capture payment details and process them on your server.
> * Complete control over the checkout design and payment experience.
> * For S2S integration, contact the [Support team](https://razorpay.com/support/).
If you prefer not to use a Payment Gateway, explore other [Razorpay Products](/docs/payments#accept-payments) that align with your business needs.
## Integrate Payment Gateway - Web, Mobile, Ecommerce Plugins
Razorpay offers a wide range of integrations as given below:
> [tab] Web
>
> > [card] Checkout Integrations
> >
> > * [Razorpay Standard Checkout](/docs/payments/payment-gateway/web-integration/standard)
> > * [Razorpay Custom Checkout](/docs/payments/payment-gateway/web-integration/custom)
>
> > [card] Server Integrations
> >
> > * [PHP](/docs/payments/server-integration/php)
> > * [Ruby](/docs/payments/server-integration/ruby)
> > * [Python](/docs/payments/server-integration/python)
> > * [NodeJS](/docs/payments/server-integration/nodejs)
> > * [.NET](/docs/payments/server-integration/dot-net)
> > * [Java](/docs/payments/server-integration/java)
> > * [Go](/docs/payments/server-integration/go)
> [tab] Ecommerce Plugins
>
> > [card] Payment Gateway Ecommerce Plugins
> >
> > * [Arastta](/docs/payments/payment-gateway/ecommerce-plugins/arastta)
> > * [BigCommerce](/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce)
> > * [Drupal](/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce)
> > * [CS-Cart](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart)
> > * [Gravity Forms](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms)
> > * [Easy Digital Download](/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads)
> > * [Magento](/docs/payments/payment-gateway/ecommerce-plugins/magento)
> > * [OpenCart](/docs/payments/payment-gateway/ecommerce-plugins/open-cart)
> > * [PrestaShop](/docs/payments/payment-gateway/ecommerce-plugins/prestashop)
> > * [Shopify](/docs/payments/payment-gateway/ecommerce-plugins/shopify)
> > * [WHMCS](/docs/payments/payment-gateway/ecommerce-plugins/whmcs)
> > * [Wix](/docs/payments/payment-gateway/ecommerce-plugins/prestashop)
> > * [WooCommerce](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce)
> > * [WordPress](/docs/payments/payment-gateway/ecommerce-plugins/wordpress)
>
> > [card] Other Ecommerce Plugins
> >
> > * [Razorpay Direct - Credit Card](/docs/payments/ecommerce-plugins/razorpay-direct-credit-card)
> [tab] Mobile
>
> > [card] Mobile Integrations
> >
> > * [Android SDK](/docs/payments/payment-gateway/android-integration/standard)
> > * [iOS SDK](/docs/payments/payment-gateway/ios-integration/standard)
> > * [Cordova SDK](/docs/payments/payment-gateway/cordova-integration)
> > * [React Native SDK](/docs/payments/payment-gateway/react-native-integration/standard)
> > * [Flutter SDK](/docs/payments/payment-gateway/flutter-integration/standard)
> > * [Capacitor SDK](/docs/payments/payment-gateway/capacitor-integration)
Watch all the Integration videos. [Watch Videos](https://www.youtube.com/playlist?list=PLQWuy5G1gIOoSr5Lo1Y12dXB8JbPOvfVR)
## Supported Platforms
Razorpay Payment Gateway is supported on the following platforms:
> [tab] Standard Checkout
>
> | Web | Android | iOS | Webview |
> | - | - | - | - |
> | โ | โ | โ | โ |
> [tab] Custom Checkout
>
> | Web | Android | iOS | Webview |
> | - | - | - | - |
> | โ | โ | โ | โ |
> [!WARNING]
>
> **Watch Out!**
>
> Razorpay Checkout is not supported on Internet Explorer or in Internet Explorer mode in Edge.
You can also view the **supported platforms** for the [other Razorpay products](/docs/payments).
### Related Information
* [How Payment Gateway works](/docs/payments/payment-gateway/how-it-works)
* [Features](/docs/payments/payment-gateway/features)
* [Set up your Razorpay account](/docs/payments/set-up#set-up-account)
* [List of required KYC documents](/docs/payments/business-types-kyc-documents)
# Callback URL
Source: https://razorpay.com/docs/payments/payment-gateway/callback-url
Reuse the web integration to process the payments.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
If you reuse your web integration of Razorpay Checkout inside a web view on Android or iOS, the checkout form may not open. Issues like this are handled in our [Android SDK](/docs/payments/payment-gateway/android-integration/standard) and [iOS SDK](/docs/payments/payment-gateway/ios-integration/standard), with the SDKs being the preferred method of integration.
> [!WARNING]
>
> **Callback URL is not the same as a Webhook URL**
>
> The callback URL is a Checkout option for WebView and redirect flows. It receives the payment result synchronously after the customer pays.
>
> A webhook URL is a server endpoint you configure on the Razorpay Dashboard to receive asynchronous event notifications (like `order.paid` or `payment.failed`). If you are looking to track payment status on your server after the customer pays, use webhooks โ not `callback_url`.
If you want to reuse the web integration for any reason, you can pass the following `callback_url` along with other [checkout options](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-3-checkout-options) to process the desired payment:
```javascript JavaScript theme={null}
var options = {
... // existing options
callback_url: 'https://your-server/callback_url',
redirect: true
}
```
`callback_url` needs to accept incoming `POST` requests. For a successful payment, the callback URL will have `razorpay_payment_id`, `razorpay_order_id` and `razorpay_signature` as the request parameters.
For failed payments, the request parameter are explained in the table below:
`error`
: `object` The error object.
`code`
: `string` Type of the error.
`description`
: `string` Descriptive text about the error.
`field`
: `string` Name of the parameter in the API request that caused the error.
> [!NOTE]
>
> **Handy Tips**
>
> You can set query parameters with `callback_url`, to map it with entities at your side. For example, following is a valid callback URL: [https://your-site.com/callback?cart\_id=12345](https://your-site.com/callback?cart_id=12345)
## FAQs
> [accordion] Is the handler function not supported in WebView?
>
> The handler function is not supported in WebView environments due to the inherent limitations of WebView in executing certain JavaScript functions.
> [accordion] What are all the field names posted to the callback page, and can I add custom fields?
>
> Razorpay posts only three fields to the callback page: `razorpay_payment_id`, `razorpay_order_id`, and `razorpay_signature`. Custom fields cannot be added to the callback response.
# Features
Source: https://razorpay.com/docs/payments/payment-gateway/features
List of features that will help you build a first-class payments experience with Razorpay Checkout.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Razorpay payment gateway comes with a range of features that helps you build a first-class payments experience.
* **Cash on Delivery** \
You can now offer Cash on Delivery (COD) as a payment method on the Razorpay Checkout interface. Customers can choose COD directly on the Checkout page, alongside UPI, cards, netbanking and more. This flow increases accessibility and builds trust among first-time buyers and high-value orders. Know more about how to enable [Cash on Delivery](/docs/payments/payment-methods/cod) on your checkout page.
* **Sign in with Truecaller** \
Truecaller-based authentication allows your customers to verify themselves at the checkout without entering an OTP. Customers who have the Truecaller app installed on their devices will receive a pop-up for authentication using Truecaller. This feature is enabled by default and only applies to the Android SDK and Android Mobile Web browsers (Chrome and Samsung). To disable Truecaller-based authentication, please raise a request with our [Support team](https://razorpay.com/support/).
* **Order Milestone Badge on Checkout** \
Boost trust and credibility by displaying order milestone badges at checkout. These badges highlight real order volumes, reassuring customers of your reliability and encouraging them to complete their purchase. Know more about [Order Milestone Badge](/docs/payments/dashboard/account-settings/checkout-features#order-banner).\
For example, if your store has processed 10,000+ successful orders, the badge showcases this achievement, reinforcing trust.
> [!WARNING]
>
> **Watch Out!**
>
> * This feature is automatically enabled and currently available only for businesses with [RTB](/docs/payments/widgets/trusted-business) enabled.
> * If a [message banner](/docs/payments/dashboard/account-settings/checkout-features#message-banner) exists on the checkout page, the badge information seamlessly integrates within the same section using vertical scrolling.
> [accordion] Customer Experience
>
> 
* **QuickBuy: Revolutionise Your Checkout Process** \
QuickBuy is a game-changing 1-click payment experience designed to simplify your checkout. Its intuitive half-page interface minimises steps, allowing customers to complete payments faster. \
Leveraging advanced personalisation algorithms, QuickBuy streamlines the checkout experience by minimising steps and simplifying decisions leading to quicker checkouts and higher conversion rates. This boosts customer satisfaction and drives business growth, making every transaction seamless. Know more about [QuickBuy](/docs/payments/payment-gateway/features/quickbuy).
* **Saved Cards**\
You can save customer card details in the form of tokens with Razorpay. On a repeat visit, the customers will be able to pay directly just by entering the CVV of the card. Know more about [saved cards](/docs/payments/payment-methods/cards/features/saved-cards).
> [!WARNING]
>
> **Watch Out!**
>
> * CVV is not required by default for tokenised cards across all networks.
> * CVV is optional for tokenised card payments. Do not pass dummy CVV values.
> * To implement this change, skip passing the `cvv` parameter entirely, or pass a `null` or empty value in the CVV field.
> * We recommend removing the CVV field from your checkout UI/UX for tokenised cards.
> * If CVV is still collected for tokenised cards and the customer enters a CVV, pass the entered CVV value to Razorpay.
* **Biometric Authentication**\
Razorpay's biometric authentication ensures security and convenience by eliminating OTP verification. It uses device capabilities to verify users, enabling faster access to saved cards during checkout. Once set up, users can access their saved cards with just their fingerprint.
> [accordion] Customer Experience
>
> 
> [!WARNING]
>
> **Watch Out!**
>
> * This feature is enabled by default. To disable it, raise a request with our [Support Team](https://razorpay.com/support).
> * It is only available for businesses using Standard Checkout on Android devices that support biometrics.
> * It is not supported on webviews redirected from apps like Instagram or Facebook.
> * We are rolling it out in phases and will soon be available for your users at checkout.
* **OTP Auto-Read and Submit**\
Your customers gain a faster and enhanced checkout experience with Razorpay OTP auto-submit. The system automatically reads the OTP received, with your customerโs consent, and submits it. It prevents errors and the users do not need to navigate or interact with additional elements to complete verification, making the process seamless. This is available by default on Android SDK and not available on iOS SDK.
* **UPI Payments using Mobile Number**\
Your customers can enter their mobile number linked to their UPI on checkout, open the respective UPI app and complete the payment after entering the UPI PIN on their mobile devices. Customers are redirected to your website or app after successful payment. Know more about [UPI](/docs/payments/payment-methods/upi).
* **Offers**\
Attract your customers and improve sales by providing discounts or cashback on your website or apps. Using Razorpay Offers, you can have complete control of the discounts offered to your customers and restrict the payment methods on which the offers are applied.
Know more about [offers](/docs/payments/offers).
* **Checkout in Local Languages**\
Allow customers to change the display language of checkout fields to enhance accessibility. By default, checkout fields are shown in English, but customers can switch to Hindi, Marathi, Gujarati, Telugu, Tamil, and more. To change the language:
* On mobile: Click the **Account & Terms** icon in the top-right corner, then select **Language**.
* On desktop: Click the more icon in the top-right corner, then select **Language**.
Once selected, the checkout fields update to the preferred language. Know more about how to [change the default language](/docs/payments/dashboard/account-settings/checkout-features#default-language).
> [accordion] Customer Experience
>
> 
* **Eligibility Check**\
Razorpay offers a pre-eligibility check on Debit Card EMI, Cardless EMI and Pay Later instruments at checkout. By assessing eligibility upfront, your customers can choose the most relevant affordability option and complete the purchase quicker.
Know more about [eligibility check](/docs/payments/payment-gateway/emiยฒ/eligibility-check/standard).
* **Making Email Read-only**\
You can set the email field as read-only to ensure your customers can only view the email but can not edit it. You can allow your customers to edit this field based on your preferences. Know more about [making email read-only](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-3-checkout-options).
* **Configuring Payment Methods**\
Razorpay Standard Checkout hosts a variety of payment methods for customers to make payments. You can rearrange the order of these payment methods and display them at the Checkout to provide a highly personalised experience for your customers. Know more about [configuring payment methods](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
* **Autofill for Faster Checkout**\
Razorpay Checkout autofills details like addresses, contact information and saved card data by default across various platforms, including Instagram, Facebook and iOS browsers. This reduces customers time and effort to complete transactions, boosting your conversion rates.
* **Prefill Customer Contact Details**\
To improve conversion rates and reduce form-fill friction, use the prefill parameter to automatically fill in customer contact information, especially their phone number. The expected format while prefilling the phone number in the [Checkout code](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-2-code-to-add-pay-button) is `+ (country code)(phone number)`(Example: "contact": "+919000090000").
> [!WARNING]
>
> **Watch Out!**
>
> This feature is not applicable if you:
>
> * Do no collect customer contact details on your website before checkout.
> * Have Shopify stores.
> * Use any of theย no-code apps.
* **Making Phone Number Field Optional**\
You can hide the phone number field from the checkout page based on your preferences. You can also enable customers to proceed with the payment without providing a phone number. Refer to the [Checkout Options](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-3-checkout-options) table to know more about making the phone number field optional.
> [!WARNING]
>
> **Watch Out!**
>
> * To enable this feature, contact our [Support Team](https://razorpay.com/support).
> * If you enable customers to proceed with the payment without providing their phone number, then the field will not appear against the payment on the Dashboard and the reports.
* **Configure Email Address Field**\
The email address field is hidden by default on checkout if it is not pre-filled. Since email is not mandatory, this will reduce drop-offs and improve conversion rates. You can choose to hide the field, make it optional or mandatory based on your business requirement. Know how to [configure the email address field](/docs/payments/dashboard/account-settings/checkout-features#collect-email-address-from-customers).
* **Partial Payment Capability**\
You can allow your customer to make partial payments at the Checkout. Know more about [partial payments](/docs/payments/payment-gateway/web-integration/standard/integration-steps#request-parameters).
* **International Payments**\
You can accept payments from your customers in more than 100 foreign currencies using our Payment Gateway and other products such as Payment Pages, Payment Button, Payment Links, and Invoices. Know more about [international payments](/docs/payments/international-payments).
* **Trusted Business**\
Showcase our Trusted Badge on checkout and embed the Razorpay Trusted Business Widget on your website to instil credibility amongst site visitors. It reassures your customers that they can safely transact with your brand without any worries.
Know more about [trusted badge](/docs/payments/payment-gateway/features/trusted-business) and [trusted widget](/docs/payments/widgets/trusted-business).
* **Customer Fee-bearer**\
You can choose to charge a convenience fee to your customers for the use of technology infrastructure. Convenience Fees are seamlessly added at Razorpay Checkout without disrupting the checkout experience for your customers. Know more about [convenience fees](/docs/payments/dashboard/account-settings/configuration/convenience-fees).
* **Third-party Validation**\
As per the SEBI guidelines, the customers must make transactions only from those bank accounts provided when they register with your business.\
You can comply with the SEBI guidelines for online payment collections by offering TPV integrations with major banks at the Checkout. Customers can make payments using netbanking or UPI. UPI supports both collect and intent flows. Know more about [third-party validation](/docs/payments/third-party-validation).
* **Checkout Timeout**\
You set a timeout on Checkout. After the specified time limit, the customer will not be able to use Checkout and hence the payment will terminate after the set time. Know more about [checkout timeout](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-3-checkout-options).
* **Downtime Communication on Checkout**\
Downtimes updates provide an overview of various downtimes grouped across different payment methods on your [Dashboard](/docs/payments/payments/downtime-updates). You can view the latest status of downtimes for netbanking, cards, and UPI at any point in time. You can also view instrument details for downtimes such as Cards Network, Issuers, Banks, and UPI handles. Know more about the [Payments Downtime API](/docs/api/payments/downtime).
> [!WARNING]
>
> **Watch Out!**
>
> We temporarily prevent customers from accessing payment instruments, which are bound to fail on checkout. For example, if all payments made via Netbanking are bound to fail, we show the option in a disabled state on checkout until it recovers. However, they can select an alternative instrument that is more likely to work to complete the payment successfully.
>
> > [accordion] Customer Experience
> >
> > 
* **Checkout Retry Flow**\
By default, Razorpay provides transparent, contextual, and actionable suggestions to customers at the point of payment failure on checkout. For example, if a customer's payment via Card fails on Razorpay checkout, the system intelligently suggests the next best payment option based on the reason for the failure and the customer's past transaction history. This reduces customer drop-offs and improves the overall payment experience.
> [accordion] Customer Experience
>
> 
### Related Information
* [Payment Gateway](/docs/payments/payment-gateway)
* [How Payment Gateway Works](/docs/payments/payment-gateway/how-it-works)
* [Payment Methods](/docs/payments/payment-methods)
# QuickBuy
Source: https://razorpay.com/docs/payments/payment-gateway/features/quickbuy
Streamline checkout with QuickBuyโs 1-click payment. Minimise steps and speed up transactions for a fast, seamless customer experience.
Available in
๐ฎ๐ณ India
QuickBuy is a one-click payment solution that streamlines checkout for returning customers. With a compact half-page interface, it intelligently displays preferred payment methods based on past transactions and automatically applies the best available offers, reducing friction and decision-making.
This results in a faster, more efficient checkout experience that boosts conversion rates and enhances satisfaction for both customers and businesses.

> [!NOTE]
>
> **Handy Tips**
>
> This feature is available on mobile devices only:
>
> | Platform | Native SDK | Mobile Web |
> | - | - | - |
> | Android | v1.6.41+ | โ |
> | iOS | v1.5.1+ | โ |
## Features
* **Quick Transactions**: 1-click payment process for returning users with minimal steps for faster checkouts, enhanced by a half-page overlay that provides a streamlined experience.
* **Clear Payment Details**: Transparent display of payment information, including savings and discounts.
* **Automatic Offer Application**: Automatic application of offers with visible savings to enhance customer satisfaction.
> [!NOTE]
>
> **Handy Tips**
>
> * Customers can use UPI intent, UPI Saved VPAs and Saved Cards through QuickBuy.
> * QuickBuy displays recommended payment methods based on past transactions for a faster checkout. If no recommendations exist, the full checkout flow is shown.
## Advantages
> [tab] Businesses
>
> * **Improved Conversion Rates**: Reduces drop-offs with minimal steps and pre-selected payment methods.
> * **Enhanced User Experience**: Provides a faster, simpler payment process that encourages repeat transactions.
> * **Efficient Checkout Process**: Offers advanced features like 1-click purchases, improving overall efficiency.
> [tab] Customers
>
> * **Simplified Payments**: Pre-selection of preferred payment methods for quicker transactions.
> * **Automatic Offer Application:** Automatically applies the best available offers for cost savings.
## How it Works
QuickBuy is ideal for returning users who are logged into Razorpay Checkout and making repeat purchases. The workflow includes:
1. **Preferred payment method**: The most frequently used payment method is pre-selected. If the user changes their payment method, the system recalculates and applies the best available offer to the new method, notifying them of the updated total.
2. **Automatic offer application**: The best available offer is applied to the total. If they change the offer, the system recalculates and updates the total amount.
3. **Single-click purchase**: Customers complete their purchases in a single click.
## Embedded Quick Buy
Want to show the recommended instrument on your own page instead of a generic **Pay Now** button? With [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded), you show the customer's preferred saved card or UPI app directly on your cart or product page, and the customer pays in one tap. It is available on mobile web, Android, iOS, React Native and Flutter.
> [!NOTE]
>
> **Disable QuickBuy**
>
> To disable QuickBuy on checkout, contact our [Support team](https://razorpay.com/support/#request).
# Embedded Quick Buy
Source: https://razorpay.com/docs/payments/payment-gateway/features/quickbuy/embedded
Show a customer's recommended payment instrument directly on your cart or product page and let them pay in one tap with Embedded Quick Buy.
Available in
๐ฎ๐ณ India
Embedded Quick Buy is an extension of [QuickBuy](/docs/payments/payment-gateway/features/quickbuy) that brings a customer's recommended payment instrument onto your own pages. Instead of a generic **Pay Now** button that opens Razorpay Checkout, you show the instrument the customer is most likely to pay with, such as a saved card or a UPI app, on your cart, product or order summary page. The customer taps it and pays.
Razorpay's payment instrument ranking model picks the instrument. You design and place the button.
## How It Differs From QuickBuy on Standard Checkout
| | QuickBuy on Standard Checkout | Embedded Quick Buy |
| - | - | - |
| Where it appears | Inside the Razorpay Checkout modal. | Directly on your page, such as the cart, product page or order summary. |
| What the customer sees first | A generic **Pay Now** button on your page. | The recommended instrument, for example **HDFC Debit โขโขโขโข4242** or **Google Pay**. |
| Integration effort | None. It is enabled by default for eligible customers. | Integrate the lightweight Razorpay Custom SDK and build the button UI. |
| Control over UI | Razorpay Checkout styling. | Full control over the button's design and placement. |
### See the Difference
**QuickBuy on Standard Checkout**\
The customer taps a generic **Pay** button. Razorpay Checkout opens with the recommended instrument pre-selected.
**Embedded Quick Buy**\
The recommended instrument, here PhonePe, appears on the merchant's own cart page. The customer taps **Place Order** to pay.
## Advantages
> [tab] Businesses
>
> * **Higher conversion**: Customers see their preferred instrument upfront and pay in fewer steps.
> * **Recommendations for new customers**: Razorpay recognises customers from across its network, so you get a recommendation even for a customer who has never paid on your site or app.
> * **No PCI-DSS overhead**: Saved cards reach you as Razorpay tokens. You never store card data.
> * **Ready-made assets**: The response includes CDN-hosted logos for UPI apps, card networks and issuing banks.
> * **No changes to your existing checkout**: Your current checkout stays as the fallback. Orders, signature verification, webhooks and settlements work as they do today.
> [tab] Customers
>
> * **One-tap payment**: Pay with the preferred instrument without opening the full checkout.
> * **Clear details**: See the card's last four digits, network and issuer, or the UPI app, before paying.
> * **Freedom to switch**: Choose **Change payment method** to open the full checkout at any time.
## How It Works
1. **Create a customer**: Create a customer with the [Customers API](/docs/api/customers/create) when you capture their details, for example at sign-up.
2. **Fetch recommended instruments**: Call `getRecommendedInstruments()` from the Razorpay Custom SDK with the `customer_id` or the customer's contact number. Razorpay returns up to 3 instruments ranked by how likely the customer is to complete the payment, along with logos to display.
3. **Render your button**: Show the top instrument (`items[0]`) as a Quick Buy button on your page. Add a **Change payment method** option beside it.
4. **Create an order and pay**: When the customer taps the button, create an order on your server and submit the payment with the recommended instrument.
5. **Verify the payment**: Verify the payment signature on your server and confirm the payment status, as in any Razorpay integration.
If the customer taps **Change payment method**, or no instrument is returned, open your existing Razorpay Checkout.
> [!NOTE]
>
> **Handy Tips**
>
> * Recommended instruments can be saved cards or UPI apps.
> * On native SDKs, Razorpay checks which UPI apps are installed on the device and returns only those. On mobile web, the browser cannot check this, so all returned UPI apps are shown.
> * If you do not pass an `order_id`, the response is limited to UPI intent apps.
## Who Can Integrate
Businesses on Razorpay Standard Checkout, Custom Checkout and S2S integrations can use Embedded Quick Buy. In each case, you add the Razorpay Custom SDK to power the Quick Buy button. If you already use Custom Checkout, the only new step is fetching recommended instruments.
## Integration Guides
Choose your platform:
> [card] [Mobile Web](/docs/payments/payment-gateway/features/quickbuy/embedded/mobile-web)
>
> Integrate with `razorpay.js` on your mobile website.
> [card] [Android](/docs/payments/payment-gateway/features/quickbuy/embedded/android)
>
> Integrate with the Android Custom UI SDK.
> [card] [iOS](/docs/payments/payment-gateway/features/quickbuy/embedded/ios)
>
> Integrate with the iOS Custom UI SDK.
> [card] [React Native](/docs/payments/payment-gateway/features/quickbuy/embedded/react-native)
>
> Integrate with the React Native Custom UI SDK.
> [card] [Flutter](/docs/payments/payment-gateway/features/quickbuy/embedded/flutter)
>
> Integrate with the Flutter Custom UI SDK.
> [card] [FAQs](/docs/payments/payment-gateway/features/quickbuy/embedded/faqs)
>
> Common questions about Embedded Quick Buy.
# Embedded Quick Buy: Android Integration
Source: https://razorpay.com/docs/payments/payment-gateway/features/quickbuy/embedded/android
Integrate Embedded Quick Buy in your Android app with the Razorpay Custom UI SDK and show customers their recommended payment instrument.
Available in
๐ฎ๐ณ India
Follow these steps to add [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded) to your Android app. The integration builds on the [Android Custom UI SDK](/docs/payments/payment-gateway/android-integration/custom/build-integration). You render your own payment screen, and Razorpay processes the payment.
> [!NOTE]
>
> **Already on the Android Custom UI SDK?**
>
> The steps specific to Quick Buy are [1.3 Create a Customer](#1-3-create-a-customer) and [1.4 Fetch Recommended Instruments](#1-4-fetch-recommended-instruments). All other steps follow the standard Custom UI SDK integration.
**1.1** [Add the SDK Dependency](#1-1-add-the-sdk-dependency).
**1.2** [Configure the SDK](#1-2-configure-the-sdk).
**1.3** [Create a Customer](#1-3-create-a-customer). New for Quick Buy.
**1.4** [Fetch Recommended Instruments](#1-4-fetch-recommended-instruments). New for Quick Buy.
**1.5** [Create an Order in Server](#1-5-create-an-order-in-server).
**1.6** [Initialise Razorpay in Your Activity](#1-6-initialise-razorpay-in-your-activity).
**1.7** [Submit Payment](#1-7-submit-payment).
**1.8** [Store Fields in Your Server](#1-8-store-fields-in-your-server).
**1.9** [Verify Payment Signature](#1-9-verify-payment-signature).
**1.10** [Verify Payment Status](#1-10-verify-payment-status).
## 1.1 Add the SDK Dependency
Add the Custom UI SDK to your app-level `build.gradle` file:
```groovy build.gradle theme={null}
dependencies {
implementation 'com.razorpay:customui:3.9.22'
}
```
Make sure your project can resolve dependencies from Maven Central. The SDK supports `minSdkVersion` 19 and above.
## 1.2 Configure the SDK
### Add Your API Key and Permissions
Add your API Key ID and the internet permission to `AndroidManifest.xml`. The `` block lets the SDK detect installed UPI apps on Android 11 (API level 30) and above.
```xml AndroidManifest.xml theme={null}
```
### Add ProGuard Rules
```text proguard-rules.pro theme={null}
-keepclassmembers class * {
@android.webkit.JavascriptInterface ;
}
-keepattributes JavascriptInterface
-keepattributes *Annotation*
-dontwarn com.razorpay.**
-keep class com.razorpay.** {*;}
-optimizations !method/inlining/*
-keepclasseswithmembers class * {
public void onPayment*(...);
}
```
### Add a WebView
The SDK uses a WebView to complete flows such as card 3DS and bank OTP pages. Add a hidden WebView to your payment Activity's layout and register it with the SDK. Make it visible only while the payment is being submitted.
```java Java theme={null}
WebView webview = findViewById(R.id.payment_webview);
webview.setVisibility(View.GONE); // set to VISIBLE only during submit()
razorpay.setWebView(webview);
```
> [!NOTE]
>
> **Handy Tips**
>
> Make sure the device supports TLS v1.1 or v1.2 for PCI compliance. Never log or store card details on the device.
## 1.3 Create a Customer
Create a customer on your server with the [Customers API](/docs/api/customers/create). You can do this asynchronously, for example when you collect the customer's details. Use the `customer_id` returned in the response to fetch recommended instruments in [step 1.4](#1-4-fetch-recommended-instruments).
```bash Request theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/customers \
-H "Content-Type: application/json" \
-d '{
"name": "Gaurav Kumar",
"contact": "9123456780",
"email": "gaurav.kumar@example.com",
"fail_existing": "0",
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Greyโฆ decaf."
}
}'
```
```json Response theme={null}
{
"id": "cust_1Aa00000000004",
"entity": "customer",
"name": "Gaurav Kumar",
"email": "gaurav.kumar@example.com",
"contact": "9123456780",
"gstin": null,
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Greyโฆ decaf."
},
"created_at": 1234567890
}
```
## 1.4 Fetch Recommended Instruments
Call `getRecommendedInstruments()` to get the customer's recommended payment instruments.
* The response contains up to 3 instruments, ranked by how likely the customer is to complete the payment. `items[0]` is the strongest recommendation.
* The SDK checks which UPI apps are installed on the device and returns only those.
* The response includes the logos you need to render the Quick Buy button: `app_logo`, `network_logo_url` and `issuer_logo_url`.
* Create an order first and pass its `order_id`, so that all instrument types are eligible. Without an `order_id`, the response is limited to UPI intent apps and `amount` and `currency` become mandatory.
```java Java theme={null}
JSONObject options = new JSONObject();
options.put("order_id", "order_xxxxxx"); // recommended
options.put("customer_id", "cust_xxxxxx"); // from step 1.3
options.put("amount", 100); // mandatory if no order_id
options.put("currency", "INR"); // mandatory if no order_id
options.put("contact", "8050981760"); // pass if no customer_id
razorpay.getRecommendedInstruments(options, new RecommendedInstrumentsCallback() {
@Override
public void onInstrumentsReceived(JSONObject response) {
JSONArray items = response
.getJSONObject("get_recommended_instruments")
.getJSONArray("items");
for (int i = 0; i < items.length(); i++) {
JSONObject item = items.getJSONObject(i);
String method = item.getString("method");
if ("card".equals(method)) {
JSONObject card = item.getJSONObject("card");
Log.d(TAG, card.getString("last4")); // display only
}
if ("upi".equals(method)) {
JSONObject upi = item.getJSONObject("upi");
Log.d(TAG, upi.getString("app")); // for example, gpay
Log.d(TAG, upi.getString("upi_app_package_name")); // Android package name
Log.d(TAG, upi.getString("app_logo")); // CDN logo URL
}
}
}
@Override
public void onError(String error) {
// Fall back to Standard Checkout
}
});
```
> [!WARNING]
>
> **Watch Out!**
>
> * Always show a **Change payment method** option next to the Quick Buy button. It should open the full Razorpay Checkout, as per the [Android Standard Checkout integration](/docs/payments/payment-gateway/android-integration/standard/integration-steps).
> * If the response has no instruments, or the call fails, show your regular checkout instead of the Quick Buy button.
#### Sample Response
```json Response theme={null}
{
"actions": ["get_recommended_instruments"],
"get_recommended_instruments": {
"entity": "collection",
"count": 3,
"items": [
{
"method": "card",
"token": "token_Hf7vKlM2NpQrSt",
"card": {
"last4": "4242",
"network": "Visa",
"issuer": "HDFC",
"type": "debit",
"sub_type": "consumer",
"international": false,
"network_logo_url": "https://cdn.razorpay.com/app/visa.svg",
"issuer_logo_url": "https://cdn.razorpay.com/app/hdfc.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "gpay",
"upi_app_package_name": "com.google.android.apps.nbu.paisa.user",
"app_logo": "https://cdn.razorpay.com/app/gpay.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "phonepe",
"upi_app_package_name": "com.phonepe.app",
"app_logo": "https://cdn.razorpay.com/app/phonepe.svg"
}
}
]
}
}
```
#### Response Parameters
| Parameter | Type | Description | How to use it |
| - | - | - | - |
| `actions` | array | Always `get_recommended_instruments`. | Check that the response matches the action you called. |
| `get_recommended_instruments.entity` | string | Always `collection`. | Standard Razorpay collection identifier. |
| `get_recommended_instruments.count` | integer | Number of instruments in `items`. Maximum 3. | Check before you render the button. |
| `get_recommended_instruments.items` | array | Recommended instruments in order. Index 0 is the strongest recommendation. | Render the Quick Buy button from `items[0]`. |
| `items.method` | string | `card` or `upi`. | Decides which UI to render and which payment fields to send. |
| `token` | string | Razorpay token ID of the saved card. | Pass as `token` when you submit the payment. |
| `card.last4` | string | Last 4 digits of the card. For display only. | Render a masked label, such as **HDFC Debit โขโขโขโข4242**. Never pass it to payment APIs. |
| `card.network` | string | `Visa`, `MasterCard`, `RuPay`, `Amex` or `Diners`. | Show the network name. |
| `card.issuer` | string | 4-character issuer code. For example, `HDFC`, `ICIC` or `SBIN`. | Show the issuer name. |
| `card.type` | string | `credit`, `debit` or `prepaid`. | Show the card type on the button. |
| `card.sub_type` | string | `consumer`, `business` or `unknown`. | Optional. Use it if business cards need a different treatment. |
| `card.international` | boolean | `true` if the card is international. | Flag international cards if needed. |
| `card.network_logo_url` | string | CDN-hosted card network logo. | Load directly into an `ImageView`. |
| `card.issuer_logo_url` | string | CDN-hosted issuing bank logo. | Load directly into an `ImageView`. |
| `upi.flow` | string | Always `intent`. | Confirms the UPI flow. |
| `upi.app` | string | Short name of the UPI app. For example, `gpay`, `phonepe`, `paytm` or `bhim`. | Show on the button. |
| `upi.upi_app_package_name` | string | Android package name of the UPI app. For example, `com.google.android.apps.nbu.paisa.user`. | Pass as `upi_app_package_name` when you submit the payment. |
| `upi.app_logo` | string | CDN-hosted UPI app logo. | Show on the button. |
## 1.5 Create an Order in Server
Create an order on your server using the [Orders API](/docs/api/orders/create) when the customer taps the Quick Buy button, or earlier if you pass the `order_id` in [step 1.4](#1-4-fetch-recommended-instruments).
> [!WARNING]
>
> **Watch Out!**
>
> Create an order for every payment, server-side, using your API Key ID and secret. Payments made without an `order_id` cannot be captured and are automatically refunded.
```bash Request theme={null}
curl -X POST https://api.razorpay.com/v1/orders \
-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-H 'content-type:application/json' \
-d '{
"amount": 50000,
"currency": "INR",
"customer_id": "cust_1Aa00000000004",
"receipt": "rcptid_11",
"notes": {
"key1": "value3",
"key2": "value2"
}
}'
```
```json Response theme={null}
{
"id": "order_IluGWxBm9U8zJ8",
"entity": "order",
"amount": 50000,
"amount_paid": 0,
"amount_due": 50000,
"currency": "INR",
"receipt": "rcptid_11",
"status": "created",
"attempts": 0,
"notes": [],
"created_at": 1642662092
}
```
#### Request Parameters
`amount` *mandatory*
: `integer` Payment amount in the smallest currency sub-unit. For example, pass `50000` for โน500.
`currency` *mandatory*
: `string` The 3-letter ISO currency code. For example, `INR`.
`customer_id` *mandatory*
: `string` The customer ID returned in [step 1.3](#1-3-create-a-customer).
`receipt` *optional*
: `string` Your receipt number for the order. Maximum 40 characters.
`notes` *optional*
: `object` Key-value pairs for additional information. Maximum 15 pairs of 256 characters each.
`partial_payment` *optional*
: `boolean` Set to `true` to accept partial payments. Defaults to `false`.
`first_payment_min_amount` *optional*
: `integer` Minimum amount for the first partial payment. Use only when `partial_payment` is `true`.
## 1.6 Initialise Razorpay in Your Activity
Create the SDK instance in your payment Activity. The SDK reads the key from the manifest ([step 1.2](#1-2-configure-the-sdk)), or you can pass it in code.
```java Java theme={null}
import com.razorpay.Razorpay;
Razorpay razorpay = new Razorpay(this); // uses com.razorpay.ApiKey from the manifest
// OR
Razorpay razorpay = new Razorpay(this, "YOUR_KEY_ID"); // sets the key in code
// Register the hidden WebView from step 1.2
razorpay.setWebView(findViewById(R.id.payment_webview));
```
## 1.7 Submit Payment
When the customer taps the Quick Buy button, build the payment data as a `JSONObject` and pass it to `razorpay.submit()`. The result is returned to `PaymentResultWithDataListener`:
* `onPaymentSuccess` for a successful payment.
* `onPaymentError` for a failed payment.
#### Common Parameters
`order_id` *mandatory*
: `string` The order ID created in [step 1.5](#1-5-create-an-order-in-server).
`amount` *mandatory*
: `integer` Payment amount in the smallest currency sub-unit.
`currency` *mandatory*
: `string` The 3-letter ISO currency code. For example, `INR`.
`email` *mandatory*
: `string` Customer's email address.
`contact` *mandatory*
: `string` Customer's phone number.
`method` *mandatory*
: `string` Payment method. Possible values: `upi`, `card`, `netbanking`, `wallet` or `emi`.
`notes` *optional*
: `object` Key-value pairs for additional information. Maximum 15 pairs of 256 characters each.
> [tab] UPI Intent
>
> Pass the `upi_app_package_name` returned by `getRecommendedInstruments()` in [step 1.4](#1-4-fetch-recommended-instruments).
>
> ```java Java theme={null}
> JSONObject data = new JSONObject();
> data.put("amount", 29935);
> data.put("currency", "INR");
> data.put("order_id", "order_DgZ26rHjbzLLY2");
> data.put("email", "gaurav.kumar@example.com");
> data.put("contact", "+919876543210");
> data.put("method", "upi");
> data.put("_[flow]", "intent");
> data.put("upi_app_package_name", "com.google.android.apps.nbu.paisa.user");
>
> findViewById(R.id.payment_webview).setVisibility(View.VISIBLE);
> razorpay.submit(data, resultListener);
> ```
> [tab] Saved Card
>
> Pass the `token` returned by `getRecommendedInstruments()` in [step 1.4](#1-4-fetch-recommended-instruments) and collect only the CVV from the customer.
>
> ```java Java theme={null}
> JSONObject data = new JSONObject();
> data.put("amount", 29935);
> data.put("currency", "INR");
> data.put("order_id", "order_DgZ26rHjbzLLY2");
> data.put("email", "gaurav.kumar@example.com");
> data.put("contact", "+919876543210");
> data.put("method", "card");
> data.put("token", "token_Hf7vKlM2NpQrSt");
> data.put("card[cvv]", "100");
> razorpay.submit(data, resultListener);
> ```
> [tab] Netbanking
>
> ```java Java theme={null}
> JSONObject data = new JSONObject();
> data.put("amount", 29935);
> data.put("currency", "INR");
> data.put("order_id", "order_DgZ26rHjbzLLY2");
> data.put("email", "gaurav.kumar@example.com");
> data.put("contact", "+919876543210");
> data.put("method", "netbanking");
> data.put("bank", "SBIN");
> razorpay.submit(data, resultListener);
> ```
> [tab] Wallet
>
> ```java Java theme={null}
> JSONObject data = new JSONObject();
> data.put("amount", 29935);
> data.put("currency", "INR");
> data.put("order_id", "order_DgZ26rHjbzLLY2");
> data.put("email", "gaurav.kumar@example.com");
> data.put("contact", "+919876543210");
> data.put("method", "wallet");
> data.put("wallet", "mobikwik");
> razorpay.submit(data, resultListener);
> ```
#### Handle the Result
```java Java theme={null}
PaymentResultWithDataListener resultListener = new PaymentResultWithDataListener() {
@Override
public void onPaymentSuccess(String razorpayPaymentId, PaymentData paymentData) {
// Send paymentData.getPaymentId(), paymentData.getOrderId() and
// paymentData.getSignature() to your server for verification (step 1.9)
}
@Override
public void onPaymentError(int code, String description) {
// For example, Checkout.NETWORK_ERROR or Checkout.PAYMENT_CANCELED
}
};
```
## 1.8 Store Fields in Your Server
A successful payment returns these fields through `PaymentData`. Store them on your server and verify the signature in the next step.
```json Success Response theme={null}
{
"razorpay_payment_id": "pay_29QQoUBi66xm2f",
"razorpay_order_id": "order_9A33XWu170gUtm",
"razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
}
```
`razorpay_payment_id`
: `string` Unique identifier of the payment. Returned only for successful payments.
`razorpay_order_id`
: `string` Unique identifier of the order.
`razorpay_signature`
: `string` Signature used to verify that the payment is authentic.
## 1.9 Verify Payment Signature
Verify the signature on your server to confirm the payment is authentic. This step is mandatory. Never verify the signature in the app.
1. Use the `order_id` stored on your server. Do not use the `razorpay_order_id` returned to the app.
2. Create an HMAC-SHA256 hex digest of `order_id + "|" + razorpay_payment_id` using your API key secret.
3. If the digest matches `razorpay_signature`, the payment is authentic.
```text Pseudocode theme={null}
generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
if (generated_signature == razorpay_signature) {
// payment is authentic
}
```
```java Java (server-side) theme={null}
RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
String secret = "[YOUR_KEY_SECRET]";
JSONObject options = new JSONObject();
options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
boolean status = Utils.verifyPaymentSignature(options, secret);
```
## 1.10 Verify Payment Status
Confirm that the payment status is `captured`. You can track it in 3 ways:
* **Dashboard**: Log in to the Dashboard and go to **Transactions** โ **Payments**. A successful payment has a payment ID and the status **Captured**.
* **Webhooks**: Subscribe to [payment webhook events](/docs/webhooks/payments) for real-time updates.
* **API**: Poll the [Fetch a Payment API](/docs/api/payments/fetch-with-id) with the `razorpay_payment_id`.
> [!NOTE]
>
> **Handy Tips**
>
> Use [Payment Capture Settings](/docs/payments/payments/capture-settings) to capture payments automatically.
## Next Steps
* [Test your integration](/docs/payments/payment-gateway/android-integration/custom/test-integration) in Test Mode.
* Complete the [go-live checklist](/docs/payments/payment-gateway/android-integration/custom/go-live-checklist).
* Replace your test API keys with live keys when you are ready to go live.
## Related Information
* [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded)
* [Embedded Quick Buy FAQs](/docs/payments/payment-gateway/features/quickbuy/embedded/faqs)
* [Android Custom UI SDK Integration](/docs/payments/payment-gateway/android-integration/custom/build-integration)
# Embedded Quick Buy FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/features/quickbuy/embedded/faqs
Answers to common questions about Embedded Quick Buy: eligibility, PCI-DSS, supported platforms, recommended instruments, testing and SDK troubleshooting.
Available in
๐ฎ๐ณ India
## General
> [accordion] 1. How is Embedded Quick Buy different from QuickBuy on Standard Checkout?
>
> QuickBuy on Standard Checkout shows a generic **Pay Now** button on your page. When the customer taps it, the recommended instrument opens in the Razorpay Checkout modal.
>
> Embedded Quick Buy shows the recommended instrument directly on your page, wherever you choose to place it.
> [accordion] 2. Can I integrate Embedded Quick Buy if I use Standard Checkout, Custom Checkout or an S2S integration?
>
> Yes. Businesses on all three integrations can use Embedded Quick Buy. You need to add the lightweight Razorpay Custom SDK, which powers the Quick Buy button.
> [accordion] 3. Do I need to be PCI-DSS compliant to show card details?
>
> No. You do not store any card data. You fetch the recommended instrument from Razorpay, and saved cards reach you as Razorpay tokens. So there is no PCI-DSS requirement.
> [accordion] 4. Which platforms support Embedded Quick Buy?
>
> Embedded Quick Buy is available on:
>
> * [Mobile web](/docs/payments/payment-gateway/features/quickbuy/embedded/mobile-web)
> * [Android](/docs/payments/payment-gateway/features/quickbuy/embedded/android)
> * [iOS](/docs/payments/payment-gateway/features/quickbuy/embedded/ios)
> * [React Native](/docs/payments/payment-gateway/features/quickbuy/embedded/react-native)
> * [Flutter](/docs/payments/payment-gateway/features/quickbuy/embedded/flutter)
> [accordion] 5. Does Embedded Quick Buy affect my existing checkout integration?
>
> No. Embedded Quick Buy is an addition to your current checkout. It appears before checkout and hands over to your existing Razorpay Checkout when the customer taps **Change payment method** or has no recommended instrument. Your current checkout flow is unaffected until you deploy the Quick Buy button. You do not need to change your Orders API integration.
> [accordion] 6. How many instruments are returned, and can I choose which ones?
>
> Razorpay returns up to 3 instruments, ranked by how likely the customer is to complete the payment. Razorpay decides the count and the instruments. You cannot configure them.
>
> To offer more options than the top recommendation, send the customer to the full checkout through **Change payment method** rather than showing all 3 as separate buttons.
> [accordion] 7. What happens if I do not pass an order\_id or a customer\_id?
>
> * Without an `order_id`, the response is limited to UPI intent apps. Saved cards are not returned.
> * Without a `customer_id`, pass the customer's contact number. If neither is available, or the customer has no recommended instruments, the response returns an empty `items` array. Treat this as a normal response, not an error, and show your regular checkout button.
> [accordion] 8. Should I show an intermediate screen when the customer changes the payment method?
>
> No. Take the customer straight to the full Razorpay Checkout. An extra screen adds a step and can cause drop-offs. Razorpay Checkout already shows recommended instruments at the top, along with all other payment methods.
> [accordion] 9. Is Cash on Delivery (COD) part of Quick Buy?
>
> No. COD is not part of the Quick Buy flow, and you handle COD separately by default. If you want to offer COD on Razorpay Checkout, you can enable it separately.
> [accordion] 10. Can I test Embedded Quick Buy before going live?
>
> Yes. You can test the full flow, including fetching recommended instruments, creating orders and submitting payments, in Test Mode with your test API keys. Going live with Quick Buy does not affect your existing checkout. It takes effect only when you deploy the Quick Buy button to production.
## Mobile Web
> [accordion] 1. I use Standard Checkout (checkout.js). What else do I need for Quick Buy on mobile web?
>
> Quick Buy on mobile web is built on Custom Checkout (`razorpay.js`). Include `razorpay.js`, create customers and fetch recommended instruments to power the Quick Buy button. Your Standard Checkout remains the fallback when the customer taps **Change payment method**. Know more about the [mobile web integration](/docs/payments/payment-gateway/features/quickbuy/embedded/mobile-web).
> [accordion] 2. How do I handle a UPI app that is not installed on the customer's device?
>
> On mobile web, the browser cannot check which apps are installed. Native SDKs can, and they drop apps that are not installed. On mobile web, show every UPI app returned. If the app is not installed, the device handles the failed deep link. You do not need to handle this case.
## React Native SDK
> [accordion] 1. I use react-native-razorpay. Do I also need react-native-customui?
>
> Yes. Quick Buy is powered by the Custom UI SDK. Use `react-native-customui` to fetch recommended instruments and power the Quick Buy button. Continue to use `react-native-razorpay` to open the full Standard Checkout when the customer taps **Change payment method**.
> [accordion] 2. Which SDK version do I need?
>
> Use [react-native-customui](https://www.npmjs.com/package/react-native-customui) version 2.2.9 or later. It includes `getRecommendedInstruments()`, the fix for the iOS `pod install` framework conflict and consistent UPI app detection on Android.
> [accordion] 3. Do I need to link react-native-customui manually on Android?
>
> No. React Native autolinking handles the Android module. Linking it manually in `settings.gradle`, `app/build.gradle` or `MainApplication` conflicts with autolinking and fails the Gradle build.
>
> The `com.razorpay.rn.RazorpayPackage` import belongs to `react-native-razorpay`, not `react-native-customui`.
> [accordion] 4. The Android Gradle build fails with an implicit dependency error. How do I fix it?
>
> You may see this error:
>
> ```text Error theme={null}
> Task ':react-native-razorpay:packageDebugResources' uses this output of
> task ':react-native-customui:generateDebugResValues' without declaring an
> explicit or implicit dependency.
> ```
>
> It occurs when `react-native-customui` is linked manually while autolinking also picks it up. To fix it, remove the manual linking.
>
> 1. From `android/settings.gradle`, remove:
> ```groovy settings.gradle theme={null}
> include ':react-native-customui'
> project(':react-native-customui').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-customui/android')
> ```
> 2. From `android/app/build.gradle`, remove:
> ```groovy build.gradle theme={null}
> implementation project(':react-native-customui')
> ```
> 3. From `MainApplication.kt`, remove the package if you added it only for the Custom UI SDK:
> ```kotlin MainApplication.kt theme={null}
> add(RazorpayPackage()) // remove if added only for customui
> ```
> 4. Clean and rebuild:
> ```bash Terminal theme={null}
> rm -rf android/.gradle android/build android/app/build
> rm -rf node_modules/react-native-customui/android/build
> rm -rf node_modules/react-native-razorpay/android/build
> cd android && ./gradlew clean
> ```
> [accordion] 5. pod install fails with conflicting frameworks razorpay.xcframework and razorpaycore.xcframework. Why?
>
> This can happen when both `react-native-razorpay` and `react-native-customui` are installed. Update the pods by running `pod install` again to pull the latest SDK version, which resolves the conflict. No other change is needed.
> [accordion] 6. getRecommendedInstruments() crashes because the SDK instance is null. Why?
>
> On Android, `initRazorpay()` initialises the SDK on the UI thread and does not return a promise. If you call `getRecommendedInstruments()` immediately after it, initialisation may not be complete.
>
> Call `initRazorpay()` earlier in the flow, for example when the checkout screen loads or when you first fetch your API key. Call `getRecommendedInstruments()` after a short delay or in a later interaction.
> [accordion] 7. getRecommendedInstruments() fails even though the SDK is initialised. Why?
>
> Check that the options include a `customer` object with a `contact` field. It is mandatory by default, although this depends on your account configuration. If it is required and missing, the call fails.
>
> ```javascript JavaScript theme={null}
> Razorpay.getRecommendedInstruments({
> amount: 100,
> currency: 'INR',
> customer: {
> contact: '+919123456780'
> }
> });
> ```
> [accordion] 8. When the customer taps a recommended UPI app, a different app opens. Why?
>
> There are two possible causes:
>
> * **Inconsistent app detection on the device**: Some UPI apps respond inconsistently when the device checks whether they are ready. Upgrade to `react-native-customui` 2.2.9 or later, which keeps UPI app detection consistent on Android.
> * **Incomplete payment payload**: Make sure the payment request includes the selected app's package name in `upi_app_package_name`.
## Related Information
* [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded)
* [QuickBuy](/docs/payments/payment-gateway/features/quickbuy)
# Embedded Quick Buy: Flutter Integration
Source: https://razorpay.com/docs/payments/payment-gateway/features/quickbuy/embedded/flutter
Integrate Embedded Quick Buy in your Flutter app with the Razorpay Flutter Custom UI SDK and show customers their recommended payment instrument.
Available in
๐ฎ๐ณ India
Follow these steps to add [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded) to your Flutter app. The integration builds on the [Flutter Custom UI SDK](/docs/payments/payment-gateway/flutter-integration/custom/build-integration). You render your own payment UI, and Razorpay processes the payment.
> [!NOTE]
>
> **Already on the Flutter Custom UI SDK?**
>
> The steps specific to Quick Buy are [1.3 Create a Customer](#1-3-create-a-customer) and [1.4 Fetch Recommended Instruments](#1-4-fetch-recommended-instruments). All other steps follow the standard Flutter integration.
**1.1** [Install the SDK](#1-1-install-the-sdk).
**1.2** [Add ProGuard Rules](#1-2-add-proguard-rules).
**1.3** [Create a Customer](#1-3-create-a-customer). New for Quick Buy.
**1.4** [Fetch Recommended Instruments](#1-4-fetch-recommended-instruments). New for Quick Buy.
**1.5** [Create an Order in Server](#1-5-create-an-order-in-server).
**1.6** [Import the Razorpay Module](#1-6-import-the-razorpay-module).
**1.7** [Submit Payment](#1-7-submit-payment).
**1.8** [Store Fields in Your Server](#1-8-store-fields-in-your-server).
**1.9** [Verify Payment Signature](#1-9-verify-payment-signature).
**1.10** [Verify Payment Status](#1-10-verify-payment-status).
## 1.1 Install the SDK
Add the Razorpay Flutter Custom UI SDK to the dependencies in your app's `pubspec.yaml` file:
```yaml pubspec.yaml theme={null}
dependencies:
razorpay_flutter_customui: ^1.4.2
```
Run this command in your app's root directory to install the package:
```bash Terminal theme={null}
flutter packages get
```
#### Minimum Requirements
| Platform | Requirement |
| - | - |
| Android | API level 19 or higher. Set `minSdkVersion 19` in `android/app/build.gradle`. |
| iOS | Deployment target iOS 10.0 or higher, with bitcode enabled. |
## 1.2 Add ProGuard Rules
If you use ProGuard on Android, add these rules so that the SDK classes are not obfuscated:
```text proguard-rules.pro theme={null}
-keepattributes *Annotation*
-dontwarn com.razorpay.**
-keep class com.razorpay.** {*;}
-optimizations !method/inlining/
-keepclasseswithmembers class * {
public void onPayment*(...);
}
```
## 1.3 Create a Customer
Create a customer on your server with the [Customers API](/docs/api/customers/create). You can do this asynchronously, for example when you collect the customer's details. Use the `customer_id` returned in the response to fetch recommended instruments in [step 1.4](#1-4-fetch-recommended-instruments).
```bash Request theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/customers \
-H "Content-Type: application/json" \
-d '{
"name": "Gaurav Kumar",
"contact": "9123456780",
"email": "gaurav.kumar@example.com",
"fail_existing": "0",
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Greyโฆ decaf."
}
}'
```
```json Response theme={null}
{
"id": "cust_1Aa00000000004",
"entity": "customer",
"name": "Gaurav Kumar",
"email": "gaurav.kumar@example.com",
"contact": "9123456780",
"gstin": null,
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Greyโฆ decaf."
},
"created_at": 1234567890
}
```
## 1.4 Fetch Recommended Instruments
Call `getRecommendedInstruments()` to get the customer's recommended payment instruments.
* The response contains up to 3 instruments, ranked by how likely the customer is to complete the payment. `items[0]` is the strongest recommendation.
* The SDK checks which UPI apps are installed on the device and returns only those. If no UPI app is installed and there is no other recommendation, `items` is empty. Open your regular checkout in that case.
* The response includes the logos you need to render the Quick Buy button.
* Pass the `order_id` so that all instrument types are eligible. Without an `order_id`, the response is limited to UPI intent apps.
* Pass the customer's contact number in `customer.contact`. It is mandatory by default, although this depends on your account configuration.
```dart Dart theme={null}
import 'package:razorpay_flutter_customui/razorpay_flutter_customui.dart' as customui;
customui.Razorpay _customUiRazorpay = customui.Razorpay();
_customUiRazorpay.on(
customui.Razorpay.EVENT_PAYMENT_SUCCESS, _onPaymentSuccess,
unwrapData: true);
_customUiRazorpay.on(
customui.Razorpay.EVENT_PAYMENT_ERROR, _onPaymentError,
unwrapData: true);
_customUiRazorpay.initilizeSDK('rzp_test_xxxxxxxxxx');
try {
final options = {
'key': '',
'order_id': 'order_xxxxxx',
'amount': 100,
'currency': 'INR',
'customer': {
'contact': '+919876543210',
},
};
final result = await _customUiRazorpay.getRecommendedInstruments(options);
final items = result['items'] as List? ?? [];
debugPrint('Recommended instruments: ${items.length}');
} catch (e) {
// Fall back to your regular checkout
debugPrint('getRecommendedInstruments failed: $e');
}
```
> [!WARNING]
>
> **Watch Out!**
>
> * Always show a **Change payment method** option next to the Quick Buy button. It should open the full Razorpay Checkout of your existing integration, Custom or Standard. Know more about the [Flutter Standard integration](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps).
> * If `items` is empty, or the call fails, show your regular checkout instead of the Quick Buy button.
#### Sample Response
```json Response theme={null}
{
"entity": "collection",
"count": 3,
"items": [
{
"method": "card",
"token": "token_Hf7vKlM2NpQrSt",
"card": {
"last4": "4242",
"network": "Visa",
"issuer": "HDFC",
"type": "debit",
"sub_type": "consumer",
"international": false,
"network_logo_url": "https://cdn.razorpay.com/app/visa.svg",
"issuer_logo_url": "https://cdn.razorpay.com/app/hdfc.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "gpay",
"app_package": "com.google.android.apps.nbu.paisa.user",
"app_logo": "https://cdn.razorpay.com/app/gpay.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "phonepe",
"app_package": "com.phonepe.app",
"app_logo": "https://cdn.razorpay.com/app/phonepe.svg"
}
}
]
}
```
#### Response Parameters
| Parameter | Type | Description | How to use it |
| - | - | - | - |
| `entity` | string | Always `collection`. | Standard Razorpay collection identifier. |
| `count` | integer | Number of instruments in `items`. Maximum 3. | Check before you render the button. |
| `items` | array | Recommended instruments in order. Index 0 is the strongest recommendation. | Render the Quick Buy button from `items[0]`. |
| `items.method` | string | `card` or `upi`. | Decides which UI to render and which payment fields to send. |
| `token` | string | Razorpay token ID of the saved card. | Pass as `token` when you submit the payment. |
| `card.last4` | string | Last 4 digits of the card. For display only. | Render a masked label, such as **HDFC Debit โขโขโขโข4242**. Never pass it to payment APIs. |
| `card.network` | string | `Visa`, `MasterCard`, `RuPay`, `Amex` or `Diners`. | Show the network name. |
| `card.issuer` | string | 4-character issuer code. For example, `HDFC`, `ICIC` or `SBIN`. | Show the issuer name. |
| `card.type` | string | `credit`, `debit` or `prepaid`. | Show the card type on the button. |
| `card.sub_type` | string | `consumer`, `business` or `unknown`. | Optional. Use it if business cards need a different treatment. |
| `card.international` | boolean | `true` if the card is international. | Flag international cards if needed. |
| `card.network_logo_url` | string | CDN-hosted card network logo. | Use directly in an `Image.network` widget. |
| `card.issuer_logo_url` | string | CDN-hosted issuing bank logo. | Use directly in an `Image.network` widget. |
| `upi.flow` | string | Always `intent`. | Confirms the UPI flow. |
| `upi.app` | string | Short name of the UPI app. For example, `gpay`, `phonepe`, `paytm` or `bhim`. | Show on the button. |
| `upi.app_package` | string | Package name of the UPI app. For example, `com.google.android.apps.nbu.paisa.user`. | Pass as `upi_app_package_name` when you submit the payment. |
| `upi.app_logo` | string | CDN-hosted UPI app logo. | Show on the button. |
## 1.5 Create an Order in Server
Create an order on your server using the [Orders API](/docs/api/orders/create) when the customer taps the Quick Buy button, or earlier if you pass the `order_id` in [step 1.4](#1-4-fetch-recommended-instruments).
> [!WARNING]
>
> **Watch Out!**
>
> Create an order for every payment, server-side, using your API Key ID and secret. Payments made without an `order_id` cannot be captured and are automatically refunded.
```bash Request theme={null}
curl -X POST https://api.razorpay.com/v1/orders \
-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-H 'content-type:application/json' \
-d '{
"amount": 50000,
"currency": "INR",
"customer_id": "cust_1Aa00000000004",
"receipt": "rcptid_11"
}'
```
## 1.6 Import the Razorpay Module
Import the Razorpay Custom UI module into your widget, create an instance and register the payment event listeners:
```dart Dart theme={null}
import 'package:razorpay_flutter_customui/razorpay_flutter_customui.dart' as customui;
late customui.Razorpay _customUiRazorpay;
@override
void initState() {
super.initState();
_customUiRazorpay = customui.Razorpay();
_customUiRazorpay.on(customui.Razorpay.EVENT_PAYMENT_SUCCESS, _onPaymentSuccess, unwrapData: true);
_customUiRazorpay.on(customui.Razorpay.EVENT_PAYMENT_ERROR, _onPaymentError, unwrapData: true);
_customUiRazorpay.initilizeSDK('rzp_test_xxxxxxxxxx');
}
void _onPaymentSuccess(dynamic response) {
// Payment successful. Send the response to your server for verification.
}
void _onPaymentError(dynamic response) {
// Payment failed
}
@override
void dispose() {
super.dispose();
_customUiRazorpay.clear(); // Removes all listeners
}
```
## 1.7 Submit Payment
When the customer taps the Quick Buy button, call `submit()` with the payment options for the recommended instrument. For a recommended UPI app, pass `method: 'upi'`, `_[flow]: 'intent'` and the app's package name in `upi_app_package_name`:
```dart Dart theme={null}
void submitCheckout() {
var options = {
'key': '',
'amount': 50000,
'currency': 'INR',
'name': 'Acme Corp.',
'order_id': 'order_EMBFqjDHEEn80l',
'method': 'upi',
'_[flow]': 'intent',
'upi_app_package_name': 'com.phonepe.app'
};
try {
_customUiRazorpay.submit(options);
} catch (e) {
debugPrint(e.toString());
}
}
```
For other payment methods, see the [Flutter Custom UI payment methods](/docs/payments/payment-gateway/flutter-integration/custom/payment-methods).
## 1.8 Store Fields in Your Server
A successful payment returns these fields to your `_onPaymentSuccess` handler. Store them on your server and verify the signature in the next step.
```json Success Response theme={null}
{
"razorpay_payment_id": "pay_29QQoUBi66xm2f",
"razorpay_order_id": "order_9A33XWu170gUtm",
"razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
}
```
`razorpay_payment_id`
: `string` Unique identifier of the payment. Returned only for successful payments.
`razorpay_order_id`
: `string` Unique identifier of the order.
`razorpay_signature`
: `string` Signature used to verify that the payment is authentic.
## 1.9 Verify Payment Signature
Verify the signature on your server to confirm the payment is authentic. This step is mandatory.
1. Use the `order_id` stored on your server. Do not use the `razorpay_order_id` returned to the app.
2. Create an HMAC-SHA256 hex digest of `order_id + "|" + razorpay_payment_id` using your API key secret.
3. If the digest matches `razorpay_signature`, the payment is authentic.
```text Pseudocode theme={null}
generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
if (generated_signature == razorpay_signature) {
// payment is authentic
}
```
> [!WARNING]
>
> **Watch Out!**
>
> Always verify the signature on your server, never in the Flutter app. Never ship your API key secret in the app bundle.
```java Java (server-side) theme={null}
RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
String secret = "[YOUR_KEY_SECRET]";
JSONObject options = new JSONObject();
options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
boolean status = Utils.verifyPaymentSignature(options, secret);
```
## 1.10 Verify Payment Status
Confirm that the payment status is `captured`. You can track it in 3 ways:
* **Dashboard**: Log in to the Dashboard and go to **Transactions** โ **Payments**. A successful payment has a payment ID and the status **Captured**.
* **Webhooks**: Subscribe to [payment webhook events](/docs/webhooks/payments) for real-time updates.
* **API**: Poll the [Fetch a Payment API](/docs/api/payments/fetch-with-id) with the `razorpay_payment_id`.
> [!NOTE]
>
> **Handy Tips**
>
> Use [Payment Capture Settings](/docs/payments/payments/capture-settings) to capture payments automatically.
## Next Steps
* [Test your integration](/docs/payments/payment-gateway/flutter-integration/custom/test-integration) in Test Mode.
* Set up webhooks for real-time payment events.
* Replace your test API keys with live keys when you are ready to go live.
## Related Information
* [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded)
* [Embedded Quick Buy FAQs](/docs/payments/payment-gateway/features/quickbuy/embedded/faqs)
* [Flutter Custom UI SDK Integration](/docs/payments/payment-gateway/flutter-integration/custom/build-integration)
# Embedded Quick Buy: iOS Integration
Source: https://razorpay.com/docs/payments/payment-gateway/features/quickbuy/embedded/ios
Integrate Embedded Quick Buy in your iOS app with the Razorpay Custom UI SDK and show customers their recommended payment instrument.
Available in
๐ฎ๐ณ India
Follow these steps to add [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded) to your iOS app. The integration builds on the [iOS Custom UI SDK](/docs/payments/payment-gateway/ios-integration/custom/build-integration). You render your own payment screen in your `UIViewController` or SwiftUI view, and Razorpay processes the payment.
> [!NOTE]
>
> **Already on the iOS Custom UI SDK?**
>
> The steps specific to Quick Buy are [1.3 Create a Customer](#1-3-create-a-customer) and [1.4 Fetch Recommended Instruments](#1-4-fetch-recommended-instruments). All other steps follow the standard Custom UI SDK integration.
**1.1** [Add the SDK Dependency](#1-1-add-the-sdk-dependency).
**1.2** [Configure the SDK](#1-2-configure-the-sdk).
**1.3** [Create a Customer](#1-3-create-a-customer). New for Quick Buy.
**1.4** [Fetch Recommended Instruments](#1-4-fetch-recommended-instruments). New for Quick Buy.
**1.5** [Create an Order in Server](#1-5-create-an-order-in-server).
**1.6** [Initialise RazorpayCheckout in Your ViewController](#1-6-initialise-razorpaycheckout-in-your-viewcontroller).
**1.7** [Submit Payment](#1-7-submit-payment).
**1.8** [Store Fields in Your Server](#1-8-store-fields-in-your-server).
**1.9** [Verify Payment Signature](#1-9-verify-payment-signature).
**1.10** [Verify Payment Status](#1-10-verify-payment-status).
## 1.1 Add the SDK Dependency
> [tab] CocoaPods
>
> Add the Custom UI SDK to your `Podfile` and run `pod install`:
>
> ```ruby Podfile theme={null}
> pod 'razorpay-customui-pod'
> ```
> [tab] Manual (XCFramework)
>
> Download `Razorpay.xcframework` and add it in Xcode under **Target settings** โ **General** โ **Frameworks, Libraries, and Embedded Content**. Set the embed status to **Embed & Sign**.
> [!NOTE]
>
> **Handy Tips**
>
> Set **Always Embed Swift Standard Libraries** to **Yes** in **Build Settings**. Make sure the device supports TLS v1.1 or v1.2 for PCI compliance.
## 1.2 Configure the SDK
Update `Info.plist` to allow the SDK's WebView traffic and declare the URL schemes of the UPI apps the SDK should detect:
```xml Info.plist theme={null}
NSAppTransportSecurityNSAllowsArbitraryLoadsLSApplicationQueriesSchemestezphonepepaytmmpcredpayupi
```
The SDK uses a `WKWebView` to complete flows such as card 3DS and bank OTP pages. You create the `WKWebView`, pass it to the SDK and forward its navigation callbacks in [step 1.6](#1-6-initialise-razorpaycheckout-in-your-viewcontroller).
## 1.3 Create a Customer
Create a customer on your server with the [Customers API](/docs/api/customers/create). You can do this asynchronously, for example when you collect the customer's details. Use the `customer_id` returned in the response to fetch recommended instruments in [step 1.4](#1-4-fetch-recommended-instruments).
```bash Request theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/customers \
-H "Content-Type: application/json" \
-d '{
"name": "Gaurav Kumar",
"contact": "9123456780",
"email": "gaurav.kumar@example.com",
"fail_existing": "0",
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Greyโฆ decaf."
}
}'
```
```json Response theme={null}
{
"id": "cust_1Aa00000000004",
"entity": "customer",
"name": "Gaurav Kumar",
"email": "gaurav.kumar@example.com",
"contact": "9123456780",
"gstin": null,
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Greyโฆ decaf."
},
"created_at": 1234567890
}
```
## 1.4 Fetch Recommended Instruments
Call `getRecommendedInstruments()` to get the customer's recommended payment instruments.
* The response contains up to 3 instruments, ranked by how likely the customer is to complete the payment. `items[0]` is the strongest recommendation.
* The SDK checks which UPI apps are installed on the device and returns only those.
* The response includes the logos you need to render the Quick Buy button: `app_logo`, `network_logo_url` and `issuer_logo_url`.
* Create an order first and pass its `order_id`, so that all instrument types are eligible. Without an `order_id`, the response is limited to UPI intent apps and `amount` and `currency` become mandatory.
```swift Swift theme={null}
let options: [String: Any] = [
"order_id": "order_xxxxxx", // recommended
"customer_id": "cust_xxxxxx", // from step 1.3
"amount": 100, // mandatory if no order_id
"currency": "INR", // mandatory if no order_id
"contact": "8050981760" // pass if no customer_id
]
razorpay.getRecommendedInstruments(withOptions: options,
withSuccessCallback: { response in
guard let collection = response["get_recommended_instruments"] as? [String: Any],
let items = collection["items"] as? [[String: Any]] else { return }
for item in items {
let method = item["method"] as? String
if method == "card", let card = item["card"] as? [String: Any] {
print(card["last4"] as? String ?? "") // display only
}
if method == "upi", let upi = item["upi"] as? [String: Any] {
print(upi["app"] as? String ?? "") // for example, gpay
print(upi["upi_app_package_name"] as? String ?? "") // pass to authorize()
print(upi["app_logo"] as? String ?? "") // CDN logo URL
}
}
},
withFailure: { error in
// Fall back to Standard Checkout
}
)
```
> [!WARNING]
>
> **Watch Out!**
>
> * Always show a **Change payment method** option next to the Quick Buy button. It should open the full Razorpay Checkout, as per the [iOS Standard Checkout integration](/docs/payments/payment-gateway/ios-integration/standard/integration-steps).
> * If the response has no instruments, or the call fails, show your regular checkout instead of the Quick Buy button.
#### Sample Response
```json Response theme={null}
{
"actions": ["get_recommended_instruments"],
"get_recommended_instruments": {
"entity": "collection",
"count": 3,
"items": [
{
"method": "card",
"token": "token_Hf7vKlM2NpQrSt",
"card": {
"last4": "4242",
"network": "Visa",
"issuer": "HDFC",
"type": "debit",
"sub_type": "consumer",
"international": false,
"network_logo_url": "https://cdn.razorpay.com/app/visa.svg",
"issuer_logo_url": "https://cdn.razorpay.com/app/hdfc.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "gpay",
"upi_app_package_name": "google_pay",
"app_logo": "https://cdn.razorpay.com/app/gpay.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "phonepe",
"upi_app_package_name": "phonepe",
"app_logo": "https://cdn.razorpay.com/app/phonepe.svg"
}
}
]
}
}
```
#### Response Parameters
| Parameter | Type | Description | How to use it |
| - | - | - | - |
| `actions` | array | Always `get_recommended_instruments`. | Check that the response matches the action you called. |
| `get_recommended_instruments.entity` | string | Always `collection`. | Standard Razorpay collection identifier. |
| `get_recommended_instruments.count` | integer | Number of instruments in `items`. Maximum 3. | Check before you render the button. |
| `get_recommended_instruments.items` | array | Recommended instruments in order. Index 0 is the strongest recommendation. | Render the Quick Buy button from `items[0]`. |
| `items.method` | string | `card` or `upi`. | Decides which UI to render and which payment fields to send. |
| `token` | string | Razorpay token ID of the saved card. | Pass as `token` when you submit the payment. |
| `card.last4` | string | Last 4 digits of the card. For display only. | Render a masked label, such as **HDFC Debit โขโขโขโข4242**. Never pass it to payment APIs. |
| `card.network` | string | `Visa`, `MasterCard`, `RuPay`, `Amex` or `Diners`. | Show the network name. |
| `card.issuer` | string | 4-character issuer code. For example, `HDFC`, `ICIC` or `SBIN`. | Show the issuer name. |
| `card.type` | string | `credit`, `debit` or `prepaid`. | Show the card type on the button. |
| `card.sub_type` | string | `consumer`, `business` or `unknown`. | Optional. Use it if business cards need a different treatment. |
| `card.international` | boolean | `true` if the card is international. | Flag international cards if needed. |
| `card.network_logo_url` | string | CDN-hosted card network logo. | Load directly into a `UIImageView`. |
| `card.issuer_logo_url` | string | CDN-hosted issuing bank logo. | Load directly into a `UIImageView`. |
| `upi.flow` | string | Always `intent`. | Confirms the UPI flow. |
| `upi.app` | string | Short name of the UPI app. For example, `gpay`, `phonepe`, `paytm` or `bhim`. | Show on the button. |
| `upi.upi_app_package_name` | string | iOS SDK identifier of the UPI app. For example, `google_pay` or `phonepe`. | Pass as `upi_app_package_name` when you submit the payment. |
| `upi.app_logo` | string | CDN-hosted UPI app logo. | Show on the button. |
## 1.5 Create an Order in Server
Create an order on your server using the [Orders API](/docs/api/orders/create) when the customer taps the Quick Buy button, or earlier if you pass the `order_id` in [step 1.4](#1-4-fetch-recommended-instruments).
> [!WARNING]
>
> **Watch Out!**
>
> Create an order for every payment, server-side, using your API Key ID and secret. Payments made without an `order_id` cannot be captured and are automatically refunded.
```bash Request theme={null}
curl -X POST https://api.razorpay.com/v1/orders \
-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-H 'content-type:application/json' \
-d '{
"amount": 50000,
"currency": "INR",
"customer_id": "cust_1Aa00000000004",
"receipt": "rcptid_11",
"notes": {
"key1": "value3",
"key2": "value2"
}
}'
```
```json Response theme={null}
{
"id": "order_IluGWxBm9U8zJ8",
"entity": "order",
"amount": 50000,
"amount_paid": 0,
"amount_due": 50000,
"currency": "INR",
"receipt": "rcptid_11",
"status": "created",
"attempts": 0,
"notes": [],
"created_at": 1642662092
}
```
#### Request Parameters
`amount` *mandatory*
: `integer` Payment amount in the smallest currency sub-unit. For example, pass `50000` for โน500.
`currency` *mandatory*
: `string` The 3-letter ISO currency code. For example, `INR`.
`customer_id` *mandatory*
: `string` The customer ID returned in [step 1.3](#1-3-create-a-customer).
`receipt` *optional*
: `string` Your receipt number for the order. Maximum 40 characters.
`notes` *optional*
: `object` Key-value pairs for additional information. Maximum 15 pairs of 256 characters each.
`partial_payment` *optional*
: `boolean` Set to `true` to accept partial payments. Defaults to `false`.
`first_payment_min_amount` *optional*
: `integer` Minimum amount for the first partial payment. Use only when `partial_payment` is `true`.
## 1.6 Initialise RazorpayCheckout in Your ViewController
Conform to `RazorpayPaymentCompletionProtocolWithData` and `WKNavigationDelegate`, create a `WKWebView` and initialise the SDK with your API Key ID.
```swift Swift theme={null}
import Razorpay
class ViewController: UIViewController,
RazorpayPaymentCompletionProtocolWithData,
WKNavigationDelegate {
var webView: WKWebView!
var razorpay: RazorpayCheckout!
override func viewDidLoad() {
super.viewDidLoad()
self.webView = WKWebView(frame: self.view.frame)
self.razorpay = RazorpayCheckout.initWithKey(
"YOUR_KEY_ID",
andDelegate: self,
withPaymentWebView: self.webView
)
self.view.addSubview(self.webView)
self.webView.navigationDelegate = self
}
}
```
Forward the `WKNavigationDelegate` callbacks to the SDK:
```swift Swift theme={null}
func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!) {
self.razorpay.webView(webView, didCommit: navigation)
}
func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError er: Error) {
self.razorpay.webView(webView, didFail: navigation, withError: er)
}
func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError er: Error) {
self.razorpay.webView(webView, didFailProvisionalNavigation: navigation, withError: er)
}
func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
self.razorpay.webView(webView, didFinish: navigation)
}
```
## 1.7 Submit Payment
When the customer taps the Quick Buy button, build the payment options as a dictionary and pass them to `razorpay.authorize()`. The result is returned to your delegate:
* `onPaymentSuccess` for a successful payment.
* `onPaymentError` for a failed payment.
#### Common Parameters
`order_id` *mandatory*
: `string` The order ID created in [step 1.5](#1-5-create-an-order-in-server).
`amount` *mandatory*
: `integer` Payment amount in the smallest currency sub-unit.
`currency` *mandatory*
: `string` The 3-letter ISO currency code. For example, `INR`.
`email` *mandatory*
: `string` Customer's email address.
`contact` *mandatory*
: `string` Customer's phone number.
`method` *mandatory*
: `string` Payment method. Possible values: `upi`, `card`, `netbanking`, `wallet` or `emi`.
`notes` *optional*
: `object` Key-value pairs for additional information. Maximum 15 pairs of 256 characters each.
> [tab] UPI Intent
>
> Pass the `upi_app_package_name` returned by `getRecommendedInstruments()` in [step 1.4](#1-4-fetch-recommended-instruments).
>
> ```swift Swift theme={null}
> let options: [String: Any] = [
> "amount": 29935,
> "currency": "INR",
> "order_id": "order_DBJOWzybf0sJbb",
> "email": "gaurav.kumar@example.com",
> "contact": "9000090000",
> "method": "upi",
> "_[flow]": "intent",
> "upi_app_package_name": "google_pay"
> ]
> razorpay.authorize(options)
> ```
> [tab] Saved Card
>
> Pass the `token` returned by `getRecommendedInstruments()` in [step 1.4](#1-4-fetch-recommended-instruments) and collect only the CVV from the customer.
>
> ```swift Swift theme={null}
> let options: [String: Any] = [
> "amount": 29935,
> "currency": "INR",
> "order_id": "order_DBJOWzybf0sJbb",
> "email": "gaurav.kumar@example.com",
> "contact": "9000090000",
> "method": "card",
> "token": "token_Hf7vKlM2NpQrSt",
> "card[cvv]": "123"
> ]
> razorpay.authorize(options)
> ```
> [tab] Netbanking
>
> ```swift Swift theme={null}
> let options: [String: Any] = [
> "amount": 29935,
> "currency": "INR",
> "order_id": "order_DBJOWzybf0sJbb",
> "email": "gaurav.kumar@example.com",
> "contact": "9000090000",
> "method": "netbanking",
> "bank": "HDFC"
> ]
> razorpay.authorize(options)
> ```
> [tab] Wallet
>
> ```swift Swift theme={null}
> let options: [String: Any] = [
> "amount": 29935,
> "currency": "INR",
> "order_id": "order_DBJOWzybf0sJbb",
> "email": "gaurav.kumar@example.com",
> "contact": "9000090000",
> "method": "wallet",
> "wallet": "mobikwik"
> ]
> razorpay.authorize(options)
> ```
#### Handle the Result
```swift Swift theme={null}
func onPaymentSuccess(_ payment_id: String, andData response: [AnyHashable: Any]) {
// response contains razorpay_payment_id, razorpay_order_id and razorpay_signature.
// Send these to your server for verification (step 1.9).
}
func onPaymentError(_ code: Int32, description str: String, andData response: [AnyHashable: Any]) {
// Handle the failure. code maps to the SDK error enum.
}
// Call when the customer dismisses your payment screen
@IBAction func cancel(_ sender: Any) {
self.razorpay.userCancelledPayment()
}
```
## 1.8 Store Fields in Your Server
A successful payment returns these fields in the delegate's `response`. Store them on your server and verify the signature in the next step.
```json Success Response theme={null}
{
"razorpay_payment_id": "pay_29QQoUBi66xm2f",
"razorpay_order_id": "order_9A33XWu170gUtm",
"razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
}
```
`razorpay_payment_id`
: `string` Unique identifier of the payment. Returned only for successful payments.
`razorpay_order_id`
: `string` Unique identifier of the order.
`razorpay_signature`
: `string` Signature used to verify that the payment is authentic.
## 1.9 Verify Payment Signature
Verify the signature on your server to confirm the payment is authentic. This step is mandatory. Never verify the signature in the app.
1. Use the `order_id` stored on your server. Do not use the `razorpay_order_id` returned to the app.
2. Create an HMAC-SHA256 hex digest of `order_id + "|" + razorpay_payment_id` using your API key secret.
3. If the digest matches `razorpay_signature`, the payment is authentic.
```text Pseudocode theme={null}
generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
if (generated_signature == razorpay_signature) {
// payment is authentic
}
```
```java Java (server-side) theme={null}
RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
String secret = "[YOUR_KEY_SECRET]";
JSONObject options = new JSONObject();
options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
boolean status = Utils.verifyPaymentSignature(options, secret);
```
## 1.10 Verify Payment Status
Confirm that the payment status is `captured`. You can track it in 3 ways:
* **Dashboard**: Log in to the Dashboard and go to **Transactions** โ **Payments**. A successful payment has a payment ID and the status **Captured**.
* **Webhooks**: Subscribe to [payment webhook events](/docs/webhooks/payments) for real-time updates.
* **API**: Poll the [Fetch a Payment API](/docs/api/payments/fetch-with-id) with the `razorpay_payment_id`.
> [!NOTE]
>
> **Handy Tips**
>
> Use [Payment Capture Settings](/docs/payments/payments/capture-settings) to capture payments automatically.
## Next Steps
* [Test your integration](/docs/payments/payment-gateway/ios-integration/custom/test-integration) in Test Mode.
* Complete the [go-live checklist](/docs/payments/payment-gateway/ios-integration/custom/go-live-checklist).
* Replace your test API keys with live keys when you are ready to go live.
## Related Information
* [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded)
* [Embedded Quick Buy FAQs](/docs/payments/payment-gateway/features/quickbuy/embedded/faqs)
* [iOS Custom UI SDK Integration](/docs/payments/payment-gateway/ios-integration/custom/build-integration)
# Embedded Quick Buy: Mobile Web Integration
Source: https://razorpay.com/docs/payments/payment-gateway/features/quickbuy/embedded/mobile-web
Integrate Embedded Quick Buy on your mobile website with Razorpay Custom Checkout and show customers their recommended payment instrument.
Available in
๐ฎ๐ณ India
Follow these steps to add [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded) to your mobile website. The integration builds on [Razorpay Custom Checkout](/docs/payments/payment-gateway/web-integration/custom/build-integration) and shows a customer's recommended saved card or UPI app on your product or cart page, before the full checkout opens.
> [!NOTE]
>
> **Already on Custom Checkout?**
>
> If you have already integrated Razorpay Custom Checkout on your mobile website, the only new step is [1.5 Fetch Recommended Instruments](#1-5-fetch-recommended-instruments). Make sure you also create customers ([step 1.2](#1-2-create-a-customer)), as Quick Buy needs them. All other steps stay the same.
**1.1** [Include razorpay.js in Your Webpage](#1-1-include-razorpay-js-in-your-webpage).
**1.2** [Create a Customer](#1-2-create-a-customer). Required for Quick Buy.
**1.3** [Create an Order in Server](#1-3-create-an-order-in-server).
**1.4** [Instantiate Custom Checkout](#1-4-instantiate-custom-checkout).
**1.5** [Fetch Recommended Instruments](#1-5-fetch-recommended-instruments). New for Quick Buy.
**1.6** [Submit Payment](#1-6-submit-payment).
**1.7** [Store Fields in Your Server](#1-7-store-fields-in-your-server).
**1.8** [Verify Payment Signature](#1-8-verify-payment-signature).
**1.9** [Verify Payment Status](#1-9-verify-payment-status).
## 1.1 Include razorpay.js in Your Webpage
Add the `razorpay.js` script to the `` section of every page where the Quick Buy button appears:
```html HTML theme={null}
```
> [!NOTE]
>
> **Handy Tips**
>
> Always load the script directly from `https://checkout.razorpay.com/v1/razorpay.js`. Do not host it yourself. This way your integration automatically receives the latest updates and bug fixes.
## 1.2 Create a Customer
Create a customer on your server with the [Customers API](/docs/api/customers/create). You can do this asynchronously, for example when the customer registers or starts checkout. Use the `customer_id` returned in the response to fetch recommended instruments in [step 1.5](#1-5-fetch-recommended-instruments).
```bash Request theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/customers \
-H "Content-Type: application/json" \
-d '{
"name": "Gaurav Kumar",
"contact": "9123456780",
"email": "gaurav.kumar@example.com",
"fail_existing": "0"
}'
```
```json Response theme={null}
{
"id": "cust_1Aa00000000004",
"entity": "customer",
"name": "Gaurav Kumar",
"email": "gaurav.kumar@example.com",
"contact": "9123456780",
"created_at": 1234567890
}
```
## 1.3 Create an Order in Server
Create an order on your server using the [Orders API](/docs/api/orders/create). Create the order before you fetch recommended instruments, so that all instrument types are eligible.
> [!WARNING]
>
> **Watch Out!**
>
> Create an order for every payment, server-side, using your API Key ID and secret. Payments made without an `order_id` cannot be captured and are automatically refunded.
```bash Request theme={null}
curl -X POST https://api.razorpay.com/v1/orders \
-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-H 'content-type:application/json' \
-d '{
"amount": 50000,
"currency": "INR",
"customer_id": "cust_1Aa00000000004",
"receipt": "rcptid_11"
}'
```
```json Response theme={null}
{
"id": "order_IluGWxBm9U8zJ8",
"entity": "order",
"amount": 50000,
"amount_paid": 0,
"amount_due": 50000,
"currency": "INR",
"receipt": "rcptid_11",
"status": "created",
"created_at": 1642662092
}
```
#### Request Parameters
`amount` *mandatory*
: `integer` Payment amount in the smallest currency sub-unit. For example, pass `50000` for โน500.
`currency` *mandatory*
: `string` The 3-letter ISO currency code. For example, `INR`.
`customer_id` *mandatory*
: `string` The customer ID returned in [step 1.2](#1-2-create-a-customer).
`receipt` *optional*
: `string` Your receipt number for the order. Maximum 40 characters.
`notes` *optional*
: `object` Key-value pairs for additional information. Maximum 15 pairs of 256 characters each.
## 1.4 Instantiate Custom Checkout
Create a Razorpay instance with your API Key ID. Know more about [instantiating Custom Checkout](/docs/payments/payment-gateway/web-integration/custom/build-integration#1-3-2-instantiate-custom-checkout).
```javascript JavaScript theme={null}
var razorpay = new Razorpay({
key: '',
image: 'https://your-domain.com/logo.png' // optional
});
```
## 1.5 Fetch Recommended Instruments
Call `Razorpay.getRecommendedInstruments()` to get the customer's recommended payment instruments. On mobile web, this is a JavaScript function in `razorpay.js`.
* The response contains up to 3 instruments, ranked by how likely the customer is to complete the payment. `items[0]` is the strongest recommendation.
* The response includes the logos you need to render the Quick Buy button.
* Pass the `order_id` from [step 1.3](#1-3-create-an-order-in-server). If you do not, the response is limited to UPI intent apps and `amount` and `currency` become mandatory.
* Pass the `customer_id`. If you do not have one, pass the customer's contact number in `customer.contact`.
```javascript JavaScript theme={null}
const options = {
order_id: 'order_IluGWxBm9U8zJ8', // recommended
customer_id: 'cust_1Aa00000000004', // from step 1.2
amount: 50000, // mandatory if no order_id
currency: 'INR', // mandatory if no order_id
customer: {
contact: '9123456780' // pass if no customer_id
}
};
Razorpay.getRecommendedInstruments(options).then(response => {
const items = response.get_recommended_instruments.items;
items.forEach(item => {
if (item.method === 'card') {
console.log(item.card.last4);
}
if (item.method === 'upi') {
console.log(item.upi.app);
console.log(item.upi.app_logo);
}
});
});
```
> [!WARNING]
>
> **Watch Out!**
>
> * Always show a **Change payment method** option next to the Quick Buy button. It should open the full Razorpay Checkout, as in your current integration.
> * If the response has no instruments, or the call fails, show your regular checkout button instead of the Quick Buy button.
> * The browser cannot check whether a UPI app is installed. Show every UPI app returned. If an app is not installed, the device handles the failed deep link.
#### Sample Response
```json Response theme={null}
{
"actions": ["get_recommended_instruments"],
"get_recommended_instruments": {
"entity": "collection",
"count": 3,
"items": [
{
"method": "card",
"token": "token_Hf7vKlM2NpQrSt",
"card": {
"last4": "4242",
"network": "Visa",
"issuer": "HDFC",
"type": "debit",
"sub_type": "consumer",
"international": false,
"network_logo_url": "https://cdn.razorpay.com/app/visa.svg",
"issuer_logo_url": "https://cdn.razorpay.com/app/hdfc.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "gpay",
"app_logo": "https://cdn.razorpay.com/app/gpay.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "phonepe",
"app_logo": "https://cdn.razorpay.com/app/phonepe.svg"
}
}
]
}
}
```
#### Response Parameters
| Parameter | Type | Description | How to use it |
| - | - | - | - |
| `actions` | array | Always `get_recommended_instruments`. | Check that the response matches the action you called. |
| `count` | integer | Number of instruments in `items`. Maximum 3. | If `0`, skip Quick Buy and show your regular checkout. |
| `items` | array | Recommended instruments in order. Index 0 is the strongest recommendation. | Render the Quick Buy button from `items[0]`. |
| `items.method` | string | `card` or `upi`. | Decides which UI to render and which payment fields to send. |
| `token` | string | Razorpay token ID of the saved card. | Pass as `token` when you submit the payment. |
| `card.last4` | string | Last 4 digits of the card. For display only. | Render a masked label, such as **HDFC Debit โขโขโขโข4242**. Never pass it to payment APIs. |
| `card.network` | string | Card network. For example, `Visa`, `MasterCard`, `RuPay` or `Amex`. | Show the network name on the button. |
| `card.issuer` | string | 4-character issuer code. For example, `HDFC`, `ICIC` or `SBIN`. | Show the issuer name on the button. |
| `card.type` | string | `credit`, `debit` or `prepaid`. | Show the card type on the button. |
| `card.network_logo_url` | string | CDN-hosted card network logo. | Use directly in an `` tag. |
| `card.issuer_logo_url` | string | CDN-hosted issuing bank logo. | Use directly in an `` tag. |
| `upi.flow` | string | Always `intent`. | Confirms the UPI flow. |
| `upi.app` | string | Short name of the UPI app. For example, `gpay`, `phonepe` or `paytm`. Returned on mobile web. | Pass as `upi_app` when you submit the payment. |
| `upi.app_logo` | string | CDN-hosted UPI app logo. | Use directly in an `` tag on the button. |
## 1.6 Submit Payment
When the customer taps the Quick Buy button, call `razorpay.createPayment()` inside the click event listener. Pass the fields for the recommended instrument's method, for example the saved card `token` or the UPI app. Use the same `createPayment()` payloads as your existing Custom Checkout integration. Know more about [submitting payment details](/docs/payments/payment-gateway/web-integration/custom/build-integration#1-3-3-submit-payment-details).
## 1.7 Store Fields in Your Server
A successful payment returns `razorpay_payment_id`, `razorpay_order_id` and `razorpay_signature`. Store these on your server. Know more about [storing fields in your server](/docs/payments/payment-gateway/web-integration/custom/build-integration#1-4-store-fields-in-your-server).
## 1.8 Verify Payment Signature
Verify the signature on your server to confirm the payment is authentic. This step is mandatory. Know more about [verifying the payment signature](/docs/payments/payment-gateway/web-integration/custom/build-integration#1-5-verify-payment-signature).
## 1.9 Verify Payment Status
Confirm that the payment status is `captured`. You can track it in 3 ways:
* **Dashboard**: Log in to the Dashboard and go to **Transactions** โ **Payments**. A successful payment has a payment ID and the status **Captured**.
* **Webhooks**: Subscribe to [payment webhook events](/docs/webhooks/payments) for real-time updates.
* **API**: Poll the [Fetch a Payment API](/docs/api/payments/fetch-with-id) with the `razorpay_payment_id`.
Know more about [verifying the payment status](/docs/payments/payment-gateway/web-integration/custom/build-integration#1-6-verify-payment-status).
> [!NOTE]
>
> **Handy Tips**
>
> Use [Payment Capture Settings](/docs/payments/payments/capture-settings) to capture payments automatically.
## Next Steps
* [Test your integration](/docs/payments/payment-gateway/web-integration/custom/test-integration) in Test Mode.
* Set up the full checkout as the fallback for customers who tap **Change payment method**.
* Replace your test API keys with live keys when you are ready to go live.
## Related Information
* [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded)
* [Embedded Quick Buy FAQs](/docs/payments/payment-gateway/features/quickbuy/embedded/faqs)
* [Custom Checkout Integration](/docs/payments/payment-gateway/web-integration/custom/build-integration)
# Embedded Quick Buy: React Native Integration
Source: https://razorpay.com/docs/payments/payment-gateway/features/quickbuy/embedded/react-native
Integrate Embedded Quick Buy in your React Native app with the Razorpay Custom UI SDK and show customers their recommended payment instrument.
Available in
๐ฎ๐ณ India
Follow these steps to add [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded) to your React Native app. The integration builds on the [React Native Custom UI SDK](/docs/payments/payment-gateway/react-native-integration/custom/build-integration). You render your own payment UI, and Razorpay processes the payment.
> [!NOTE]
>
> **Already on the React Native Custom UI SDK?**
>
> The steps specific to Quick Buy are [1.3 Create a Customer](#1-3-create-a-customer) and [1.4 Fetch Recommended Instruments](#1-4-fetch-recommended-instruments). All other steps follow the standard Custom UI SDK integration.
>
> If you use the React Native Standard SDK (`react-native-razorpay`), add `react-native-customui` alongside it. The Custom UI SDK powers the Quick Buy button. Your Standard Checkout continues to open when the customer taps **Change payment method**.
**1.1** [Install the SDK](#1-1-install-the-sdk).
**1.2** [Link the SDK](#1-2-link-the-sdk).
**1.3** [Create a Customer](#1-3-create-a-customer). New for Quick Buy.
**1.4** [Fetch Recommended Instruments](#1-4-fetch-recommended-instruments). New for Quick Buy.
**1.5** [Create an Order in Server](#1-5-create-an-order-in-server).
**1.6** [Import the Razorpay Module](#1-6-import-the-razorpay-module).
**1.7** [Submit Payment](#1-7-submit-payment).
**1.8** [Store Fields in Your Server](#1-8-store-fields-in-your-server).
**1.9** [Verify Payment Signature](#1-9-verify-payment-signature).
**1.10** [Verify Payment Status](#1-10-verify-payment-status).
## 1.1 Install the SDK
Install `react-native-customui` version 2.2.9 or later. Earlier versions do not support `getRecommendedInstruments()`.
```bash npm theme={null}
npm install --save react-native-customui
```
```bash yarn theme={null}
yarn add react-native-customui
```
```bash Expo theme={null}
npx expo install react-native-customui
```
## 1.2 Link the SDK
> [tab] iOS
>
> **Automatic linking**
>
> 1. Install the SDK:
> ```bash Terminal theme={null}
> npm install react-native-customui --save
> ```
>
> 2. Go to the `ios` folder and run `pod install`.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Make sure `Razorpay.framework` is added in the **Embedded Binaries** section and that **Always Embed Swift Standard Libraries** is set to **Yes** in **Build Settings**.
>
> **Manual linking with CocoaPods**
>
> 1. Add this line to your build targets in your `Podfile`:
> ```ruby Podfile theme={null}
> pod 'react-native-customui', :path => '../node_modules/react-native-customui'
> ```
> 2. Run `pod install`.
>
> **Manual linking without CocoaPods**
>
> 1. In Xcode, right-click **Libraries** โ **Add Files to \[your project's name]**. Go to `node_modules/react-native-customui` and add the `.xcodeproj` file.
> 2. Select your project in the navigator. Add `libRNDeviceInfo.a` from the `deviceinfo` project to **Build Phases** โ **Link Binary With Libraries**.
> 3. In **Build Settings**, select **All**. Under **Header Search Paths**, check that `$(SRCROOT)/../react-native/React` and `$(SRCROOT)/../../React` are present and set to `recursive`.
> 4. Run the project with **Cmd + R**.
>
> **Expo**
>
> After adding the package, prebuild the app to generate the native iOS folders:
>
> ```bash Terminal theme={null}
> npx expo prebuild
> npx expo run:ios --device
> ```
>
> **M1 Mac**
>
> If you build on an Apple Silicon (M1) Mac, add this inside `post_install do |installer|` in your `Podfile`:
>
> ```ruby Podfile theme={null}
> installer.pods_project.build_configurations.each do |config|
> config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
> end
> ```
> [tab] Android
>
> React Native autolinking links the Android module for `react-native-customui`. No manual steps are needed.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Do not link `react-native-customui` manually in `android/settings.gradle`, `android/app/build.gradle` or `MainApplication`. Manual linking conflicts with autolinking and fails the Gradle build. Know how to [fix this error](/docs/payments/payment-gateway/features/quickbuy/embedded/faqs#react-native-sdk) if you see it.
>
> **Expo**
>
> ```bash Terminal theme={null}
> npx expo prebuild
> npx expo run:android --device
> ```
## 1.3 Create a Customer
Create a customer on your server with the [Customers API](/docs/api/customers/create). You can do this asynchronously, for example when you collect the customer's details. Use the `customer_id` returned in the response to fetch recommended instruments in [step 1.4](#1-4-fetch-recommended-instruments).
```bash Request theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/customers \
-H "Content-Type: application/json" \
-d '{
"name": "Gaurav Kumar",
"contact": "9123456780",
"email": "gaurav.kumar@example.com",
"fail_existing": "0",
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Greyโฆ decaf."
}
}'
```
```json Response theme={null}
{
"id": "cust_1Aa00000000004",
"entity": "customer",
"name": "Gaurav Kumar",
"email": "gaurav.kumar@example.com",
"contact": "9123456780",
"gstin": null,
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
"notes_key_2": "Tea, Earl Greyโฆ decaf."
},
"created_at": 1234567890
}
```
## 1.4 Fetch Recommended Instruments
Initialise the SDK with `Razorpay.initRazorpay()`, then call `Razorpay.getRecommendedInstruments()` to get the customer's recommended payment instruments.
* The response contains up to 3 instruments, ranked by how likely the customer is to complete the payment. `items[0]` is the strongest recommendation.
* The SDK checks which UPI apps are installed on the device and returns only those.
* The response includes the logos you need to render the Quick Buy button.
* Pass the `order_id` so that all instrument types are eligible. Without an `order_id`, the response is limited to UPI intent apps and `amount` and `currency` become mandatory.
* Pass the customer's contact number in `customer.contact`. It is mandatory by default, although this depends on your account configuration. If it is required and missing, the call fails.
```javascript JavaScript theme={null}
import Razorpay from 'react-native-customui';
// Call early, for example when the checkout screen loads
Razorpay.initRazorpay('');
const options = {
order_id: 'order_xxxxxx', // recommended
customer_id: 'cust_xxxxxx', // from step 1.3
amount: 100, // mandatory if no order_id
currency: 'INR', // mandatory if no order_id
customer: {
contact: '+919123456780' // mandatory by default
}
};
Razorpay.getRecommendedInstruments(options).then(response => {
const items = response.get_recommended_instruments.items;
items.forEach(item => {
if (item.method === 'card') {
console.log(item.card.last4);
}
if (item.method === 'upi') {
console.log(item.upi.app);
console.log(item.upi.app_package);
console.log(item.upi.app_logo);
}
});
}).catch(error => {
// Fall back to Standard Checkout
});
```
> [!WARNING]
>
> **Watch Out!**
>
> * `initRazorpay()` does not return a promise. On Android, the SDK initialises on the UI thread, so calling `getRecommendedInstruments()` immediately after it can fail. Call `initRazorpay()` earlier in the flow, for example when the checkout screen loads, and fetch recommendations after it.
> * Always show a **Change payment method** option next to the Quick Buy button. It should open the full Razorpay Checkout, as per the [React Native Standard Checkout integration](/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-android). Take the customer straight to the full checkout rather than to an intermediate screen.
> * If the response has no instruments, or the call fails, show your regular checkout instead of the Quick Buy button.
#### Sample Response
```json Response theme={null}
{
"actions": ["get_recommended_instruments"],
"get_recommended_instruments": {
"entity": "collection",
"count": 3,
"items": [
{
"method": "card",
"token": "token_Hf7vKlM2NpQrSt",
"card": {
"last4": "4242",
"network": "Visa",
"issuer": "HDFC",
"type": "debit",
"sub_type": "consumer",
"international": false,
"network_logo_url": "https://cdn.razorpay.com/app/visa.svg",
"issuer_logo_url": "https://cdn.razorpay.com/app/hdfc.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "gpay",
"app_package": "com.google.android.apps.nbu.paisa.user",
"app_logo": "https://cdn.razorpay.com/app/gpay.svg"
}
},
{
"method": "upi",
"upi": {
"flow": "intent",
"app": "phonepe",
"app_package": "com.phonepe.app",
"app_logo": "https://cdn.razorpay.com/app/phonepe.svg"
}
}
]
}
}
```
#### Response Parameters
| Parameter | Type | Description | How to use it |
| - | - | - | - |
| `actions` | array | Always `get_recommended_instruments`. | Check that the response matches the action you called. |
| `get_recommended_instruments.entity` | string | Always `collection`. | Standard Razorpay collection identifier. |
| `get_recommended_instruments.count` | integer | Number of instruments in `items`. Maximum 3. | Check before you render the button. |
| `get_recommended_instruments.items` | array | Recommended instruments in order. Index 0 is the strongest recommendation. | Render the Quick Buy button from `items[0]`. |
| `items.method` | string | `card` or `upi`. | Decides which UI to render and which payment fields to send. |
| `token` | string | Razorpay token ID of the saved card. | Pass as `token` when you submit the payment. |
| `card.last4` | string | Last 4 digits of the card. For display only. | Render a masked label, such as **HDFC Debit โขโขโขโข4242**. Never pass it to payment APIs. |
| `card.network` | string | `Visa`, `MasterCard`, `RuPay`, `Amex` or `Diners`. | Show the network name. |
| `card.issuer` | string | 4-character issuer code. For example, `HDFC`, `ICIC` or `SBIN`. | Show the issuer name. |
| `card.type` | string | `credit`, `debit` or `prepaid`. | Show the card type on the button. |
| `card.sub_type` | string | `consumer`, `business` or `unknown`. | Optional. Use it if business cards need a different treatment. |
| `card.international` | boolean | `true` if the card is international. | Flag international cards if needed. |
| `card.network_logo_url` | string | CDN-hosted card network logo. | Use directly in an `Image` component. |
| `card.issuer_logo_url` | string | CDN-hosted issuing bank logo. | Use directly in an `Image` component. |
| `upi.flow` | string | Always `intent`. | Confirms the UPI flow. |
| `upi.app` | string | Short name of the UPI app. For example, `gpay`, `phonepe`, `paytm` or `bhim`. | Show on the button. |
| `upi.app_package` | string | Package name of the UPI app. For example, `com.google.android.apps.nbu.paisa.user`. | Pass as `upi_app_package_name` when you submit the payment. |
| `upi.app_logo` | string | CDN-hosted UPI app logo. | Show on the button. |
## 1.5 Create an Order in Server
Create an order on your server using the [Orders API](/docs/api/orders/create) when the customer taps the Quick Buy button, or earlier if you pass the `order_id` in [step 1.4](#1-4-fetch-recommended-instruments).
> [!WARNING]
>
> **Watch Out!**
>
> Create an order for every payment, server-side, using your API Key ID and secret. Payments made without an `order_id` cannot be captured and are automatically refunded.
```bash Request theme={null}
curl -X POST https://api.razorpay.com/v1/orders \
-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-H 'content-type:application/json' \
-d '{
"amount": 50000,
"currency": "INR",
"customer_id": "cust_1Aa00000000004",
"receipt": "rcptid_11",
"notes": {
"key1": "value3",
"key2": "value2"
}
}'
```
```json Response theme={null}
{
"id": "order_IluGWxBm9U8zJ8",
"entity": "order",
"amount": 50000,
"amount_paid": 0,
"amount_due": 50000,
"currency": "INR",
"receipt": "rcptid_11",
"status": "created",
"attempts": 0,
"notes": [],
"created_at": 1642662092
}
```
#### Request Parameters
`amount` *mandatory*
: `integer` Payment amount in the smallest currency sub-unit. For example, pass `50000` for โน500.
`currency` *mandatory*
: `string` The 3-letter ISO currency code. For example, `INR`.
`customer_id` *mandatory*
: `string` The customer ID returned in [step 1.3](#1-3-create-a-customer).
`receipt` *optional*
: `string` Your receipt number for the order. Maximum 40 characters.
`notes` *optional*
: `object` Key-value pairs for additional information. Maximum 15 pairs of 256 characters each.
`partial_payment` *optional*
: `boolean` Set to `true` to accept partial payments. Defaults to `false`.
`first_payment_min_amount` *optional*
: `integer` Minimum amount for the first partial payment. Use only when `partial_payment` is `true`.
## 1.6 Import the Razorpay Module
Import the Razorpay module into your React Native component:
```javascript JavaScript theme={null}
import Razorpay from 'react-native-customui';
```
## 1.7 Submit Payment
When the customer taps the Quick Buy button, call `Razorpay.open()` with the payment options for the recommended instrument. The method returns a promise:
* `then` handles a successful payment.
* `catch` handles a failed payment.
For a recommended UPI app, pass `method: 'upi'`, `_[flow]: 'intent'` and the app's package name in `upi_app_package_name`:
```javascript JavaScript theme={null}
Razorpay.open({
key_id: '',
amount: '50000',
currency: 'INR',
order_id: 'order_IluGWxBm9U8zJ8',
email: 'gaurav.kumar@example.com',
contact: '9123456780',
method: 'upi',
'_[flow]': 'intent',
upi_app_package_name: 'com.google.android.apps.nbu.paisa.user'
}).then((data) => {
// Send data.razorpay_payment_id, data.razorpay_order_id and
// data.razorpay_signature to your server for verification (step 1.9)
}).catch((error) => {
// Handle the failure: error.code, error.description
});
```
For other payment methods, use the same payloads as your existing [React Native Custom UI integration](/docs/payments/payment-gateway/react-native-integration/custom/build-integration).
#### Checkout Parameters
`order_id` *mandatory*
: `string` The order ID created in [step 1.5](#1-5-create-an-order-in-server).
`description` *optional*
: `string` Description of the purchase. Must start with an alphanumeric character.
`image` *optional*
: `string` URL or base64 string of your business logo.
`notes` *optional*
: `object` Key-value pairs for additional information. Maximum 15 pairs of 256 characters each.
`callback_url` *optional*
: `string` URL to redirect the customer to after payment. It must accept POST requests. On success, it receives `razorpay_payment_id`, `razorpay_order_id` and `razorpay_signature`.
`redirect` *conditional*
: `boolean` Mandatory if you pass `callback_url`. Set to `true` to redirect the customer to `callback_url` or `false` to keep them in the app.
## 1.8 Store Fields in Your Server
A successful payment returns these fields. Store them on your server and verify the signature in the next step.
```json Success Response theme={null}
{
"razorpay_payment_id": "pay_29QQoUBi66xm2f",
"razorpay_order_id": "order_9A33XWu170gUtm",
"razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
}
```
`razorpay_payment_id`
: `string` Unique identifier of the payment. Returned only for successful payments.
`razorpay_order_id`
: `string` Unique identifier of the order.
`razorpay_signature`
: `string` Signature used to verify that the payment is authentic.
## 1.9 Verify Payment Signature
Verify the signature on your server to confirm the payment is authentic. This step is mandatory. Never verify the signature in the app.
1. Use the `order_id` stored on your server. Do not use the `razorpay_order_id` returned to the app.
2. Create an HMAC-SHA256 hex digest of `order_id + "|" + razorpay_payment_id` using your API key secret.
3. If the digest matches `razorpay_signature`, the payment is authentic.
```text Pseudocode theme={null}
generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
if (generated_signature == razorpay_signature) {
// payment is authentic
}
```
```java Java (server-side) theme={null}
RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
String secret = "[YOUR_KEY_SECRET]";
JSONObject options = new JSONObject();
options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
boolean status = Utils.verifyPaymentSignature(options, secret);
```
## 1.10 Verify Payment Status
Confirm that the payment status is `captured`. You can track it in 3 ways:
* **Dashboard**: Log in to the Dashboard and go to **Transactions** โ **Payments**. A successful payment has a payment ID and the status **Captured**.
* **Webhooks**: Subscribe to [payment webhook events](/docs/webhooks/payments) for real-time updates.
* **API**: Poll the [Fetch a Payment API](/docs/api/payments/fetch-with-id) with the `razorpay_payment_id`.
> [!NOTE]
>
> **Handy Tips**
>
> Use [Payment Capture Settings](/docs/payments/payments/capture-settings) to capture payments automatically.
## Next Steps
* [Test your integration](/docs/payments/payment-gateway/react-native-integration/custom/test-integration) in Test Mode.
* Set up webhooks for real-time payment events.
* Replace your test API keys with live keys when you are ready to go live.
## Related Information
* [Embedded Quick Buy](/docs/payments/payment-gateway/features/quickbuy/embedded)
* [Embedded Quick Buy FAQs](/docs/payments/payment-gateway/features/quickbuy/embedded/faqs)
* [React Native Custom UI SDK Integration](/docs/payments/payment-gateway/react-native-integration/custom/build-integration)
# Razorpay Trusted Business Badge
Source: https://razorpay.com/docs/payments/payment-gateway/features/trusted-business
Check the eligibility for the Razorpay Trusted Business badge and how to add it to your Checkout and website.
Available in
๐ฎ๐ณ India
Customers prefer to purchase from websites that are trustworthy and credible. For most startups and new online businesses, the credibility factor poses a challenge and often hinders business growth. To help you overcome this issue, Razorpay offers the Trusted Business badge program.
The Razorpay Trusted Business badge program enables you to build credibility as a trusted merchant. By becoming a Razorpay Trusted Business, you can display the Trusted Badge on your Razorpay Checkout page. This reassures your customers (who otherwise might have dropped off due to lack of trust) that they can safely transact with your brand without any worries.
### Advantages
* **Automatic Activation**: You do not need to apply for the program explicitly. Once you qualify for the program, the badge will automatically start appearing on your Razorpay Checkout page.
* **Reduce Customer drop-offs**: Businesses see up to a 5% increase in conversion and retention.
* **Reduce dependency on COD**: Get more customers to pay online as they trust your business is genuine.
* **Stand out from the rest**: Differentiate yourself from the competition.
## Eligibility Requirements for Razorpay Trusted Business Badge
Razorpay's proprietary algorithm considers several factors to determine which businesses are eligible for the Trusted Business badge program. Below are some of the key requirements:
* You should have completed your KYC verification.
* You should have a very low number of disputes. Know more about [disputes](/docs/payments/disputes).
* You should have spent a reasonable amount of time accepting payments via Razorpay.
* You must clear all Razorpay risk checks and other proprietary checks.
> [!WARNING]
>
> **Watch Out!**
>
> This feature is available for Standard Checkout integrations only.
## How to Earn Razorpay Trusted Business Badge
You do not need to apply for the badge. The badge will automatically be made Live on your Razorpay Checkout page if you are eligible. Please note that we are rolling out the program gradually. If waitlisted for the program, please wait for a few weeks.
## How Razorpay Trusted Business Badge Works
Given below is the workflow:
1. If you are eligible for the program, your Razorpay checkout page will automatically display the Razorpay Trusted Business badge, making you a Razorpay Trusted Business.
2. When customers arrive on your checkout page and see the Razorpay Trusted Business badge, they are reassured that they can safely transact from your brand. This boosts conversions.
3. The customer completes the payment as usual.
## Opt-out of Razorpay Trusted Business Badge Program
Follow these steps to opt-out of the Razorpay Trusted Business badge program:
1. Log in to the Dashboard.
2. Navigate to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings**.
3. Turn off **Razorpay trusted badge**.
4. Click **Save all changes**.
## Frequently Asked Questions (FAQs)
> [accordion] How do I qualify for the Razorpay Trusted Business badge?
>
> To qualify for the Razorpay Trusted Business badge, you will have to maintain an excellent record of solving customer escalations proactively, timely address any disputes for your customers whenever possible, and consistently accept payments via Razorpay.
> [accordion] What are the benefits of the Razorpay Trusted Business badge?
>
> Your customers will see the badge on your payment page and be assured that they may safely transact with your brand without any worries. This will help improve conversion, reduce the volume of COD orders and boost online payments.
> [accordion] Do I need to pay for the badge?
>
> Displaying the badge on your Razorpay payment checkout page is completely free of cost.
> [accordion] How do I get the Razorpay Trusted Business badge enabled for my account?
>
> Razorpay Trusted Business badge will be enabled by default and start appearing automatically for all eligible merchants. No manual effort or integration is required. Know more about the [eligibility requirements for Razorpay Trusted Business badge](/docs/payments/payment-gateway/features/trusted-business#eligibility-requirements-for-razorpay-trusted-business-badge).
> [accordion] Where will the Razorpay Trusted Business badge be displayed?
>
> The badge will be displayed on your Razorpay Checkout page. The badge will soon be available as a widget to add to your website/app.
> [accordion] Where can I find the Razorpay Trusted Business badge on the Dashboard?
>
> To find the Trusted Badge, navigate to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings**. You can find the **Razorpay trusted badge** toggle.
> [accordion] How can I disable the badge?
>
> You can opt-out from the Dashboard by navigating to **Accounts & Settings** โ **Checkout Styling** under **Checkout settings**. Turn off **Razorpay trusted badge**.
# How Payment Gateway Works
Source: https://razorpay.com/docs/payments/payment-gateway/how-it-works
Understand the Razorpay Payment Gateway flow and how it works.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
A Payment Gateway focuses on securing the sensitive information given by the user throughout the process. It ensures security by encrypting data like card and bank details provided by the user.
## Payment Gateway Workflow
Given below is a complete end-to-end flow about how you can use Razorpay Payment Gateway.

> [accordion] Customer Places an Order
>
> A customer visits your website or app, selects items they want to purchase and clicks the pay button to place an order. For each order placed by your customer, you create a `transaction_id` or `checkout_id` on your server for your reference. For example, `#trn-345`.
> [accordion] Create Order from Server
>
> For each order placed by your customer, use the [Razorpay Orders API](/docs/api/orders) to create an order from your server.
> [accordion] Order ID Returned
>
> Razorpay processes the details sent and returns an `order_id` to you, for example, `order_EKwxwAgItmmXdp`. Map this `order_id` to the transaction\_id `#trn-345` you created in the first step. Know more about [order states](/docs/payments/orders#order-states).
> [accordion] Pass Order ID to Checkout
>
> Pass the `order_id` returned by Razorpay to your integration. This invokes the Razorpay Checkout, the client-side UI, which displays various payment methods.
> [accordion] Collect Payment Details
>
> The customer selects a payment option to complete the payment. The payment details entered by the customer are secured and stored by Razorpay as tokens. The generated tokens are exchanged with your servers for further use.
> [accordion] Bank Authenticates the Payment
>
> Razorpay sends an authentication request to the customer's bank internally. After authentication, Razorpay is authorised to deduct the amount from the customer's bank account.
>
> For successful payments, the Checkout returns the `razorpay_order_id`, `razorpay_payment_id` and `razorpay_signature`.
>
> Know more about [payment states](/docs/payments/payments#payment-life-cycle).
### Payment Capture and Settlement
Once your customer completes the payment and Razorpay authenticates it, you must capture it automatically or manually. You can also verify the payment signature to ensure that the payment is received from an authentic source. Know more about [payment capture settings](/docs/payments/payments/capture-settings).
After the payment is successfully captured, the amount is settled in your account according to your settlement cycle. Know more about [settlements](/docs/payments/settlements).
### Refunds
Customers may claim [refunds](/docs/payments/refunds) after the transaction. In such cases, you can initiate a refund, post which the funds are sent back to the customer's account.
## Test Cards
Use the [test cards](/docs/payments/payments/test-card-details) to test domestic payments, international payments and subscriptions.
### Test Razorpay Checkout
Test the Checkout by clicking the **PAY WITH RAZORPAY** button.
* This initiates a โน1 payment.
* Provide your phone number, email address, select your preferred payment method and complete the payment.
> [!NOTE]
>
> An interactive demo is available on the [Razorpay website](https://razorpay.com/).
> [!WARNING]
>
> **Live Transaction with Auto Refund**
>
> This is a real transaction and money will be deducted from your account. However, the amount debited will be auto-refunded to your account in 5-7 working days.
## Next Step
[Get started with Razorpay Payment Gateway integration.](/docs/payments/payment-gateway)
### Related Information
* [Payment Gateway](/docs/payments/payment-gateway)
* [Payment Methods](/docs/payments/payment-methods)
* [Features](/docs/payments/payment-gateway/features)
* [Set up your Razorpay account](/docs/payments/set-up#set-up-account)
* [List of required KYC documents](/docs/payments/business-types-kyc-documents)
# Web Standard Checkout Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/web-integration/standard
Check the prerequisites before you integrate with Razorpay Web Standard Checkout.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/web-integration/standard/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about Web Standard Checkout Integration.
You can start accepting payments from customers on your website using the Razorpay Web Standard Checkout. Razorpay has developed the Standard Checkout method and manages it. You can configure payment methods, orders, company logo and also select custom colour based on your convenience.

> [!WARNING]
>
> **Watch Out!**
>
> Razorpay Checkout is not supported on the Internet Explorer browser.
> [card] [Razorpay Payment Gateway Features](/docs/payments/payment-gateway/features)
>
> Check the list of features Razorpay offers to help you build a world-class payment experience.
[Video Tutorial](https://www.youtube.com/embed/SFHbcs-lSio?si=qrZq55QDP1N7nj8t)
Video Tutorial
Watch this video to know how to integrate Razorpay Web Standard Checkout on your HTML and JS-based website.
## Client Libraries
The client SDK libraries are available on GitHub. You can use the API keys generated above to try out the API sample codes:
> [card] .Net
>
> * [Integrate](/docs/payments/server-integration/dot-net)
> * [GitHub Repo](https://github.com/razorpay/razorpay-dot-net)
> [card] Java
>
> * [Integrate](/docs/payments/server-integration/java)
> * [GitHub Repo](https://github.com/razorpay/razorpay-java)
> [card] Node.JS
>
> * [Integrate](/docs/payments/server-integration/nodejs)
> * [GitHub Repo](https://github.com/razorpay/razorpay-node)
> [card] PHP
>
> * [Integrate](/docs/payments/server-integration/php)
> * [GitHub Repo](https://github.com/razorpay/razorpay-php)
> [card] Python
>
> * [Integrate](/docs/payments/server-integration/python)
> * [GitHub Repo](https://github.com/razorpay/razorpay-python)
> [card] Ruby
>
> * [Integrate](/docs/payments/server-integration/ruby)
> * [GitHub Repo](https://github.com/razorpay/razorpay-ruby)
> [card] Go
>
> * [Integrate](/docs/payments/server-integration/go)
> * [GitHub Repo](https://github.com/razorpay/razorpay-go)
## Integration Steps
**Before you proceed:**
Create a [Razorpay account](https://dashboard.razorpay.com/signup).
Generate the [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
Know about the [Payment Flow](/docs/payments/payment-gateway/how-it-works).
Follow these integration steps:
> [card] [1. Build Integration](/docs/payments/payment-gateway/web-integration/standard/integration-steps#1-build-integration)
>
> Integrate Web Standard Checkout.
> [card] [2. Test Integration](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/web-integration/standard/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
> [!NOTE]
>
> **Other Solutions**
>
> * If you use WordPress, Magento, WooCommerce, Shopify and other **ecommerce platforms** for your platform, use our [ecommerce plugins](/docs/payments/payment-gateway/ecommerce-plugins).
>
> * You can use [Razorpay Custom Checkout](/docs/payments/payment-gateway/web-integration/custom) to gain control over the checkout experience. Custom Checkout integration is more complex than Standard Checkout integration and you will require a development team on your end to complete the integration.
>
> * Need a **Pay** button without doing any integration? Use [Razorpay Payment Button](/docs/payments/payment-button).
### Related Information
* [Troubleshooting and FAQs](/docs/payments/payment-gateway/web-integration/standard/troubleshooting-faqs)
* [Bank Downtime](/docs/payments/payments/downtime-updates)
# About Payment Methods Configuration
Source: https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods
Configure the payment methods of your choice at Razorpay Checkout.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
You can configure the payment methods of your choice on the Razorpay Checkout to provide a highly personalised experience for your customers. This provides a simple and accessible experience to your customers increasing your sales and your success rates.
> [card] Original Checkout
> [card] Customised Checkout
## Use Cases
Depending on the use cases that you might have, Razorpay allows you to create any configuration of the payment methods, of your choice:
* **Highlighting certain payment instruments on the Checkout.** For example, **Google Pay** could be displayed outside the UPI block as a separate payment method. **HDFC Netbanking** could come out of the Netbanking container as a different payment method.
* **Restricting the kind of network, issuer, BIN and card type, different card properties, to accept payments.** For example, you can choose to accept payments only from **HDFC Visa Debit cards** on the Checkout.
* **Removing a certain payment method or instrument.** For example, any wallet can be removed as a payment instrument from wallets. The entire **Netbanking** block or a certain bank in Netbanking can be removed from the Checkout.
* **Reordering of payment methods on the Checkout.** You can choose to arrange **UPI** as the first section instead of **Cards** on the Checkout. You can again order the PSPs within the UPI block according to your need.
* **Grouping of payment instruments.** For example, you can choose to group **Netbanking** and **UPI** payment methods of a bank as a block that will be labelled as **Pay via Bank** on the Checkout.
## Configuring Payment Methods
To control payment methods on the Checkout, there are different ways to pass the configuration to the Checkout:
* **Configure via Dashboard**: Choose the payment methods and instruments you want to display at checkout, arrange them in your preferred order, and tailor the checkout experience to match your business needs. Create custom payment blocks for specific customer segments on the Razorpay Dashboard. Know more about [Payment Configuration](/docs/payments/dashboard/account-settings/payment-configuration).
* **Pass Configuration at Runtime**: Pass the configuration to the `options` parameter of the Checkout code at the 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](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/sample-code) for details.
* **Use a Configuration ID**: 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 control the checkout configurations dynamically using different **Configuration IDs**. You can create a **Configuration ID** through the [Dashboard](/docs/payments/dashboard/account-settings/payment-configuration). There are two ways to pass the Configuration ID:
* While creating the order: Add the `checkout_config_id` field in the order creation request.
* While opening the checkout: Include the `checkout_config_id` in the checkout options.
```json Pass config id theme={null}
"checkout_config_id": "YourConfigIDHere"
```
## Next Steps
[Understand the Configuration](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/understand-configuration)
### Related Information
* [Customise Checkout Appearance](/docs/payments/dashboard/account-settings/checkout-styling)
* [Customise Checkout Experience](/docs/payments/dashboard/account-settings/checkout-features)
* [Customise Payment Methods on Checkout](/docs/payments/dashboard/account-settings/payment-configuration)
* [Supported Methods](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods)
* [Sample Codes](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/sample-code)
# Display the Configuration
Source: https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/display-configuration
Display the configured payment methods on Razorpay Checkout.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
The `display` configuration can be passed in the Checkout options.
You can use the `display` configuration to put together all the modules, that is, `blocks`, `sequence`, `preferences`, and `hide` instruments as shown below:
```javascript display configuration theme={null}
let config = {
display: {
blocks: {
code: {
name: "The name of the block", // The title of the block
instruments: [instrument, instrument] // The list of instruments
},
anotherCode: {
name: "Another block",
instruments: [instrument]
}
},
hide: [
{
method: "method"
}
],
sequence: ["block.code"], // The sequence in which blocks and methods should be shown
preferences: {
show_default_blocks: true // Should Checkout show its default blocks?
}
}
};
```
```javascript JavaScript Checkout options theme={null}
// beginning of the Checkout code
.....
let options = {
key: "[YOUR_KEY_ID]",
amount: 60000,
currency: "INR",
config: {
display: {
// The display config
}
}
};
let razorpay = new Razorpay(options);
razorpay.open();
....
//rest of the Checkout code
```
## Checkout options
Descriptions for the checkout options parameters are present in the [Checkout Options](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-3-checkout-options) table.
## Orders API Sample Code
Given below is the sample code:
```bash Curl theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
-X POST https://api.razorpay.com/v1/orders
-H "content-type: application/json"
-d '{
"amount": 50000,
"currency": "INR",
"receipt": "receipt#1",
"checkout_config_id": "config_Ep0eOCwdSfgkco"
}'
```
```python Python theme={null}
import razorpay
client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
client.order.create({
"amount": 50000,
"currency": "INR",
"receipt": "receipt#1",
"checkout_config_id": "config_Ep0eOCwdSfgkco"
})
```
```php PHP theme={null}
$api = new Api($key_id, $secret);
$api->order->create(array('receipt' => 'receipt#1', 'amount' => 50000, 'currency' => 'INR', 'checkout_config_id' => 'config_Ep0eOCwdSfgkco'));
```
```csharp .NET theme={null}
RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
Dictionary options = new Dictionary();
options.Add("amount", 50000); // amount in the smallest currency unit
options.Add("receipt", "receipt#1");
options.Add("currency", "INR");
options.Add("checkout_config_id", "config_Ep0eOCwdSfgkco");
Order order = client.Order.Create(options);
```
```javascript Node.js theme={null}
var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
instance.orders.create({
amount: 50000,
currency: "INR",
receipt: "receipt#1",
checkout_config_id: "config_Ep0eOCwdSfgkco"
})
```
```go Go theme={null}
import ( razorpay "github.com/razorpay/razorpay-go" )
client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
data := map[string]interface{}{
"amount": 50000,
"currency": "INR",
"receipt": "receipt#1",
"checkout_config_id": "config_Ep0eOCwdSfgkco"
}
body, err := client.Order.Create(data, nil)
```
```ruby Ruby theme={null}
require "razorpay"
Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
order = Razorpay::Order.create amount: 50000, currency: 'INR', receipt: 'receipt#1', checkout_config_id: 'config_Ep0eOCwdSfgkco'
```
```java Java theme={null}
RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
JSONObject orderRequest = new JSONObject();
orderRequest.put("amount", 50000); // amount in the smallest currency unit
orderRequest.put("currency", "INR");
orderRequest.put("receipt", "receipt#1");
orderRequest.put("checkout_config_id", "config_Ep0eOCwdSfgkco");
Order order = razorpay.orders.create(orderRequest);
```
```json Response theme={null}
{
"id": "order_EKwxwAgItmmXdp",
"entity": "order",
"amount": 50000,
"amount_paid": 0,
"amount_due": 50000,
"currency": "INR",
"receipt": "receipt#1",
"offer_id": null,
"status": "created",
"attempts": 0,
"notes": [],
"created_at": 1582628071
}
```
Know more about [Orders API](/docs/api/orders).
#### Request Parameters
Descriptions for the request parameters are present in the [Create an Order Request Parameters](/docs/api/orders/create) table.
#### Response Parameters
Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
### Related Information
* [Supported Methods](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods)
* [Sample Codes](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/sample-code)
# Sample Codes
Source: https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/sample-code
Sample codes to help you integrate the payment methods of your choice on Razorpay Checkout.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
If you want to list all the payment methods offered by `Axis` bank, allow card payments for `ICICI` bank only and hide `upi` payment method from the Checkout, you can do so as follows:
> [tab] Mobile
>
> 
> [tab] Desktop
>
> 
```html Checkout Code theme={null}
```
> [!WARNING]
>
> **Watch Out!**
>
> You can use the payment methods enabled for your account on the Dashboard. Also, you can raise a request with our [Support Team](https://razorpay.com/support/) for additional payment methods or providers.
> [!WARNING]
>
> **UPI Collect Flow Deprecated**
>
> According to NPCI guidelines, the UPI Collect flow is being deprecated effective 28 February 2026. Customers can no longer make payments or register UPI mandates by manually entering VPA/UPI id/mobile numbers.
>
> **Exemptions:** UPI Collect will continue to be supported for:
>
> * MCC 6012 & 6211 (IPO and secondary market transactions).
> * iOS mobile app and mobile web transactions.
> * UPI Mandates (execute/modify/revoke operations only)
> * eRupi vouchers.
> * PACB businesses (cross-border/international payments).
>
> **Action Required:**
>
> * If you are a new Razorpay user, use [UPI Intent](/docs/payments/payment-methods/upi/upi-intent).
> * If you are an existing Razorpay user not covered by exemptions, you must migrate to UPI Intent or UPI QR code to continue accepting UPI payments. For detailed migration steps, refer to the [migration documentation](/docs/announcements/upi-collect-migration/standard-integration).
## Show OlaMoney
Use the code given below to show OlaMoney on Checkout:
```javascript Ola Money theme={null}
config: {
display: {
blocks: {
banks: {
name: 'Methods With Offers',
instruments: [
{
method: 'wallet',
wallets: ['olamoney']
}]
},
},
sequence: ['block.banks'],
preferences: {
show_default_blocks: true,
},
},
},
};
```
> [tab] Mobile
>
> 
> [tab] Desktop
>
> 
## Show Most Used Methods
Use the code given below to show the most used methods:
```javascript Most Used Methods theme={null}
config: {
display: {
blocks: {
banks: {
name: 'Most Used Methods',
instruments: [
{
method: 'wallet',
wallets: ['payzapp']
},
{
method: 'upi'
},
],
},
},
sequence: ['block.banks'],
preferences: {
show_default_blocks: true,
},
},
},
};
```
> [tab] Mobile
>
> 
> [tab] Desktop
>
> 
## Show Instruments of a Certain Bank Only
Use the code given below to show the instruments of a certain bank only on Checkout:
```javascript Instruments of Axis Bank Only theme={null}
config: {
display: {
blocks: {
banks: {
name: 'Pay Using Axis Bank',
instruments: [
{
method: 'netbanking',
banks: ['UTIB'],
},
{
method: 'card',
issuers: ['UTIB'],
}
],
},
},
sequence: ['block.banks'],
preferences: {
show_default_blocks: false,
},
},
},
};
```
> [!WARNING]
>
> **Watch Out!**
>
> This configuration is not applicable for [Recurring Payments](/docs/payments/recurring-payments).
> [tab] Mobile
>
> 
> [tab] Desktop
>
> 
## Highlight Instruments of a Certain Bank
Use the code given below to highlight the instruments of a certain bank only on Checkout:
```javascript Highlight Instruments of Axis Bank theme={null}
config: {
display: {
blocks: {
banks: {
name: 'Pay Using Axis Bank',
instruments: [
{
method: 'netbanking',
banks: ['UTIB'],
},
{
method: 'card',
issuers: ['UTIB'],
}
],
},
},
sequence: ['block.banks'],
preferences: {
show_default_blocks: true,
},
},
},
};
```
> [tab] Mobile
>
> 
> [tab] Desktop
>
> 
## Reorder Payment Methods
Use the code given below to reorder payment methods on Checkout:
```javascript Reorder Payment Methods theme={null}
config: {
display: {
blocks: {
banks: {
name: 'All Payment Options',
instruments: [
{
method: 'upi'
},
{
method: 'card'
},
{
method: 'wallet'
},
{
method: 'netbanking'
}
],
},
},
sequence: ['block.banks'],
preferences: {
show_default_blocks: false,
},
},
},
};
```

## Remove a Method from Checkout
Use the code given below to remove a method from Checkout:
```javascript EMI Removed from Checkout theme={null}
config: {
display: {
hide: [
{
method: 'emi'
}
],
preferences: {
show_default_blocks: true,
},
},
},
};
```
> [tab] Mobile
>
> 
> [tab] Desktop
>
> 
## Show Only a Certain Payment Method on Checkout
Use the code given below to show only a certain payment method on Checkout:
### Card
```javascript Land on Card theme={null}
config: {
display: {
blocks: {
cards_only: {
name: "Pay via Card",
instruments: [
{
method: "card",
},
],
},
},
sequence: ["block.cards_only"],
preferences: {
show_default_blocks: false,
},
},
},
};
```

### UPI
```javascript Land on UPI theme={null}
config: {
display: {
blocks: {
banks: {
name: 'Pay via UPI',
instruments: [
{
method: 'upi'
}
],
},
},
sequence: ['block.banks'],
preferences: {
show_default_blocks: false,
},
},
},
};
```

### EMI
```javascript Land on EMI theme={null}
config: {
display: {
blocks: {
banks: {
name: "Pay Using HDFC Bank",
instruments: [
{
method: "emi",
issuers: ["HDFC"],
types: ["debit"],
iins: [438628]
},
]
},
},
sequence: ["block.banks"],
preferences: {
show_default_blocks: false
}
}
}
```

### Related Information
* [Supported Methods](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods)
* [Configurability of Payment Methods](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods)
# Supported Methods
Source: https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods
List of supported payment methods and instruments.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
All the supported payment methods and instruments are listed below:
## Supported Banks
| **Bank Name** | **Code** |
| - | - |
| AU Small Finance Bank | `AUBL` |
| Aditya Birla Idea Payments Bank | `ABPB` |
| Airtel Payments Bank | `AIRP` |
| Allahabad Bank | `ALLA` |
| Andhra Bank | `ANDB` |
| Andhra Bank Corporate Banking | `ANDB_C` |
| Axis Bank | `UTIB` |
| Bandhan Bank | `BDBL` |
| Bank of Bahrain and Kuwait | `BBKM` |
| Bank of Baroda Retail Banking | `BARB_R` |
| Bank of India | `BKID` |
| Bank of Maharashtra | `MAHB` |
| Bassein Catholic Co-operative Bank | `BACB` |
| Canara Bank | `CNRB` |
| Catholic Syrian Bank | `CSBK` |
| Central Bank of India | `CBIN` |
| City Union Bank | `CIUB` |
| Corporation Bank | `CORP` |
| Cosmos Co-operative Bank | `COSB` |
| DCB Bank | `DCBL` |
| Dena Bank | `BKDN` |
| Deutsche Bank | `DEUT` |
| Development Bank of Singapore | `DBSS` |
| Dhanlaxmi Bank | `DLXB` |
| Dhanlaxmi Bank Corporate Banking | `DLXB_C` |
| ESAF Small Finance Bank | `ESAF` |
| Equitas Small Finance Bank | `ESFB` |
| Federal Bank | `FDRL` |
| HDFC Bank | `HDFC` |
| ICICI Bank | `ICIC` |
| IDBI | `IBKL` |
| IDBI Corporate Banking | `IBKL_C` |
| IDFC FIRST Bank | `IDFB` |
| Indian Bank | `IDIB` |
| Indian Overseas Bank | `IOBA` |
| Indusind Bank | `INDB` |
| Jammu and Kashmir Bank | `JAKA` |
| Janata Sahakari Bank (Pune) | `JSBP` |
| Kalupur Commercial Co-operative Bank | `KCCB` |
| Kalyan Janata Sahakari Bank | `KJSB` |
| Karnataka Bank | `KARB` |
| Karur Vysya Bank | `KVBL` |
| Kotak Mahindra Bank | `KKBK` |
| Lakshmi Vilas Bank Corporate Banking | `LAVB_C` |
| Lakshmi Vilas Bank Retail Banking | `LAVB_R` |
| Mehsana Urban Co-operative Bank | `MSNU` |
| NKGSB Co-operative Bank | `NKGS` |
| North East Small Finance Bank | `NESF` |
| PNB (Erstwhile-Oriental Bank of Commerce) | `ORBC` |
| PNB (Erstwhile-United Bank of India) | `UTBI` |
| Punjab & Sind Bank | `PSIB` |
| Punjab National Bank Retail Banking | `PUNB_R` |
| RBL Bank | `RATN` |
| RBL Bank Corporate Banking | `RATN_C` |
| Saraswat Co-operative Bank | `SRCB` |
| Shamrao Vithal Bank Corporate Banking | `SVCB_C` |
| Shamrao Vithal Co-operative Bank | `SVCB` |
| South Indian Bank | `SIBL` |
| Standard Chartered Bank | `SCBL` |
| State Bank of Bikaner and Jaipur | `SBBJ` |
| State Bank of Hyderabad | `SBHY` |
| State Bank of India | `SBIN` |
| State Bank of Mysore | `SBMY` |
| State Bank of Patiala | `STBP` |
| State Bank of Travancore | `SBTR` |
| Suryoday Small Finance Bank | `SURY` |
| Syndicate Bank | `SYNB` |
| Tamilnadu Mercantile Bank | `TMBL` |
| Tamilnadu State Apex Co-operative Bank | `TNSC` |
| Thane Bharat Sahakari Bank | `TBSB` |
| Thane Janata Sahakari Bank | `TJSB` |
| UCO Bank | `UCBA` |
| Union Bank of India | `UBIN` |
| Varachha Co-operative Bank | `VARA` |
| Vijaya Bank | `VIJB` |
| Yes Bank | `YESB` |
| Yes Bank Corporate Banking | `YESB_C` |
| Zoroastrian Co-operative Bank | `ZCBL` |
## Supported Cards
Any card issued by the following banks:
| **Bank Name** | **Code** |
| - | - |
| AU Small Finance Bank | `AUBL` |
| Aditya Birla Idea Payments Bank | `ABPB` |
| Airtel Payments Bank | `AIRP` |
| Allahabad Bank | `ALLA` |
| Andhra Bank | `ANDB` |
| Andhra Bank Corporate Banking | `ANDB_C` |
| Axis Bank | `UTIB` |
| Bandhan Bank | `BDBL` |
| Bank of Bahrein and Kuwait | `BBKM` |
| Bank of Baroda Retail Banking | `BARB_R` |
| Bank of India | `BKID` |
| Bank of Maharashtra | `MAHB` |
| Bassein Catholic Co-operative Bank | `BACB` |
| Canara Bank | `CNRB` |
| Catholic Syrian Bank | `CSBK` |
| Central Bank of India | `CBIN` |
| City Union Bank | `CIUB` |
| Corporation Bank | `CORP` |
| Cosmos Co-operative Bank | `COSB` |
| DCB Bank | `DCBL` |
| Dena Bank | `BKDN` |
| Deutsche Bank | `DEUT` |
| Development Bank of Singapore | `DBSS` |
| Dhanlaxmi Bank | `DLXB` |
| Dhanlaxmi Bank Corporate Banking | `DLXB_C` |
| ESAF Small Finance Bank | `ESAF` |
| Equitas Small Finance Bank | `ESFB` |
| Federal Bank | `FDRL` |
| HDFC Bank | `HDFC` |
| ICICI Bank | `ICIC` |
| IDBI | `IBKL` |
| IDBI Corporate Banking | `IBKL_C` |
| IDFC FIRST Bank | `IDFB` |
| Indian Bank | `IDIB` |
| Indian Overseas Bank | `IOBA` |
| Indusind Bank | `INDB` |
| Jammu and Kashmir Bank | `JAKA` |
| Janata Sahakari Bank (Pune) | `JSBP` |
| Kalupur Commercial Co-operative Bank | `KCCB` |
| Kalyan Janata Sahakari Bank | `KJSB` |
| Karnataka Bank | `KARB` |
| Karur Vysya Bank | `KVBL` |
| Kotak Mahindra Bank | `KKBK` |
| Lakshmi Vilas Bank Corporate Banking | `LAVB_C` |
| Lakshmi Vilas Bank Retail Banking | `LAVB_R` |
| Mehsana Urban Co-operative Bank | `MSNU` |
| NKGSB Co-operative Bank | `NKGS` |
| North East Small Finance Bank | `NESF` |
| PNB (Erstwhile-Oriental Bank of Commerce) | `ORBC` |
| PNB (Erstwhile-United Bank of India) | `UTBI` |
| Punjab & Sind Bank | `PSIB` |
| Punjab National Bank Retail Banking | `PUNB_R` |
| RBL Bank | `RATN` |
| RBL Bank Corporate Banking | `RATN_C` |
| Saraswat Co-operative Bank | `SRCB` |
| Shamrao Vithal Bank Corporate Banking | `SVCB_C` |
| Shamrao Vithal Co-operative Bank | `SVCB` |
| South Indian Bank | `SIBL` |
| Standard Chartered Bank | `SCBL` |
| State Bank of Bikaner and Jaipur | `SBBJ` |
| State Bank of Hyderabad | `SBHY` |
| State Bank of India | `SBIN` |
| State Bank of Mysore | `SBMY` |
| State Bank of Patiala | `STBP` |
| State Bank of Travancore | `SBTR` |
| Suryoday Small Finance Bank | `SURY` |
| Syndicate Bank | `SYNB` |
| Tamilnadu Mercantile Bank | `TMBL` |
| Tamilnadu State Apex Co-operative Bank | `TNSC` |
| Thane Bharat Sahakari Bank | `TBSB` |
| Thane Janata Sahakari Bank | `TJSB` |
| UCO Bank | `UCBA` |
| Union Bank of India | `UBIN` |
| Varachha Co-operative Bank | `VARA` |
| Vijaya Bank | `VIJB` |
| Yes Bank | `YESB` |
| Yes Bank Corporate Banking | `YESB_C` |
| Zoroastrian Co-operative Bank | `ZCBL` |
### Supported Card Types
* `credit` for credit cards
* `debit` for debit cards
### Supported Card Networks
| **Card Network Name** | **Code** |
| - | - |
| American Express | `American Express` |
| Diners Club (Only available for private limited and registered businesses) | `Diners Club` |
| Maestro | `Maestro` |
| MasterCard | `MasterCard` |
| RuPay | `RuPay` |
| Visa | `Visa` |
| Bajaj Finserv | `Bajaj Finserv` |
## Supported Debit Card EMI Providers
| Bank Code | Issuer Bank |
| - | - |
| HDFC | HDFC Bank |
> [!NOTE]
>
> **Handy Tips**
>
> Know the standard debit card interest rates charged by the [banks](/docs/payments/payment-gateway/emiยฒ/faqs#5-can-you-provide-a-list-of-the).
## Supported Credit Card EMI Providers
| Bank Code | Issuer Bank |
| - | - |
| AMEX | American Express |
| BARB | Bank of Baroda |
| CITI | Citibank |
| FDRL | Federal Bank |
| HDFC | HDFC Bank |
| HSBC | HSBC Bank |
| ICIC | ICICI Bank |
| INDB | IndusInd Bank |
| KKBK | Kotak Mahindra Bank |
| RATN | RBL Bank |
| SBIN | State Bank of India |
| SCBL | Standard Chartered |
| UTIB | Axis Bank |
| YESB | Yes Bank |
### Other Cards
| Code | Card Network Name |
| - | - |
| Onecard | Onecard |
> [!NOTE]
>
> **Handy Tips**
>
> Know the standard credit card interest rates charged by the [banks](/docs/payments/payment-gateway/emiยฒ/faqs#1-what-are-the-standard-credit-card-interest).
## Supported Cardless EMI Providers
| Banks | Provider Code |
| - | - |
| ICICI Bank | `icic` |
| IDFC Bank | `idfb` |
| HDFC Bank | `hdfc` |
| Kotak Bank | `kkbk` |
| axio | `walnut369` |
| Fibe | `earlysalary` |
| ZestMoney | `zestmoney` |
> [!NOTE]
>
> **Handy Tips**
>
> Know the standard interest rates charged by:
>
> * [Banks/Partners](/docs/payments/payment-gateway/emiยฒ/faqs#1-what-are-the-standard-interest-rates-charged)
> * [Pay Later Providers](/docs/payments/payment-gateway/emiยฒ/faqs#2-what-are-the-standard-interest-rates-charged)
## Supported Wallets
| **Wallet provider** | **Wallet Code** |
| - | - |
| PhonePe | `phonepe` |
| Mobikwik | `mobikwik` |
| PayZapp | `payzapp` |
| Ola Money | `olamoney` |
| Airtel Money | `airtelmoney` |
| Amazon Pay | `amazonpay` |
| JioMoney | `jiomoney` |
| PayPal | `paypal` |
## Supported UPI Apps
| App Name | Package Name |
| - | - |
| Google Pay | `com.google.android.apps.nbu.paisa.user` |
| BHIM | `in.org.npci.upiapp` |
| BHIM UCO | `com.lcode.ucoupi` |
| BHIM IOB | `com.euronet.iobupi` |
| BHIM CSB | `com.lcode.csbupi` |
| PhonePe | `com.phonepe.app` |
| Paytm | `net.one97.paytm` |
| ICICI iMobile | `com.csam.icici.bank.imobile` |
| ICICI Pocket | `com.icicibank.pockets` |
| SBI | `com.sbi.upi` |
| Axis Pay | `com.upi.axispay` |
| Axis | `com.axis.mobile` |
| Samsung Pay | `com.samsung.android.spay` |
| HDFC Bank | `com.snapwork.hdfc` |
| PayZapp | `com.hdfcbank.payzapp` |
| Bank of Baroda | `com.bankofbaroda.upi` |
| Freecharge | `com.freecharge.android` |
| KVB | `com.mycompany.kvb` |
| JK UPI | `com.fss.jnkpsp` |
| IDFC | `com.fss.idfcpsp` |
| IDFC First | `com.idfcfirstbank.optimus` |
| Yes Bank | `com.YesBank` |
| YesBank Iris | `in.irisbyyes.app` |
| Microsoft Kaizala | `com.microsoft.mobile.polymer` |
| Lotza | `com.upi.federalbank.org.lotza` |
| Fed Mobile | `com.fedmobile` |
| IndusInd Pay | `com.mgs.induspsp` |
| IndusInd Mobile | `com.fss.indus` |
| Indus Indie | `com.indusind.indie` |
| Wizely | `ai.wizely.android` |
| Amazon | `in.amazon.mShop.android.shopping` |
| RBL MoBank | `com.rblbank.mobank` |
| CRED | `com.dreamplug.androidapp` |
| Finserve | `in.bajajfinservmarkets.app` |
| Fampay | `com.fampay.in` |
| Mobikwik | `com.mobikwik_new` |
| PNB Bank | `com.mgs.pnbupi` or `com.fss.pnbpsp` |
| PNB One | `com.Version1` |
| Digibank | `com.dbs.in.digitalbank` |
| Jupiter | `money.jupiter` |
| Navi | `com.naviapp` |
| Slice | `indwin.c3.shareapp` |
| Tata Neu | `com.tatadigital.tcp` |
| Groww | `com.nextbillion.groww` |
| Shriram One | `com.shriram.one` |
| Fave | `com.pinelabs.fave` |
| Ultracash | `com.ultracash.payment.customer` |
| Timepay | `com.npst.timepay.society` |
| Goibibo | `com.goibibo` |
| Kotak | `com.msf.kbank.mobile` |
| Kotak811 | `com.kotak811mobilebankingapp.instantsavingsupiscanandpayrecharge` |
| DakPay | `com.fss.ippbpsp` |
| India Post | `com.iexceed.appzillon.ippbMB` |
| Canara | `com.canarabank.mobility` |
| MyJio | `com.jio.myjio` |
| IndOASIS | `com.IndianBank.IndOASIS` |
| Tvam | `com.atyati.tvamapp` |
| PopClub | `com.popclub.android` |
| Vyom | `com.infrasoft.uboi` |
| Super Money | `money.super.payments` |
| Omnicard | `com.eroute.omnicard` |
| AU0101 | `com.ausmallfinancebank.amb` |
| Cent Mobile | `com.infrasofttech.CentralBank` |
| Kiwi | `in.gokiwi.kiwitpap` |
| Digi Khata | `com.paypointz.wallet` |
| Moneyview | `com.whizdm.moneyview.loans` |
| Scapia | `cards.scapia.android` |
| Scapia iOS | `cards.scapia.ios` |
### Supported UPI flows
Given below are the supported UPI flows:
* `collect` for flow via VPA
* `intent` for flow via UPI apps
> [!NOTE]
>
> **Handy Tips**
>
> The supported UPI apps for intent on android mobile web are **Google Pay** and **PhonePe**.
* `qr` for flow via UPI QR
## Supported Pay Later Providers
| **Provider name** | **Provider Code** |
| - | - |
| LazyPay | `lazypay` |
| PayPal | `paypal` |
> [!NOTE]
>
> **Handy Tips**
>
> * PayPal now supports the Pay Later feature. You should enable both [PayPal](/docs/payments/payment-methods/wallets/paypal#to-enable-paypal) and the Pay Later options under Account & Settings โ Pay Later (under Payment methods) on the Dashboard to enable the Pay Later feature.
## Supported Apps
| **App** | **Code** |
| - | - |
| CRED Pay | `cred` |
### Related Information
* [Understand the Configuration](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/understand-configuration)
* [Sample Codes](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/sample-code)
# Understand the Configuration
Source: https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/understand-configuration
Understand the building blocks that are required to build a configuration of your choice.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Let us understand the building blocks that are required to build a configuration of your choice:
1. [Payment Methods](#payment-methods)
2. [Payment Instruments](#payment-instruments)
3. [Blocks](#blocks)
4. [Sequence](#sequence)
5. [Preferences](#preferences)
## Payment Methods
Before deciding the payment methods or payment instruments that you want to configure on the Checkout, refer to the [payment methods](/docs/payments/payment-methods) supported by Razorpay.
## Payment Instruments
A payment instrument is a combination of the payment method and its associated properties. For example, a payment instrument can be an **AXIS Debit card**, where **card** is the payment method and the issuer (AXIS bank) is the associated **instrument**.
An instrument is a JSON object with a key named `method`. Each method and its associated properties are described in the sections below:
### Card
Payment instruments for the `method: card` are listed below:
| Name | Type | Description | Values | Examples |
| - | - | - | - | - |
| issuers | array | List of issuers that are allowed | [Any bank code](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-banks) | `issuers: ["HDFC", "ICIC"]` |
| networks | array | List networks that are allowed | [Any card network](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-card-networks) | `networks: ["Visa", "MasterCard"]` |
| types | array | List of card types that are allowed | [Any card type](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-cards) | `types: ["credit", "debit"]` |
```javascript JavaScript theme={null}
// beginning of the code
....
card: { \\name for cards
name: "Pay Via Cards"
instruments: [
{
method: "card",
issuers: ["HDFC"],
networks: ["Visa"],
types: ["debit","credit"]
}
]
},
...
//rest of the code
```
### Netbanking
Payment instruments for the `method: netbanking` are listed below:
| Name | Type | Description | Values | Examples |
| - | - | - | - | - |
| banks | array`` | List of all banks that are allowed | [Any bank code](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-banks) | `banks: ["HDFC", "ICIC"]` |
### Wallet
Payment instruments for the `method: wallet` are listed below:
| Name | Type | Description | Values | Examples |
| - | - | - | - | - |
| wallets | string | Wallets to be allowed | [Any wallet code](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-wallets) | `wallets: ["payzapp"]` |
### UPI
Payment instruments for the `method: upi` are listed below:
| Name | Type | Description | Values | Examples |
| - | - | - | - | - |
| flows | string | Flows to show | [Any supported UPI flow](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-upi-flows) | `flows: [ "qr"]` |
| apps | string | Apps to show, for intent | [Any supported UPI apps](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-upi-apps) | `apps: ["google_pay", "phonepe"]` |
### EMI
Payment instruments for the `method: emi` are listed below:
| Name | Type | Description | Values | Examples |
| - | - | - | - | - |
| issuers | array`` | Providers to be allowed | [Any EMI issuers](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-cardless-emi-providers) | `issuers: ["HDFC, ICIC"]` |
| types | array`` | Providers to be allowed | Any [credit](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-credit-card-emi-providers) and [debit](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-debit-card-emi-providers) card EMI type | `types: ["debit, credit"]` |
| iins | array`` | Providers to be allowed | [Any EMI IIN](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-cardless-emi-providers) | `iins: ["438600"]` |
### Cardless EMI
Payment instruments for the `method: cardless_emi` are listed below:
| Name | Type | Description | Values | Examples |
| - | - | - | - | - |
| providers | string | Providers to be allowed | [Any Cardless EMI provider](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-cardless-emi-providers) | `providers: ["zestmoney"]` |
### Pay Later
For the method: `paylater`, the payment instruments are listed below:
| Name | Type | Description | Values | Examples |
| - | - | - | - | - |
| providers | string | Providers to be allowed | [Any paylater provider](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-pay-later-providers) | `providers: ["hdfc"]` |
### Apps
For the method `app`, the payment instrument is listed below:
| Name | Type | Description | Values | Examples |
| - | - | - | - | - |
| providers | string | Providers to be allowed | [Any app provider](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods#supported-apps) | `providers: ["cred"]` |
```javascript JavaScript theme={null}
// beginning of the code
....
{
"custom": {
"name": "Pay with Apps",
"instruments": [
{
"method": "app",
"providers": [
"cred"
]
}
]
}
}
...
//rest of the code
```
## Blocks
A block is a collection of one or more payment instruments. Each block has a `name` and `code` associated as shown below:
```javascript JavaScript theme={null}
// Block creation
let myPayments = {
name: "My Custom Block",
instruments: ["gpay"]
};
// Usage in config
let config = {
display: {
blocks: {
highlighted: myPayments
}
}
};
```
Here, `highlighted` is the code associated with `myPayments`. Multiple blocks can be added to the config at the same time.
## Sequence
You can specify the `sequence`, that is the order, in which the payment methods should be displayed on the Checkout.
A sequence is an `array` of strings, where each string is the name of the payment method or a `block`.
In a sequence, you can include any block using the `block.${code}` format. The block with code **highlighted** should be represented as `block.highlighted` as shown below:
```javascript JavaScript theme={null}
let sequence = ["block.highlighted", "upi", "netbanking"];
```
The above sequence will place the code `highlighted` first followed by the payment methods `upi` and `netbanking` in that particular order.
> [!NOTE]
>
> **Handy Tips**
>
> Every block defined has to be present in the sequence. If you do not wish to reorder the methods and want to place your block, the sequence should contain `block.highlighted` with just one item in it.
## Preferences
Using the `preferences` object, you can enhance the configuration of the Checkout. By setting this value, you can decide whether the default list of payment methods should be displayed or not.
Possible values are:
`true`
: Checkout will display the sequence of the payment methods configured by you alongside with the default order of payment methods available in the Checkout.
`false`
: Checkout will only show the sequence of the payment methods configured by you.
## Hide Payment Instruments
You can also hide or remove certain instruments from the Checkout.
This is an `array` containing the `method` key used to hide either the payment method and/or the payment instrument associated with that payment method. For example, you can hide the methods, `card` and `HDFC netbanking` on the Checkout.
```javascript JavaScript theme={null}
let cardInstrument = {
method: "card"
};
let instrumentOfSomeBank = {
method: "netbanking",
banks: ["HDFC"]
};
let hiddenInstruments = [cardInstrument, instrumentOfSomeBank];
```
This is an `array` containing the `method` key used to hide either the payment method and/or the payment instrument associated with that payment method. For example, you can hide the methods, `card` and `Axis netbanking` on the Checkout.
```javascript JavaScript theme={null}
let cardInstrument = {
method: "card"
};
let instrumentOfSomeBank = {
method: "netbanking",
banks: ["UTIB"]
};
let hiddenInstruments = [cardInstrument, instrumentOfSomeBank];
```
> [!NOTE]
>
> **Handy Tips**
>
> Hiding any instrument using `hide` does not affect the similar instrument defined in `blocks`. So, if you want to hide `UTIB` bank from `netbanking` and have defined the same instrument in one of your blocks, Axis bank will still be displayed in that block.
If [Cash on Delivery (COD)](/docs/payments/payment-gateway/web-integration/standard/cod) is activated on your account, it is shown on every Checkout session by default. Use `method: "cod"` in the `hide` array to suppress COD for orders that are not COD-eligible under your own rules.
```javascript JavaScript theme={null}
let codInstrument = {
method: "cod"
};
let hiddenInstruments = [codInstrument];
```

## Next Steps
[Display the Configuration](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/display-configuration)
### Related Information
* [Supported Methods](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods)
* [Sample Codes](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/sample-code)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/integration-steps
Steps to integrate the Standard Checkout form on your website.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Follow these steps to integrate the Standard Checkout form on your website:
> [card] [1. Build Integration](/docs/payments/payment-gateway/web-integration/standard/integration-steps#1-build-integration)
>
> Integrate Web Standard Checkout.
> [card] [2. Test Integration](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/web-integration/standard/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[Razorpay Web Std Integration](https://www.youtube.com/embed/SFHbcs-lSio)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Create an Order in Server
>
> Given below are the order states and the corresponding payment states:
>
> | Payment Stages | Order State | Payment State | Description |
> | - | - | - | - |
> | Stage I | created | created | The customer submits the payment information, which is sent to Razorpay. The payment is **not processed** at this stage. |
> | Stage II | attempted | authorized/failed | An order moves from **created** to **attempted** state when payment is first attempted. It remains in this state until a payment associated with the order is captured. |
> | Stage III | paid | captured | After the payment moves to the **captured** state, the order moves to the **paid** state.
No more payment requests are allowed after an order moves to the **paid** state.
The order continues to be in this state even if the payment for this order is **refunded**.
|
>
> > [!NOTE]
> >
> > **Capture Payments Automatically**
> >
> > You can capture payments automatically with the one-time [Payment Capture setting configuration](/docs/payments/payments/capture-settings) on the Dashboard.
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order using:
>
> > [tab] API Sample Code
> >
> > Use this endpoint to create an order using the Orders API.
> >
> > `POST /orders`
> >
> > ```bash Curl theme={null}
> > curl -X POST https://api.razorpay.com/v1/orders
> > -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> > -H 'content-type:application/json'
> > -d '{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "qwsaq1",
> > "partial_payment": true,
> > "first_payment_min_amount": 230
> > }'
> > ```
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > JSONObject orderRequest = new JSONObject();
> > orderRequest.put("amount", 50000); // amount in the smallest currency unit
> > orderRequest.put("currency", "INR");
> > orderRequest.put("receipt", "order_rcptid_11");
> >
> > Order order = razorpay.Orders.create(orderRequest);
> > } catch (RazorpayException e) {
> > // Handle Exception
> > System.out.println(e.getMessage());
> > }
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > DATA = {
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "receipt#1",
> > "notes": {
> > "key1": "value3",
> > "key2": "value2"
> > }
> > }
> > client.order.create(data=DATA)
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->order->create(array('receipt' => '123', 'amount' => 50000, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> > ```
> >
> > ```csharp .NET theme={null}
> > RazorpayClient client = new RazorpayClient(your_key_id, your_secret);
> >
> > Dictionary options = new Dictionary();
> > options.Add("amount", 50000); // amount in the smallest currency unit
> > options.add("receipt", "order_rcptid_11");
> > options.add("currency", "INR");
> > Order order = client.Order.Create(options);
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > options = amount: 50000, currency: 'INR', receipt: ''
> > order = Razorpay::Order.create
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > instance.orders.create({
> > amount: 50000,
> > currency: "INR",
> > receipt: "receipt#1",
> > notes: {
> > key1: "value3",
> > key2: "value2"
> > }
> > })
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > data := map[string]interface{}{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "some_receipt_id"
> > }
> > body, err := client.Order.Create(data)
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id": "order_IluGWxBm9U8zJ8",
> > "entity": "order",
> > "amount": 50000,
> > "amount_paid": 0,
> > "amount_due": 50000,
> > "currency": "INR",
> > "receipt": "rcptid_11",
> > "offer_id": null,
> > "status": "created",
> > "attempts": 0,
> > "notes": [],
> > "created_at": 1642662092
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Order amount less than minimum amount allowed",
> > "source": "business",
> > "step": "payment_initiation",
> > "reason": "input_validation_failed",
> > "metadata": {},
> > "field": "amount"
> > }
> > }
> > ```
>
> > [tab] Razorpay Postman Public Workspace
> >
> > You can use the Postman workspace below to create an order:
> >
> > [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
> >
> > You can create an order manually by integrating the API sample codes on your server.
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount, expressed in the currency subunit. For example, for an actual amount of , the value of this field should be `22225`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be of 3 characters.
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7,000 is to be received from the customer in two installments of #1 - โน5,000, #2 - โน2,000, then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] 2 Integrate with Checkout on Client-Side
>
> Add the Pay button on your web page using the checkout code. You can use the handler function or callback URL.
>
> > [accordion] 2.1 Handler Function or Callback URL
> >
> > | **Handler Function** | **Callback URL** |
> > | - | - |
> > | When you use this:
On successful payment, the customer is shown your web page.
On failure, the customer is notified of the failure and asked to retry the payment.
| When you use this:
On successful payment, the customer is redirected to the specified URL, for example, a payment success page.
On failure, the customer is asked to retry the payment.
|
>
> > [!NOTE]
> >
> > **Heads up: callback\_url and your webhook URL are different**
> >
> > The callback\_url Checkout option is only for WebView and redirect flows. For standard web integrations, use the handler function to handle payment completion on the client side, and webhooks for server-side confirmation. See [Webhooks](/docs/webhooks) for details.
> >
> > If you use callback\_url in a standard web integration, it bypasses the handler function and the payment status will not be confirmed on the client side immediately after payment.
>
> > [accordion] 2.2 Code to Add Pay Button
> >
> > Copy-paste the parameters as `options` in your code:
> >
> > ```html Callback URL (JS) Checkout Code theme={null}
> >
> >
> >
> > ```
> >
> > ```html Handler Functions (JS) Checkout Code theme={null}
> >
> >
> >
> > ```
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Test your integration using these [test cards](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-test-integration).
>
> > [accordion] 2.3 Checkout Options
> >
> > `key` *mandatory*
> > : `string` API Key ID generated from the Dashboard.
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is , enter `222250` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the payment should be made by the customer. See the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY, and three decimal currencies, such as KWD, BHD, and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `name` *mandatory*
> > : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
> >
> > `description` *optional*
> > : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
> >
> > `image` *optional*
> > : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
> >
> > `order_id` *mandatory*
> > : `string` Order ID generated via [Orders API](/docs/api/orders).
> >
> > `prefill`
> > : `object` You can prefill the following details at Checkout.
> >
> > > [!NOTE]
> > >
> > > **Boost Conversions and Minimise Drop-offs**
> > >
> > > * Autofill customer contact details, especially phone number to ease form completion. Include customerโs phone number in the `contact` parameter of the JSON request's `prefill` object. Format: +(country code)(phone number). Example: "contact": "+919000090000".
> > > * This is not applicable if you do not collect customer contact details on your website before checkout, have Shopify stores or use any of the no-code apps.
> >
> > `name` *optional*
> > : `string` Cardholder's name to be prefilled if customer is to make card payments on Checkout. For example, **Gaurav Kumar**.
> >
> > `email` *optional*
> > : `string` Email address of the customer.
> >
> > `contact` *optional*
> > : `string` Phone number of the customer. The expected format of the phone number is `+ {country code}{phone number}`. If the country code is not specified, `91` will be used as the default value. This is particularly important while prefilling `contact` of customers with phone numbers issued outside India. **Examples**:
> >
> > * +14155552671 (a valid non-Indian number)
> > * +919977665544 (a valid Indian number). \
> > If 9977665544 is entered, `+91` is added to it as +919977665544.
> >
> > `method` *optional*
> > : `string` Pre-selection of the payment method for the customer. Will only work if `contact` and `email` are also prefilled. Possible values:
> >
> >
> >
`card`
> >
`netbanking`
> >
`wallet`
> >
`upi`
> >
`emi`
> >
> >
> > `notes` *optional*
> > : `object` Set of key-value pairs that can be used to store additional information about the payment. It can hold a maximum of 15 key-value pairs, each 256 characters long (maximum).
> >
> > `theme`
> > : `object` Thematic options to modify the appearance of Checkout.
> >
> > `color` *optional*
> > : `string` Enter your brand colour's HEX code to alter the text, payment method icons and CTA (call-to-action) button colour of the Checkout form.
> >
> > `backdrop_color` *optional*
> > : `string` Enter a HEX code to change the Checkout's backdrop colour.
> >
> > `modal`
> > : `object` Options to handle the Checkout modal.
> >
> > `backdropclose` *optional*
> > : `boolean` Indicates whether clicking the translucent blank space outside the Checkout form should close the form. Possible values:
> >
> > * `true`: Closes the form when your customer clicks outside the checkout form.
> > * `false` (default): Does not close the form when customer clicks outside the checkout form.
> >
> > `escape` *optional*
> > : `boolean` Indicates whether pressing the **escape** key should close the Checkout form. Possible values:
> >
> > * `true` (default): Closes the form when the customer presses the **escape** key.
> > * `false`: Does not close the form when the customer presses the **escape** key.
> >
> > `handleback` *optional*
> > : `boolean` Determines whether Checkout must behave similar to the browser when back button is pressed. Possible values:
> >
> > * `true` (default): Checkout behaves similarly to the browser. That is, when the browser's back button is pressed, the Checkout also simulates a back press. This happens as long as the Checkout modal is open.
> > * `false`: Checkout does not simulate a back press when browser's back button is pressed.
> >
> > `confirm_close` *optional*
> > : `boolean` Determines whether a confirmation dialog box should be shown if customers attempts to close Checkout. Possible values:
> >
> > * `true`: Confirmation dialog box is shown.
> > * `false` (default): Confirmation dialog box is not shown.
> >
> > `ondismiss` *optional*
> > : `function` Used to track the status of Checkout. You can pass a modal object with `ondismiss: function()\{\}` as options. This function is called when the modal is closed by the user. If `retry` is `false`, the `ondismiss` function is triggered when checkout closes, even after a failure.
> >
> > `animation` *optional*
> > : `boolean` Shows an animation before loading of Checkout. Possible values:
> >
> > * `true`(default): Animation appears.
> > * `false`: Animation does not appear.
> >
> > `subscription_id` *optional*
> > : `string` If you are accepting recurring payments using Razorpay Checkout, you should pass the relevant `subscription_id` to the Checkout. Know more about [Subscriptions on Checkout](/docs/api/payments/subscriptions-custom#checkout-integration).
> >
> > `subscription_card_change` *optional*
> > : `boolean` Permit or restrict customer from changing the card linked to the subscription. You can also do this from the [hosted page](/docs/payments/subscriptions/payment-retries#update-payment-method-on-our-hosted-page). Possible values:
> >
> > * `true`: Allow the customer to change the card from Checkout.
> > * `false` (default): Do not allow the customer to change the card from Checkout.
> >
> > `recurring` *optional*
> > : `boolean` Determines if you are accepting [recurring (charge-at-will) payments on Checkout](/docs/api/payments/recurring-payments) via instruments such as emandate, paper NACH and so on. Possible values:
> >
> > * `true`: You are accepting recurring payments.
> > * `false` (default): You are not accepting recurring payments.
> >
> > `callback_url` *optional*
> > : `string` Customers will be redirected to this URL on successful payment. Ensure that the domain of the Callback URL is allowlisted.
> >
> > `redirect` *optional*
> > : `boolean` Determines whether to post a response to the event handler post payment completion or redirect to Callback URL. `callback_url` must be passed while using this parameter. Possible values:
> >
> > * `true`: Customer is redirected to the specified callback URL in case of payment failure.
> > * `false` (default): Customer is shown the Checkout popup to retry the payment with the suggested next best option.
> >
> > `customer_id` *optional*
> > : `string` Unique identifier of customer. Used for:
> >
> > * [Local saved cards feature](/docs/payments/payment-methods/cards/features/saved-cards#manage-saved-cards).
> > * Static bank account details on Checkout in case of [Bank Transfer payment method](/docs/payments/payment-methods/bank-transfer).
> >
> > `remember_customer` *optional*
> > : `boolean` Determines whether to allow saving of cards. Can also be configured via the [Dashboard](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout). Possible values:
> >
> > * `true`: Enables card saving feature.
> > * `false` (default): Disables card saving feature.
> >
> > `timeout` *optional*
> > : `integer` Sets a timeout on Checkout, in seconds. After the specified time limit, the customer will not be able to use Checkout.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Some browsers may pause `JavaScript` timers when the user switches tabs, especially in power saver mode. This can cause the checkout session to stay active beyond the set timeout duration.
> >
> > `readonly`
> > : `object` Marks fields as read-only.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `name` *optional*
> > : `boolean` Used to set the `name` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `hidden`
> > : `object` Hides the contact details.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `send_sms_hash` *optional*
> > : `boolean` Used to auto-read OTP for cards and netbanking pages. Applicable from Android SDK version 1.5.9 and above. Possible values:
> >
> > * `true`: OTP is auto-read.
> > * `false` (default): OTP is not auto-read.
> >
> > `allow_rotation` *optional*
> > : `boolean` Used to rotate payment page as per screen orientation. Applicable from Android SDK version 1.6.4 and above. Possible values:
> >
> > * `true`: Payment page can be rotated.
> > * `false` (default): Payment page cannot be rotated.
> >
> > `retry` *optional*
> > : `object` Parameters that enable retry of payment on the checkout.
> >
> > `enabled`
> > : `boolean` Determines whether the customers can retry payments on the checkout. Possible values:
> >
> > * `true` (default): Enables customers to retry payments.
> > * `false`: Disables customers from retrying the payment.
> >
> > `max_count`
> > : `integer` The number of times the customer can retry the payment. We recommend you to set this to 4. Having a larger number here can cause loops to occur.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Web Integration does not support the `max_count` parameter. It is applicable only in Android and iOS SDKs.
> >
> > `config` *optional*
> > : `object` Parameters that enable checkout configuration. Know more about how to [configure payment methods on Razorpay standard checkout](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
> >
> > `display`
> > : `object` Child parameter that enables configuration of checkout display language.
> >
> > `language`
> > : `string` The language in which checkout should be displayed. Possible values:
> >
> > * `en`: English
> >
> > * `ben`: Bengali
> >
> > * `hi`: Hindi
> >
> > * `mar`: Marathi
> >
> > * `guj`: Gujarati
> >
> > * `tam`: Tamil
> >
> > * `tel`: Telugu
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > The open method of Razorpay object (`rzp1.open()`) must be invoked by your site's JavaScript, which may or may not be a user-driven action such as a click.
>
> > [accordion] 2.4 Errors
> >
> > Given below is a list of errors you may face while integrating with checkout on the client-side.
> >
> > | Error | Cause | Solution |
> > | - | - | - |
> > | The id provided does not exist. | Occurs when there is a mismatch between the API keys used while creating the `order_id`/`customer_id` and the API key passed in the checkout. | Make sure that the API keys passed in the checkout are the same as the API keys used while creating the `order_id`/`customer_id`. |
> > | Blocked by CORS policy. | Occurs when the server-to-server request is hit from the front end instead. | Make sure that the API calls are made from the server side and not the client side. |
>
> > [accordion] 2.5 Configure Payment Methods *(Optional)*
> >
> > Multiple payment methods are available on the Razorpay Web Standard Checkout.
> >
> > * The payment methods are **fixed** and cannot be changed.
> > * You can configure the order or make certain payment methods prominent. Know more about [configuring payment methods](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
> [accordion] 3 Handle Payment Success and Failure
>
> The way the Payment Success and Failure scenarios are handled depends on the [Checkout Sample Code](#2-2-code-to-add-pay-button) you used in the last step.
>
> ### Checkout with Handler Function
>
> If you used the sample code with the handler function:
>
> > [tab] Payment Success
> >
> > #### On Payment Success
> >
> > The customer sees your website page. The checkout returns the response object of the successful payment (**razorpay\_payment\_id**, **razorpay\_order\_id** and **razorpay\_signature**). Collect these and send them to your server.
>
> > [tab] Payment Failure
> >
> > #### On Payment Failure
> >
> > The customer is notified about payment failure and asked to retry the payment. Know about the [error parameters.](/docs/errors#response-parameters)
> >
> > ```javascript Failure Handling Code theme={null}
> > rzp1.on('payment.failed', function (response){
> > alert(response.error.code);
> > alert(response.error.description);
> > alert(response.error.source);
> > alert(response.error.step);
> > alert(response.error.reason);
> > alert(response.error.metadata.order_id);
> > alert(response.error.metadata.payment_id);
> > }
> > ```
>
> ### Checkout with Callback URL
>
> If you used the sample code with the callback URL:
>
> > [tab] Payment Success
> >
> > #### On Payment Success
> >
> > Razorpay makes a POST call to the callback URL with the **razorpay\_payment\_id**, **razorpay\_order\_id** and **razorpay\_signature** in the response object of the successful payment. Only successful authorisations are auto-submitted.
>
> > [tab] Payment Failure
> >
> > #### On Payment Failure
> >
> > In case of failed payments, the checkout is displayed again to facilitate payment retry.
> [accordion] 4 Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> > [accordion] Success Callback
> >
> > * You need to store these fields in your server.
> > * You can confirm the authenticity of these details by verifying the signature in the next step.
> >
> > ```json Success Callback theme={null}
> > {
> > "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> > "razorpay_order_id": "order_9A33XWu170gUtm",
> > "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> > }
> > ```
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] 5 Verify Payment Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> > [accordion] To verify the `razorpay_signature` returned to you by the Checkout form:
> >
> > 1. Create a signature in your server using the following attributes:
> > * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> > * `razorpay_payment_id`: Returned by Checkout.
> > * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
> > 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
> >
> > ```html HMAC Hex Digest theme={null}
> > generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
> >
> > if (generated_signature == razorpay_signature) {
> > payment is successful
> > }
> > ```
> >
> > 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
>
> > [accordion] Generate Signature on Your Server
> >
> > Given below is the sample code for payment signature verification:
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > String secret = "EnLs21M47BllR3X8PSFtjtbd";
> >
> > JSONObject options = new JSONObject();
> > options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > boolean status = Utils.verifyPaymentSignature(options, secret);
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->utility->verifyPaymentSignature(array('razorpay_order_id' => $razorpayOrderId, 'razorpay_payment_id' => $razorpayPaymentId, 'razorpay_signature' => $razorpaySignature));
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > payment_response = {
> > razorpay_order_id: 'order_IEIaMR65cu6nz3',
> > razorpay_payment_id: 'pay_IH4NVgf4Dreq1l',
> > razorpay_signature: '0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f'
> > }
> > Razorpay::Utility.verify_payment_signature(payment_response)
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > client.utility.verify_payment_signature({
> > 'razorpay_order_id': razorpay_order_id,
> > 'razorpay_payment_id': razorpay_payment_id,
> > 'razorpay_signature': razorpay_signature
> > })
> > ```
> >
> > ```c .NET theme={null}
> > RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > Dictionary options = new Dictionary();
> > options.Add("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.Add("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.Add("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > Utils.verifyPaymentSignature(options);
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > var { validatePaymentVerification, validateWebhookSignature } = require('./dist/utils/razorpay-utils');
> > validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > params := map[string]interface{}{
> > "razorpay_order_id": "order_IEIaMR65cu6nz3",
> > "razorpay_payment_id": "pay_IH4NVgf4Dreq1l",
> > }
> >
> > signature := "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f";
> > secret := "EnLs21M47BllR3X8PSFtjtbd";
> > utils.VerifyPaymentSignature(params, signature, secret)
> > ```
>
> > [accordion] Post Signature Verification
> >
> > After you have completed the integration, you can [set up webhooks](/docs/webhooks/setup-edit-payments), make test payments, replace the test key with the live key and integrate with other [APIs](/docs/api).
>
> > [!WARNING]
> >
> > **Watch Out: Always verify the payment signature server-side**
> >
> > After a payment completes, Razorpay sends `razorpay_payment_id`, `razorpay_order_id` and `razorpay_signature` to your handler. You must verify the signature on your server before fulfilling the order.
> >
> > A failed signature check indicates a potentially fraudulent or tampered payment. Reject the order entirely โ do not fulfil it, do not retry and do not treat it as a genuine payment. Skipping this step is the most common cause of fraudulent orders and payment disputes.
>
> Here are the links to our [SDKs](/docs/payments/payment-gateway/web-integration/standard#client-libraries) for the supported platforms.
> [accordion] 6 Verify Payment Status
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > On the Razorpay Dashboard, ensure that the payment status is `captured`. Refer to the payment capture settings page to know how to [capture payments automatically](/docs/payments/payments/capture-settings).
>
> > [accordion] You can track the payment status in three ways:
> >
> > > [tab] Verify Status from Dashboard
> > >
> > > To verify the payment status from the Razorpay Dashboard:
> > >
> > > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > > 2. Check if a **Payment Id** has been generated and note the status. In case of a successful payment, the status is marked as **Captured**.
> > >
> > > 
> >
> > > [tab] Subscribe to Webhook Events
> > >
> > > You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to [set up webhooks.](/docs/webhooks/setup-edit-payments)
> > >
> > > #### Example
> > >
> > > If you have subscribed to the `order.paid` webhook event, you will receive a notification every time a customer pays you for an order.
> >
> > > [tab] Poll APIs
> > >
> > > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 2. Test Integration
After the integration is complete, a **Pay** button appears on your webpage/app.

Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
| Payment Method | Code | Availability |
| - | - | - |
| [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
| [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
| [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
| [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
| EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
| [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
| [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
You can make test payments using one of the payment methods configured at the Checkout.
> [accordion] Netbanking
>
> You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
>
> Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
> [accordion] UPI
>
> You can enter one of the following UPI IDs:
>
> * `success@razorpay`: To make the payment successful.
> * `failure@razorpay`: To fail the payment.
>
> Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
> [accordion] Cards
>
> You can use the following test cards to test transactions for your integration in Test Mode.
>
> ### Domestic Cards
>
> Use the following test cards for Indian payments:
>
> | Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> | Mastercard | 5500 6700 0000 1002 | |
> | RuPay | 6527 6589 0000 1005 | |
> | Diners | 3608 280009 1007 | |
> | Amex | 3402 560004 01007 | |
>
> #### Error Scenarios
>
> Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> Check the following lists:
>
> * [Supported Card Networks](/docs/payments/payment-methods/cards).
> * [Cards Error Codes](/docs/errors/payments/cards).
>
> ### International Cards
>
> Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
>
> | Card Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> | Visa | 4012 8888 8888 1881 | |
>
> Check the list of [supported card networks](/docs/payments/payment-methods/cards).
> [accordion] Wallet
>
> You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
>
> Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
## 3. Go-live Checklist
Check the go-live checklist for Razorpay Web Standard Checkout integration. Consider these steps before taking the integration live.
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
>
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
>
> 3. Download the keys and save them securely.
>
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
>
> > [!WARNING]
> >
> > **Watch Out: Swap your API keys before going live**
> >
> > Your Test Mode API keys only process simulated transactions โ no real money moves. If you go live without replacing them with Live Mode keys, customers will see a payment success screen but no payment will be captured or settled.
> >
> > Generate your Live Mode keys from Dashboard โ **Account & Settings** โ **API Keys** โ **Generate Key** (switch to Live Mode first).
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
>
> > [!WARNING]
> >
> > **Watch Out: Authorised payments must be captured to settle**
> >
> > A payment in `authorized` state has been approved by the bank but not yet settled to your account. You must capture it โ either manually from the Dashboard or automatically via capture settings.
> >
> > Uncaptured payments are auto-refunded after a fixed period. If customers are paying but you are not seeing settlements, check your capture settings in Dashboard โ **Account & Settings** โ **Payment Capture**.
> [accordion] 3 Set Up Webhooks
>
> Ensure you have [set up webhooks](/docs/webhooks/setup-edit-payments) in the live mode and configured the events for which you want to receive notifications.
>
> > [!WARNING]
> >
> > **Implementation Considerations**
> >
> > Webhooks are the primary and most efficient method for event notifications. They are delivered asynchronously in near real-time. For critical user-facing flows that need instant confirmation (like showing "Payment Successful" immediately), supplement webhooks with API verification.
> >
> > **Recommended approach** \\
> >
> > * Rely on webhooks for all automation, which can be asynchronous.
> > * If a critical user-facing flow requires instant status, but the webhook notification has not arrived within the time mandated by your business needs, perform an immediate API Fetch call ([Payments](/docs/api/payments/fetch-with-id), [Orders](/docs/api/orders/fetch-with-id) and [Refunds](/docs/api/refunds/fetch-specific-refund-payment)) to verify the status.
# About Card Payments
Source: https://razorpay.com/docs/payments/payment-methods/cards
Accept payments from your customers using cards. Check the Payment Flow and supported card network.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can accept payments from your customers using debit or credit cards from all international providers. Check the various capabilities we offer with Cards:
* [3D Secure 2.0 Authentication Protocol (3DS2)](/docs/payments/payment-methods/cards/features/3ds2.0)
* [Saved Cards](/docs/payments/payment-methods/cards/features/saved-cards)
* [CVV-less Flow](/docs/payments/payment-methods/cards/features/cvv-less-flow)
* [Card Tap & Read](/docs/payments/payment-methods/cards/features/card-tap-and-read)
## Payment Flow for Cards
The diagram given below represents the payment flow for cards:

## Supported Card Networks
Razorpay supports the following card networks:
* Visa
* Mastercard
* American Express
* BAJAJ
* Maestro
* Rupay
* Diners (Only available for private limited and registered businesses)
## Test Cards
Use test cards to test your payment integration before going live. The test cards simulate different payment scenarios and error conditions for all supported card networks. Know more about [Test Cards](/docs/payments/payments/test-card-details).
### Related Information
[Cards Error Codes](/docs/errors/payments/cards)
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/payment-methods/cards/faqs
Find answers to frequently asked questions about card as a payment method at Razorpay Checkout.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [accordion] What types of cards are supported by Razorpay for payments?
>
> Razorpay supports payments through multiple types of cards including credit, debit, and prepaid cards. It accepts both domestic and international card transactions.
> [accordion] What card networks are supported by Razorpay?
>
> Razorpay supports major card networks such as Visa, Mastercard, American Express (AMEX), BAJAJ, Maestro, Rupay, and Diners.
> [accordion] How secure is it to process card payments through Razorpay?
>
> 3D Secure and OTP-based authentication for card payments, ensuring safe transactions for businesses and customers.
> [accordion] What is Tokenisation?
>
> Tokenisation is the process by which the original card number / Primary Account Number (PAN) is replaced with a surrogate value called a **token**. Razorpayโs RBI-compliant TokenHQ solution allows cardholders to tokenise their cards and securely process transactions through the tokenised cards.
> [accordion] What is the saved card functionality in Razorpay?
>
> Razorpay allows customers to securely save their card details for faster future transactions. Saved card details are tokenised to ensure safety and can be used across various transactions without re-entering card information.
> [accordion] How does Razorpay handle recurring payments via cards?
>
> Razorpay offers subscription or recurring payments through cards, enabling businesses to automate regular transactions. This is particularly useful for businesses offering subscription-based services.
> [accordion] Does Razorpay support partial refunds for card transactions?
>
> Yes, Razorpay allows businesses to issue full and partial refunds for card transactions.
> [accordion] Are there any limits on the transaction amount for card payments through Razorpay?
>
> The transaction limits for card payments depend on the customer's card issuer and the business' agreement with Razorpay.
> [accordion] Does Razorpay offer integration for card payments with websites and mobile apps?
>
> Yes, Razorpay provides APIs and SDKs to integrate card payment options seamlessly into websites, mobile apps, and checkout pages.
> [accordion] Can Razorpay handle declined card transactions?
>
> Yes, Razorpay provides detailed responses and logs for declined transactions, helping businesses understand the reasons and take corrective action.
> [accordion] How can a business enable card payments on Razorpay?
>
> Businesses can enable card payments by signing up with Razorpay, completing the KYC process, and configuring the card payment option in the [dashboard](/docs/payments/dashboard/account-settings/payment-methods#request-payment-methods).
> [accordion] Is there support for EMI payments through cards on Razorpay?
>
> Yes, Razorpay offers the ability to accept EMI payments through credit cards, allowing customers to split high-value transactions into installments.
# 3D Secure 2.0 Authentication Protocol (3DS2)
Source: https://razorpay.com/docs/payments/payment-methods/cards/features/3ds2.0
Understand 3DS2, the payment flow and the supported authentication channels.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
3DS2 is an authentication protocol, the successor of 3DS1, that enables businesses and payment providers to send additional information (such as customer device or browser data) to verify the transaction's authenticity. This helps the customer's bank to evaluate the transaction for risk and decide on the payment flow.
> [!NOTE]
>
> **Handy Tips**
>
> * Razorpay offers 3DS2 support for international card payments only.
>
> * Razorpay supports [3DS2 transactions on S2S](/docs/payments/payment-gateway/s2s-integration/payment-methods/cards/3ds2.0).
## Supported Authentication Channels
Razorpay supports the 3DS2 protocol on two authentication channels: browser and app/SDK.
* **Browser**: All transactions, even those made from the native app are routed through the browser. This flow is available by default for all Standard and Custom Checkout users. No additional integration is needed.
* **App/SDK**: Integrating with SDK increases the chances of higher success rates. It also offers a better user experience compared to the browser. Please contact [Razorpay support](https://razorpay.com/support/) to know more.
## 3DS2 Payment Flow
Given below is a diagram that explains the 3DS2 flow:

> [accordion] Advantages
>
> * 3DS2 provides an extra layer of security in card-not-present online transactions.
> * It provides a better customer experience by improving customer reliability and trust.
> * Businesses can choose to process all payments as browser payments even if they are initiated from your native app. Integrating the SDK and routing them as app-based payments provides a better customer experience and higher success rates for international payments.
> * The 3DS2 protocol allows businesses to pass additional customer and device data to issuing banks to reduce payment authentication failures.
> * As compared to 3D Secure 1, 3D Secure 2 introduces Frictionless authentication and Challenge authentication flow.
> * With Frictionless authentication flow, the transaction is authenticated without any additional input from the customer.
> * 3DS2 enhances internal risk procedures to assess and score each transaction in real time.
# CardSync by Razorpay
Source: https://razorpay.com/docs/payments/payment-methods/cards/features/card-sync
Power cards saved on third-party apps like CRED on your Razorpay Checkout using secure device tokenisation. Boost conversions with seamless payments.
Available in
๐ฎ๐ณ India
CardSync is an industry-first payment solution that eliminates checkout friction. CardSync allows customers to use cards they have saved on popular apps like CRED directly on the Razorpay Checkout, with just one tap. Customers can complete payments instantly using their pre-saved card credentials instead of manually entering their 16-digit card number, CVV and expiry date every time.
This streamlined experience is built on VISA's secure device tokenisation framework and fully complies with RBI guidelines for device tokenisation, ensuring both convenience and security.
## Advantages
Here are some advantages of CardSync:
> [tab] For Your Business
>
> * **Reduced cart abandonment**: Eliminate payment friction that drives customers away.
> * **Zero setup cost**: Included at no additional charge with your Razorpay account.
> * **Instant implementation**: Automatically enabled for all Standard Checkout integrations.
> * **Enhanced customer experience**: Build loyalty through effortless repeat transactions.
> * **Link once, pay anywhere**: Link your card once on any Razorpay business and use it seamlessly across all instances of Razorpay Standard Checkout.
> [tab] For Your Customers
>
> * **One-tap payments**: Skip entering 16-digit card numbers, CVV and expiry details every time.
> * **Universal compatibility**: Saved cards work seamlessly across the entire Razorpay ecosystem.
> * **Bank-grade security**: Secured by Visa's advanced tokenisation technology.
> * **Zero friction setup**: Leverages cards already stored in trusted platforms like CRED.
> * **Always synchronised**: Card updates in CRED automatically reflect across all businesses.
## Prerequisites
Your customers can use CardSync if they:
1. Have an Android device with a Chromium browser for mobile web (iOS support coming soon).
2. Have the CRED app installed.
3. Have at least one VISA card saved in CRED (Mastercard support coming soon).
4. Have given permission in CRED to share information with partners.
## Getting Started
**Who Can Use CardSync**: All Razorpay businesses are eligible to use CardSync. The feature is currently enabled for Standard Checkout, with SDK and server-to-server support coming soon.
## How CardSync Works
Here is how CardSync works and what your customers experience:
> [accordion] Setting Up (One Time Only)
>
> 1. Customer saves their card in CRED and provides consent to share information with Razorpay partners.
>
> 
> 2. The card is safely stored on their Android device following banking rules.
> 3. They are ready to shop anywhere that uses Razorpay.
> [accordion] Easy Shopping
>
> 1. At checkout, their saved CRED cards are shown (with their permission).
>
> 
> 2. Card details are automatically displayed, so no typing is required.
> 3. Customers tap to select their card and complete payment instantly.
Given below is a complete end-to-end flow about how customers can use CardSync:

### Setup Process
**For Standard Checkout Businesses**: CardSync is enabled automatically, so no changes are needed on your end. If it is not enabled for your account, contact your Account Manager for assistance.
**SDK and Server-to-Server Businesses**: Support for SDK and S2S will be available soon. Minor code changes will be required for integration. The [Razorpay Support team](https://razorpay.com/support/) is available to help with implementation.
**Cost**: CardSync is completely free for all Razorpay businesses. There are no additional costs for businesses who already accept card payments.
## FAQs (Frequently Asked Questions)
Here are some faqs regarding the CardSync Feature:
> [accordion] Which businesses are eligible for CardSync?
>
> All Razorpay businesses are eligible for this feature. As of now, it is enabled for Standard Checkout, with support for SDK and S2S following soon.
> [accordion] How can businesses enable device tokenisation for their customers?
>
> Standard Checkout businesses have this feature enabled automatically. If it is not enabled, contact your Account Manager.
> [accordion] What are the customer requirements for CardSync?
>
> Customers need an Android device with the CRED app installed, at least one saved card on CRED, must be logged into CRED using the same phone number as checkout, and must have given consent on the CRED app to share their information with partners.
> [accordion] What types of payments does CardSync support?
>
> CardSync currently supports one-time payments only.
> [accordion] What is the cost of CardSync for businesses?
>
> It is completely free. There is no additional cost for Razorpay businesses with the card payment method enabled.
### Related Information
[Introducing CardSync: Razorpayโs Ecosystem-wide Saved Card Solution](https://razorpay.com/blog/introducing-razorpays-ecosystem-wide-tokenization-with-cardsync/)
# Card Tap & Read at Standard Checkout
Source: https://razorpay.com/docs/payments/payment-methods/cards/features/card-tap-and-read
Let customers add a card by tapping it on their NFC-enabled Android phone at Razorpay Checkout. Card number and expiry auto-fill instantly.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Card Tap & Read lets your customers add a new card by tapping their physical card on the back of their NFC-enabled Android phone at [Standard Checkout](/docs/payments/payment-gateway/android-integration/standard). The card number and expiry auto-fill instantly, removing the need to type a 16-digit number.
Built on NFC (Near Field Communication) and fully PCI-DSS compliant, it reduces manual entry errors and helps improve card payment success rates.
> [!NOTE]
>
> **Handy Tips**
>
> Tapping a card only reads the card number and expiry. It does not trigger a payment. Customers still enter the CVV and complete OTP authentication.
## Advantages
> [tab] For Your Business
>
> * **Higher success rates**: Fewer failures from incorrect card numbers and expiry details.
> * **Zero setup cost**: Included at no additional charge.
> * **No code changes**: Available out of the box on the latest Android [Standard Checkout](/docs/payments/payment-gateway/android-integration/standard) SDK.
> [tab] For Your Customers
>
> * **1-tap card entry**: Auto-fill card number and expiry, no typing required.
> * **Fewer errors**: Skip manual entry of long card numbers.
> * **Always optional**: Switch to manual entry anytime.
> * **Secure and compliant**: Tapping only reads the card number and expiry, never the CVV, and the feature is fully PCI-DSS compliant.
## Prerequisites
Your customers can use Card Tap & Read if they have:
* An Android device with NFC support.
* A physical card that supports contactless reading.
* Your app on the latest [Android Standard Checkout SDK](/docs/payments/payment-gateway/android-integration/standard).
> [!NOTE]
>
> **Handy Tips**
>
> The feature is available out of the box for all merchants on the latest [Android Standard Checkout SDK](/docs/payments/payment-gateway/android-integration/standard), with no integration changes required. To opt out, contact our [Support team](https://razorpay.com/support/#request).
## How Card Tap & Read Works
To pay using Card Tap & Read at [Standard Checkout](/docs/payments/payment-gateway/android-integration/standard):
1. Select **Card**, then choose **Add New Card**.
2. Tap the card on the back of the phone. The card number and expiry auto-fill within about a second.
3. Enter the CVV and cardholder name.
4. Choose whether to save the card.
5. Complete the payment through the standard authentication and authorisation flow.
> [!NOTE]
>
> **Handy Tips**
>
> Select **Enter card details manually** at any time. From the manual screen, choose **Enter card details via NFC** to return to the tap flow.
### Fields Captured
| Detail | How it is captured |
| - | - |
| Card number | Auto-filled via NFC tap |
| Expiry | Auto-filled via NFC tap |
| CVV | Entered manually |
| Cardholder name | Entered manually |
## How Different Scenarios Are Handled
The [Checkout](/docs/payments/payment-gateway/android-integration/standard) handles device and card scenarios gracefully, so customers can always complete a payment:
| Scenario | What happens | Solution |
| - | - | - |
| Device does not support NFC | Card Tap & Read is not shown. | The customer enters card details manually. |
| NFC is turned off | The customer is prompted to turn on NFC, with a shortcut to settings. | The customer turns on NFC and returns to Checkout. |
| Card is not contactless | The card cannot be read on tap. | The customer can retry up to 3 times, after which the manual entry screen opens automatically. |
| Card is read partially | Only some card details are captured. | The customer completes the remaining fields manually. |
| Tap is not detected | A retry option with guidance appears. | After 3 failed attempts, the flow falls back to manual entry. |
| Browser (mobile web) checkout | Card Tap & Read is not shown, as NFC is not supported in mobile browsers. | The customer enters card details manually. |
## Frequently Asked Questions (FAQs)
> [accordion] Does tapping the card start a payment?
>
> No. Tapping only reads the card number and expiry. The customer must enter the CVV and complete OTP authentication to pay.
> [accordion] Which details are auto-filled when the card is tapped?
>
> Only the card number and expiry. The CVV and cardholder name are entered manually, as these are not shared over NFC.
> [accordion] Is Card Tap & Read available on iOS and mobile web?
>
> No. It is supported only in the in-app Android [Standard Checkout](/docs/payments/payment-gateway/android-integration/standard) SDK flow, as NFC is not supported on iOS or mobile web in India yet.
> [accordion] Do I need to make any code changes to enable this feature?
>
> No. It is available automatically on the latest Android Standard Checkout SDK. To opt out, contact our [Support team](https://razorpay.com/support/#request).
# CVV-less Flow for Card Payments
Source: https://razorpay.com/docs/payments/payment-methods/cards/features/cvv-less-flow
Save customer card details as tokens and enable CVV-less payment flows for customers via Razorpay.
Available in
๐ฎ๐ณ India
You can offer CVV-less payments for saved cards and let your customers complete a payment without the card CVV. CVV-less card payments are simple, fast and secure, and do not require the customers to remember the CVV. *Offering CVV-less saved card flows to your customers can increase the conversion rate by 4%.*
We encourage the businesses to remove the CVV box on the checkout page. If you are live on Razorpay Standard Checkout, the UI changes reflect automatically. The customer can choose their saved cards as their preferred payment option and experience a faster transaction.\

> [!NOTE]
>
> **Handy Tips**
>
> CVV-less payments on RuPay is an on-demand feature. Reach out to our [support team](https://razorpay.com/support/#request) for more information.
## Frequently Asked Questions (FAQs)
> [accordion] How can I handle the CVV field for Razorpay payments with saved cards?
>
> The CVV field is optional by default for saved card payments on all networks. To implement this change, you can skip passing the CVV field in the payment request to this field to Razorpay.
> [accordion] Does this mean I no longer need to accept CVV from customers?
>
> Yes. You need to make the necessary UI changes to stop accepting CVV from your customers on saved card payments only.
> [accordion] Do all networks support CVV-less flow?
>
> CVV-less flow is supported for tokenised payments on all networks: Visa, Mastercard, RuPay, Amex and Diners.
> [accordion] Which card issuers support CVV-less payments?
>
> Besides Rupay cards, all issuers support CVV-less payments on other networks. For Rupay, given below is the list of supported issuers:
>
> | S No. | Issuing Bank Name |
> | - | - |
> | 1 | AXIS BANK |
> | 2 | ICICI BANK |
> | 3 | KOTAK MAHINDRA BANK |
> | 4 | STATE BANK OF INDIA |
> | 5 | UNION BANK OF INDIA |
> | 6 | BANK OF BARODA |
> | 7 | HDFC BANK |
> | 8 | CANARA BANK |
> | 9 | IDBI BANK |
> | 10 | THE FEDERAL BANK |
> | 11 | UCO BANK |
> | 12 | CENTRAL BANK OF INDIA |
> | 13 | IDFC Bank |
> | 14 | BANDHAN BANK |
> | 15 | KARNATAKA BANK |
> | 16 | YES BANK LIMITED |
> | 17 | THE BHARAT COOP BANK |
> | 18 | INDIA POST PAYMENTS BANK |
> | 19 | UTKARSH SMALL FINANCE BANK |
> | 20 | CITIZEN CREDIT COOPERATIVE BANK |
> | 21 | SARASWAT COOPERATIVE BANK |
> | 22 | BARODA UP BANK |
> | 23 | TAMILNAD MERCANTILE BANK |
> | 24 | THE TAMILNADU STATE APEX COOP BANK |
> | 25 | THE KALUPUR COMMERCIAL CO OP BANK |
> | 26 | THE JAMMU AND KASHMIR BANK |
> | 27 | J AND K GRAMEEN BANK |
> | 28 | THE MUNICIPAL CO OP BANK |
> | 29 | PAYTM PAYMENTS BANK |
> | 30 | KERALA GRAMIN BANK |
> | 31 | MAHARASHTRA GRAMIN BANK |
> | 32 | MIZORAM RURAL BANK |
> | 33 | CHHATTISGARH RAJYA GRAMIN BANK |
> | 34 | THE CITIZENS URBAN CO OP BANK LTD JALANDHAR |
> | 35 | RAJASTHAN MARUDHARA GRAMIN BANK |
> | 36 | SARVA HARYANA GRAMIN BANK |
> | 37 | ELLAQUAI DEHATI BANK |
> | 38 | MADHYANCHAL GRAMIN BANK |
> | 39 | ANDHRA PRAGATHI GRAMEENA BANK |
> | 40 | ASSAM GRAMIN VIKAS BANK |
> | 41 | ODISHA GRAMYA BANK |
> | 42 | BARODA GUJARAT GRAMIN BANK |
> | 43 | BARODA RAJASTHAN KSHETRIYA GRAMIN BANK |
> | 44 | KARNATAKA GRAMIN BANK |
> | 45 | JHARKHAND RAJYA GRAMIN BANK |
> | 46 | SAURASHTRA GRAMIN BANK |
> | 47 | THE KARNATAKA STATE COOPERATIVE APEX BANK |
> | 48 | THE DISTRICT CO OP BANK LTD DEHRADUN |
> | 49 | KOOKMIN BANK |
> | 50 | AMBARNATH JAIHIND COOP BANK |
> | 51 | KARNATAKA VIKAS GRAMEENA BANK |
> | 52 | RAIGANJ CENTRAL COOP BANK |
> | 53 | SANGLI URBAN COOP BANK |
> | 54 | THE KURMANCHAL NAGAR SAHAKARI BANK |
> | 55 | UTKAL GRAMEEN BANK |
> | 56 | CHAITANYA GODAVARI GRAMEENA BANK |
> | 57 | FINCARE SMALL FINANCE BANK |
> | 58 | JANA SMALL FINANCE BANK LTD |
> | 59 | THE MEGHALAYA COOPERATIVE APEX BANK |
> | 60 | ARUNACHAL PRADESH RURAL BANK |
> | 61 | INDUSIND BANK |
> | 62 | MEGHALAYA RURAL BANK |
> | 63 | TELENGANA GRAMEENA BANK |
> | 64 | ANDHRA PRADESH GRAMEENA VIKAS BANK |
> | 65 | BHOPAL COOPERATIVE CENTRAL BANK |
> | 66 | FINGROWTH COOP BANK |
> | 67 | IRINJALAKUDA TOWN CO OPERATIVE BANK |
> | 68 | JILA SAHAKARI KENDRIYA BANK MARYADIT DURG |
> | 69 | KOLAR AND CHIKBALLAPURA DISTRICT CENTRAL COOPERATI |
> | 70 | KRISHNA BHIMA SAMRUDDHI AREA BANK |
> | 71 | UTTARAKHAND GRAMIN BANK |
> | 72 | CHIKMAGALUR PATTANA SAHAKARA BANK NIYAMITHA |
> | 73 | COASTAL LOCAL AREA BANK |
> | 74 | COL RD NIKAM SAINIK SAHAKARI BANK |
> | 75 | JILA SAHAKARI KENDRIYA BANK MARYADIT DHAR |
> | 76 | JILA SAHAKARI KENDRIYA BANK MYDT AMBIKAPUR AS ISSU |
> | 77 | MALDA DISTRICT CENTRAL COOP BANK |
> | 78 | MUGBERIA CENTRAL COOP BANK |
> | 79 | THE BELLARY DISTRICT COOP CENTRAL BANK |
> | 80 | THE DAKSHIN DINAJPUR DISTRICT CENTRAL COOP BANK |
> | 81 | THE HASSAN DISTRICT COOP CENTRAL BANK |
> | 82 | THE JAIPUR CENTRAL COOP BANK |
> | 83 | THE JUNAGADH JILLA SAHAKARI BANK |
> | 84 | THE SABARKANTHA DIST CENTRAL COOP BANK |
> | 85 | THE WEST BENGAL STATE COOP BANK |
> | 86 | UTTARAKHAND STATE COOP BANK |
> [accordion] I have integrated with Standard Checkout on Razorpay. How does this feature impact me?
>
> CVV-less flow will be automatically enabled for Visa, Mastercard and American Express cards on Razorpay Standard Checkout.
> [accordion] I have integrated with Custom Checkout/S2S on Razorpay. How does this feature impact me?
>
> If you are integrated with Razorpayโs Custom Checkout/S2S APIs, you need not pass CVV to Razorpay for tokenised payments mandatorily. Update your integration as follows:
>
> * Modify the UI to stop collecting CVV from customers.
> * For tokenised payments, the CVV field in the cards object can either be:
> * null
>
> * empty
>
> * removed entirely.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Do not pass dummy CVV values.
> [accordion] I use Juspay to route card payments to Razorpay. Can I stop sending the CVV to Juspay?
>
> In this case, Juspay must send CVV-less card payments via Razorpay. We recommend you reach out to your Juspay POC.
> [accordion] CVV validation was a mandatory step until now. Does this feature compromise my customerโs security?
>
> The new RBI guidelines for the **Card on File Tokenization (CoFT)** process ensure enhanced card security. Your customerโs card details are securely encrypted and stored, with access to only card networks and issuing banks. Considering this, Visa and Amex have made CVV validation optional for tokenised cards. This change is 100% compliant with all RBI regulations about card security.
> [accordion] What is Tokenisation?
>
> Tokenisation is the process by which the original card number / Primary Account Number (PAN) is replaced with a surrogate value called a **token**. Razorpayโs RBI-compliant TokenHQ solution allows cardholders to tokenise their cards and securely process transactions through the tokenised cards. To know more about TokenHQ, reach out to our [support team](https://razorpay.com/support/#request).
> [accordion] Is this change applicable only to specific transactions, for example, less than INR 2000?
>
> CVV-less flows are applicable to all tokenised transactions for all networks, irrespective of the payment amount.
> [accordion] Why is this introduced only on saved cards? Why not all cards?
>
> One of the ways cardholder authenticity and security are maintained for CVV-less transactions is via their consent and authorisation at the time of saving their card. Plain card payments still need to maintain cardholder security by mandating the CVV.
# Integrate Saved Cards at Standard Checkout
Source: https://razorpay.com/docs/payments/payment-methods/cards/features/integrate-saved-cards
Know how to integrate saved cards at Standard Checkout.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
Check the prerequisites and the integration steps for [Saved Cards](/docs/payments/payment-methods/cards/features/saved-cards) on your standard checkout page. Know [how to integrate Saved Cards on Custom Checkout](/docs/payments/payment-gateway/web-integration/custom/features/saved-cards).
## Prerequisites
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* [Generate API Keys on Dashboard.](/docs/api/authentication#generate-api-keys)
> [tab] Test Mode API Keys
>
> Watch this video to know how to generate Test Mode API keys.
>
> [Generate Test Mode API keys.](https://www.youtube.com/embed/6mJnOWZDhDo)
* [Integrate with our Standard Checkout](/docs/payments/payment-gateway/web-integration/standard).
## Step 1: Enable Flash Checkout on Dashboard
Flash Checkout, enabled by default on your Standard Checkout, lets your customers save their card details for future purchases. Customers can choose whether to save their card information during the payment process. All card details are stored securely using PCI-DSS-compliant technology. Know more about [Flash Checkout](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout).
## Step 2: Create a Customer
Create a customer whose card details should be saved from the Dashboard or using the Customers API. You can create customers with basic details such as `email` and `contact` using the following endpoint:
> [accordion] API Sample Code
>
> The following endpoint creates or add a customer with basic details such as name and contact details. You can use this API for various Razorpay Solution offerings.
>
> `POST /customers`
>
> ```bash Curl theme={null}
> curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> -X POST https://api.razorpay.com/v1/customers \
> -H "Content-Type: application/json" \
> -d '{
> "name": "",
> "contact": "",
> "email": "",
> "fail_existing": "0",
> "notes": {
> "notes_key_1": "Tea, Earl Grey, Hot",
> "notes_key_2": "Tea, Earl Greyโฆ decaf."
> }
> }'
> ```
>
> ```java Java theme={null}
> RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
>
> JSONObject customerRequest = new JSONObject();
> customerRequest.put("name","");
> customerRequest.put("contact","");
> customerRequest.put("email","");
> customerRequest.put("fail_existing", "0");
> JSONObject notes = new JSONObject();
> notes.put("notes_key_1","Tea, Earl Grey, Hot");
> notes.put("notes_key_2","Tea, Earl Greyโฆ decaf.");
> customerRequest.put("notes",notes);
>
> Customer customer = razorpay.customers.create(customerRequest);
> ```
>
> ```python Python theme={null}
> import razorpay
> client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
>
> client.customer.create({
> "name": "",
> "contact": "",
> "email": "",
> "fail_existing": "0",
> "notes": {
> "notes_key_1": "Tea, Earl Grey, Hot",
> "notes_key_2": "Tea, Earl Greyโฆ decaf."
> }
> })
> ```
>
> ```go Go theme={null}
> import ( razorpay "github.com/razorpay/razorpay-go" )
> client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
>
> data := map[string]interface{}{
> "name": "",
> "contact": "",
> "email": "",
> "fail_existing": "0",
> "notes": map[string]interface{}{
> "notes_key_1": "Tea, Earl Grey, Hot",
> "notes_key_2": "Tea, Earl Greyโฆ decaf.",
> },
> }
>
> body, err := client.Customer.Create(data, nil)
> ```
>
> ```php PHP theme={null}
> $api = new Api($key_id, $secret);
>
> $api->customer->create(array('name' => '', 'email' => '','contact'=>'','notes'=> array('notes_key_1'=> 'Tea, Earl Grey, Hot','notes_key_2'=> 'Tea, Earl Greyโฆ decaf'));
> ```
>
> ```csharp .NET theme={null}
> RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
>
> Dictionary options = new Dictionary();
>
> options.Add("name", "");
> options.Add("contact", "");
> options.Add("email", "");
> options.Add("fail_existing", "0");
>
> Customer customer = Customer.Create(options);
> ```
>
> ```ruby Ruby theme={null}
> require "razorpay"
> Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
>
> Razorpay::Customer.create({
> "name": "",
> "contact": "",
> "email": "",
> "fail_existing": "0",
> "notes": {
> "notes_key_1": "Tea, Earl Grey, Hot",
> "notes_key_2": "Tea, Earl Greyโฆ decaf."
> }
> })
> ```
>
> ```javascript Node.js theme={null}
> var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
>
> instance.customers.create({
> name: "",
> contact: "",
> email: "",
> fail_existing: "0",
> notes: {
> notes_key_1: "Tea, Earl Grey, Hot",
> notes_key_2: "Tea, Earl Greyโฆ decaf."
> }
> })
> ```
>
> ```json Success Response theme={null}
> {
> "id" : "cust_1Aa00000000004",
> "entity": "customer",
> "name" : "",
> "email" : "",
> "contact" : "",
> "gstin": null,
> "notes": {
> "notes_key_1":"Tea, Earl Grey, Hot",
> "notes_key_2":"Tea, Earl Greyโฆ decaf."
> },
> "created_at ": 1234567890
> }
> ```
>
> ```json Failure Response theme={null}
> {
> "error": {
> "code": "BAD_REQUEST_ERROR",
> "description": "Contact number should be at least 8 digits, including country code",
> "source": "business",
> "step": "NA",
> "reason": "invalid_contact_number",
> "metadata": {},
> "field": "contact"
> }
> }
> ```
>
> Know more about [Customers API](/docs/api/customers).
>
> #### Request Parameters
>
> `name` *optional*
> : `string` Customer's name. Alphanumeric value with period (.), apostrophe ('), forward slash (/), at (@) and parentheses are allowed. The name must be between 3-50 characters in length. For example, `Gaurav Kumar`.
>
> `contact ` *optional*
> : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919876543210`.
>
> `email ` *optional*
> : `string` The customer's email address. A maximum length of 64 characters. For example, `gaurav.kumar@example.com`.
>
> `fail_existing` *optional*
> : `string` Possible values:
>
> * `1` (default): If a customer with the same details already exists, throws an error.
> * `0`: If a customer with the same details already exists, fetches details of the existing customer.
>
> `gstin` *optional*
> : `string` Customer's GST number, if available. For example, `29XAbbA4369J1PA`.
>
> `notes` *optional*
> : `object` This is a key-value pair that can be used to store additional information about the entity. It can hold a maximum of 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
## Step 3: Create an Order
Order is an important step in the payment process.
* An order should be created for every payment.
* You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/api/authentication#generate-api-keys) Orders API.
* The order\_id received in the response should be passed to the checkout. This ties the Order with the payment and secures the request from being tampered.
> [!WARNING]
>
> **Watch Out!**
>
> Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
#### API Sample Code
The following is a sample API request and response for creating an order:
```bash Curl theme={null}
curl -X POST https://api.razorpay.com/v1/orders
-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
-H 'content-type:application/json'
-d '{
"amount": 50000,
"currency": "INR",
"receipt": "rcptid_11",
"partial_payment": true,
"first_payment_min_amount": 23000
}'
```
```java Java theme={null}
try {
JSONObject orderRequest = new JSONObject();
orderRequest.put("amount", 50000); // amount in the smallest currency unit
orderRequest.put("currency", "INR");
orderRequest.put("receipt", "order_rcptid_11");
Order order = razorpay.Orders.create(orderRequest);
} catch (RazorpayException e) {
// Handle Exception
System.out.println(e.getMessage());
}
```
```python Python theme={null}
import razorpay
client = razorpay.Client(auth=("api_key", "api_secret"))
DATA = {
"amount": 50000,
"currency": "INR",
"receipt": "receipt#1",
"notes": {
"key1": "value3",
"key2": "value2"
}
}
client.order.create(data=DATA)
```
```php PHP theme={null}
$order = $client->order->create([
'receipt' => 'order_rcptid_11',
'amount' => 50000, // amount in the smallest currency unit
'currency' => 'INR'// See the list of supported currencies.)
]);
```
```csharp .NET theme={null}
Dictionary options = new Dictionary();
options.Add("amount", 50000); // amount in the smallest currency unit
options.add("receipt", "order_rcptid_11");
options.add("currency", "INR");
Order order = client.Order.Create(options);
```
```ruby Ruby theme={null}
options = amount: 50000, currency: 'INR', receipt: ''
order = Razorpay::Order.create
```
```javascript Node.js theme={null}
var options = {
amount: 50000, // amount in the smallest currency unit
currency: "INR",
receipt: "order_rcptid_11"
};
instance.orders.create(options, function(err, order) {
console.log(order);
});
```
```json Response theme={null}
{
"id": "order_DBJOWzybf0sJbb",
"entity": "order",
"amount": 50000,
"amount_paid": 0,
"amount_due": 50000,
"currency": "INR",
"receipt": "rcptid_11",
"status": "created",
"attempts": 0,
"notes": [],
"created_at": 1566986570
}
```
#### Request Parameters
Here is the list of parameters and their description for creating an order:
`amount` *mandatory*
: `integer` Payment amount in the smallest currency sub-unit. For example, if the amount to be charged is โน299, then pass `29900` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> [!WARNING]
>
> **Watch Out!**
>
> As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
`currency` *mandatory*
: `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be 3 characters.
> [!NOTE]
>
> **Handy Tips**
>
> Razorpay has added support for zero decimal currencies, such as JPY and three decimal currencies, such as KWD, BHD and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
`receipt` *optional*
: `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
`notes` *optional*
: `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
`partial_payment` *optional*
: `boolean` Indicates whether the customer can make a partial payment. Possible values:
* `true`: The customer can make partial payments.
* `false` (default): The customer cannot make partial payments.
`id` *mandatory*
: `string` Unique identifier of the customer. For example, `cust_1Aa00000000004`.
Know more about [Orders API](/docs/api/orders).
#### Response Parameters
Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) table.
#### Error Response Parameters
The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
## Step 4: Enable Customer Card Saving on Checkout
While making the payment, the customer enters card details and can choose to save them for future use. Pass `customer_id` along with the other parameters into the Checkout form.
> [tab] Web
>
> ```html Web Standard Checkout theme={null}
>
>
>
> ```
>
> #### Request Parameter
>
> `customer_id` *mandatory*
> : `string` Unique identifier of the customer. This can be obtained from the response of the previous step.
>
> Know more about [Checkout parameters](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-3-checkout-options) for web integration.
> [tab] Android
>
> To enable customers to save their cards, pass `customer_id` along with other parameters:
>
> ```java Save Card theme={null}
> JSONObject payload = new JSONObject();
> payload.put("currency", "INR");
> payload.put("customer_id", "cust_4lsdkfldlteskf");
> payload.put("order_id", "order_DBJOWzybf0sJbb");
> // And the remaining fields
> ```
>
> #### Request Parameter
>
> `customer_id` *mandatory*
> : `string` Unique identifier of the customer. This can be obtained from the response of the previous step.
>
> Know more about [Checkout parameters](/docs/payments/payment-gateway/android-integration/standard/integration-steps#checkout-options) for Android integration.
> [tab] iOS
>
> To enable customers to save their cards, pass `customer_id` along with other parameters. The `options` dictionary in Swift and Objective C are shown below:
>
> ```swift Swift theme={null}
> internal func showPaymentForm(){
> let options: [String:Any] = [
> "customer_id":"cust_4lsdkfldlteskf",
> "order_id":"order_DBJOWzybf0sJbb"
> // And the remaining fields
> ]
> razorpay.open(options)
> }
> ```
>
> ```objectivec Objective C theme={null}
> @"customer_id" : @"cust_4lsdkfldlteskf",
> @"order_id": "order_DBJOWzybf0sJbb"
> // And the remaining fields
> ```
>
> #### Request Parameter
>
> `customer_id` *mandatory*
> : `string` Unique identifier of the customer. This can be obtained from the response of the previous step.
>
> Know more about [other Checkout parameters for iOS integration](/docs/payments/payment-gateway/ios-integration/standard/integration-steps).
## Step 5: Create Payments Using Saved Card
Once the card is saved, customers can complete payments on repeat purchases by only entering the CVV. To fetch saved cards, pass the `customer_id` to the Checkout form.
> [tab] Web
>
> Initiate payment by passing `customer_id` to Checkout along with the other options.
>
> ```html Standard Checkout theme={null}
>
>
>
> ```
>
> #### Request Parameter
>
> `customer_id` *mandatory*
> : `string` Unique identifier of the customer. [Created in Step 2](#step-2-create-a-customer).
> [tab] Android
>
> Initiate payment by passing `customer_id` to Checkout along with the other options.
>
> ```java Initiate Payment theme={null}
> JSONObject payload = new JSONObject();
> payload.put("customer_id", "cust_4lsdkfldlteskf");
> // And the remaining fields
> ```
>
> #### Request Parameter
>
> `customer_id` *mandatory*
> : `string` Unique identifier of the customer. [Created in Step 2](#step-2-create-a-customer).
> [tab] iOS
>
> Initiate payment by passing `customer_id` to Checkout along with the other options.
>
> ```swift Swift theme={null}
> internal func showPaymentForm(){
> let options: [String:Any] = [
> "amount": "100",
> "currency": "INR",//Amount is in currency subunits.
> "description": "purchase description",
> "order_id": "order_4xbQrmEoA5WJ0G",
> "image": "https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> "name": "business or product name",
> "customer_id":"cust_4lsdkfldlteskf",
> "prefill": [
> "contact": "",
> "email": ""
> ],
> "theme": [
> "color": "#F37254"
> ]
> // And the remaining fields
> ]
> razorpay.open(options)
> }
> ```
>
> ```objectivec Objective C theme={null}
> @"amount" : @(2000),
> @"email" : @"",
> @"contact" : @"",
> @"customer_id" : @"cust_4lsdkfldlteskf"
> // And the remaining fields
> ```
>
> #### Request Parameter
>
> `customer_id` *mandatory*
> : `string` Unique identifier of the customer. [Created in Step 2](#step-2-create-a-customer).
## Test Integration
Use test cards to test your payment integration before going live. The test cards simulate different payment scenarios and error conditions for all supported card networks. Know more about [Test Cards](/docs/payments/payments/test-card-details).
# Save Customer Card Details at Standard Checkout
Source: https://razorpay.com/docs/payments/payment-methods/cards/features/saved-cards
Store customer's card details securely as tokens to repeat transactions made by the customer. Manage saved cards.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
Save your customers' card details with Razorpay using tokens. The next time the customer makes any transaction, they only need to enter the CVV of the previously saved card. This saves the customer the hassle of entering the card details multiple times for each transaction.
Know [how to integrate saved cards at Standard Checkout.](/docs/payments/payment-methods/cards/features/integrate-saved-cards)
As per the RBI guidelines, we save the cards in a tokenised form. Razorpay does not save sensitive card details and only saves the tokens.
> [accordion] On Demand Feature - Raise a Request
>
> > [!NOTE]
> >
> > * This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
> > * It takes approximately 5-7 working days to enable tokenisation for Visa, MasterCard and other networks.
> > * Watch this video to know how to raise a feature enablement request on the Dashboard.
> >
> > 
> [!WARNING]
>
> **Watch Out!**
>
> For a safer and secure payment experience, please advise your customers to log out of the Saved Cards feature after completing the payment. Doing so avoids any misuse of the card information.
## Save Card Details
To save card details, the customer:
1. Opens Razorpay Checkout and selects **Card** as the payment method.
2. Provides the card details.
3. While making a card payment, the customer can choose to:
* Save their card details.
* Not save their card details.

## Make Payments Using Saved Cards
To make payment using saved cards:
1. The customers log in to the Razorpay Checkout.
2. They select **Card** as the payment method.
3. They enter the OTP sent to their phone or use their fingerprint if [Biometric Authentication](/docs/payments/payment-gateway/features) biometric authentication is set up, then click **Verify**.
4. They select the saved card, enter the CVV and click **Pay**.
5. We recommend that customers log out of Checkout after they complete the transaction. To do this, they must:
1. Open Razorpay Checkout.
2. Select **Card** as the payment method.
3. Click the drop-down list and select **Log out from all devices**.
Your customers gain a faster and enhanced checkout experience with Razorpay OTP auto-submit. The system automatically reads the OTP received, with your customerโs consent, and submits it. It prevents errors and the users do not need to navigate or interact with additional elements to complete verification, making the process seamless. This is available by default on Android SDK and not available on iOS SDK.
## Manage Saved Cards
According to RBI Guidelines, all customers should have a way to delete their card details stored as tokens. Customers can manage saved tokens using our portal.
Customers can manage their saved card details stored as tokens using our portal.
To manage saved cards:
1. Log in to the [Portal](https://razorpay.com/flashcheckout/manage/) using their **Mobile Number** and enter your **Email**. Click **Send OTP**.
2. Enter the **OTP** sent to their mobile number for verification and click **Verify**.
3. They can choose to select a card and delete the website/app on that particular card, or they can also select a website/app and delete the card on that particular website/app.\

> [accordion] To delete website/app on a particular card:
>
> 1. Select **Cards**. View a list of saved cards.
>
> 
>
> 2. Select a card. For example, a customer selects a card from Paytm Payments Bank. They can now view a list of websites/apps they saved the card on earlier.
>
> 3. Either click **Select All** or select the relevant **check box** against each website/app.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > If they cannot find a website/app, their card might be saved directly on Razorpay. They can select the **check box** to delete all the cards saved on Razorpay.
>
> 4. Click **Delete**. A pop-up appears to confirm the action, click **Yes, Delete**.
> [accordion] To delete card on a particular Website/App:
>
> 1. Select **Websites/Apps**. They view a list of websites/apps they have saved their cards on earlier.
>
> 
> 2. Select a website/app. For example, a customer selects Zomato. They can now view the cards saved on Zomato.
> 3. Either click **Select All** or select the relevant **check box** against each card.
> 4. Click **Delete**. A pop-up appears to confirm the action, click **Yes, Delete**.
>
> 
> [!WARNING]
>
> **Watch Out!**
>
> For a safer experience, please advise your customers to log out of the **Manage saved cards portal** after deleting their cards. To logout, click **Logout** on the right below Contact Us.
## Frequently Asked Questions (FAQs)
> [accordion] Why are my customers unable to access the saved cards?
>
> If your customers are using Google Chrome and not able to access saved cards, it may be due to their browser configurations. Go to Chrome **Settings**, select **Privacy and security** โ **Cookies and other site data** โ **Allow all cookies** and restart the browser. If they still cannot access them, contact our [Support team](https://razorpay.com/support/).
>
> 
> [accordion] My customers have accessed their saved cards on the Checkout by providing OTP. How do they now log out?
>
> For a safer and secured payment experience, your customer must log out from the Razorpay Checkout by following these steps:\\
>
> 1. Open Razorpay Checkout.
> 2. Select **Card** as the payment method.
> 3. Click the drop-down and select **Log out from all devices**.
>
> This logs the customers out from the saved card feature on Checkout.
# Push Tokenisation
Source: https://razorpay.com/docs/payments/payment-methods/cards/token-hq/push-tokenisation
Enable your customers to save their cards directly through their bank's secure portal and enjoy seamless checkout experiences across multiple merchants.
Available in
๐ฎ๐ณ India
Push Tokenisation revolutionises how customers save their payment methods. Instead of entering card details at every business checkout, customers can now tokenise their cards once through their trusted bank portal and grant permissions to multiple businesses simultaneously.
This innovation delivers a checkout experience similar to returning customers, without the friction of traditional card-saving methods. Customers complete the tokenisation during their card activation process at the bank, making transactions seamless from day one.
## Advantages
With Push Tokenisation, customers can experience:
* **Enhanced Security**: Card tokenisation happens through secure bank portals.
* **Increased Token Adoption**: Direct enablement during card activation ensures higher participation.
* **Partner Merchant Discovery**: Banks showcase partner merchants, helping businesses reach new customers.
* **Faster Checkout**: Customers skip entering card details, which saves time and helps improve conversion rates.
## How it works
Push Tokenisation creates a seamless connection between banks, businesses, and customers.
1. Customer activates their card on the bank's portal.
2. Banks present a list of businesses during activation.
3. Customers select businesses to save their tokenised card with.
4. Businesses receive permission to use the tokenised card for future transations.
5. Customer enjoys saved card experience on Checkout.
*Bank portal is powered by Razorpay for Razorpay exclusive banks.*
## Related Information
* [Integration Steps](/docs/payments/payment-methods/cards/token-hq/push-tokenisation/integration)
* [FAQs](/docs/payments/payment-methods/cards/token-hq/push-tokenisation/faqs)
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/payment-methods/cards/token-hq/push-tokenisation/faqs
Find answers to frequently asked questions about the Push Tokenisation.
Available in
๐ฎ๐ณ India
> [accordion] What is Push Tokenisation?
>
> With Push Tokenisation, you can enable your customers to save their cards directly through their bank's secure portal and enjoy hasslefree checkout experience across multiple merchants.
> [accordion] Can I use email instead of phone number?
>
> No, Push Tokenisation exclusively uses phone numbers as identifiers. This is a requirement from our banking partners to ensure consistent customer identification across systems. Make sure your checkout flow captures customer phone numbers.
> [accordion] What if my integration only uses customer IDs?
>
> You will need to update your integration to collect phone numbers. We recommend:
>
> * Adding phone number as a required field in your checkout.
> * Updating existing customer records to include phone numbers.
> * Using phone number as the primary identifier for token operations.
> [accordion] How do I handle customers with multiple phone numbers?
>
> Tokens are linked to the specific phone number used during bank portal registration. Ensure customers use their registered phone number during checkout for successful token retrieval.
> [accordion] Do all my customers automatically get Push Tokenisation?
>
> No, Push Tokenisation can be enabled only for customers who:
>
> * Have cards from participating banks.
> * Have opted for tokenisation through their bank portal.
> * Have selected your business during the setup process.
> [accordion] Which banks support Push Tokenisation?
>
> Push Tokenisation is supported by the following banks: Axis Bank, HDFC Bank, SBI Bank, RBL Bank, Yes Bank, Federal Bank, and Canara Bank.
> [accordion] Is user consent required for token creation?
>
> Yes, user consent is required for saving a card/creating a token. This is done during push tokenisation on the bank's portal.
> [accordion] Are the Saved Card feature and Tokenisation feature the same?
>
> Yes. As per the RBI guidelines, saved cards will be tokenised with networks and issuers to ensure compliance.
# Integrate Push Tokenisation
Source: https://razorpay.com/docs/payments/payment-methods/cards/token-hq/push-tokenisation/integration
Steps to integrate Push Tokenisation with Standard Checkout, Custom Checkout and S2S.
Available in
๐ฎ๐ณ India
Integrating Push Tokenisation allows you to securely handle card details by converting them into tokens. Given below are the steps to integrate Push Tokenisation with Standard Checkout, Custom Checkout and S2S.
## Prerequisites
To integrate Push Tokenisation, you must:
* Have an active Razorpay Account
* Have a live payment integration such as Standard or Custom or S2S.
Businesses must be onboarded with Razorpay to appear on bank portals for customer selection. The integration requirements vary by your current Razorpay implementation.
## Standard Checkout
**Integration Effort** - None.
Razorpay provides a fully managed checkout experience with end-to-end control. To enable this feature for Standard Checkout, contact [Razorpay Support](https://razorpay.com/support/#request) for assistance.
For more information, refer [Standard Checkout](/docs/payments/payment-gateway/web-integration/standard)
## Custom Checkout
Existing Custom Checkout users are automatically eligible for Push Tokenisation. If your business has already integrated with Custom Checkout, you can retrieve all tokens associated with a cardholder by using the Fetch Token API.
### Retrieve Token Via Fetch Token API
You should continue using the same API. However, ensure that the user's phone number is provided in the same format as specified in the payload. You should pass this token to checkout to show customers the saved card details and help them complete the payment.
Refer to the [Fetch Token API](/docs/payments/payment-methods/cards/token-private) document for more information.
> [!WARNING]
>
> **Watch Out!**
>
> While creating a customer, ensure that the phone number includes the country code and follows the specified format in the payload (for example, +919900990099) for accurate data mapping.
## S2S (Server-to-Server) Integration
**Integration Effort** - None.
Current S2S Integration Users can use Push Tokenisation without modifications. Integrate with Razorpayโs webhook to receive and process push tokens. Enable relevant events to efficiently consume and manage these tokens.
For more information, refer to the [S2S Integration - Tokenisation APIs](/docs/payments/payment-methods/cards/token-hq/merchant-requestor/apis) documentation.
## Third Party Solutions
**Integration Effort** - Customised.
Customised solutions are available based on specific requirements. Contact your Account Manager or raise a support request via [Razorpay Support](https://razorpay.com/support/#request) for assistance.
## Implementation Requirements
Push Tokenisation uses phone numbers as the unique customer identifier for fetch token operations, enabling seamless token sharing between banks and businesses. Email-only identification is not fully supported.
> [accordion] Step 1 - Fetching Customer Tokens
>
> To be able to create tokens using Push Tokenisation, you must create a customer using phone number as the primary identifier. For more details, refer [Create a Customer API](/docs/api/customers/create).
> The response will include all tokens the customer has authorised for your business account through their bank portal.
> [accordion] Step 2 - Webhook Enablement
>
> * **Event Configuration**: Confirm that the `token.service_provider.activated` event is enabled in your webhook configuration. This event captures successfully tokenised details, including push tokens.
> * **Payload Mapping**: The event payload includes unique customer details. Ensure that you map these details with the unique customer identifier (in this case, phone number) when processing the data.
### Setting Up Webhooks for the First Time
If you need to set up a webhook for the first time, follow these steps:
1. Enable the following features:
* Ensure your Razorpay terminal is activated.
* Ensure tokenisation is activated for the relevant card networks.
2. Webhook Setup:
* Watch this [tutorial video](/docs/webhooks/setup-edit-payments) for detailed steps on setting up the webhook.
* Set Up Endpoint: Provide the URL of the endpoint where you want to receive webhook payloads. This should be the same endpoint used for storing token details during checkout.
* Whitelist Razorpay: Ensure your endpoint is configured to accept requests from Razorpay.
3. The sample modified payload for push tokenisation with customer details
## token.service\_provider.activated
```json payload theme={null}
{
"entity": "event",
"account_id": "acc_EDUGNVWZIB7Ewb",
"event": "token.service_provider.activated",
"contains": [
"token",
"service_provider_token"
"customer"
],
"payload": {
"token": {
"entity": {
"id": "token_OGgK06YEVLnTc0",
"entity": "token",
"method": "card",
"card": {
"last4": "5003",
"network": "Visa",
"type": "credit",
"issuer": "ICICI",
"international": false,
"emi": true,
"sub_type": "consumer",
"token_iin": "48202---",
"cobranding_partner": null
},
"created_at": 1717066962,
"customer": {
"id": "cust_NgH3a3tGNtvCkA",
"entity": "customer",
"name": "Gaurav",
"email": "gaurav.kumar@example.com",
"contact": "+919900990099",
"gstin": null,
"notes": {
"notes_key_1": "Tea, Earl Grey",
"notes_key_2": "Tea, Earl"
},
"created_at": 1709117745
},
"expired_at": 1853951399,
"status": "active",
"notes": [],
"source": "issuer",
"customer_id": "cust_NgH3a3--tvCkA",
"compliant_with_tokenisation_guidelines": true,
"service_provider_tokens": [
{
"id": "spt_OGgK1--ST1rE9",
"entity": "service_provider_token",
"provider_type": "network",
"provider_name": "visa",
"interoperable": true,
"provider_data": {
"token_reference_number": "676dd1c68e5e24a48f1518ccee092a0b",
"payment_account_reference": "V0010015821281661606691594406",
"token_expiry_month": 9,
"token_expiry_year": 2028
},
"status": "active"
}
]
}
},
"service_provider_token": {
"entity": [
{
"id": "spt_OGgK1aR3ST1rE9",
"entity": "service_provider_token",
"provider_type": "network",
"provider_name": "visa",
"interoperable": true,
"provider_data": {
"token_reference_number": "676dd1c68e5e24a48f1518ccee092a0b",
"payment_account_reference": "V0010015821281661606691594406",
"token_expiry_month": 9,
"token_expiry_year": 2028,
"card": []
},
"status": "active",
"tokenised_terminal_id": "IPjK2jYGlbH3jq"
}
]
},
"customer": {
"entity": {
"id": "NgH3a3tGNtvCkA",
"email": "example@gmail.com",
"contact": "9--------0"
}
}
},
"created_at": 1717066964,
}
```
# Cash on Delivery
Source: https://razorpay.com/docs/payments/payment-methods/cod
Offer Cash on Delivery (COD) as a payment method on the Razorpay Checkout page.
Available in
๐ฎ๐ณ India
You can now offer Cash on Delivery (COD) as a payment method on the Razorpay Checkout page. Customers can choose COD directly on the Checkout page, alongside UPI, cards, netbanking and more. This flow increases accessibility and builds trust among first-time buyers and high-value orders.
## Ways to Offer COD
| **Checkout product** | **How COD works** | **Guide** |
| - | - | - |
| **Standard Checkout** | COD appears as a payment method in Standard Checkout. You set the convenience fee per order using `cod_fee`, control where COD appears, and receive a `payment.pending` webhook when an order is placed. COD must be activated on your account. | [COD on Standard Checkout](/docs/payments/payment-gateway/web-integration/standard/cod) |
| **Magic Checkout** | COD is supported by default. The checkout flow includes an address section, which you can hide using `show_address`. | This page |
> [!NOTE]
>
> **Handy Tips**
>
> [Razorpay Magic Checkout](/docs/payments/magic-checkout) supports Cash on Delivery (COD) by default. For a simplified experience without the address section, use the flow described below that directly opens the payment page. Both flows support COD as a payment method.
## COD on Magic Checkout
The rest of this page describes COD on Magic Checkout. If you use Standard Checkout, see [COD on Standard Checkout](/docs/payments/payment-gateway/web-integration/standard/cod) instead.
## Prerequisites
* [Create a Razorpay account](https://dashboard.razorpay.com/).
* Generate [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
* Integrate with Razorpay Magic Checkout:
* [Native (Web)](/docs/payments/magic-checkout/web)
* [Android](/docs/payments/magic-checkout/android-integration)
* [iOS](/docs/payments/magic-checkout/ios-integration)
* [React Native: Android](/docs/payments/magic-checkout/react-native-android-integration)
* [React Native: iOS](/docs/payments/magic-checkout/react-native-ios-integration)
* [Flutter](/docs/payments/magic-checkout/flutter-integration)
* [Capacitor](/docs/payments/magic-checkout/capacitor-integration)
> [!WARNING]
>
> **Watch Out!**
>
> This feature is currently supported only for native Razorpay integrations. It is not available on third-party platforms such as Shopify, WooCommerce and so on.
## Integration Steps
Follow the integration steps given below:
1. Use your existing Magic Checkout integration. While configuring the checkout options, pass the `show_address` parameter as shown below to control the visibility of the address section:
```javascript json theme={null}
"options": {
"show_address": false
}
```
`show_address`
: `boolean` Determines whether the shipping address section appears on the Checkout page. Possible values
* `true` (default): Show the address form.
* `false`: Hide the address form.
> [!NOTE]
>
> **Handy Tips**
>
> Magic Checkout supports **Cash on Delivery (COD)** by default and the checkout flow includes an address section. Use the `show_address` parameter to remove this step and maintain a simplified checkout experience.
2. **Cash on Delivery** appears as one of the available payment methods on the Checkout interface. Customers can select COD and confirm the order.
## Customer Experience
The flow below displays how customers can view and select **Cash on Delivery** during Checkout:

### Related Information
* [COD on Standard Checkout](/docs/payments/payment-gateway/web-integration/standard/cod)
* [Payment Configuration](/docs/payments/dashboard/account-settings/payment-configuration#configure-payment-options)
# About EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi
Let your customers avail various EMI plans at Razorpay Standard Checkout. Debit Cards, Credit Cards, No Cost EMI, Low Cost EMI and Cardless EMI.
Available in
๐ฎ๐ณ India
EMI provides an option to your customers for making total payment in easy equal monthly installments at the applicable interest rates from the list of banks and partners. This payment option encourages your customer to make big value purchases without worrying about paying the full amount upfront. Customers pay principal amount and interest in monthly equal installments.
With Razorpay, you can offer your customers EMI as a payment method to buy various products on EMI using Debit Cards, Credit Cards, No Cost EMI, Low Cost EMI and Cardless EMI.
> [!WARNING]
>
> **Watch Out!**
>
> Instant Refunds are not supported on EMI, Cardless EMI and Pay Later.
## EMI Types
| EMI Types | Availability |
| - | - |
| [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi) | โ (SBI Credit Card requires [Approval](https://razorpay.com/support)) |
| [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) | โ |
| [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | โ (Debit and Credit card EMIs) |
| [Low Cost EMI](/docs/payments/payment-methods/emi/low-cost-emi) | โ (Debit and Credit card EMIs) |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | Requires [Approval](https://razorpay.com/support) |
You can view the EMIs enabled for your Razorpay account from the **Account & Settings โ Payment Methods** tab.

> [!NOTE]
>
> **Additional Payment Methods**
>
> You can raise requests for [additional payment methods](/docs/payments/dashboard/account-settings/payment-methods#request-payment-methods). Know more about [Payment Methods](/docs/payments/dashboard/account-settings/payment-methods#request-payment-methods).
## Payment Flow on Standard Checkout
On your website or app, customers select the products and proceed to Checkout.
> [accordion] On the Checkout page, the customers:
>
> 1. Enter the **Phone Number** and click **Continue**
> 2. Select **EMI**, **No Cost EMI** or **Low Cost EMI** as the payment method as highlighted below.
>
> 
> 3. Select a preferred EMI type, [Credit](/docs/payments/payment-methods/emi/credit-card-emi), [Debit](/docs/payments/payment-methods/emi/debit-card-emi) or [Cardless](/docs/payments/payment-methods/emi/cardless-emi).
> 4. Choose a bank from the list and select the EMI tenure. This flow is for Credit Card EMI. Click **Continue**.
>
> 
> 5. Enter the required details and choose if they want to **Save this card as per RBI guidelines** or pay without saving the card.
> 6. Click **Continue**.
>
> After the successful payment, Razorpay redirects customers to your application or website. Customers' monthly statements will reflect the EMI amount with interest charged by the bank. You receive the full amount in your bank account as per your [settlement cycle](/docs/payments/settlements#settlement-cycle).
## Try EMI Flow on Checkout
You can try the EMI flow by clicking the **Pay with Razorpay** button. This initiates a โน5,500 payment. Provide the relevant details and complete the payment.
> [!WARNING]
>
> **Live Transaction with Auto Refund**
>
> This is a real transaction and money will be deducted from your account. However, the amount debited will be auto-refunded to your account in 5-7 working days.
[Pay with Razorpay](https://razorpay.com/emidemo/)
## Test Card
You can use the test cards to test domestic payments, international payments and subscriptions. Know more about [Test Card details](/docs/payments/payments/test-card-details#test-card-for-emi-payments).
# About Cardless EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi/cardless-emi
Offer automatic EMI payments without using credit or debit cards to your customers. Check the payment flow and supported Cardless EMI providers.
Available in
๐ฎ๐ณ India
> [card] [Cardless EMI Changelog](/docs/payments/changelog#products)
>
> Discover new features, updates and deprecations related to Cardless EMI (since Jan 2024).
Offer Cardless EMI as a payment method to convert their payment amount to EMIs without a debit or credit card. Customers enjoy the benefits of the EMI as the payments are made using credits approved by the supported Cardless EMI Payment Partners.
> [!WARNING]
>
> **Watch Out!**
>
> Instant Refunds are not supported on EMI, Cardless EMI and Pay Later.
> [!NOTE]
>
> **Feature Enablement**
>
> Cardless EMI as a payment method is not enabled by default. Raise a request with our [Support Team](https://razorpay.com/support/#request) to enable this feature.
## Supported Payment Partners
Following is the list of supported Payment Partners for Cardless EMI and the minimum order amount stipulated by them:
> [tab] Banks
>
> | Banks | Provider Code | Minimum Order Amount |
> | - | - | - |
> | ICICI Bank | `icic` | โน7000 |
> | IDFC Bank | `idfb` | โน5000 |
> | HDFC Bank | `hdfc` | โน5000 |
> | Kotak Bank | `kkbk` | โน3000 |
> | [axio](/docs/payments/payment-methods/emi/cardless-emi/axio) | `walnut369` | โน900 |
> | Fibe | `earlysalary` | โน3000 |
> | ZestMoney | `zestmoney` | โน3000 |
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Check the standard [interest rates charged by Banks/Partners](/docs/payments/payment-gateway/emiยฒ/faqs#1-what-are-the-standard-interest-rates-charged).
> [tab] Non-Banking Payment Partners
>
> | Payment Partners | Provider Code | Minimum Order Amount |
> | - | - | - |
> | axio | `walnut369` | โน900 |
> | Fibe | `earlysalary` | โน3000 |
> | ZestMoney | `zestmoney` | โน3000 |
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Check the standard [interest rates charged by Pay Later Providers](/docs/payments/payment-gateway/emiยฒ/faqs#2-what-are-the-standard-interest-rates-charged).
> [tab] Optimizer Providers
>
> | Payment Partners | Provider Code | Minimum Order Amount |
> | - | - | - |
> | [ShopSe](/docs/payments/payment-methods/emi/cardless-emi/shopse) | `shopse` | โน3000 |
> | [Snapmint](/docs/payments/payment-methods/emi/cardless-emi/snapmint) | `snapmint` | None |
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Check the standard [interest rates charged by Pay Later Providers](/docs/payments/payment-gateway/emiยฒ/faqs#2-what-are-the-standard-interest-rates-charged).
## Payment Flow
Given below is a diagram that explains the payment flow for Cardless EMI:

## Payment Flow on Standard Checkout
Customers select the products on your website or app and proceed to Checkout. On the Checkout page, the customers:
1. Enter their **Phone Number** and click **Continue**.
2. Select **EMI** as the payment method.

3. Select **Cardless and Others**.

4. Choose a payment instrument from the list and select the EMI tenure. Click **Continue**.

After the successful payment, Razorpay redirects customers to your application or website. Customers' monthly statements will reflect the EMI amount with interest charged by the bank.
You will receive the entire payment amount from the Cardless EMI service provider. Based on the terms and conditions, the customer pays the total payment amount with additional interest (if any) as EMIs to the provider.
## Standard Checkout Integration
No additional integration is required to show Cardless EMI on your Standard Checkout page.
## FAQs
See: [Cardless EMI FAQs](/docs/payments/payment-methods/emi/faqs#cardless-emi).
# About axio Cardless EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi/cardless-emi/axio
Offer axio Cardless EMI payment option to your customers on checkout.
Available in
๐ฎ๐ณ India
axio, formerly Capital Float, is India's leading digital consumer finance company offering pay later and credit management under one seamless brand experience. Offer axio as a payment option where the customers can convert their payment amount to EMIs without a debit or credit card.
> [!NOTE]
>
> **Minimum Order Amount**
>
> Your customers should place an order of at least โน900 to use axio as the Cardless EMI payment provider.
#### Advantages
* **On-the-fly registration**: The customers can sign up right from Razorpay Checkout by providing their PAN, date of birth, and Aadhaar number for KYC verification.
* **High approval rate**: More than 40% of the customers who sign up for axio would be eligible for credit.
* **Zero integration efforts** \
If you use Standard Checkout, axio will be available once our team enables the feature. You do not need to make any changes to your integration.
## Payment Flow for Standard Checkout
Customers select the products on your website or app and proceed to Checkout. On the Checkout page, the customers:
1. Enter their **Phone Number** and click **Continue**.
2. Select **EMI** as the payment method.

3. Select **Cardless and Others**.

4. Select **axio** as the Cardless EMI service provider.

5. An OTP is sent on their registered mobile numbers to authenticate the customer account. They enter the OTP and click **Verify**.
6. To complete the KYC verification, they enter their PAN and date of birth and click **Continue**.
7. They enter their Aadhaar card number and click **GET OTP**. An OTP is sent to the mobile number and email address registered with their Aadhaar.
8. They enter the OTP and click **VERIFY**.
> [!NOTE]
>
> **Handy Tips**
>
> Steps 7, 8 and 9 apply only to customers using axio for the first time.
1. The EMI options are displayed to the customers. They can select the tenure and click **Select Plan**.

2. Customers make a down payment using the UPI payment method. A UPI collect request is sent to the customer. They can use their UPI PSP app to complete the payment.
You will receive the entire transaction amount from axio. Depending on the terms and conditions, the customer pays the total order amount with additional interest (if any) as EMIs to axio.
## Standard Checkout Integration
No additional integration is required to show axio as a Cardless EMI service provider on your Standard Checkout integration. Know [how to integrate axio as a payment method on custom checkout.](/docs/payments/payment-methods/emi/cardless-emi/axio/custom-integration)
## Grievance Redressal Officer (GRO) Details
The GRO details are given below:
* **Name:** B S Yasaswi
* **Designation:** Grievance Redressal Officer
* **Address:** New No. 3 (Old No. 211), Gokaldas Platinum, Upper Palace Orchards, Bellary Road, Sadashiva Nagar, Bengaluru, Karnataka 560080
* **Telephone/Mobile:** 080 6807 5001
* **Email ID:** [customersuccess@axio.co.in](mailto:customersuccess@axio.co.in)
To access the Sachet portal, visit the [Sachet Portal - RBI](https://sachet.rbi.org.in/).
## FAQs
See: [axio FAQs](https://axio.co.in/faq/).
# Highlight axio on Checkout
Source: https://razorpay.com/docs/payments/payment-methods/emi/cardless-emi/axio/checkout-configuration
Configure and highlight axio as a payment method on Razorpay Checkout.
Available in
๐ฎ๐ณ India
After [axio payment method is enabled](/docs/payments/payment-methods/emi/cardless-emi), it appears as a Cardless EMI provider under EMI on Razorpay Standard Checkout. You can highlight **axio** on the Razorpay Checkout using a configuration and make it more prominent.

Follow these steps to highlight axio on Razorpay Checkout:
1. [Configure payment methods](#1-configure-payment-methods).
2. [Build configuration](#2-build-configuration).
## 1. Configure Payment Methods
Based on how you want to control the payment methods at the Checkout, there are two different ways to pass the configuration to Checkout: **Options Parameter** and **Global Settings**.
> [tab] Method 1: Options Parameter
>
> Pass the configuration to the `options` parameter of the Checkout code at run time. *Use it when you want to modify the order of the payment methods for a particular set of payments while rendering the Checkout.*
> [tab] Method 2: Global Settings
>
> Create a global setting of the payments as a **Configuration ID**. *Use it when you want to fix the order of the payment methods on all the instances of Checkout.* Check the [Sample Code](#sample-code).
>
> > [!NOTE]
> >
> > **Attention Plugin Users** \\
> >
> > If you are using one of our [plugins](/docs/payments/payment-gateway/ecommerce-plugins) to accept payments, you can highlight axio on Checkout only by creating a global setting of the payments as a **Configuration ID**. Contact our [Support Team](https://razorpay.com/support/#raise-a-request) for more details about Configuration ID.
## 2. Build Configuration
Using the `display` config, you can put together all the modules, that is, `blocks`, `sequence`, `preferences`, `hide` instruments as shown below:
You can pass the `display` config in the Checkout options or the Orders API request using the `checkout_config_id` parameter.
```javascript display config theme={null}
let config = {
display: {
blocks: {
walnutBlock: {
name: "Pay With Axio", // The title of the block
instruments: [{
"method": "cardless_emi",
"providers": ["walnut369"]
}] // The list of instruments
},
},
sequence: ["block.walnutBlock"], // The sequence in which blocks and methods should be shown
preferences: {
show_default_blocks: true // Should Checkout show its default blocks?
}
}
};
```
```javascript JavaScript Checkout options theme={null}
// beginning of the Checkout code
.....
let options = {
key: "[YOUR_KEY_ID]",
amount: 60000,
currency: "INR",
config: {
display: {
blocks: {
walnutBlock: {
name: "Pay With axio", // The title of the block
instruments: [{
"method": "cardless_emi",
"providers": ["walnut369"]
}] // The list of instruments
},
},
sequence: ["block.walnutBlock"], // The sequence in which blocks and methods should be shown
preferences: {
show_default_blocks: true // Should Checkout show its default blocks?
}
}
}
};
let razorpay = new Razorpay(options);
razorpay.open();
....
//rest of the Checkout code
```
```bash Orders Sample Request theme={null}
//Contact our Support Team to get your `checkout_config_id` parameter.
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/orders \
-H "content-type: application/json" \
-d '{
"amount": 50000,
"currency": "INR",
"receipt": "receipt#1",
"checkout_config_id": "config_Ep0eOCwdSfgkco",
"notes": {
"reference_no": "IBFA10106201500002"
}
}'
```
```java Java theme={null}
RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
JSONObject orderRequest = new JSONObject();
orderRequest.put("amount", 1000); // amount in the smallest currency unit
orderRequest.put("currency", "INR");
orderRequest.put("checkout_config_id", "config_Ep0eOCwdSfgkco");
Order order = razorpayclient.orders.create(orderRequest);
System.out.print(order);
```
```python Python theme={null}
import razorpay
client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
client.order.create({
"amount": 50000,
"currency": "INR",
"receipt": "receipt#1",
"checkout_config_id": "config_Ep0eOCwdSfgkco"
})
```
```php PHP theme={null}
$api = new Api($key_id, $secret);
$api->order->create(array('amount' => 100, 'currency' => 'INR', checkout_config_id=> 'config_Ep0eOCwdSfgkco'));
```
```csharp .NET theme={null}
RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
Dictionary options = new Dictionary();
options.Add("amount", 50000); // amount in the smallest currency unit
options.Add("receipt", "receipt#1");
options.Add("currency", "INR");
options.Add("checkout_config_id", "config_Ep0eOCwdSfgkco");
Order order = client.Order.Create(options);
```
```ruby Ruby theme={null}
require "razorpay"
Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
order = Razorpay::Order.create amount: 50000, currency: 'INR', receipt: 'receipt#1', checkout_config_id: 'config_Ep0eOCwdSfgkco'
```
```javascript Node.js theme={null}
var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
instance.orders.create({
amount: 50000,
currency: "INR",
receipt: "receipt#1",
checkout_config_id: "config_Ep0eOCwdSfgkco"
})
```
```go Go theme={null}
import ( razorpay "github.com/razorpay/razorpay-go" )
client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
data := map[string]interface{}{
"amount": 50000,
"currency": "INR",
"receipt": "receipt#1",
"checkout_config_id": "config_Ep0eOCwdSfgkco"
}
body, err := client.Order.Create(data, nil)
```
Know more about [Orders API](/docs/api/orders).
## Sample Code
> [accordion] Given below is the sample code to highlight axio on Standard Checkout:
>
> ```html Highlight axio on Standard Checkout theme={null}
>
>
>
>
>
> ```
### Related Information
[Configure Payment Methods](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods) on Razorpay Checkout
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/payment-methods/emi/cardless-emi/axio/faqs
Find answers to frequently asked questions about axio.
Available in
๐ฎ๐ณ India
> [accordion] What is cardless EMI?
>
> Cardless EMI allows your customers to convert their payment amount to EMIs without a debit or credit card.
> [accordion] What is axio?
>
> axio is a cardless EMI payment partner. Customers can register with axio during the payment flow on the Razorpay Checkout.
> [accordion] How is axio different from other cardless EMI providers?
>
> The ease of customer sign-up differentiates axio from others. New axio customers can register directly on the Razorpay Checkout and complete the payment.
> [accordion] What details do my customers need to provide to register with axio?
>
> Mobile number, PAN number, DOB and Aadhar number are required for registration. The mobile number and Aadhaar number are verified via OTP at registration.
> [accordion] What is the platform fee applicable for axio?
>
> We charge 3% as the platform fee for cardless EMI transactions by default. The same applies to axio.
> [accordion] What are the minimum and maximum transaction amounts customers can pay with axio?
>
> The maximum transaction amount is โน40,000. The minimum transaction amount is โน900.
> [accordion] What is the minimum and maximum transaction limit for the customer?
>
> axio decides dynamically after evaluating the customer's profile.
> [accordion] Does the customer need to make any downpayment when paying with axio?
>
> Yes, the customer must pay the first month's installment as advance EMI.
> [accordion] What is the rate of interest?
>
> The rate of interest is 24% p.a. for all EMI tenures.
> [accordion] How does the repayment work for axio?
>
> axio will remind the customer every month before the repayment due date by auto-raising a request on the UPI app, with the UPI ID used to make the advance EMI payment.
> [accordion] What would be the flow of partial or full refunds?
>
> The standard process of claiming [refund and partial refunds](/docs/payments/refunds) at Razorpay is followed.
> [accordion] Where can I find more information about axio's lenders and product offerings?
>
> For more detailed information on axio's lenders and product offerings, refer to [axio's FAQs](https://axio.co.in/faq/) section.
# About ShopSe Cardless EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi/cardless-emi/shopse
Offer ShopSe Cardless EMI payment option to your customers on chekcout.
Available in
๐ฎ๐ณ India
ShopSe Cardless EMI is a popular **Buy Now Pay Later (BNPL)** option that lets customers convert purchases into monthly instalments without requiring a credit card, and in some cases, not even a debit card. This digital finance solution helps make high-value purchases more affordable and accessible.
> [!NOTE]
>
> **Handy Tips**
>
> This payment provider is available only with Optimizer.
#### Advantages
* **Streamlined digital process**: Quick, paperless approvals at checkout reduce friction and help lower cart abandonment rates.
* **No credit card required**: A flexible financing option for customers without a credit card or those who prefer not to use one.
## ShopSe Payment Flow for Standard Checkout
Customers select the products on your website or app and proceed to Checkout. On the Checkout page, the customers:
1. Enter their **Phone Number** and click **Continue**.
2. Select **EMI** as the payment method.

3. Select **Cardless and Others**.

4. An OTP is sent to their registered mobile number to check their eligibility. They enter the OTP and click **Continue**.

5. Select **ShopSe Digital Finance** as the Cardless EMI service provider.

6. Select the EMI tenure and complete the payment.

You receive the full transaction amount from ShopSe. Customers then pay ShopSe the total order amount in EMIs, along with any applicable interest, as per their terms and conditions.
## Standard Checkout Integration
No additional integration is required to show ShopSe as a Cardless EMI service provider on your Standard Checkout integration. Know [how to integrate ShopSe as a payment method on custom checkout.](/docs/payments/payment-gateway/web-integration/custom/payment-methods#cardless-emi)
## Related Information
[ShopSe FAQs](https://www.getshopse.com/customer-faq).
# About Snapmint Cardless EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi/cardless-emi/snapmint
Offer Snapmint Cardless EMI payment option to your customers on chekcout.
Available in
๐ฎ๐ณ India
Snapmint's Cardless EMI is a **buy now pay later (BNPL)** service that lets customers buy products on easy monthly instalments without a credit card. It offers a credit line, often linked to your customers' debit card or UPI, making purchases more accessible.
> [!NOTE]
>
> **Handy Tips**
>
> This payment provider is available only with Optimizer.
#### Advantages
* **Quick and Seamless Integration**: Enjoy a straightforward integration and smooth digital checkout, reducing friction and boosting conversions.
* **Fast & Easy Approval**: Customers benefit from instant, digital approvals with minimal paperwork, avoiding long waits.
* **Higher Average Order Value (AOV)**: Instalment options encourage customers to buy more expensive items or add more to their cart, significantly increasing your average order value.
## Snapmint Payment Flow for Standard Checkout
Customers select the products on your website or app and proceed to Checkout. On the Checkout page, the customers:
1. Enter their **Phone Number** and click **Continue**.
2. Select **EMI** as the payment method.

3. Select **Cardless and Others**.

4. An OTP is sent to their registered mobile number to check their eligibility. They enter the OTP and click **Continue**.

5. Select **Snapmint** as the Cardless EMI service provider.

6. Select the EMI tenure and complete the payment.
You receive the full transaction amount from Snapmint. Customers then pay Snapmint the total order amount in EMIs, along with any applicable interest, as per their terms and conditions.
## Standard Checkout Integration
No additional integration is required to show Snapmint as a Cardless EMI service provider on your Standard Checkout integration. Know [how to integrate Snapmint as a payment method on custom checkout.](/docs/payments/payment-gateway/web-integration/custom/payment-methods#cardless-emi)
## Related Information
[Snapmint FAQs](https://snapmint.com/faq).
# About Credit Card EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi/credit-card-emi
Let your customers avail Credit Card EMIs at Razorpay Standard Checkout.
Available in
๐ฎ๐ณ India
Razorpay Checkout supports EMIs on credit cards issued by major banks. EMI is available by default on Razorpay Standard Checkout. No additional integration is needed.
> [!WARNING]
>
> **Watch Out!**
>
> Instant Refunds are not supported on EMI, Cardless EMI and Pay Later.
## Supported Payment Partners
Following is the list of supported Payment Partners for Credit Card EMI and the minimum order amount stipulated by them:
> [tab] Banks
>
> | Bank Code | Issuer Bank | Availability | Minimum Amount (in INR) |
> | - | - | - | - |
> | AMEX | American Express | [Request Activation](https://dashboard.razorpay.com/app/payment-methods/emi) | 5000 |
> | BARB | Bank of Baroda | Enabled on first card transaction | 2500 |
> | CITI | Citibank | Enabled on first card transaction | 2500 |
> | FDRL | Federal Bank | Enabled on first card transaction | 2500 |
> | HDFC | HDFC Bank | [Request Activation](https://dashboard.razorpay.com/app/payment-methods/emi) | 1000 |
> | HSBC | HSBC Bank | Enabled on first card transaction | 2000 |
> | ICIC | ICICI Bank | Enabled on first card transaction | 1500 |
> | IDFB | IDFC Bank | Enabled on first card transaction | 2500 |
> | INDB | IndusInd Bank | Enabled on first card transaction | 2000 |
> | KKBK | Kotak Mahindra Bank | Enabled on first card transaction | 2500 |
> | RATN | RBL Bank | Enabled on first card transaction | 1500 |
> | SBIN | State Bank of India | [Request Activation](https://dashboard.razorpay.com/app/payment-methods/emi) | 2500 |
> | SCBL | Standard Chartered | Enabled on first card transaction | 2500 |
> | UTIB | Axis Bank | Enabled on first card transaction | 3000 |
> | YESB | Yes Bank | Enabled on first card transaction | 1500 |
> [tab] Other Cards
>
> | Code | Card Network Name | Availability | Minimum Amount (in INR) |
> | - | - | - | - |
> | Onecard | OneCard | Enabled on first card transaction | 2500 |
> [card] Quick Notes
>
> For HDFC Bank and State Bank of India (SBI), please raise a request [here](https://dashboard.razorpay.com/app/payment-methods/emi) to enable them (not enabled by default).
> [card] Interest Rates
>
> Check the standard [credit card interest rates charged by major banks](/docs/payments/payment-gateway/emiยฒ/faqs#1-what-are-the-standard-credit-card-interest).
### Fetch EMI Plans
Use the below endpoint to fetch a list of EMI plans offered by banks:
`GET /methods`
> [!NOTE]
>
> **\[YOUR\_KEY\_ID] Required**
>
> To fire this API, you must provide your \[KEY\_ID] for authorization. Your \[KEY\_SECRET] is not required and should not be passed. Know how to generate the [API Keys](/docs/api/authentication#generate-api-keys).
```bash Request theme={null}
curl -u [YOUR_KEY_ID] \
-X GET https://api.razorpay.com/v1/methods
```
```json Response theme={null}
{
"entity": "methods",
...
...
"emi_plans": {
"SCBL": {
"min_amount": 250000,
"plans": {
"6": 13,
"9": 14,
"12": 14,
"3": 11.880000000000001
}
},
"BARB": {
"min_amount": 250000,
"plans": {
"3": 13,
"18": 15,
"6": 14,
"9": 14,
"12": 15,
"24": 16
}
},
"AMEX": {
"min_amount": 500000,
"plans": {
"3": 14,
"6": 14,
"9": 14,
"12": 14,
"18": 15,
"24": 15
}
},
"onecard": {
"min_amount": 250000,
"plans": {
"3": 16,
"6": 16,
"9": 16,
"12": 16,
"18": 16,
"24": 16
}
},
"INDB": {
"min_amount": 200000,
"plans": {
"18": 15,
"24": 15,
"3": 14,
"6": 14,
"9": 15,
"12": 15
}
},
"HDFC": {
"min_amount": 100000,
"plans": {
"3": 16,
"18": 16,
"24": 16,
"6": 16,
"9": 16,
"12": 16
}
},
"KKBK": {
"min_amount": 250000,
"plans": {
"18": 16,
"24": 16,
"3": 16,
"6": 16,
"9": 16,
"12": 16
}
},
"RATN": {
"min_amount": 150000,
"plans": {
"3": 13,
"6": 14,
"9": 15,
"12": 15,
"18": 15,
"24": 15
}
},
"ICIC": {
"min_amount": 150000,
"plans": {
"3": 15.99,
"6": 15.99,
"9": 15.99,
"12": 15.99,
"18": 15.99,
"24": 15.99
}
},
"YESB": {
"min_amount": 150000,
"plans": {
"3": 16,
"6": 16,
"9": 16,
"12": 16,
"18": 16,
"24": 16
}
},
"CITI": {
"min_amount": 250000,
"plans": {
"3": 14,
"6": 14,
"9": 16,
"18": 16,
"24": 16,
"12": 16
}
},
"UTIB": {
"min_amount": 300000,
"plans": {
"18": 16,
"24": 16,
"3": 16,
"6": 16,
"9": 16,
"12": 16
}
},
"IDFB": {
"min_amount": 2500,
"plans": {
"3": 14,
"6": 15,
"9": 15,
"12": 15,
"18": 15,
"24": 15
}
},
"FDRL": {
"min_amount": 250000,
"plans": {
"3": 15.99,
"6": 15.99,
"9": 15.99,
"12": 15.99,
"18": 15.99,
"24": 15.99
}
},
"HSBC": {
"min_amount": 200000,
"plans": {
"3": 15,
"6": 15,
"9": 15,
"12": 15,
"18": 15,
"24": 15
}
},
"HDFC_DC": {
"min_amount": 300000,
"plans": {
"6": 16,
"9": 16,
"12": 16,
"18": 16,
"3": 16
}
},
"INDB_DC": {
"min_amount": 500000,
"plans": {
"3": 17,
"6": 17,
"9": 17,
"12": 17,
"18": 17,
"24": 17
}
}
},
"emi_options": {
"SCBL": [
{
"duration": 6,
"interest": 13,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "3.68"
},
{
"duration": 9,
"interest": 14,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "5.59"
},
{
"duration": 12,
"interest": 14,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "7.19"
},
{
"duration": 3,
"interest": 11.880000000000001,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "1.95"
}
],
"BARB": [
{
"duration": 3,
"interest": 13,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "2.13"
},
{
"duration": 18,
"interest": 15,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "10.95"
},
{
"duration": 6,
"interest": 14,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "3.96"
},
{
"duration": 9,
"interest": 14,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "5.59"
},
{
"duration": 12,
"interest": 15,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "7.67"
},
{
"duration": 24,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "14.90"
}
],
"AMEX": [
{
"duration": 3,
"interest": 14,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "2.29",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 6,
"interest": 14,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "3.96",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 9,
"interest": 14,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "5.59",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 12,
"interest": 14,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "7.19",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 18,
"interest": 15,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "10.95",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 24,
"interest": 15,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "14.07",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
}
],
"onecard": [
{
"duration": 3,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "2.61"
},
{
"duration": 6,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "4.51"
},
{
"duration": 9,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "6.35"
},
{
"duration": 12,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "8.15"
},
{
"duration": 18,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "11.62"
},
{
"duration": 24,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "14.90"
}
],
"INDB": [
{
"duration": 18,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "10.95",
"processing_fee_plan": {
"type": "fixed",
"amount": 24900
}
},
{
"duration": 24,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "14.07",
"processing_fee_plan": {
"type": "fixed",
"amount": 24900
}
},
{
"duration": 3,
"interest": 14,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "2.29",
"processing_fee_plan": {
"type": "fixed",
"amount": 24900
}
},
{
"duration": 6,
"interest": 14,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "3.96",
"processing_fee_plan": {
"type": "fixed",
"amount": 24900
}
},
{
"duration": 9,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "5.97",
"processing_fee_plan": {
"type": "fixed",
"amount": 24900
}
},
{
"duration": 12,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "7.67",
"processing_fee_plan": {
"type": "fixed",
"amount": 24900
}
}
],
"HDFC": [
{
"duration": 3,
"interest": 16,
"subvention": "customer",
"min_amount": 100000,
"merchant_payback": "2.61",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 18,
"interest": 16,
"subvention": "customer",
"min_amount": 300000,
"merchant_payback": "11.62",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 24,
"interest": 16,
"subvention": "customer",
"min_amount": 300000,
"merchant_payback": "14.90",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 6,
"interest": 16,
"subvention": "customer",
"min_amount": 100000,
"merchant_payback": "4.51",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 9,
"interest": 16,
"subvention": "customer",
"min_amount": 100000,
"merchant_payback": "6.35",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 12,
"interest": 16,
"subvention": "customer",
"min_amount": 100000,
"merchant_payback": "8.15",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
}
],
"KKBK": [
{
"duration": 18,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "11.62",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 24,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "14.90",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 3,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "2.61",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 6,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "4.51",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 9,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "6.35",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 12,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "8.15",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
}
],
"RATN": [
{
"duration": 3,
"interest": 13,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "2.13",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 6,
"interest": 14,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "3.96",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 9,
"interest": 15,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "5.97",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 12,
"interest": 15,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "7.67",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 18,
"interest": 15,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "10.95",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 24,
"interest": 15,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "14.07",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
}
],
"ICIC": [
{
"duration": 3,
"interest": 15.99,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "2.61",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 6,
"interest": 15.99,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "4.50",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 9,
"interest": 15.99,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "6.35",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 12,
"interest": 15.99,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "8.15",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 18,
"interest": 15.99,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "11.61",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 24,
"interest": 15.99,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "14.89",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
}
],
"YESB": [
{
"duration": 3,
"interest": 16,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "2.61",
"processing_fee_plan": {
"type": "percentage",
"percentage": 1
}
},
{
"duration": 6,
"interest": 16,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "4.51",
"processing_fee_plan": {
"type": "percentage",
"percentage": 1
}
},
{
"duration": 9,
"interest": 16,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "6.35",
"processing_fee_plan": {
"type": "percentage",
"percentage": 1
}
},
{
"duration": 12,
"interest": 16,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "8.15",
"processing_fee_plan": {
"type": "percentage",
"percentage": 1
}
},
{
"duration": 18,
"interest": 16,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "11.62",
"processing_fee_plan": {
"type": "percentage",
"percentage": 1
}
},
{
"duration": 24,
"interest": 16,
"subvention": "customer",
"min_amount": 150000,
"merchant_payback": "14.90",
"processing_fee_plan": {
"type": "percentage",
"percentage": 1
}
}
],
"CITI": [
{
"duration": 3,
"interest": 14,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "2.29",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 6,
"interest": 14,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "3.96",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 9,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "6.35",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 18,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "11.62",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 24,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "14.90",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 12,
"interest": 16,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "8.15",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
}
],
"UTIB": [
{
"duration": 18,
"interest": 16,
"subvention": "customer",
"min_amount": 300000,
"merchant_payback": "11.62",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 24,
"interest": 16,
"subvention": "customer",
"min_amount": 300000,
"merchant_payback": "14.90",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 3,
"interest": 16,
"subvention": "customer",
"min_amount": 300000,
"merchant_payback": "2.61",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 6,
"interest": 16,
"subvention": "customer",
"min_amount": 300000,
"merchant_payback": "4.51",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 9,
"interest": 16,
"subvention": "customer",
"min_amount": 300000,
"merchant_payback": "6.35",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
},
{
"duration": 12,
"interest": 16,
"subvention": "customer",
"min_amount": 300000,
"merchant_payback": "8.15",
"processing_fee_plan": {
"type": "combination",
"percentage": 1,
"amount": 10000
}
}
],
"IDFB": [
{
"duration": 3,
"interest": 14,
"subvention": "customer",
"min_amount": 2500,
"merchant_payback": "2.29"
},
{
"duration": 6,
"interest": 15,
"subvention": "customer",
"min_amount": 2500,
"merchant_payback": "4.23"
},
{
"duration": 9,
"interest": 15,
"subvention": "customer",
"min_amount": 2500,
"merchant_payback": "5.97"
},
{
"duration": 12,
"interest": 15,
"subvention": "customer",
"min_amount": 2500,
"merchant_payback": "7.67"
},
{
"duration": 18,
"interest": 15,
"subvention": "customer",
"min_amount": 2500,
"merchant_payback": "10.95"
},
{
"duration": 24,
"interest": 15,
"subvention": "customer",
"min_amount": 2500,
"merchant_payback": "14.07"
}
],
"FDRL": [
{
"duration": 3,
"interest": 15.99,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "2.61"
},
{
"duration": 6,
"interest": 15.99,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "4.50"
},
{
"duration": 9,
"interest": 15.99,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "6.35"
},
{
"duration": 12,
"interest": 15.99,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "8.15"
},
{
"duration": 18,
"interest": 15.99,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "11.61"
},
{
"duration": 24,
"interest": 15.99,
"subvention": "customer",
"min_amount": 250000,
"merchant_payback": "14.89"
}
],
"HSBC": [
{
"duration": 3,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "2.45",
"processing_fee_plan": {
"type": "fixed",
"amount": 9900
}
},
{
"duration": 6,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "4.23",
"processing_fee_plan": {
"type": "fixed",
"amount": 9900
}
},
{
"duration": 9,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "5.97",
"processing_fee_plan": {
"type": "fixed",
"amount": 9900
}
},
{
"duration": 12,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "7.67",
"processing_fee_plan": {
"type": "fixed",
"amount": 9900
}
},
{
"duration": 18,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "10.95",
"processing_fee_plan": {
"type": "fixed",
"amount": 9900
}
},
{
"duration": 24,
"interest": 15,
"subvention": "customer",
"min_amount": 200000,
"merchant_payback": "14.07",
"processing_fee_plan": {
"type": "fixed",
"amount": 9900
}
}
],
"HDFC_DC": [
{
"duration": 6,
"interest": 16,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "4.51",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 9,
"interest": 16,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "6.35",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 12,
"interest": 16,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "8.15",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 18,
"interest": 16,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "11.62",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 3,
"interest": 16,
"subvention": "customer",
"min_amount": 300000,
"merchant_payback": "2.61",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
}
],
"INDB_DC": [
{
"duration": 3,
"interest": 17,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "2.77",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 6,
"interest": 17,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "4.78",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 9,
"interest": 17,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "6.73",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 12,
"interest": 17,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "8.63",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 18,
"interest": 17,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "12.28",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
},
{
"duration": 24,
"interest": 17,
"subvention": "customer",
"min_amount": 500000,
"merchant_payback": "15.73",
"processing_fee_plan": {
"type": "fixed",
"amount": 19900
}
}
]
},
...
}
```
## Payment Flow on Standard Checkout
Customers select the products on your website or app and proceed to Checkout. On the Checkout page, the customers:
1. Enter the **Phone Number** and click **Continue**.
2. Select **EMI** as the payment method.

3. Select **Credit Card**.

4. Choose a bank from the list and select the EMI tenure. Click **Continue**.

5. Enter the relevant details. The eligibility depends on the customer's card's BIN (first 6 digits). If the card is not eligible, the customers can pay the full amount.
6. Choose if they want to **Save this card as per RBI guidelines** or pay without saving the card.
After the successful payment, Razorpay redirects customers to your application or website. Customers' monthly statements will reflect the EMI amount with interest charged by the bank.
When the customers complete the payment on the Checkout, the entire transaction amount is authorized by the customer's issuing bank and converted into EMIs within 3-4 days, depending on the payment terms agreed with the credit card provider.
## FAQs
[Credit Card EMI FAQs](/docs/payments/payment-methods/emi/faqs#credit-card-emi).
# OneCard Credit Card EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi/credit-card-emi/onecard
Offer OneCard Credit Card EMI option to your customers on Razorpay Standard Checkout.
Available in
๐ฎ๐ณ India
Offer Credit Card EMIs by OneCard to your customers. The credit card is offered in collaboration with banks, such as IDFC First Bank, SBM Bank, South Indian Bank, Federal Bank, and Bank of Baroda Financial. OneCard is a new-age credit card built for the mobile generation with customer experience at its core.
## Payment Flow
Customers select the products on your website or app and proceed to Checkout. On the Checkout page, the customers:
1. Enter the **Phone Number** and click **Continue**.
2. Select **EMI** as the payment method.

3. Select **Credit Card**.

4. Select **OneCard** from the list and the EMI tenure. Click **Continue**.

5. Enter the OneCard Credit Card details and choose if they want to **Save this card as per RBI guidelines** or pay without saving the card.
6. Click **Continue**.
7. Razorpay Checkout redirects to OneCard for approval. You can either swipe right on your OneCard app to approve payment or click **Approve using OTP** and enter the OTP sent to your mobile number.
When the customers complete the payment on the Checkout, the entire transaction amount is authorized by OneCard and converted into EMIs within 3-4 days, depending on the payment terms agreed with the credit card provider.
> [!NOTE]
>
> **Handy Tips**
>
> Check the standard [credit card interest rates charged by OneCard.](/docs/payments/payment-methods/emi/faqs#what-are-the-interest-rates-charged-by-other-credit-cards-for-emi)
# About Debit Card EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi/debit-card-emi
Offer Debit Card EMIs to your customers at Razorpay Checkout. Check the payment flow and supported Banks.
Available in
๐ฎ๐ณ India
> [card] [Debit Card EMI Changelog](/docs/payments/changelog#products)
>
> Discover new features, updates and deprecations related to Debit Card EMI (since Jan 2024).
Using Razorpay, you can let your customers use Debit EMI as a payment method to buy various products on EMI using their Debit Cards without paying the entire amount immediately. Razorpay supports EMIs on debit cards issued by [major banks](/docs/payments/payment-gateway/emiยฒ/faqs#5-can-you-provide-a-list-of-the). EMI is available by default on Razorpay Standard Checkout. No additional integration is needed.
> [!WARNING]
>
> **Watch Out!**
>
> Instant Refunds are not supported on EMI, Cardless EMI and Pay Later.
## Supported Banks for Debit Card EMIs
Below is a list of banks that support debit card EMIs.
| Bank Code | Issuer Bank |
| - | - |
| HDFC | HDFC Bank |
> [!NOTE]
>
> **Handy Tips**
>
> Check the [standard debit card interest rates](/docs/payments/payment-gateway/emiยฒ/faqs#5-can-you-provide-a-list-of-the) and the minimum amount charged by the banks.
## Payment Flow on Standard Checkout
Customers select the products on your website or app and proceed to Checkout.
On the Checkout page, the customers:
1. Enter the **Phone Number** and click **Continue**.
2. Select **EMI** as the payment method.

3. Select **Debit Card**.

4. Choose a bank from the list and select the EMI tenure. Click **Continue**.

5. They enter the relevant card details and choose if they want to **Save this card as per RBI guidelines** or pay without saving the card.
6. Click **Continue**.
If the customers are not eligible, they can pay the full amount.
After the successful payment, Razorpay redirects customers to your application or website. Customers' monthly statements will reflect the EMI amount with interest charged by the bank.
## FAQs
[Debit Card EMI FAQs](/docs/payments/payment-methods/emi/faqs#debit-card-emi).
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/payment-methods/emi/faqs
Find answers to frequently asked questions about EMI as a payment method supported at Razorpay Checkout.
Available in
๐ฎ๐ณ India
## Common
> [accordion] If a customer chooses EMI as the payment method, do I get the full amount upfront?
>
> Yes, you receive the full amount at once and the provider/bank converts it into EMI for the customer.
> [accordion] What happens when the customer fails to pay the EMI?
>
> The loss is borne by the provider/bank. You receive the full payment upfront.
> [accordion] Can my customers avail Offers for EMI payments at Checkout?
>
> Yes, they can avail offer on debit and credit card EMIs. Know more about [creating EMI Offers](/docs/payments/offers).
## Debit Card EMI
> [accordion] How do banks perform the EMI eligibility check during the transaction flow?
>
> Eligibility is checked using the card number and registered phone number. Therefore, customers should always use the phone number registered with the bank while making a payment.
> [accordion] What is the minimum balance required in the customer's account to avail Debit Card EMI?
>
> None. Customers need not have any minimum balance in their accounts while placing the order. However, they need to ensure that their accounts have sufficient funds to pay the EMI due every month.
> [accordion] How will the customers know that they are eligible for Debit Card EMI?
>
> Customers can check their eligibility by sending the SMS
>
> `DCEMI last 4 digits of Debit Card number` to `56767`, from their registered mobile number.
> [accordion] What is the criteria to avail Debit Card EMI?
>
> To avail [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi), your customers should pass the eligibility criteria set by their banks. The minimum order amount on the Checkout should be โน5000 (for HDFC and IndusInd debit cards).
> [accordion] Can you provide a list of the EMI plans and interest rates of different banks that support Debit card EMI?
>
> The interest rates applied by each bank for Debit Card EMIs is provided below.
>
> * The minimum transaction amount for which EMIs can be availed on debit cards can vary for each bank.
>
> * The maximum transaction amount depends upon the available pre-approved limit for the customer.
>
> > [accordion] For **HDFC Bank (HDFC)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Interest rates | Maximum Amount |
> > | - | - | - | - |
> > | 3 months | 3000 | 16% | NA |
> > | 6 months | 5000 | 16% | NA |
> > | 9 months | 5000 | 16% | NA |
> > | 12 months | 5000 | 16% | NA |
> > | 18 months | 5000 | 16% | NA |
> > | 24 months | NA | NA | NA |
> [accordion] Can the customers change the EMI plan after placing the order?
>
> No, EMI plans cannot be changed after an order is placed.
> [accordion] Do customers need to pay any down-payment to avail Debit Card EMI?
>
> No, the customers need not pay any down-payment amount to avail the Debit Card EMI option.
> [accordion] Is there a possibility to foreclose EMIs availed on Debit Cards?
>
> Yes, Debit Card EMIs can be foreclosed after clearing the first three EMIs.
> [accordion] Which are the business categories for which Debit Card EMI is not allowed?
>
> The Debit Card EMI payment method is not allowed for certain business categories. Check the relevant Category section below for the list of sub-categories and support status. Debit Card EMI is not allowed for categories with **N** as the status.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Due to our partner bank restrictions, the Debit Card EMI payment methods may not be available to all the Merchant Categories and Subcategories.
>
> > [accordion] Financial Services
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | mutual\_fund | Mutual Fund | N |
> > | lending | Lending | N |
> > | cryptocurrency | Cryptocurrency | N |
> > | insurance | Insurance | Y |
> > | nbfc | NBFC | N |
> > | cooperatives | Cooperatives | Y |
> > | pension\_fund | Pension Fund | Y |
> > | forex | Forex | N |
> > | securities | Securities | N |
> > | commodities | Commodities | N |
> > | accounting | Accounting and Taxes | Y |
> > | financial\_advisor | Financial and Investment Advisors/Financial Advisor | Y |
> > | crowdfunding | Crowdfunding Platform | N |
> > | trading | Stock Brokerage and Trading | N |
> > | betting | Betting | N |
> > | get\_rich\_schemes | Get Rich Schemes | N |
> > | moneysend\_funding | MoneySend Funding | Y |
> > | wire\_transfers\_and\_money\_orders | WIRE TRANSFER MONEY ORDER | N |
> > | tax\_preparation\_services | Tax Preparation Service | Y |
> > | tax\_payments | Tax Payments | Y |
> > | digital\_goods | Digital Goods-Multi-Category | Y |
> > | atms | Financial Institutions-Automated Cash Disbursements | N |
>
> > [accordion] Education
> >
> > | college | College |
> > | - | - |
> > | schools | Schools |
> > | university | University |
> > | professional\_courses | Professional Courses |
> > | distance\_learning | Distance Learning |
> > | day\_care | Pre-School/Day Care |
> > | coaching | Coaching Institute |
> > | elearning | E-Learning |
> > | vocational\_and\_trade\_schools | SCHOOLS, TRADE AND VOCATIONAL |
> > | sporting\_clubs | ATHLETIC FEES |
> > | dance\_halls\_studios\_and\_schools | Dance Halls, Studios and Schools |
> > | correspondence\_schools | Schools, Correspondence |
>
> > [accordion] Healthcare
> >
> > | Category Code | Category Name | Status |
> > | - | - | - |
> > | pharmacy | Pharmacy | N |
> > | clinic | Clinic | Y |
> > | hospital | Hospital | Y |
> > | lab | Lab | Y |
> > | dietician | Dietician/Diet Services | Y |
> > | fitness | Gym and Fitness | Y |
> > | health\_coaching | Health and Lifestyle Coaching | Y |
> > | health\_products | Health Products | Y |
> > | healthcare\_marketplace | Marketplace/Aggregator | N |
> > | osteopaths | Osteopaths | Y |
> > | medical\_equipment\_and\_supply\_stores | Dental/Laboratory/Medical/Ophthalmic Hospital Equipment and Supplies | Y |
> > | drug\_stores | DRUGS, DRUG PROPRIETARIES | N |
> > | podiatrists\_and\_chiropodists | Podiatrists and Chiropodists | Y |
> > | dentists\_and\_orthodontists | Dentists, Orthodontists | Y |
> > | hardware\_stores | Hardware Stores | Y |
> > | ophthalmologists | Optometrists, Ophthalmologists | Y |
> > | orthopedic\_goods\_stores | Orthopedic Goods-Artificial Limb Stores | Y |
> > | health\_practitioners\_medical\_services | Health Practitioners, Medical Services-not elsewhere classified | Y |
> > | testing\_laboratories | Testing Laboratories-Non medical | Y |
> > | doctors | Doctors-not elsewhere classified | Y |
>
> > [accordion] Utilities
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | electricity | Electricity | Y |
> > | gas | Gas | Y |
> > | telecom | Telecom Service Provider | Y |
> > | water | Water | Y |
> > | cable | Cable operator | Y |
> > | broadband | Broadband | Y |
> > | dth | DTH | Y |
> > | internet\_provider | Internet service provider | Y |
> > | bill\_and\_recharge\_aggregators | Bill Payment and Recharge Aggregators | Y |
> > | central | Central Department | Y |
>
> > [accordion] Government
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | central | Central Department | Y |
> > | state | State Department | Y |
> > | intra\_government\_purchases | Intra-Government Purchases -Government Only | Y |
> > | goverment\_postal\_services | Postal Services -Government Only | Y |
>
> > [accordion] Logistics
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | freight | Freight Consolidation/Management | Y |
> > | courier | Courier Shipping | Y |
> > | warehousing | Public/Contract Warehousing | Y |
> > | distribution | Distribution Management | Y |
> > | end\_to\_end\_logistics | End-to-end logistics | Y |
> > | courier\_services | Courier Services-Air \&, Ground, Freight Forwarders | Y |
>
> > [accordion] Tours and Travel
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | aviation | Aviation | Y |
> > | accommodation | Lodging and Accommodation | Y |
> > | ota | OTA | Y |
> > | travel\_agency | Tours and Travel Agency | Y |
> > | tourist\_attractions\_and\_exhibits | Tourist Attractions and Exhibits | Y |
> > | aquariums\_dolphinariums\_and\_seaquariums | Aquariums, Dolphinariums, and Seaquariums | Y |
> > | timeshares | Timeshares | Y |
>
> > [accordion] Transport
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | cab\_hailing | Cab/auto hailing | Y |
> > | bus | Bus ticketing | Y |
> > | train\_and\_metro | Train and metro ticketing | Y |
> > | automobile\_rentals | National Car Rental | Y |
> > | cruise\_lines | CRUISE LINES | Y |
> > | parking\_lots\_and\_garages | Automobile Parking Lots and Garages | Y |
> > | bridge\_and\_road\_tolls | BRIDGE & ROAD FEES, TOLLS | Y |
> > | freight\_transport | Railroads and Freight | Y |
> > | truck\_and\_utility\_trailer\_rentals | Truck and Utility Trailer Rentals | Y |
> > | transportation | TransportationโSuburban and Local Commuter Passenger, including Ferries | Y |
>
> > [accordion] Ecommerce
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | ecommerce\_marketplace | Horizontal Commerce/Marketplace | N |
> > | agriculture | Agricultural products | Y |
> > | books | Books and Publications | Y |
> > | electronics\_and\_furniture | Electronics and Furniture | Y |
> > | coupons | Coupons and deals | Y |
> > | rental | Product Rental | Y |
> > | fashion\_and\_lifestyle | Fashion and Lifestyle | Y |
> > | gifting | Flowers and Gifts | Y |
> > | grocery | Grocery | Y |
> > | baby\_products | Baby Care and Toys | Y |
> > | office\_supplies | Office Supplies | Y |
> > | wholesale | Wholesale/Bulk trade | Y |
> > | religious\_products | Religious products | Y |
> > | pet\_products | Pet Care and Supplies | Y |
> > | sports\_products | Sports goods | Y |
> > | arts\_and\_collectibles | Arts, crafts and collectibles | Y |
> > | sexual\_wellness\_products | Sexual Wellness Products | Y |
> > | drop\_shipping | Dropshipping | N |
> > | crypto\_machinery | Crypto Machinery | Y |
> > | tobacco | Tobacco | Y |
> > | weapons\_and\_ammunitions | Weapons and Ammunitions | Y |
> > | stamps\_and\_coins\_stores | Stamps & Coins Stores | Y |
> > | automobile\_parts\_and\_equipements | MOTOR VEHICLE SUPPLIES | Y |
> > | office\_equipment | Office, Photographic, Photocopy, and Microfilm Equipment | Y |
> > | garden\_supply\_stores | Lawn and Garden Supply Stores | Y |
> > | household\_appliance\_stores | Household Appliance Stores | Y |
> > | non\_durable\_goods | NONDURABLE GOODS | Y |
> > | electrical\_parts\_and\_equipment | Electrical Parts and Equipment | Y |
> > | wig\_and\_toupee\_shops | Wig and Toupee Shops | Y |
> > | gift\_novelty\_and\_souvenir\_shops | Card, Gift, Novelty, and Souvenir Shops | Y |
> > | duty\_free\_stores | Duty Free Stores | Y |
> > | office\_and\_commercial\_furniture | Office and Commercial Furniture | Y |
> > | dry\_goods | Piece Goods, Notions, and Other Dry Goods | Y |
> > | books\_and\_publications | Book Stores | Y |
> > | camera\_and\_photographic\_stores | Camera and Photographic Supply Stores | Y |
> > | meat\_supply\_stores | Freezer, Locker Meat Provisioners | Y |
> > | leather\_goods\_and\_luggage | Leather Goods and Luggage Stores | Y |
> > | snowmobile\_dealers | Snowmobile Dealers | Y |
> > | men\_and\_boys\_clothing\_stores | Menโs and Boyโs Clothing and Furnishings Store | Y |
> > | paint\_supply\_stores | Varnishes, Paints, Supplies | Y |
> > | automotive\_parts | Automotive Parts, Accessories Stores | Y |
> > | jewellery\_and\_watch\_stores | Precious Stones and Metals, Watches and Jewelry | Y |
> > | auto\_store\_home\_supply\_stores | Auto Store, Home Supply Stores | Y |
> > | tent\_stores | Tent and Awning Shops | Y |
> > | petroleum\_and\_petroleum\_products | Petroleum and Petroleum Products | N |
> > | department\_stores | Department Stores | Y |
> > | shoe\_stores\_retail | Shoe Stores | Y |
> > | automotive\_tire\_stores | Automotive Tire Stores | Y |
> > | sport\_apparel\_stores | Sports Apparel, Riding Apparel Stores | Y |
> > | chemicals\_and\_allied\_products | Chemicals and Allied Products | Y |
> > | fireplace\_parts\_and\_accessories | FIREPLACE FIREPLACE SCREENS AND ACCESSORIES STORES | Y |
> > | commercial\_equipments | COMMERCIAL EQUIPMENTS | Y |
> > | family\_clothing\_stores | Family Clothing Stores | Y |
> > | fabric\_and\_sewing\_stores | Fabric, Needlework, Piece Goods, and Sewing Stores | Y |
> > | camper\_recreational\_and\_utility\_trailer\_dealers | Camper, Recreational and utility trailer dealers | Y |
> > | record\_shops | Record Shops | Y |
> > | home\_supply\_warehouse | Home Supply Warehouse | Y |
> > | clocks\_and\_silverware\_stores | Clock, Jewelry, Watch, and Silverware Store | N |
> > | art\_supply\_stores | Artist Supply Stores, Craft Shops | Y |
> > | pawn\_shops | Pawn Shops | Y |
> > | school\_supplies\_and\_stationery | Office, School Supply, and Stationery Stores | Y |
> > | opticians\_optical\_goods\_and\_eyeglasse\_stores | Opticians, Optical Goods, and Eyeglasses | Y |
> > | watch\_and\_jewellery\_repair\_stores | Clock, Jewelry, and Watch Repair Shops | N |
> > | wholesale\_footwear\_stores | Commercial Footwear | Y |
> > | antique\_stores | Antique Reproduction Stores | Y |
> > | plumbing\_and\_heating\_equipment | Plumbing and Heating Equipment | Y |
> > | variety\_stores | Variety Stores | Y |
> > | liquor\_stores | Package Stores, Beer, Wine, Liquor | N |
> > | boat\_dealers | Boat Dealers | Y |
> > | cosmetic\_stores | Cosmetic Stores | Y |
> > | home\_furnishing\_stores | Miscellaneous House Furnishing Specialty Shops | Y |
> > | telecommunication\_equipment\_stores | Telecommunication Equipment Including Telephone Sales | Y |
> > | women\_clothing | Womens Ready to Wear Stores | Y |
> > | florists | Florists | Y |
> > | commercial\_photography\_and\_graphic\_design\_services | Commercial Art, Graphics, Photography | Y |
> > | building\_matrial\_stores | Building Materials, Lumber Stores | Y |
> > | candy\_nut\_confectionery\_shops | Candy, Nut, Confectionery Stores | Y |
> > | glass\_and\_wallpaper\_stores | Glass, Paint, Wallpaper Stores | Y |
> > | video\_game\_supply\_stores | Video Amusement Game Supplies | Y |
> > | drapery\_and\_window\_coverings\_stores | Drapery, Upholstery, and Window Coverings Stores | Y |
> > | uniforms\_and\_commercial\_clothing\_stores | Menโs, Womenโs, and Childrenโs Uniforms and Commercial Clothing | Y |
> > | automotive\_paint\_shops | Automotive Paint Shops | Y |
> > | durable\_goods\_stores | Durable Goods not elsewhere classified | Y |
> > | fur\_shops | Furriers and Fur Shops | Y |
> > | industrial\_supplies | Industrial Supplies | Y |
> > | motorcycle\_shops\_and\_dealers | Motorcycle Shops and Dealers | Y |
> > | children\_and\_infants\_wear\_stores | Childrenโs and Infantsโ Wear Stores | Y |
> > | computer\_software\_stores | Computer Software Stores | Y |
> > | women\_accessory\_stores | Women Accessory and Specialty Stores | Y |
> > | books\_periodicals\_and\_newspaper | Books, Periodicals and Newspapers | Y |
> > | floor\_covering\_stores | Floor Covering Stores | Y |
> > | crystal\_and\_glassware\_stores | Crystal and Glassware Stores | Y |
> > | hardware\_equipment\_and\_supply\_stores | Hardware Equipment and Supplies | Y |
> > | discount\_stores | Discount stores | Y |
> > | computers\_peripheral\_equipment\_software | Computers, Computer Peripheral Equipment, Software | Y |
> > | automobile\_and\_truck\_dealers | Automobile and Truck Dealers-Used Only-Sales | Y |
> > | aircraft\_and\_farm\_equipment\_dealers | Miscellaneous Automotive, Aircraft, and Farm Equipment Dealers-not elsewhere classified | Y |
> > | antique\_shops\_sales\_and\_repairs | Antique Shops-Sales, Repairs, and Restoration Services | Y |
> > | bicycle\_stores | Bicycle Shops-Sales and Service | Y |
> > | hearing\_aids\_stores | Hearing Aids-Sales, Service, Supply Stores | Y |
> > | music\_stores | Music Stores-Musical Instruments, Pianos, Sheet Music | Y |
> > | construction\_materials | Construction Materials-not elsewhere classified | Y |
> > | accessory\_and\_apparel\_stores | Accessory and Apparel Stores-Miscellaneous | Y |
> > | second\_hand\_stores | SECOND HAND STORES-USED MERCHANDISE STORES | Y |
> > | fuel\_dealers | Fuel Dealers-Coal, Fuel Oil, Liquefied Petroleum, Wood | N |
> > | furniture\_and\_home\_furnishing\_store | Furniture and Home Furnishing store | Y |
>
> > [accordion] Food and Beverages
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | online\_food\_ordering | Online Food Ordering | Y |
> > | restaurant | Restaurants | Y |
> > | food\_court | Food Courts/Corporate Cafeteria | Y |
> > | catering | Catering Services | Y |
> > | alcohol | Alcoholic Beverages | Y |
> > | restaurant\_search\_and\_booking | Restaurant search and reservations | Y |
> > | dairy\_products | Dairy Products Stores | Y |
> > | bakeries | Bakeries | Y |
>
> > [accordion] IT and Software
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | saas | SaaS (Software as a service) | N |
> > | paas | Platform as a service | N |
> > | iaas | Infrastructure as a service | N |
> > | consulting\_and\_outsourcing | Consulting and Outsourcing | N |
> > | web\_development | Web designing, development and hosting | Y |
> > | technical\_support | Technical Support | Y |
> > | data\_processing | Data processing | Y |
>
> > [accordion] Gaming
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | game\_developer | Game developer and publisher | N |
> > | esports | E-sports | N |
> > | online\_casino | Online Casino | N |
> > | fantasy\_sports | Fantasy Sports | N |
> > | gaming\_marketplace | Game distributor/Marketplace | N |
>
> > [accordion] Media and Entertainment
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | video\_on\_demand | Video on demand | Y |
> > | music\_streaming | Music streaming services | Y |
> > | multiplex | Multiplexes | Y |
> > | content\_and\_publishing | Content and Publishing | Y |
> > | ticketing | Events and movie ticketing | Y |
> > | news | News | Y |
> > | video\_game\_arcades | Video Game Arcades/Establishments | N |
> > | video\_tape\_production\_and\_distribution | Motion Pictures and Video Tape Production and Distribution | Y |
> > | bowling\_alleys | Bowling Alleys | Y |
> > | billiard\_and\_pool\_establishments | Billiard and Pool Establishments | Y |
> > | amusement\_parks\_and\_circuses | Amusement Parks, Carnivals, Circuses, Fortune Tellers | Y |
> > | ticket\_agencies | Theatrical Producers-except Motion Pictures, Ticket Agencies | Y |
>
> > [accordion] Services
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | repair\_and\_cleaning | Repair and cleaning services | Y |
> > | interior\_design\_and\_architect | Interior Designing and Architect | Y |
> > | movers\_and\_packers | Movers and Packers | Y |
> > | legal | Legal Services | Y |
> > | event\_planning | Event planning services | Y |
> > | service\_centre | Service Centre | Y |
> > | consulting | Consulting Services | N |
> > | ad\_and\_marketing | Ad and marketing agencies | Y |
> > | services\_classifieds | Services Classifieds | Y |
> > | multi\_level\_marketing | Multi-level Marketing | Y |
> > | construction\_services | GENERAL CONTRACTORS | Y |
> > | architectural\_services | Horticultural and Landscaping Services | Y |
> > | car\_washes | CAR WASHES | Y |
> > | motor\_home\_rentals | A MOTOR HOME AND RECREATIONAL | Y |
> > | stenographic\_and\_secretarial\_support\_services | Stenographic and Secretarial Support Services | Y |
> > | chiropractors | Chiropractors | Y |
> > | automotive\_service\_shops | Automotive Service Shops | Y |
> > | shoe\_repair\_shops | Hat Cleaning Shops, Shoe Repair Shops, Shoe Shine Parlors | Y |
> > | telecommunication\_service | Telecom Servc including but not ltd to prepaid phone serv | Y |
> > | fines | FINES | N |
> > | security\_agencies | Agencies โ Security Services | Y |
> > | type\_setting\_and\_engraving\_services | Typesetting, Plate Making, Related Services | Y |
> > | small\_appliance\_repair\_shops | Appliance Repair Shops, Electrical and Small | Y |
> > | photography\_labs | Photo Developing, Photofinishing Laboratories | Y |
> > | dry\_cleaners | Dry Cleaners | Y |
> > | electronic\_repair\_shops | Electronic Repair Shops | Y |
> > | cleaning\_and\_sanitation\_services | Specialty Cleaning, Polishing, and Sanitation Preparations | Y |
> > | nursing\_care\_facilities | Nursing and Personal Care Facilities | Y |
> > | direct\_marketing | Direct Marketing Other Direct Marketers not elsewhere classified | Y |
> > | veterinary\_services | Veterinary Services | Y |
> > | affliated\_auto\_rental | AFFILIATED AUTO RENTAL | Y |
> > | alimony\_and\_child\_support | COURT COST INCLUDING ALIMONY AND CHILD SUPPORT | Y |
> > | airport\_flying\_fields | AIRPORT FLYING FIELDS | Y |
> > | tire\_retreading\_and\_repair\_shops | Tire Retreading and Repair Shops | Y |
> > | television\_cable\_services | Cable and other Pay Television Services | Y |
> > | recreational\_and\_sporting\_camps | Recreational and Sporting Camps | Y |
> > | agricultural\_cooperatives | AGRICULTURAL COOPERATIVES | Y |
> > | carpentry\_contractors | Carpentry Contractors | Y |
> > | wrecking\_and\_salvaging\_services | Wrecking and Salvage Yards | Y |
> > | automobile\_towing\_services | Towing Services | Y |
> > | barber\_and\_beauty\_shops | Barber and Beauty Shops | Y |
> > | video\_tape\_rental\_stores | Video Tape Rental Stores | Y |
> > | golf\_courses | Golf Courses, Public | Y |
> > | miscellaneous\_repair\_shops | Miscellaneous Repair Shops and Related Services | Y |
> > | motor\_homes\_and\_parts | MOTOR HOME DEALERS | Y |
> > | debt\_marriage\_personal\_counseling\_service | Debt, Marriage, Personal Counseling Service | Y |
> > | air\_conditioning\_and\_refrigeration\_repair\_shops | Air Conditioning and Refrigeration Repair Shops | Y |
> > | tailors | Alterations, Mending, Seamstresses, Tailors | Y |
> > | massage\_parlors | Massage Parlors | Y |
> > | horse\_or\_dog\_racing | Government Licensed Horse/Dog Racing | N |
> > | credit\_reporting\_agencies | Consumer Credit Reporting Agencies | Y |
> > | heating\_and\_plumbing\_contractors | Air Conditioning, Heating, and Plumbing Contractors | Y |
> > | electrical\_contractors | ELECTRICAL CONTRACTORS | Y |
> > | carpet\_and\_upholstery\_cleaning\_services | Carpet and Upholstery Cleaning | Y |
> > | roofing\_and\_metal\_work\_contractors | Roofing and Siding, Sheet Metal Work Contractors | Y |
> > | internet\_service\_providers | Computer Network/Information Services | Y |
> > | laundry\_services | Cleaning, Garment, and Laundry Services | Y |
> > | recreational\_camps | Trailer Parks and Campgrounds | Y |
> > | masonry\_contractors | Insulation, Masonry, Plastering, Stonework, and Tile Setting Contractors | Y |
> > | exterminating\_and\_disinfecting\_services | Exterminating and Disinfecting Services | Y |
> > | ambulance\_services | Ambulance Services | Y |
> > | funeral\_services\_and\_crematories | Funeral Services and Crematories | Y |
> > | metal\_service\_centres | Metal Service Centers and Offices | Y |
> > | copying\_and\_blueprinting\_services | Quick Copy, Reproduction, and Blueprinting Services | Y |
> > | fuel\_dispensers | Fuel Dispenser, Automated | N |
> > | lottery | Government Owned Lottery,Government Owned Lottery | N |
> > | welding\_repair | WELDING REPAIR | Y |
> > | mobile\_home\_dealers | Mobile Home Dealers | Y |
> > | concrete\_work\_contractors | CONCRETE WORK CONTRACTORS | Y |
> > | boat\_rentals | Boat Leases and Boat Rentals | Y |
> > | personal\_shoppers\_and\_shopping\_clubs | Buying/Shopping Clubs, Services | Y |
> > | door\_to\_door\_sales | DOOR-TO-DOOR SALES | Y |
> > | travel\_related\_direct\_marketing | Direct Marketing-Travel-Related Arrangement Services | Y |
> > | lottery\_and\_betting | Betting -including Lottery Tickets, Chips at Gaming Casinos, Off-Track Betting and Wagers at Race Tracks | N |
> > | bands\_orchestras\_and\_miscellaneous\_entertainers | Bands, Orchestras, and Miscellaneous Entertainers-not elsewhere classified | Y |
> > | furniture\_repair\_and\_refinishing | Furniture-Reupholstery and Repair, Refinishing | Y |
> > | direct\_marketing\_and\_subscription\_merchants | Direct Marketing-Continuity/Subscription Merchants | N |
> > | typewriter\_stores\_sales\_service\_and\_rentals | Typewriter Stores-Sales, Service, and Rentals | Y |
> > | direct\_marketing\_insurance\_services | Direct Marketing-Insurance Services | Y |
> > | business\_services | Business Services-not elsewhere classified | Y |
> > | inbound\_telemarketing\_merchants | Direct Marketing-Inbound Telemarketing Merchants | N |
> > | recreation\_services | Recreation Services-not elsewhere classified | Y |
> > | swimming\_pools | Swimming Pools-Sales and Supplies | Y |
> > | outbound\_telemarketing\_merchants | Direct Marketing-Outbound Telemarketing Merchants | N |
> > | public\_warehousing | Public Warehousing-Farm Products, Refrigerated Goods, | Y |
> > | clothing\_rental\_stores | Clothing Rental-Costumes, Uniforms, and Formal Wear | Y |
> > | contractors | Contractors, Special Trade-not elsewhere classified | Y |
> > | transportation\_services | Transportation Services-not elsewhere classified | Y |
> > | electric\_razor\_stores | Electric Razor Stores-Sales and Service | Y |
> > | service\_stations | Service Stations with or without Ancillary Services | N |
> > | photographic\_studio | Photographic studios | Y |
> > | professional\_services | Professional services | Y |
>
> > [accordion] Housing and Real Estate
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | developer | Developer | N |
> > | facility\_management | Facility Management Company | Y |
> > | rwa | RWA | Y |
> > | coworking | Co-working spaces | N |
> > | realestate\_classifieds | Real estate classifieds | N |
> > | space\_rental | Home or office rentals | N |
>
> > [accordion] Not-for-Profit
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | charity | Charity | Y |
> > | educational | Educational | Y |
> > | religious | Religious | Y |
> > | personal | Personal | Y |
>
> > [accordion] Social
> >
> > | Sub Category | Description | Status |
> > | - | - | - |
> > | matchmaking | Dating and Matrimony platforms | N |
> > | social\_network | Social Network | Y |
> > | messaging | Messaging and Communication | Y |
> > | professional\_network | Professional Network | Y |
> > | neighbourhood\_network | Local/Neighbourhood network | Y |
> > | automobile\_associations\_and\_clubs | Automobile Associations | Y |
> > | political\_organizations | Political Organizations | N |
> > | country\_and\_athletic\_clubs | Clubs-Country Clubs, Membership-Athletic, Recreation, Sports, Private Golf Courses | Y |
> > | associations\_and\_membership | Associations and membership | Y |
## Credit Card EMI
> [accordion] What are the standard credit card interest rates charged by the banks for EMI?
>
> The interest rates charged by various banks for each of the tenures are provided for your reference. The minimum transaction amount for which EMIs are applicable can vary for each bank. The maximum amount is dependent on the card limit set by the issuing bank.
>
> > [accordion] **American Express (AMEX)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 5000 ^^^^^^^ | 199 ^^^^^^^ | 14% | October 12, 2023 ^^^^^^^ |
> > | 6 months | | | 14% | |
> > | 9 months | | | 14% | |
> > | 12 months | | | 14% | |
> > | 18 months | | | 15% | |
> > | 24 months | | | 15% | |
> > | 36 months | | | NA | |
>
> > [accordion] **Bank of Baroda (BARB)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2500 ^^^^^^^ | NA ^^^^^^^ | 16% | July 26, 2024 ^^^^^^^ |
> > | 6 months | | | 16% | |
> > | 9 months | | | 16% | |
> > | 12 months | | | 16% | |
> > | 18 months | | | 16% | |
> > | 24 months | | | 16% | |
> > | 36 months | | | NA | |
>
> > [accordion] **Citibank (CITI)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2500 ^^^^^^^ | A one-time processing fee of 1% or โน100, whichever is higher, will be charged by the bank. ^^^^^^^ | 16% | April 08, 2024 ^^^^^^^ |
> > | 6 months | | | 16% | |
> > | 9 months | | | 16% | |
> > | 12 months | | | 16% | |
> > | 18 months | | | 16% | |
> > | 24 months | | | 16% | |
> > | 36 months | | | NA | |
>
> > [accordion] **Federal Bank (FDRL)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2500 ^^^^^^^ | NA ^^^^^^^ | 15.99% | July 26, 2024 ^^^^^^^ |
> > | 6 months | | | 15.99% | |
> > | 9 months | | | 15.99% | |
> > | 12 months | | | 15.99% | |
> > | 18 months | | | 15.99% | |
> > | 24 months | | | 15.99% | |
> > | 36 months | | | NA | |
>
> > [accordion] **HDFC Bank (HDFC)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 1000 | 299 ^^^^^^^ | 16% | July 23, 2025 ^^^^^^^ |
> > | 6 months | 1000 | | 16% | |
> > | 9 months | 1000 | | 16% | |
> > | 12 months | 1000 | | 16% | |
> > | 18 months | 3000 | | 16% | |
> > | 24 months | 3000 | | 16% | |
> > | 36 months | NA | | NA | |
>
> > [accordion] **HSBC Bank (HSBC)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2000 ^^^^^^^ | 99 ^^^^^^^ | 15% | 21 February 2024 ^^^^^^^ |
> > | 6 months | | | 15% | |
> > | 9 months | | | 15% | |
> > | 12 months | | | 15% | |
> > | 18 months | | | 15% | |
> > | 24 months | | | 15% | |
> > | 36 months | | | NA | |
>
> > [accordion] **ICICI Bank (ICIC)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 1500 ^^^^^^^ | 199 ^^^^^^^ | 15.99% | November 29, 2023 ^^^^^^^ |
> > | 6 months | | | 15.99% | |
> > | 9 months | | | 15.99% | |
> > | 12 months | | | 15.99% | |
> > | 18 months | | | 15.99% | |
> > | 24 months | | | 15.99% | |
> > | 36 months | | | NA | |
>
> > [accordion] **IDFB Bank (IDFB)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2500 ^^^^^^^ | A one-time processing fee of 1% or โน99, whichever is higher, will be charged by the bank. ^^^^^^^ | 16% | September 17, 2025 ^^^^^^^ |
> > | 6 months | | | 16% | |
> > | 9 months | | | 16% | |
> > | 12 months | | | 16% | |
> > | 18 months | | | 16% | |
> > | 24 months | | | 16% | |
> > | 36 months | | | 16% | |
>
> > [accordion] **IndusInd Bank (INDB)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2000 ^^^^^^^ | 249 ^^^^^^^ | 16% | September 12, 2024 ^^^^^^^ |
> > | 6 months | | | 16% | |
> > | 9 months | | | 16% | |
> > | 12 months | | | 16% | |
> > | 18 months | | | 16% | |
> > | 24 months | | | 16% | |
> > | 36 months | | | 16% | |
>
> > [accordion] **Kotak Mahindra Bank (KKBK)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2500 ^^^^^^^ | 249 ^^^^^^^ | 16% | February 21, 2024 ^^^^^^^ |
> > | 6 months | | | 16% | |
> > | 9 months | | | 16% | |
> > | 12 months | | | 16% | |
> > | 18 months | | | 16% | |
> > | 24 months | | | 16% | |
> > | 36 months | | | NA | |
>
> > [accordion] **RBL Bank (RATN)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2000 ^^^^^^^ | 199 ^^^^^^^ | 13% | April 05, 2023 ^^^^^^^ |
> > | 6 months | | | 14% | |
> > | 9 months | | | 15% | |
> > | 12 months | | | 15% | |
> > | 18 months | | | 15% | |
> > | 24 months | | | 15% | |
> > | 36 months | | | NA | |
>
> > [accordion] **State Bank of India (SBIN)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2500 ^^^^^^^ | NA | 16.75% | January 7, 2026 ^^^^^^^ |
> > | 6 months | | A one-time processing fee of โน40 will be charged if the transaction amount exceeds โน20,000. | 16.50% | |
> > | 9 months | | A one-time processing fee of โน79 will be charged if the transaction amount exceeds โน20,000. | 16.50% | |
> > | 12 months | | A one-time processing fee of โน159 will be charged if the transaction amount exceeds โน20,000. | 16% | |
> > | 18 months | | A one-time processing fee of โน199 will be charged if the transaction amount exceeds โน20,000. | 16.25% | |
> > | 24 months | | A one-time processing fee of โน299 will be charged if the transaction amount exceeds โน20,000. | 16.25% | |
> > | 36 months | | NA | NA | |
>
> > [accordion] **Standard Chartered (SCBL)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 2500 ^^^^^^^ | A one-time processing fee of 1% will be charged by the bank. ^^^^^^^ | 11.88% | July 26, 2024 ^^^^^^^ |
> > | 6 months | | | 13% | |
> > | 9 months | | | 14% | |
> > | 12 months | | | 14% | |
> > | 18 months | | | NA | |
> > | 24 months | | | NA | |
> > | 36 months | | | NA | |
>
> > [accordion] **Axis Bank (UTIB)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 3000 ^^^^^^^ | A one-time processingfee of 1% or โน100, whichever is higher, will be charged by the bank. ^^^^^^^ | 16% | December 12, 2023 ^^^^^^^ |
> > | 6 months | | | 16% | |
> > | 9 months | | | 16% | |
> > | 12 months | | | 16% | |
> > | 18 months | | | 16% | |
> > | 24 months | | | 16% | |
> > | 36 months | | | NA | |
>
> > [accordion] **Yes Bank (YESB)**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Processing Fee (in INR) | Interest rates | Last Updated |
> > | - | - | - | - | - |
> > | 3 months | 1500 ^^^^^^^ | 299 ^^^^^^^ | 16% | December 12, 2023 ^^^^^^^ |
> > | 6 months | | | 16% | |
> > | 9 months | | | 16% | |
> > | 12 months | | | 16% | |
> > | 18 months | | | 16% | |
> > | 24 months | | | 16% | |
> > | 36 months | | | NA | |
> [accordion] What are the interest rates charged by other credit cards for EMI?
>
> The interest rates charged by other cards for EMI is given below.
>
> > [accordion] **OneCard**:
> >
> > | Tenures in Months | Minimum Amount (in INR) | Interest rates |
> > | - | - | - |
> > | 3 months | 2500 ^^^^^^ | 16% |
> > | 6 months | | 16% |
> > | 9 months | | 16% |
> > | 12 months | | 16% |
> > | 18 months | | 16% |
> > | 24 months | | 16% |
## Cardless EMI
> [accordion] What are the standard interest rates charged by the banks for cardless EMI?
>
> The standard interest rates charged by various banks for cardless EMI are provided for your reference.
>
> | Cardless EMI | Issuer Bank | Provider Code | Minimum Amount (in INR) | 3 months | 6 months | 9 months | 12 months | 18 months |
> | - | - | - | - | - | - | - | - | - |
> | InstaCred | HDFC Bank | `hdfc` | 5000 | 16% | 16% | 16% | 16% | 16% |
> | InstaCred | ICICI Bank | `icic` | 7000 | 16% | 16% | 16% | 16% | NA |
> | InstaCred | IDFC First | `idfb` | 5000 | 24% | 24% | 24% | 24% | NA |
> | InstaCred | Kotak Mahindra Bank | `kkbk` | 3000 | 20% | 20% | 20% | 20% | NA |
> | axio | NA | `walnut369` | 900 | 24% | 24% | 24% | NA | NA |
> | Fibe | NA | `earlysalary` | 3000 | 30% | 30% | 30% | NA | NA |
> | ZestMoney | NA | `zestmoney` | 3000 | 22% | 24% | 24% | NA | NA |
> [accordion] What are the standard interest rates charged by Pay Later providers for cardless EMI?
>
> The standard interest rates charged by the providers for Pay Later providers are given below:
>
> | Pay Later | 15 days | 30 days | 45 days | 60 days | 90 days |
> | - | - | - | - | - | - |
> | LazyPay | Interest free | NA | NA | NA | NA |
> | PayPal | Interest free | NA | NA | NA | NA |
>
> \* Interest rates are determined on a case-to-case basis. [Contact support](https://razorpay.com/support/#request) for more information.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > All interest rates mentioned above are per annum.
## No Cost EMI
> [accordion] Who bears the cost for the discount given in No Cost EMI?
>
> You, as a merchant, would bear the cost of No Cost EMI. It will be given as an upfront discount on the product cost to the end consumer. The discount percentage will vary by the bank and period of EMI.
> [accordion] Which payment methods can be used for No Cost EMI?
>
> No Cost EMI is available on all credit card and debit card EMI banks.
> [accordion] Will the customers' banks continue to charge them interest?
>
> Yes, the customers' banks will continue to charge them interest. However, this interest charge has been provided to the customer as an upfront discount at the time of purchase, effectively giving them the benefit of a No Cost EMI.
> [accordion] Can I enable No Cost EMIs at the Checkout?
>
> Yes. Razorpay enables you to display No Cost EMIs at the Checkout. Know more about [No Cost EMIs](/docs/payments/offers/no-cost-emi).
> [accordion] How can I know about the percentage discount of the No Cost EMI that I bear?
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > The banks charge GST to end consumers on the interest paid over and above the following amount.
>
> Calculations on the cost incurred by the merchant at all standard plan and tenures are listed below:
>
> | Amount (in INR) | Interest (in %) | Tenure (in Months) | Amount Paid by Customer | Monthly EMI | No Cost EMI Discount | Discount | Pricing | Total Cost (in %) |
> | - | - | - | - | - | - | - | - | - |
> | 10000 | 11% | 3 | 9,819.43 | 3333.33 | 180.57 | 1.81% | 3% | 4.81% |
> | 10000 | 12% | 3 | 9,803.28 | 3333.33 | 196.72 | 1.97% | 3% | 4.97% |
> | 10000 | 13% | 3 | 9,787.18 | 3333.33 | 212.82 | 2.13% | 3% | 5.13% |
> | 10000 | 14% | 3 | 9,771.13 | 3333.33 | 228.87 | 2.29% | 3% | 5.29% |
> | 10000 | 15% | 3 | 9,755.11 | 3333.33 | 244.89 | 2.45% | 3% | 5.45% |
> | 10000 | 11% | 6 | 9686.85 | 1666.67 | 313.15 | 3.13% | 3% | 6.13% |
> | 10000 | 12% | 6 | 9659.13 | 1666.67 | 340.87 | 3.41% | 3% | 6.41% |
> | 10000 | 13% | 6 | 9631.53 | 1666.67 | 368.47 | 3.68% | 3% | 6.68% |
> | 10000 | 14% | 6 | 9604.04 | 1666.67 | 395.96 | 3.96% | 3% | 6.96% |
> | 10000 | 15% | 6 | 9576.68 | 1666.67 | 423.32 | 4.23% | 3% | 7.23% |
> | 10000 | 11% | 9 | 9556.66 | 1111.11 | 443.34 | 4.43% | 3% | 7.43% |
> | 10000 | 12% | 9 | 9517.80 | 1111.11 | 482.20 | 4.82% | 3% | 7.82% |
> | 10000 | 13% | 9 | 9479.17 | 1111.11 | 520.83 | 5.21% | 3% | 8.21% |
> | 10000 | 14% | 9 | 9440.77 | 1111.11 | 559.23 | 5.59% | 3% | 8.59% |
> | 10000 | 15% | 9 | 9402.61 | 1111.11 | 597.39 | 5.97% | 3% | 8.97% |
> | 10000 | 11% | 12 | 9428.80 | 833.33 | 571.20 | 5.71% | 3% | 8.71% |
> | 10000 | 12% | 12 | 9379.23 | 833.33 | 620.77 | 6.21% | 3% | 9.21% |
> | 10000 | 13% | 12 | 9330.04 | 833.33 | 669.96 | 6.70% | 3% | 9.70% |
> | 10000 | 14% | 12 | 9281.21 | 833.33 | 718.79 | 7.19% | 3% | 10.19% |
> | 10000 | 15% | 12 | 9232.76 | 833.33 | 767.24 | 7.67% | 3% | 10.67% |
> | 10000 | 11% | 18 | 9179.92 | 555.56 | 820.08 | 8.20% | 3% | 11.20% |
> | 10000 | 12% | 18 | 9110.15 | 555.56 | 889.85 | 8.90% | 3% | 11.90% |
> | 10000 | 13% | 18 | 9041.13 | 555.56 | 958.87 | 9.59% | 3% | 12.59% |
> | 10000 | 14% | 18 | 8972.85 | 555.56 | 1027.15 | 10.27% | 3% | 13.27% |
> | 10000 | 15% | 18 | 8905.30 | 555.56 | 1094.70 | 10.95% | 3% | 13.95% |
> | 10000 | 11% | 24 | 8939.84 | 416.67 | 1060.16 | 10.60% | 3% | 13.60% |
> | 10000 | 12% | 24 | 8851.41 | 416.67 | 1148.59 | 11.49% | 3% | 14.49% |
> | 10000 | 13% | 24 | 8764.21 | 416.67 | 1235.79 | 12.36% | 3% | 15.36% |
> | 10000 | 14% | 24 | 8678.23 | 416.67 | 1321.77 | 13.22% | 3% | 16.22% |
> | 10000 | 15% | 24 | 8593.43 | 416.67 | 1406.57 | 14.07% | 3% | 17.07% |
> [accordion] How does the No Cost EMI settlement work?
>
> The order amount minus the entire interest subvented by you as a discount is settled in your bank account as per your [settlement cycle](/docs/payments/settlements#settlement-cycle).
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > However, Razorpay pricing is not included in this settlement, it will be applied in addition to the above amount.
> [accordion] Can I create No Cost EMI offers on Cardless EMI?
>
> No, we do not support No Cost EMI offers on Cardless EMI.
## Low Cost EMI
> [accordion] Why should I run Low Cost EMI Offers?
>
> Running Low Cost EMI Offers helps you attract a wider customer base by reducing the upfront cost barrier. This leads to increased sales and higher average order values.
>
> Additionally, offering discount on interest for longer tenures sets you apart in a competitive market and opens opportunities for upselling, contributing to overall business growth and financial stability.
> [accordion] Who bears the cost for the discount given in Low Cost EMI?
>
> As a business, you would bear the partial cost of Low Cost EMI, which appears as an upfront discount on the product cost to the end consumer.
>
> You can decide the cost to subvent for each tenure and the customer bears the remaining cost. The interest percentage will vary by the bank and the EMI tenure. Know more about the [EMI Calculation](/docs/payments/offers/low-cost-emi#calculation-of-emi).
> [accordion] Which payment methods can be used for Low Cost EMI?
>
> Low Cost EMI is available on all credit and debit card EMIs.
> [accordion] Will the customers' banks continue to charge them interest?
>
> Yes, the customers' banks will continue to charge them interest. However, partial interest subvented by you appears as an upfront discount to the customers at the time of purchase.
> [accordion] Can I enable Low Cost EMIs at the Checkout?
>
> Yes. Razorpay enables you to display Low Cost EMIs at the Checkout. Know more about [Low Cost EMIs](/docs/payments/offers/low-cost-emi).
> [accordion] How can I know about the percentage discount of the Low Cost EMI that I bear?
>
> You can decide how much percentage of the total interest you want to subvent during offer creation. This appears as an upfront discount on the product cost and the customer bears the remaining cost.
> [accordion] How does the Low Cost EMI settlement work?
>
> The order amount minus the discount subvented by you is settled in your bank account as per your [settlement cycle](/docs/payments/settlements#settlement-cycle).
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Razorpay pricing is not included in this settlement, it will be applied in addition to the above amount.
> [accordion] Can I create Low Cost EMI offers on Cardless EMI?
>
> No, we do not support Low Cost EMI offers on Cardless EMI.
# Low Cost EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi/low-cost-emi
Let your customers avail Low Cost EMIs offered by all major banks.
Available in
๐ฎ๐ณ India
Offer Low Cost EMI to strike the perfect balance between providing affordable financing to customers while maintaining a sustainable financial model. You can decide the cost to support each EMI tenure, and the customer bears the remaining cost. Low Cost EMIs let customers enjoy the benefits of EMI at an affordable rate while minimising your overall cost.
## Create Low Cost EMI Offers
You can create [Low Cost EMI Offers](/docs/payments/offers/low-cost-emi) for a selected issuer from your Dashboard.
## How it Works
Customers select the products on your website or app and proceed to Checkout. On the Checkout page, the customers:
1. Enter the **Phone Number** and click **Continue**.
2. Select **EMI** as the payment method.
3. Select the EMI option where Low Cost EMI is available. If the amount entered in the Checkout is eligible for the discount, all the applicable EMI options are shown.

4. After customers select this option, all the applicable plans the card issuer provides are displayed for the entered amount.
5. Choose the EMI tenure and click **Continue**.

6. They enter the relevant details and choose if they want to **Save this card as per RBI guidelines** or pay without saving the card.
After the successful payment, Razorpay redirects customers to your application or website.
> [card] Handy Tips
>
> You can create Low Cost EMI Offers on Credit and Debit card EMIs only.
> [card] Customer's Monthly Statement
>
> Customers' monthly statements will reflect the total interest charged by the bank. However, the Low Cost EMI discount amount is applied upfront to the purchase to cover it.
## FAQs
See: [Low Cost EMI FAQs](/docs/payments/payment-methods/emi/faqs#low-cost-emi).
# About No Cost EMI
Source: https://razorpay.com/docs/payments/payment-methods/emi/no-cost-emi
Let your customers avail No Cost EMIs offered by all major banks.
Available in
๐ฎ๐ณ India
A No Cost EMI is an offer where customers pay for a product in installments with zero interest. Offer No Cost EMIs on credit and debit cards issued by all the major banks. EMI discount is applied to the customer's purchase to cover the interest that the bank charges.
## Create No Cost EMI Offers
1. You can create No Cost EMIs for a selected issuer from your Dashboard.
2. Follow the steps in Offers to [create No Cost EMIs](/docs/payments/offers/create) on the Dashboard.
## How it Works
1. Enter the **Phone Number** and click **Continue**.
2. Select **EMI** as the payment method.
3. Select the EMI option where No Cost EMI is available. If the amount entered in the Checkout is eligible for the discount, all the applicable EMI options are shown.

4. Select the EMI tenure and click **Continue**. They enter the relevant details.

5. If the customers are:
* **Eligible** to avail of the EMI, they click **Continue**.
* **Not eligible** for availing the EMI, they have to pay the full amount. They click **Pay full amount** and are prompted to confirm the action.
6. Choose if they want to **Save this card as per RBI guidelines** or pay without saving the card.
After the successful payment, Razorpay redirects customers to your application or website. By the end of the EMI cycle, the card issuer deducts the EMI amount from the customerโs bank.
## FAQs
See: [No Cost EMI FAQs](/docs/payments/payment-methods/emi/faqs#no-cost-emi).
### Related Information
[Bajaj Finserv No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi/bajaj-finserv)
# Bajaj Finserv No Cost EMIs
Source: https://razorpay.com/docs/payments/payment-methods/emi/no-cost-emi/bajaj-finserv
Let your customers avail No Cost EMIs offered by Bajaj Finserv.
Available in
๐ฎ๐ณ India
Offer No Cost EMIs by Bajaj Finserv to your customers. No Cost EMIs are offered as an upfront discount to your customers. The interest levied on the EMIs is waived off. After the customer makes the purchase, they are charged as per the credit card billing cycle or payment terms agreed with Bajaj Finserv.
## Prerequisites
* The customer should be a registered user of the EMI card provider, **Bajaj Finserv**.
* Generate API keys from the [Dashboard](https://razorpay.com/dashboard). A combination of `key_id` and `key_secret` is required to authenticate API request sent to Razorpay servers.
## How it Works
For the customers to avail No Cost EMIs on the Razorpay Standard Checkout, follow the detailed steps as explained below:
> [accordion] Step 1: Create No Cost EMI Offers
>
> Raise a request with the[Razorpay Support team](https://razorpay.com/support/#request)to create the relevant No Cost EMIs you want to display on the Checkout. Get the appropriate `offer_id` created for each EMI plan.
> [accordion] Step 2: Associate Offer with an Order
>
> Obtain the `offer_id`. Let us say, `offer_ANZoaxsOww2X53`, from our Support team. Create an order for the transaction amount for which the created offer should be applied.
>
> `POST /orders`
>
> ```bash Curl theme={null}
> curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> -X POST https://api.razorpay.com/v1/orders \
> -H "Content-Type: application/json" \
> -d '{
> "amount": 1000000,
> "currency": "INR",
> "discount": true,
> "offers": [
> "offer_ANZoaxsOww2X53"
> ]
> }'
> ```
>
> ```java Java theme={null}
> RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
>
> ArrayList Offer = new ArrayList();
> Offer.add("offer_JTUADI4ZWBGWur");
>
> JSONObject orderRequest = new JSONObject();
> orderRequest.put("amount", 1000000); // amount in the smallest currency unit
> orderRequest.put("currency", "INR");
> orderRequest.put("discount", true);
> orderRequest.put("offers", Offer);
>
> Order order = razorpayclient.orders.create(orderRequest);
> System.out.print(order);
> ```
>
> ```python Python theme={null}
> import razorpay
> client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
>
> client.order.create({
> "amount": 1000000,
> "currency": "INR",
> "receipt": "receipt#1",
> "discount": true,
> "offers": [
> "offer_ANZoaxsOww2X53"
> ]
> })
> ```
>
> ```php PHP theme={null}
> $api = new Api($key_id, $secret);
>
> $api->order->create(array('amount' => 1000000, 'currency' => 'INR', 'discount' => '1', 'offers'=> array('offer_JTUADI4ZWBGWur')));
> ```
>
> ```ruby Ruby theme={null}
> require "razorpay"
> Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
>
> order = Razorpay::Order.create amount: 50000, currency: 'INR', discount: '1', receipt: 'receipt#1', offers: [
> 'offer_ANZoaxsOww2X53"'
> ]
> ```
>
> ```javascript Node.js theme={null}
> var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
>
> instance.orders.create({
> amount: 1000000,
> currency: "INR",
> receipt: "receipt#1",
> discount: true,
> offers: [
> "offer_ANZoaxsOww2X53"
> ]
> })
> ```
>
> ```go Go theme={null}
> import ( razorpay "github.com/razorpay/razorpay-go" )
> client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
>
> data := map[string]interface{}{
> "amount": 50000,
> "currency": "INR",
> "receipt": "receipt#1",
> "offers": []interface{}{
> "offer_JTUADI4ZWBGWur",
> },
> }
> body, err := client.Order.Create(data, nil)
> ```
>
> ```json Response theme={null}
> {
> "id": "order_CjyoZFRpB8r0AH",
> "entity": "order",
> "amount": 1000000,
> "amount_paid": 0,
> "amount_due": 1000000,
> "currency": "INR",
> "receipt": null,
> "offer_id": "offer_ANZoaxsOww2X53",
> "offers": [
> "offer_ANZoaxsOww2X53"
> ],
> "status": "created",
> "attempts": 0,
> "notes": [],
> "created_at": 1561018912
> }
> ```
>
> `amount` *mandatory*
> : `integer` Amount, in currency subunits, for which the order is created. For example, if the order is to be created for โน30,000, enter the value 3000000 (in paise).
>
> `currency` *mandatory*
> : `string` ISO code of the currency associated with the order amount.
>
> `notes` *optional*
> : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
>
> `offers` *mandatory*
> : `array` Unique identifier of the offer. \
> Pass the `offer_id` obtained from Razorpay Support team.
>
> `discount`*optional*
> : `boolean` Indicates if a discount is to be applied by Razorpay or not. Possible values:\\
>
> * `true`: Discount is applied.
> * `false`: Discount is not applied.
> [accordion] Step 3: Trigger Checkout
>
> The `order_id` obtained in the previous step can be passed to the Checkout page as follows:
>
> Copy-paste the parameters as `options` in your code:
>
> ```html Checkout with Callback URL (JavaScript) theme={null}
>
>
>
> ```
>
> ```html Checkout with Handler Functions (JavaScript) theme={null}
>
>
>
> ```
## How Customers Avail Offers on Checkout
The customers can complete the payment as follows:
1. On the Razorpay Checkout, customers enter the required details and select **EMI** as the payment method.

2. They can select **Cardless and Others**.

3. Customers select the EMI tenure and click **Continue**.

4. They enter the details of Bajaj Finserv-issued card and click **Continue**.

After the successful payment, Razorpay redirects customers to your application or website. Customers' monthly statements will reflect the EMI amount with interest charged by the bank. You can check the status of the payment from the Dashboard.
### FAQs
See: [No Cost EMI FAQs](/docs/payments/payment-methods/emi/faqs#no-cost-emi).
# About MOTO Payments
Source: https://razorpay.com/docs/payments/payment-methods/moto
Accept MOTO (Mail-Order-Telephone-Order) payments to charge a customer's credit card without card CVV data and 2-factor-authentication.
Available in
๐ฎ๐ณ India
You can use MOTO (Mail-Order-Telephone-Order) transactions to charge a customer's credit card without using the CVV or 2-factor-authentication. You can extend this flow to your customers to reduce payment failures that may occur due to low internet speeds or redirects to bank pages.
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
### PCI-DSS Compliance
You must be PCI-compliant to accept and process customer's card details using the MOTO option. The compliance certificate should be updated as per the yearly renewal cycle.
## Frequently Asked Questions
> [accordion] What card types or issuers can be used with MOTO?
>
> You can use the MOTO feature for all Visa and Mastercard credit cards.
> [accordion] What is the payment flow for MOTO?
>
> All payments are authorized without card cvv data and 2-factor authentication.
> [accordion] Is cryptogram value required to process MOTO transactions via tokenised cards?
>
> For MOTO transactions via tokenised cards, cryptogram value is not required to process the payment.
### Related Information
[Batch MOTO Payments](/docs/payments/payment-methods/moto/batch)
# MOTO Batch Card Payments
Source: https://razorpay.com/docs/payments/payment-methods/moto/batch
Create MOTO card payments in batches from the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
You can use the MOTO (Mail-Order-Telephone-Order) payment method to charge a customer's credit card without CVV or 2-factor authentication.
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
#### PCI-DSS Compliance
You must be PCI-compliant to accept and process customers' card details using the MOTO payment method. The compliance certificate should be updated as per the yearly renewal cycle.
## Steps to Create Batch Card Payments
Following are the steps to create MOTO card payments in batch:
1. [Download sample batch file](#step-1-download-sample-batch-file).
2. [Fill in card and payment details](#step-2-fill-in-card-and-payment-details).
3. [Upload the filled batch file](#step-3-upload-the-filled-batch-file).
4. [Preview and confirm uploaded file](#step-4-preview-and-confirm-uploaded-file).
5. [View and download Batch Payment Report](#step-5-download-batch-payment-report).
### Step 1: Download Sample Batch File
1. Log in to the Dashboard.
2. Navigate to **Transactions** โ **Batch Payments** and click **Download Sample File**.

[Download the sample template](https://cdn.razorpay.com/dashboard/sample_batch_payments.csv) to fill in the requisite details.
### Step 2: Fill in Card and Payment Details
In the downloaded file, fill the necessary details while ensuring that the header row is not modified.
A sample data row is shown below:

> [!NOTE]
>
> **Feature Request**
>
> MOTO payments can also be processed using Razorpay token id if you are using tokenisation or a [saved card](/docs/payments/payment-methods/cards/features/saved-cards) feature.
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
> [accordion] Batch File Details
>
> Different fields that need your input are listed below:
>
> `Header` *mandatory*
> : `string` Description of the batch file.
>
> `email` *mandatory*
> : `string` Customer's email address. For example, `gaurav.kumar@example.com`.
>
> `contact` *mandatory*
> : `integer` Customer's contact number. For example, `+919988998899`.
>
> `card_number` *mandatory*
> : `integer` Customer's card number or token id. For example, cards - `4386289407660153` and token id - `token_Kb9yf1HWGiZMhu`.
>
> `expiry_year` *conditionally mandatory*
> : `integer` Expiry year for the card in `YYYY` format. Mandatory only for cards. For example, `2022`.
>
> `expiry_month` *conditionally mandatory*
> : `integer` Expiry month for the card in `MM` format. Mandatory only for cards. For example, `08`.
>
> `cardholder_name` *conditionally mandatory*
> : `string` Cardholder's name. Mandatory only for cards. For example, `Gaurav Kumar`.
>
> `amount` *mandatory*
> : `integer` Amount that is to be charged to the customer. The amount should be in the currency subunit. For example, for an amount of โน234.56, enter the value `23456`.
>
> `currency` *mandatory*
> : `string` The currency in which the payment is to be charged. For example, `INR`.\
> You can select any one of the [supported currencies](/docs/payments/international-payments).
>
> `receipt` *optional*
> : `string` Unique reference entered by you the payment. For example, `#566`.
>
> `description` *optional*
> : `string` Description for the payment. For example, `Towards purchase of encyclopedia`.
>
> `notes` *optional*
> : `json object` Set of key-value pairs that can be associated with the payment. This can be useful for storing additional information about the payment. A maximum of 15 key-value pairs, each of 256 characters (maximum), are supported.
> [!NOTE]
>
> **Handy Tips**
>
> To fetch the token id, go to Reports on your Dashboard and download the **Custom Token Report**.
### Step 3: Upload the Filled Batch File
To upload a batch payment file:
1. On the Dashboard, navigate to **Transactions** โ **Batch Payments**.

2. Upload the filled-in template by clicking the **Click here to upload** button. Currently, CSV, XLS and XLSX file formats are supported.

### Step 4: Preview and Confirm Uploaded File
If the batch file is successfully uploaded with appropriate headers and attributes, you will be able to preview the first three rows of the uploaded document. After verifying the accuracy of the data, click **Process Payments** to confirm the upload.

### Step 5: Download Batch Payment Report
After the file is processed, you can download a batch file report. The report includes the final state of each payment request. Click **Download** for the relevant **Batch Id**.

> [accordion] Batch Status
>
> The uploaded file can be in the following states:
>
> * `Created`: This is the initial state of the file when it is uploaded. It indicates that the upload is successful, and will be picked up for processing.
>
> * `Processed`: This is the final state of the file. Payments in a file in this state can either be successfully authorised or have errors during authorisation. There is a chance that a few of the payments did not get authorised due to issues such as invalid cards or an invalid expiry date. Download the file to check the status of the payments.
>
> The output file is the same as the uploaded file with additional columns added, which are as follows:
>
> `order_id`
> : `razorpay_order_id` linked to the payment.
>
> `payment_id`
> : `payment id` used to process the payment.
>
> `status`
> : Indicates the status of the payment. Possible values:
>
> * `success`
> * `failed`
>
> `error_code`
> : If the payment failed due to an error, this column will have an error code.
>
> `error_description`
> : If the payment failed due to an error, this column will have the reason for the failure.
## Frequently Asked Questions
> [accordion] What card types or issuers can be used with MOTO?
>
> You can use the MOTO feature for all Visa and Mastercard credit cards.
> [accordion] What is the payment flow for MOTO?
>
> All payments are authorised without card CVV data and 2-factor authentication.
> [accordion] How many rows can I upload in a single batch file?
>
> You can upload a maximum of 500 rows in a single batch file.
> [accordion] Once the batch file is uploaded, how long will it take for all the payments to be processed?
>
> Typically, all the payments are processed within 60 minutes after the batch file is uploaded successfully.
> [accordion] Can duplicate transactions be included in the same file?
>
> Yes. Each row in the batch file is treated as a unique entry and processed without additional validation checks.
# Netbanking
Source: https://razorpay.com/docs/payments/payment-methods/netbanking
List of banks supported on Razorpay Payment Gateway for Netbanking payments.
Available in
๐ฎ๐ณ India
You can accept payments from your customers using Netbanking. The customers enter their Netbanking credentials to make payments. This method is available by default. No additional integration or permissions are needed to enable this method at your application Checkout.
## Netbanking Payment Flow
The diagram given below represents the payment flow for netbanking:

To pay using the Netbanking payment method, customers:
1. Select **Netbanking** as the payment method on the checkout page and choose their bank from the list of supported banks.
2. Are redirected to their bank's secure login page.
3. Enter their **Netbanking credentials (User ID and Password)** to authenticate.
4. Review the payment details and authorise the transaction.

After successful payment, customers are redirected back to your website or app with the payment confirmation.
> [accordion] Supported Platforms and Availability
>
> | **Supported Platforms** | **Availability** |
> | - | - |
> |
Web
Mobile web
Android
iOS
| Available by default. No additional integration or permissions needed. |
## Supported Banks
> [accordion] List of supported banks:
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Allahabad Bank netbanking is merged with Indian Bank, and both the bank codes are supported.
>
> | Sl. No. | Bank Code | Bank Name |
> | - | - | - |
> | 1 | AIRP | Airtel Payments Bank |
> | 2 | ALLA | Allahabad Bank |
> | 3 | AUBL | AU Small Finance Bank |
> | 4 | BARB\_R | Bank of Baroda - Retail Banking |
> | 5 | BBKM | Bank of Bahrain and Kuwait |
> | 6 | BDBL | Bandhan Bank |
> | 7 | BKDN | Dena Bank |
> | 8 | BKID | Bank of India - Retail Banking |
> | 9 | CBIN | Central Bank of India |
> | 10 | CIUB | City Union Bank |
> | 11 | CNRB | Canara Bank |
> | 12 | CORP | Corporation Bank |
> | 13 | COSB | Cosmos Co-operative Bank |
> | 14 | CSBK | Catholic Syrian Bank |
> | 15 | DBSS | Development Bank of Singapore |
> | 16 | DCBL | DCB Bank |
> | 17 | DEUT | Deutsche Bank |
> | 18 | DLXB | Dhanlaxmi Bank |
> | 19 | ESAF | ESAF Small Finance Bank |
> | 20 | ESFB | Equitas Small Finance Bank |
> | 21 | FDRL | Federal Bank |
> | 22 | HDFC | HDFC Bank |
> | 23 | HSBC | HSBC |
> | 24 | IBKL | IDBI |
> | 25 | ICIC | ICICI Bank |
> | 26 | IDFB | IDFC FIRST Bank |
> | 27 | IDIB | Indian Bank |
> | 28 | INDB | Indusind Bank |
> | 29 | IOBA | Indian Overseas Bank |
> | 30 | JAKA | Jammu and Kashmir Bank |
> | 31 | JSBP | Janata Sahakari Bank (Pune) |
> | 32 | JSFB | Jana Small Finance Bank |
> | 33 | KARB | Karnataka Bank |
> | 34 | KCCB | The Kalupur Commercial Co-Operative Bank |
> | 35 | KJSB | Kalyan Janata Sahakari Bank |
> | 36 | KKBK | Kotak Mahindra Bank |
> | 37 | KVBL | Karur Vysya Bank |
> | 38 | LAVB\_R | Lakshmi Vilas Bank - Retail Banking |
> | 39 | MAHB | Bank of Maharashtra |
> | 40 | MSNU | Mehsana Urban Bank |
> | 41 | NESF | North East Small Finance Bank |
> | 42 | NKGS | NKGSB Co-operative Bank |
> | 43 | NSPB | NSDL Payments Bank |
> | 44 | ORBC | Oriental Bank of Commerce |
> | 45 | PMCB | Punjab & Maharashtra Co-operative Bank |
> | 46 | PSIB | Punjab & Sind Bank |
> | 47 | PUNB\_R | Punjab National Bank - Retail Banking |
> | 48 | RATN | RBL Bank |
> | 49 | SRCB | Saraswat Co-operative Bank |
> | 50 | SBBJ | State Bank of Bikaner and Jaipur |
> | 51 | SBHY | State Bank of Hyderabad |
> | 52 | SBIN | State Bank of India |
> | 53 | SBMY | State Bank of Mysore |
> | 54 | SBTR | State Bank of Travancore |
> | 55 | SCBL | Standard Chartered Bank |
> | 56 | SIBL | South Indian Bank |
> | 57 | STBP | State Bank of Patiala |
> | 58 | SURY | Suryoday Small Finance Bank |
> | 59 | SVCB | Shamrao Vithal Co-operative Bank |
> | 60 | SYNB | Syndicate Bank |
> | 61 | TJSB | Thane Janata Sahakari Bank |
> | 62 | TMBL | Tamilnadu Mercantile Bank |
> | 63 | TNSC | Tamilnadu State Apex Co-operative Bank |
> | 64 | UBIN | Union Bank of India |
> | 65 | UCBA | UCO Bank |
> | 66 | UTBI | United Bank of India |
> | 67 | UTIB | Axis Bank |
> | 68 | VARA | Varachha Co-operative Bank Limited |
> | 69 | YESB | Yes Bank |
## Fetch Supported Methods
Use the below endpoint to fetch a list of banks Razorpay supports for netbanking payments:
`GET /methods`
> [!WARNING]
>
> **Watch Out!**
>
> To fire this API, provide your \[KEY\_ID] for authorization. Your `` is **NOT** required and should **NOT** be passed.
```bash Request theme={null}
curl -u [YOUR_KEY_ID] \
-X GET https://api.razorpay.com/v1/methods
```
```json Response theme={null}
{
"entity": "methods",
...
...
...
"netbanking": {
"AUBL": "AU Small Finance Bank",
"AIRP": "Airtel Payments Bank",
"ALLA": "Allahabad Bank",
"ANDB": "Andhra Bank",
"ANDB_C": "Andhra Bank - Corporate Banking",
"UTIB": "Axis Bank",
"BDBL": "Bandhan Bank",
"BBKM": "Bank of Bahrein and Kuwait",
"BARB_R": "Bank of Baroda - Retail Banking",
"BKID": "Bank of India",
"MAHB": "Bank of Maharashtra",
"BACB": "Bassein Catholic Co-operative Bank",
"CNRB": "Canara Bank",
"CSBK": "Catholic Syrian Bank",
"CBIN": "Central Bank of India",
"CIUB": "City Union Bank",
"COSB": "Cosmos Co-operative Bank",
"DCBL": "DCB Bank",
"BKDN": "Dena Bank",
"DEUT": "Deutsche Bank",
"DBSS": "Development Bank of Singapore",
"DLXB": "Dhanlaxmi Bank",
"DLXB_C": "Dhanlaxmi Bank - Corporate Banking",
"ESAF": "ESAF Small Finance Bank",
"ESFB": "Equitas Small Finance Bank",
"FDRL": "Federal Bank",
"FSFB": "Fincare Small Finance Bank",
"HDFC": "HDFC Bank",
"ICIC": "ICICI Bank",
"IBKL": "IDBI",
"IBKL_C": "IDBI - Corporate Banking",
"IDFB": "IDFC FIRST Bank",
"IDIB": "Indian Bank",
"IOBA": "Indian Overseas Bank",
"INDB": "Indusind Bank",
"JAKA": "Jammu and Kashmir Bank",
"JSFB": "Jana Small Finance Bank",
"JSBP": "Janata Sahakari Bank (Pune)",
"KCCB": "Kalupur Commercial Co-operative Bank",
"KJSB": "Kalyan Janata Sahakari Bank",
"KARB": "Karnataka Bank",
"KVBL": "Karur Vysya Bank",
"KKBK": "Kotak Mahindra Bank",
"LAVB_C": "Lakshmi Vilas Bank - Corporate Banking",
"LAVB_R": "Lakshmi Vilas Bank - Retail Banking",
"MSNU": "Mehsana Urban Co-operative Bank",
"NKGS": "NKGSB Co-operative Bank",
"NESF": "North East Small Finance Bank",
"ORBC": "PNB (Erstwhile-Oriental Bank of Commerce)",
"UTBI": "PNB (Erstwhile-United Bank of India)",
"PSIB": "Punjab & Sind Bank",
"PUNB_R": "Punjab National Bank - Retail Banking",
"RATN": "RBL Bank",
"RATN_C": "RBL Bank - Corporate Banking",
"SRCB": "Saraswat Co-operative Bank",
"SVCB_C": "Shamrao Vithal Bank - Corporate Banking",
"SVCB": "Shamrao Vithal Co-operative Bank",
"SIBL": "South Indian Bank",
"SCBL": "Standard Chartered Bank",
"SBBJ": "State Bank of Bikaner and Jaipur",
"SBHY": "State Bank of Hyderabad",
"SBIN": "State Bank of India",
"SBMY": "State Bank of Mysore",
"STBP": "State Bank of Patiala",
"SBTR": "State Bank of Travancore",
"SURY": "Suryoday Small Finance Bank",
"SYNB": "Syndicate Bank",
"TMBL": "Tamilnadu Mercantile Bank",
"TNSC": "Tamilnadu State Apex Co-operative Bank",
"TBSB": "Thane Bharat Sahakari Bank",
"TJSB": "Thane Janata Sahakari Bank",
"UCBA": "UCO Bank",
"UBIN": "Union Bank of India",
"CORP": "Union Bank of India (Erstwhile Corporation Bank)",
"VARA": "Varachha Co-operative Bank",
"YESB": "Yes Bank",
"YESB_C": "Yes Bank - Corporate Banking",
"ZCBL": "Zoroastrian Co-operative Bank"
},
...
...
...
}
```
## Third-Party Validation (TPV)
Use Third-Party Validation if your business model requires customers to register a bank account and use the registered account to make payments.
* [Third-Party Validation document](/docs/payments/third-party-validation)
* [List of banks that support TPV](/docs/payments/third-party-validation/bank-list)
# Pay Later
Source: https://razorpay.com/docs/payments/payment-methods/pay-later
Offer Pay Later (Buy Now, Pay Later) payment method at Razorpay Checkout. Check providers and payment flow.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
> [card] [Pay Later Changelog](/docs/payments/changelog#products)
>
> Discover new features, updates and deprecations related to Pay Later (since Jan 2024).
Accept payments from your customers using the **Pay Later** service offered by various third-party providers.
* Know about [how to enable/disable Pay Later](/docs/payments/dashboard/account-settings/payment-methods#request-payment-methods) as a payment method for your account.
* No additional integration is required to show Pay Later on your Standard Checkout integration.
> [!WARNING]
>
> **Watch Out!**
>
> Instant Refunds are not supported on EMI, Cardless EMI and Pay Later.
## How it Works
Based on the concept [Buy Now, Pay Later](https://en.wikipedia.org/wiki/Buy_now,_pay_later):
1. The customers get a running line of credit by registering with any providers.
2. When customers buy goods or services on your website or apps, no money is debited from their accounts.
3. You receive the payments from their providers.
4. The customer pays back to the provider as per the fixed schedule defined by the provider.
**At Razorpay Checkout:**
1. At the Checkout, customers enter their contact details and from the displayed list of **Pay Later** providers, customers select their preferred provider.

2. Customers authorise their accounts via the OTP sent to their registered phone numbers.
3. Payment is completed after successful validation.
## Supported Pay Later Providers
| **Provider name** | **Provider Code** |
| - | - |
| LazyPay | `lazypay` |
| PayPal | `paypal` |
> [!NOTE]
>
> **Handy Tips**
>
> * PayPal now supports the Pay Later feature. You should enable both [PayPal](/docs/payments/payment-methods/wallets/paypal#to-enable-paypal) and the Pay Later options under Account & Settings โ Pay Later (under Payment methods) on the Dashboard to enable the Pay Later feature.
> * Check the standard interest rates charged by [Pay Later providers](/docs/payments/payment-gateway/emiยฒ/faqs#2-what-are-the-standard-interest-rates-charged).
# Sodexo
Source: https://razorpay.com/docs/payments/payment-methods/sodexo
Accept payments using Sodexo meal cards for food and beverage orders.
Available in
๐ฎ๐ณ India
Accept payments using Sodexo meal cards for food and beverage purchases with Razorpay Optimizer. By incorporating Sodexo meal card payments, businesses can offer customers a seamless and familiar payment experience, expanding the range of payment options available for food and beverage purchases.

## Add Sodexo as a Payment Method
> [!NOTE]
>
> **Handy Tips**
>
> Sodexo integration is supported on all checkout types: [standard](/docs/payments/payment-gateway/web-integration/standard), [custom](/docs/payments/payment-gateway/web-integration/custom), and [server-to-server (S2S)](/docs/payments/payment-gateway/s2s-integration).
Follow the steps given below on the Razorpay Dashboard:
> [accordion] Step 1: Enable Optimizer and Add PayU as Payment Provider
>
> 1. Enable [Optimizer](/docs/payments/optimizer) on your Razorpay account.
> 2. Log in to the Dashboard and navigate to **Optimizer**.
> 3. [Add PayU as a payment provider](/docs/payments/optimizer/payu-instant#add-payu-as-a-payment-provider).
> 4. Select `card` and `sodexo` payment methods and submit.
>
> 
> [accordion] Step 2: Configure Sodexo as a Payment Method
>
> 1. On the Razorpay Dashboard, navigate to **Account & Settings**.
> 2. Select **Sodexo** from the list of payment methods and click **Request**. Know more about [how to request for a payment method](/docs/payments/dashboard/account-settings/payment-methods#request-payment-methods).
>
> 
>
> After the completion of the above steps, Sodexo appears on the Razorpay Checkout.
# Tabby โ BNPL Payment Method for UAE Customers
Source: https://razorpay.com/docs/payments/payment-methods/tabby
Accept BNPL payments from UAE customers via Tabby Pay on Razorpay Standard Checkout. Split purchases into 4 interest-free AED payments or pay over time for up to 12 months.
Tabby is the leading Buy Now, Pay Later (BNPL) platform in the UAE and KSA. Enabling Tabby at checkout enables UAE customers to split their purchase into 4 interest-free payments or up to 12 months, for cart values over AED 2,000 with no late fees or interest, using a payment method they already know and trust.
Razorpay manages the end-to-end integration with Tabby. No separate contract with Tabby is required.
> [!NOTE]
>
> **Handy Tips**
>
> * Pay Later (Short Term Credit) is provided by Tabby LLC. Terms and conditions apply. Visit [tabby.ai](https://tabby.ai) for more information.
> * Tabby is currently available for **UAE** customers. Saudi Arabia support is coming soon.
> * Razorpay's [pay in native currency](/docs/payments/payment-methods/cards/dynamic-currency-conversion/) feature ensures your UAE customer sees the amount in AED at checkout.
## Advantages
Merchants who enable Tabby report measurable uplift across key checkout metrics:
* **Higher Conversion Rate**: Customers who see BNPL at checkout are more likely to complete the purchase.
* **Reduced Card Abandonment**: When your customer sees Tabby at checkout, they likely already have an account and can complete payment in under 60 seconds.
* **Flexible Order Value Range**: Tabby can be used by your customers for a wide range of order values for a single order, depending on merchant category. For additional limits, please contact your Account Manager or [Razorpay Support](https://razorpay.com/support/).
## Prerequisites
Before enabling Tabby, ensure the following:
* Active Razorpay account with **International Payments** enabled.
* **KYB (Know Your Business)** verification completed on the Razorpay Dashboard.
* You are a **PFB (Platform Fee Bearer)** merchant. This means Razorpay's platform fees are borne by you (the merchant), not passed to the customer.
> [!NOTE]
>
> **Handy Tips**
>
> Merchants onboarded to Razorpay after January 2026 do not need to complete a separate KYB verification as your existing onboarding covers it. You just have to activate it on your Razorpay Dashboard.
## Restricted Categories
Tabby is not available for the following merchant categories. If your MCC falls in a restricted category, Tabby will not appear for activation on your Dashboard.
| Restricted Category | Examples |
| - | - |
| Gambling, Betting | Online casinos, sports betting, lotteries |
| Adult Content | Adult entertainment, dating services |
| Tobacco, Vaping | Cigarettes, e-cigarettes, vape products |
| Weapons, Ammunition | Firearms, knives, ammunition |
| Cryptocurrency | Crypto exchanges, NFT platforms, token sales |
## How to Enable Tabby
Tabby is activated via self-serve on the Razorpay Dashboard.
1. Log in to the [Razorpay Dashboard](https://dashboard.razorpay.com).
2. Navigate to **Settings โ Payment Methods โ International**.
3. Locate the **Tabby** row and click **Enable**.
4. Complete KYB verification if prompted.
5. Once approved, Tabby appears automatically in your checkout for eligible UAE customers.
> [!NOTE]
>
> **Handy Tips**
>
> Approval typically takes up to one week. Track your activation status on the same Dashboard page.
## Customer Eligibility
Tabby appears at checkout only when the customer meets all of the following conditions:
* Customers must have a UAE mobile number (+971) and pass Tabby's eligibility check.
* Wide range of order values range based on merchant category. Customers will pay in AED only.
* Real-time eligibility check by Tabby, instant and invisible to the customer.
## How It Works
Tabby works like any other payment method on Razorpay Checkout:
1. [Create Order](/docs/api/orders/create/) with the required details.
2. Customer provides details such as name, email, phone and shipping address.
3. Customer completes payment on Tabby. Customer is redirected to Tabby's secure page for OTP verification and approval (if details were not passed during the order creation).
4. Razorpay auto-captures the payment. You receive a `payment.captured` webhook. No manual action required.
5. Customer is redirected to your success or failure page. Order is confirmed.

## Create an Order for Tabby
When creating a Razorpay order that may be paid via Tabby, pass buyer information, shipping address, and line item data in your order API call. Tabby uses this data for real-time credit scoring. The more complete the data, the higher the approval rate.
Parameters without the *optional* tag are mandatory. Optional parameters are recommended for higher approval rates.
> [accordion] Order-Level Fields
>
> `amount`
> : `integer` Order amount in paise (INR). Razorpay converts to AED at checkout.
>
> `currency`
> : `string` The currency of the order. Razorpay automatically displays and collects the payment in AED on the checkout, converting at the time of the transaction.
> [accordion] Buyer Fields
>
> Passed via `notes` or `customer_details` in the Order API. If missing, Razorpay collects these from the customer inline at checkout.
>
> `phone`
> : `string` Customer phone with country code. For example, `+971501234567`.
>
> `name` *optional*
> : `string` Customer full name. Recommended for higher approval rates.
>
> `email` *optional*
> : `string` Customer email address. Recommended for higher approval rates. This information will be collected during checkout, if not passed here.
> [accordion] Address Fields
>
> Passed via `customer_details`. For platform merchants (Shopify, Magento), plugin data is used as a fallback.
>
> `shipping_address.city` *optional*
> : `string` Shipping city name. For example, `Dubai`. This information will be collected during checkout, if not passed here.
>
> `shipping_address.address` *optional*
> : `string` Street address, building name, apartment number.
>
> `shipping_address.zip` *optional*
> : `string` Postal or ZIP code.
>
> `billing_address` *optional*
> : `object` Billing address (city, address, zip). This information will be collected during checkout, if not passed here.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > For orders with no physical shipping, pass a shipping address and set `is_virtual = true` on each line item. This signals to Tabby that the shipping address is a billing address.
> [accordion] Line Items
>
> Passed via `line_items` in the Order API.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Do not use the `products` section of the Orders API.
>
> `line_items[].name` *optional*
> : `string` Product name or title.
>
> `line_items[].title` *optional*
> : `string` Display title (can be the same as `name`).
>
> `line_items[].unit_price` *optional*
> : `string` Unit price of the item.
>
> `line_items[].quantity` *optional*
> : `integer` Quantity ordered. Must be โฅ 1.
>
> `line_items[].category` *optional*
> : `string` Product category. For example, `Fashion` or `Electronics`. Used for risk scoring.
>
> `line_items[].product_id` *optional*
> : `string` SKU or product reference id.
## Webhooks
All Tabby payments are auto-captured. No manual capture step is required from your end. You receive standard Razorpay webhooks for each transaction.
| Status | Description | Webhook Event |
| - | - | - |
| `captured` | Payment captured successfully. Settlement to follow. | `payment.captured` |
| `failed` | Payment failed or customer rejected by Tabby. Alternate payment methods are shown. | `payment.failed` |
| `refund.created` | Refund has been initiated. | `refund.created` |
| `refund.processed` | Refund completed successfully. | `refund.processed` |
Configure webhooks under **Dashboard โ Settings โ Webhooks**. The `method` field in webhook payloads will show `tabby`.
## Settlement
Tabby payments are settled to your registered bank account on a **T+11 to T+13** cycle from the date of customer payment, in **INR**.
You receive the full captured amount (minus applicable MDR) regardless of whether the customer completes all future payments. Tabby absorbs the instalment risk entirely.
## Refunds
Both full and partial refunds are supported. Refunds are processed in INR. Refer to the table below to understand the refund rules.
| Rule | Details |
| - | - |
| Time limit | Refunds must be initiated within 180 days from the original payment creation date. |
| Minimum balance | Refunds are processed only when your running Tabby transaction volume exceeds the refund amount. If your Tabby balance is insufficient, the refund cannot be processed until new Tabby transactions bring the balance above the required amount. |
| Full refund | Entire order amount is refunded after deducting the applicable charges levied by Tabby. Use for cancellations, defective items or incorrect products. |
| Partial refund | A portion of the order is refunded after deducting the applicable charges levied by Tabby. Use for multi-item orders where some items are returned. |
To process a refund:
1. Go to **Dashboard โ Transactions**
2. Select the Tabby transaction
3. Click **Process Refund via Tabby**.
> [!WARNING]
>
> **Watch Out!**
>
> If the refund amount exceeds your current running Tabby balance, the refund option will be greyed out. You will need to wait until transaction volume accumulates sufficiently before the refund can be processed.
## Testing
1. Switch to **Test Mode** in the Razorpay Dashboard.
2. Create a test order within the permitted amount range.
3. On the Checkout page, select **Tabby** and complete the test flow.
4. Verify the payment status via Dashboard and webhook.
> [!NOTE]
>
> **Handy Tips**
>
> Test mode simulates both approved and rejected scenarios. Use the test phone numbers provided in the Dashboard to trigger specific outcomes.
## Frequently Asked Questions (FAQs)
> [accordion] 1. Why is Tabby not showing in my checkout?
>
> Tabby appears only for eligible UAE customers (detected at Razorpay checkout) and within the supported order value range. Verify your Tabby activation status under **Settings โ Payment Methods โ International** on the Dashboard.
> [accordion] 2. How is customer eligibility determined?
>
> Tabby runs a real-time scoring check using the customer's phone, email and device signals. This is invisible to the customer and takes under 2 seconds. If rejected, a generic message is shown and alternate payment methods are offered automatically. Passing more order details when creating the order significantly improves approval rates.
> [accordion] 3. When do I get paid?
>
> Settlement follows a T+11 to T+13 cycle from the date of customer payment, in INR to your registered bank account. See [Settlement](#settlement) for details.
> [accordion] 4. Why can't I process a refund?
>
> Refunds require that your running Tabby transaction volume exceeds the refund amount. If your current Tabby balance is insufficient, the refund option will not be available. Additionally, refunds must be initiated within 180 days of the payment creation date. See [Refunds](#refunds) for details.
> [accordion] 5. Why was the customer rejected by Tabby?
>
> Tabby's underwriting is independent and specific rejection reasons are not shared with merchants. Razorpay shows a generic error and automatically offers alternate payment methods to the customer.
> [accordion] 6. What if the customer does not complete all payments?
>
> Tabby absorbs 100% of the instalment risk. You receive the full captured amount (minus applicable MDR) regardless of whether the customer completes subsequent payments.
# Transaction Limits for Payment Methods
Source: https://razorpay.com/docs/payments/payment-methods/transaction-limits
List of transaction limits for every payment method permitted on Razorpay.
Available in
๐ฎ๐ณ India
๐ธ๐ฌ Singapore
Using Razorpay you can provide a host of payment methods to your customers to make payments. However, due to restrictions from banking partners, there are transaction limits for the different payment methods.
## Payment Methods and Transaction Limits
The following table lists the various methods and the transaction limits:
| Payment Method | Maximum Transaction Limit |
| - | - |
| Netbanking | โน5,00,000 |
| Cards | โน5,00,000 |
| UPI | โน1,00,000 Know more about the [UPI transaction limits prescribed by different entities](/docs/payments/payment-methods/transaction-limits/upi). |
| Wallets |
For non-KYC Merchants: โน10,000
For KYC Merchants: โน1,00,000
|
| Pay Later |
ICICI Bank PayLater: โน30,000
GetSimpl: โน30,000
FlexiPay by HDFC Bank: โน60,000 (Minimum limit: โน2,000)
|
| PayPal | As per the limit of your verified PayPal account (this is usually USD 10,000 for the verified PayPal account). |
> [!NOTE]
>
> **Handy Tips**
>
> You can increase the transaction limits by raising a request with our [support team](https://razorpay.com/support/).
# UPI Transaction Limits
Source: https://razorpay.com/docs/payments/payment-methods/transaction-limits/upi
Check the UPI transaction limits set by banks, NPCI, BHIM and other PSP Apps.
Available in
๐ฎ๐ณ India
The UPI transaction limits prescribed by banks, NPCI and PSP Apps are provided in the following sections.
## NPCI Prescribed Transaction Limits for Merchant Categories
The following table lists the transaction limit for different merchant categories as per NPCI:
| Merchant Categories | Transaction Limits (โน) |
| - | - |
| P2M Transactions | 1,00,000 |
| BFSI | 2,00,000 |
| Non-verified merchants | Collect payments up to 2,000 |
| MCC 6211 for IPO and purchase of G-Sec through RBI Retail Direct Scheme (RDS) | 5,00,000 |
| Healthcare | 5,00,000 |
| Education | 5,00,000 |
## Limit Set by PSP Apps
Usually, most of the PSP apps allow daily payments of up to โน1,00,000 or a maximum of 10 transactions per day.
### Limit Set by BHIM App
The following table lists the transaction limit set by the BHIM app:
| Transactions | Per Transaction Limit (โน) |
| - | - |
| P2P | 40,000 |
| P2M Verified | 1,00,000 |
| P2M Non-verified | 40,000 |
| Bill Pay | 20,000 |
## Other limits
* To protect against fraud, some transactions might get flagged for further review by UPI apps or banks.
* UPI apps have risk engines to flag and block transactions.
* In addition, there is a [GPay transaction limit per day](https://razorpay.com/learn/gpay-transaction-limit/) depending on your bank.
## Bank Prescribed Limits
The following table lists the List of banks with their UPI transaction limits:
| S No | Bank Name | Bank Type | Sponsor Bank | UPI Transaction limit | UPI Daily Limit |
| - | - | - | - | - | - |
| 1 | Abhyudaya Co-operative Bank | Cooperative | NA | 5,000 | 25,000 |
| 2 | Adarsh Co-op Bank Ltd | Cooperative | HDFC Bank | 50,000 | 50,000 |
| 3 | Aditya Birla Idea Payments Bank | Payments Bank | NA | 1,00,000 | 1,00,000 |
| 4 | Airtel Payments Bank | Payments Bank | NA | 1,00,000 | 1,00,000 |
| 5 | Allahabad Bank | Public Sector Bank | NA | 25,000 | 1,00,000 |
| 6 | Allahabad UP Gramin Bank | RRB | Allahabad Bank | 20,000 | 40,000 |
| 7 | Andhra Bank Public | Sector Bank | NA | 1,00,000 | 1,00,000 |
| 8 | Andhra Pradesh Grameena Vikas Bank | RRB | SBI | 25,000 | 1,00,000 |
| 9 | Andhra Pragathi Grameena Bank | RRB | NA | 10,000 | 20,000 |
| 10 | Apna Sahakari Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 11 | Assam Gramin Vikash Bank | RRB | United Bank of India | 5,000 | 25,000 |
| 12 | Axis Bank | Private | NA | 1,00,000 | 1,00,000 |
| 13 | Bandhan Bank | Private | NA | 1,00,000 | 1,00,000 |
| 14 | Bank Of Baroda | Public Sector Bank | NA | 25,000 | Not set |
| 15 | Bank Of India | Public Sector Bank | NA | 10,000 | 1,00,000 |
| 16 | Bank of Maharashtra | Public Sector Bank | NA | 1,00,000 | 1,00,000 |
| 17 | Baroda Gujarat Gramin Bank | RRB | Bank of Baroda | 25,000 | Not Set |
| 18 | Baroda Rajasthan Kshetriya Gramin Bank | RRB | Bank of Baroda | 25,000 | 25,000 |
| 19 | Baroda Uttar Pradesh Gramin Bank | RRB | Bank of Baroda | 25,000 | 25,000 |
| 20 | Bassein Catholic Coop Bank | Cooperative | NA | 20,000 | 40,000 |
| 21 | Bhilwara Urban Co operative Bank Ltd | Cooperative | HDFC | 5000 | 25000 |
| 22 | Canara Bank | Public Sector Bank | NA | 10,000 | 25,000 |
| 23 | Catholic Syrian Bank | Private | NA | 1,00,000 | 1,00,000 |
| 24 | Central Bank of India | Public Sector Bank | NA | 25,000 | 50,000 |
| 25 | Chaitanya Godavari Grameena Bank | RRB | Andhra Bank | 25,000 | 1,00,000 |
| 26 | Chhattisgarh Rajya Gramin Bank | RRB | SBI | 25,000 | 1,00,000 |
| 27 | Citibank Retail | Foreign Bank | NA | 1,00,000 | 1,00,000 |
| 28 | City Union Bank | Private | NA | 1,00,000 | 1,00,000 |
| 29 | Coastal Local Area Bank Ltd | Cooperative | BOM | 50,000 | 1,00,000 |
| 30 | Corporation Bank | Public Sector Bank | NA | 50,000 | 1,00,000 |
| 31 | DBS Digi Bank | Foreign Bank | NA | 1,00,000 | 1,00,000 |
| 32 | DCB Bank | Private | NA | 5,000 | 5000 |
| 33 | Dena Bank | Public Sector Bank | NA | 1,00,000 | 1,00,000 |
| 34 | Deutsche Bank AG (Web Collect) | Foreign Bank | NA | NA | NA |
| 35 | Dhanlaxmi Bank Ltd | Private | NA | 1,00,000 | 1,00,000 |
| 36 | Dombivali Nagrik Sahakari Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 37 | Equitas Small Finance Bank | Small Finance Bank | NA | 25,000 | 1,00,000 |
| 38 | ESAF Small Finance Bank | Small Finance Bank | NA | 1,00,000 | 1,00,000 |
| 39 | Federal Bank | Private | NA | 1,00,000 | 1,00,000 |
| 40 | FINO Payments Bank | Payments Bank | NA | 1,00,000 | 1,00,000 |
| 41 | G P Parsik Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 42 | HDFC Bank | Private | NA | 1,00,000 | 1,00,000 |
| 43 | Himachal Pradesh Gramin Bank | RRB | PNB | 50,000 | 50,000 |
| 44 | HSBC | Foreign Bank | NA | 1,00,000 | 1,00,000 |
| 45 | Hutatma Sahakari Bank Ltd | Cooperative | ICICI Bank | 1,00,000 | No limit |
| 46 | ICICI Bank | Private | NA | 10,000 (25000 for Google Pay users) | 10000 (25000 for Google Pay users) |
| 47 | IDBI Bank | Public Sector Bank | NA | 25,000 | 50,000 |
| 48 | IDFC First Bank | Private | NA | 1,00,000 | 1,00,000 |
| 49 | India Post Payment Bank | Payments Bank | NA | 25,000 | 50,000 |
| 50 | Indian Bank | Public Sector Bank | NA | 1,00,000 | 1,00,000 |
| 51 | Indian Overseas Bank | Public Sector Bank | NA | 10,000 | 20,000 |
| 52 | IndusInd Bank | Private | NA | 1,00,000 | 1,00,000 |
| 53 | J\&K Grameen Bank | RRB | Jammu & Kashmir Bank | 20,000 | 20,000 |
| 54 | Jalgaona Janata Sahkari Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 55 | Jammu & Kashmir Bank | Private | NA | 20,000 | 20,000 |
| 56 | Jana Small Finance Bank | Small Finance Bank | NA | 10,000 | 40,000 |
| 57 | Janta Sahakari Bank Pune | Cooperative | NA | 1,00,000 | 1,00,000 |
| 58 | Jio Payments Bank | Payments Bank | NA | 1,00,000 | 1,00,000 |
| 59 | Kallappanna Awade Ichalkaranji Janata Sahakari Bank Ltd. | Cooperative | NA | 25,000 | 2,00,000 |
| 60 | Karnataka Bank | Private | NA | 1,00,000 | 2,00,000 |
| 61 | Karnataka Vikas Gramin Bank | RRB | NA | 25,000 | 25,000 |
| 62 | Karur Vysaya Bank | Private | NA | 1,00,000 | 1,00,000 |
| 63 | Kashi Gomti Samyut Gramin Bank | RRB | NA | 1,00,000 | 1,00,000 |
| 64 | Kaveri Grameena Bank | RRB | SBI | 25,000 | 25,000 |
| 65 | Kerala Gramin Bank | RRB | NA | 20,000 | 20,000 |
| 66 | Kotak Mahindra Bank | Private | NA | 1,00,000 | 1,00,000 |
| 67 | Langpi Dehangi Rural Bank | RRB | SBI | 10,000 | 1,00,000 |
| 68 | Madhya Bihar Gramin Bank | RRB | PNB | 25,000 | 1,00,000 |
| 69 | Maharashtra Grameen Bank | RRB | BOM | 25,000 | 1,00,000 |
| 70 | Maharashtra State Cooperative Bank | Cooperative | NA | 5,000 | 50,000 |
| 71 | Malwa Gramin Bank (Merged with Punjab Gramin Bank) | RRB | SBI | 10,000 | 25,000 |
| 72 | Manipur Rural Bank | RRB | SBI | 10,000 | 10,000 |
| 73 | Maratha Cooperative Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 74 | Meghalaya Rural Bank | Foreign Bank | SBI | 1,00,000 | 1,00,000 |
| 75 | Mizoram Rural Bank | RRB | SBI | 25,000 | 1,00,000 |
| 76 | NKGSB Co-op. Bank Ltd. | Cooperative | NA | 20,000 | 40,000 |
| 78 | Oriental Bank of Commerce | Public Sector Bank | NA | 1,00,000 | 1,00,000 |
| 79 | Paschim Banga Gramin Bank | RRB | UCO | 5,000 | 25,000 |
| 80 | Paytm Payments Bank | Payments Bank | NA | 1,00,000 | 1,00,000 |
| 81 | Pragathi Krishna Gramin Bank | RRB | NA | 20,000 | 20,000 |
| 82 | Prathama U.P. Gramin Bank | RRB | NA | 10,000 | 50,000 |
| 83 | Punjab and Maharastra Coop Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 84 | Punjab and Sind Bank | Public Sector Bank | NA | 10,000 | 10,000 |
| 85 | Punjab Gramin Bank | RRB | PNB | 10,000 | 25,000 |
| 86 | Punjab National Bank | Public Sector Bank | NA | 25,000 | 50,000 |
| 87 | Purvanchal Bank | RRB | SBI | 25,000 | 1,00,000 |
| 88 | Rajasthan Marudhara Gramin Bank | RRB | SBI | 25,000 | 25,000 |
| 89 | Rajkot Nagari Sahakari Bank Ltd | Cooperative | NA | 1,00,000 | 1,00,000 |
| 90 | Samruddhi Co-op Bank Ltd | Cooperative | TJSB | 1,00,000 | 1,00,000 |
| 91 | Sarva Haryana Gramin Bank | RRB | PNB | 50,000 | 1,00,000 |
| 92 | Sarva UP Gramin Bank | RRB | PNB | 50,000 | 1,00,000 |
| 93 | Saurashtra Gramin Bank | RRB | SBI | 20,000 | 1,00,000 |
| 94 | Shree Kadi Nagarik Sahakari Bank Ltd. | Cooperative | Yes Bank | 1,00,000 | 1,00,000 |
| 95 | South Indian Bank | Private | NA | 1,00,000 | 1,00,000 |
| 96 | Standard Chartered | Foreign Bank | NA | 1,00,000 | 1,00,000 |
| 97 | State Bank Of India | Public Sector Bank | NA | 1,00,000 | 1,00,000 |
| 98 | Suco Souharda Sahakari Bank | Cooperative | ICICI Bank | 1,00,000 | 1,00,000 |
| 99 | Suryoday Small Finance Bank Ltd | Small Finance Bank | NA | 1,00,000 | 1,00,000 |
| 100 | Suvarnayug Sahakari Bank Ltd | Cooperative | HDFC | 1,00,000 | 1,00,000 |
| 101 | Syndicate Bank | Public Sector Bank | NA | 10,000 | 1,00,000 |
| 102 | Tamilnadu Mercantile Bank | Private | NA | 20,000 | 1,00,000 |
| 103 | Telangana Gramin Bank | RRB | SBI | 25,000 | 1,00,000 |
| 104 | Telangana State Co Operative Apex Bank | Cooperative | IDBI | 10,000 | 1,00,000 |
| 105 | Thane Bharat Sahakari Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 106 | The Cosmos Co-Operative Bank Ltd | Cooperative | NA | 10,000 | 50,000 |
| 107 | The A.P. Mahesh Co-Operative Urban Bank | Cooperative | NA | 25,000 | 25,000 |
| 108 | The Ahmedabad District Co-operative Bank Ltd | Cooperative | GSCB | 10,000 | 25,000 |
| 109 | The Ahmedabad Mercantile Co-op Bank Ltd | Cooperative | HDFC Bank | 1,00,000 | 1,00,000 |
| 110 | The Andhra Pradesh State Cooperative | Cooperative | NA | 10,000 | 1,00,000 |
| 111 | The Baroda Central Co-operative Bank Ltd. | Cooperative | GSCB | 15,000 | 1,00,000 |
| 112 | The Gujarat State Co-operative Bank Limited | Cooperative | NA | 50,000 | 1,00,000 |
| 113 | The Hasti Co-operative Bank Ltd | Cooperative | NA | 1,00,000 | 1,00,000 |
| 114 | The Kalyan Janta Sahkari Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 115 | The Lakshmi Vilas Bank Limited | Private | NA | 1,00,000 | 1,00,000 |
| 116 | The Mahanagar Co-Op. Bank Ltd | Cooperative | NA | 25,000 | 50,000 |
| 117 | The Malad Sahakari Bank Ltd. | Cooperative | PMCO | 10,000 | 50,000 |
| 118 | The Mehsana Urban Co-Operative Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 119 | The Municipal Co-op Bank Ltd. | Cooperative | NA | 5,000 | 50,000 |
| 120 | The Muslim Co-Operative Bank Ltd | Cooperative | HDFC | 1,00,000 | 1,00,000 |
| 121 | The Nainital Bank Ltd | Private | NA | 20,000 | 40,000 |
| 122 | The Ratnakar Bank Limited | Private | NA | 25,000 | 25,000 |
| 123 | The Saraswat Co-Operative Bank | Cooperative | NA | 1,00,000 | 1,00,000 |
| 124 | The Surat Peoples Co Op. Bank Ltd | Cooperative | NA | 25,000 | 1,00,000 |
| 125 | The Sutex Co-op Bank | Cooperative | ICICI Bank | 1,00,000 | 1,00,000 |
| 126 | The SVC Co-Operative Bank Ltd | Cooperative | NA | 10,000 | 20,000 |
| 127 | The Thane Janta Sahakari Bank Ltd | Cooperative | NA | 1,00,000 | 1,00,000 |
| 128 | The Udaipur Mahila Samridhi Urban Co-op Bank Ltd | Cooperative | ICICI Bank | 1,00,000 | 1,00,000 |
| 129 | The Udaipur Mahila Urban Co-op Bank Ltd | Cooperative | NA | 1,00,000 | 1,00,000 |
| 130 | The Urban Cooperative Bank Ltd Dharangaon | Cooperative | ICICI Bank | 20,000 | 25,000 |
| 131 | The Varachha Co-op Bank Ltd. | Cooperative | NA | 20,000 | 40,000 |
| 132 | The Vijay Cooperative Bank Ltd | Cooperative | ICIC Bank | 20,000 | 2,00,000 |
| 133 | The Vishweshwar Sahakari Bank Ltd | Cooperative | NA | 1,00,000 | 1,00,000 |
| 134 | Tripura Gramin Bank | RRB | SBI | 10,000 | 10,000 |
| 135 | UCO Bank | Public Sector Bank | NA | 1,00,000 | 1,00,000 |
| 136 | Ujjivan Small Finance Bank Limited | Small Finance Bank | NA | 50,000 | 1,00,000 |
| 137 | Union Bank of India | Public Sector Bank | NA | 1,00,000 | 2,00,000 |
| 138 | United Bank of India | Public Sector Bank | NA | 25,000 | 60,000 |
| 139 | Uttarakhand Gramin Bank | RRB | SBI | 25,000 | 1,00,000 |
| 140 | Vananchal Gramin Bank | RRB | SBI | 20,000 | 20,000 |
| 141 | Vasai Vikas Co-op Bank Ltd | Cooperative | NA | 1,00,000 | 1,00,000 |
| 142 | Vijaya Bank | Public Sector Bank | NA | 25,000 | 50,000 |
| 143 | Yes Bank | Private | NA | 1,00,000 | 1,00,000 |
# About UPI
Source: https://razorpay.com/docs/payments/payment-methods/upi
Accept payments by enabling various UPI apps at Razorpay Checkout. Check all the supported UPI integrations.
Available in
๐ฎ๐ณ India
UPI checkout is a smooth payment experience for users as compared to other payment modes, thus provides higher transaction success rates for your business.
Razorpay supports multiple [third-party apps](https://www.npci.org.in/what-we-do/upi/3rd-party-apps) and has direct integration with [Google Pay.](/docs/payments/payment-methods/upi/google-pay)
Check the UPI payment flow and the various UPI integrations available with Razorpay.
> [!WARNING]
>
> **UPI Collect Flow Deprecated**
>
> According to NPCI guidelines, the UPI Collect flow is being deprecated effective 28 February 2026. Customers can no longer make payments or register UPI mandates by manually entering VPA/UPI id/mobile numbers.
>
> **Exemptions:** UPI Collect will continue to be supported for:
>
> * MCC 6012 & 6211 (IPO and secondary market transactions).
> * iOS mobile app and mobile web transactions.
> * UPI Mandates (execute/modify/revoke operations only)
> * eRupi vouchers.
> * PACB businesses (cross-border/international payments).
>
> **Action Required:**
>
> * If you are a new Razorpay user, use [UPI Intent](/docs/payments/payment-methods/upi/upi-intent).
> * If you are an existing Razorpay user not covered by exemptions, you must migrate to UPI Intent or UPI QR code to continue accepting UPI payments. For detailed migration steps, refer to the [migration documentation](/docs/announcements/upi-collect-migration/standard-integration).
## Special Onboarding Requirements for SEBI-Registered Intermediaries (MCC 6211)
If your business is classified under **Merchant Category Code 6211 (Securities Brokers/Dealers)** and is a **SEBI-registered intermediary** (including Stockbrokers, Mutual Funds, PMS providers and so on), you must adhere to a special regulatory mandate for UPI collection, effective **October 1, 2025**.
**UPI Identifier Requirements**
* Businesses must **use a standardised UPI identifier** as mandated by SEBI for all registered intermediaries.
* The identifier must incorporate the `@validbankpsp` handle. For example, `@validhdfc` or `@validicici`.
* This specific `@validbankpsp` handle can only be allocated by a **Self-Certified Syndicate Bank (SCSB)**.
* The allocation by the SCSB must follow a prescribed validation process.
> [accordion] List of Self-Certified Syndicate Banks Eligible to Issue UPI IDs
>
> 1. AU Small Finance Bank
> 2. Axis Bank
> 3. Bandhan Bank
> 4. Bank of Baroda
> 5. Bank of India
> 6. Bank of Maharashtra
> 7. Canara Bank
> 8. Central Bank of India
> 9. Citibank N.A
> 10. City Union Bank
> 11. DBS Bank India Limited
> 12. DCB Bank
> 13. Deustche Bank
> 14. Dhanlaxmi Bank Limited
> 15. Equitas Small Finance Bank
> 16. GP Parsik Sahakari Bank Limited
> 17. HDFC Bank Limited
> 18. HSBC Bank
> 19. ICICI Bank
> 20. IDBI Bank Limited
> 21. IDFC FIRST Bank
> 22. Indian Bank
> 23. Indian Overseas Bank
> 24. IndusInd Bank
> 25. Jana Small Finance Bank Limited
> 26. Janata Sahakari Bank Limited
> 27. Karnataka Bank Limited
> 28. Karur Vysya Bank Limited
> 29. Kotak Mahindra Bank
> 30. Nutan Nagarik Sahakari Bank Limited
> 31. Punjab & Sind Bank
> 32. Punjab National Bank
> 33. Rajkot Nagarik Sahakari Bank Limited
> 34. RBL BANK
> 35. Saraswat Co-operative Bank Limited
> 36. South Indian Bank
> 37. Standard Chartered Bank
> 38. State Bank of India
> 39. SVC Co-operative Bank Limited
> 40. Tamilnad Mercantile Bank
> 41. The Ahmedabad Mercantile Co-operative Bank Limited
> 42. The Catholic Syrian Bank Limited
> 43. The Federal Bank Limited
> 44. The Jammu & Kashmir Bank Ltd
> 45. The Kalupur Commercial Co-operative Bank Limited
> 46. The Mehsana Urban Co-operative Bank Limited
> 47. The Surat People's Co-op Bank Limited
> 48. TJSB Sahakari Bank Limited
> 49. UCO Bank
> 50. Union Bank of India
> 51. Utkarsh Small Finance Bank Limited
> 52. Yes Bank
### Get Standardised UPI Address
Follow the steps to successfully create your new UPI id.
> [accordion] Step 1: Request Your `@valid` UPI ID (Mandatory Action on SI Portal)
>
> The standard Razorpay terminal request is **not supported**. All `@valid` UPI IDs must be requested and approved through the **SEBI Intermediary Portal (SI Portal)**.
>
> 1. Log in to the [SEBI Intermediary Portal](https://siportal.sebi.gov.in/intermediary/index.html) using your credentials.
> 2. From the dropdown menu, navigate to: **Entity Category โ @valid UPI ID Request โ UPI Request Portal**.
> 3. Click **Request New UPI IDs** or **View All Requests**.
> 4. Click **Add new UPI ID**.
>
> Please determine your settlement model and bank account as a next step, before you continue to fill the form.
> [accordion] Step 2: Determine Your Settlement Model and Bank Account
>
> Your VPA creation and required bank accounts depend on how the funds are settled. You must create separate VPAs for **One-Time** and **Autopay** transactions, using **RZP1** and **RZP2** respectively.
>
> > [accordion] Model I: Settlement to the Intermediary (Broking, AMC, PMS)
> >
> > Funds settle directly into your entity's bank account.
> >
> > **Requirement**: You must use your own bank account that resides within the chosen PSP Bank. If you choose `@validhdfc`, you must use an **HDFC Bank account**. If you do not have an account, you must open one.
> >
> > **VPA Format Examples**:
> >
> > * **One-Time**: `mfhouse.rzp1.mf@validhdfc`
> > * **Autopay**: `mfhouse.rzp2.mf@validhdfc`
>
> > [accordion] Model II: Settlement to the Clearing Corporation (Broking for Mutual Funds/Bonds)
> >
> > Funds settle into the bank account of a Clearing Corporation (**ICCL / NCL**).
> >
> > **Requirement**: You must use the specific Bank Account Number and IFSC provided by Razorpay that corresponds to the respective Clearing Corporation (ICCL or NCL) and PSP Bank (**ICICI/Axis/HDFC**).
> >
> > **VPA Format Examples**:
> >
> > * **MF Broker (ICCL)**: `mfbroker.icclrzp1.brk@validhdfc`
> > * **Bond Broker (NCL)**: `bondsbroker.nsecbricsrzp1.brk@validhdfc`
> [accordion] Step 3: Fill Form to Request Your `@valid` UPI ID on SI Portal
>
> 5. Under **Entity Information**, enter the following details:
> * Entity Name
> * Registration Number
> * PAN
> * Category Code
> 6. Under **Legal Account Holder Name**, enter the following details:
> * Legal Account Holder Name
>
> * Legal Account Holder PAN
>
> * Set up different legal account holder based on your model:
>
> > [accordion] For Model I users:
> >
> > If the funds are intended to settle directly into your own SEBI-registered entity's bank account (applicable for most Brokers, AMCs and PMS providers):
> >
> > 1. Set **Different Legal Account Holder?** to **No**. The system will automatically use your **Entity's Name** as the Legal Account Holder.
> > 2. Proceed to enter your entity's bank account details (which must be with the chosen PSP Bank).
>
> > [accordion] For Model II users:
> >
> > If the funds are intended to settle into the bank account of a Clearing Corporation (applicable for intermediaries facilitating transactions settled via an exchange, such as Broking for Mutual Funds or Bonds):
> >
> > 3. Set **Different Legal Account Holder?** to **Yes**.
> > 4. Select **Clearing Corporation**, under **Legal Account Holder Role**\*.
> > 5. Select **NSE Clearing Limited** or **Indian Clearing Corporation Limited** (as applicable), under **Legal Account Holder Name**\*.
>
> 7. To use a registered Trade Name, set **Use Trade Name as Username:** to **Yes** and provide the **Trademark Registration Number**.
>
> The default username is based on your **Legal Entity Name**.
>
> 8. Under the **UPI Handle Request** section, fill up the below **Beneficiary Information**:
> * Account Number
>
> * IFSC Code
>
> * Select the "**I confirm that Account Number: `123456789101112` and IFSC: `BANK123456` belongs to Gaurav (PAN: `ABCD123456`)**" checkbox.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > This account must correspond to the chosen **PSP Bank (Model I)** or the respective **Clearing Corporation (Model II)**.
>
> 9. Enter a **Username**. The system auto-generates a unique UPI Username based on your entity information.
>
> If the default name is not descriptive enough, click **Generate Longer** to add more words from your Entity Name. Click **Reset** to revert to the original system-generated name.
>
> 10. Add an **Optional Parameter**. Click **Enable** to add this field. This parameter is **mandatory** to ensure the VPA can be successfully mapped to your Razorpay account.
>
> The primary purpose of this identifier is to allow you to create multiple unique VPAs using the same base username and PSP handle.
>
> * **First VPA Request**: Use `RZP1`
> * **Second VPA Request**: Use `RZP2`
> * **Subsequent VPAs**: Use sequential identifiers as needed (for example, `RZP3`, `RZP4` and so on).
>
> Each UPI id you request must have a unique optional parameter for sequencing.
>
> **Example VPA Structure**: `[yourname].rzp1.[suffix]@valid[bank]`
>
> 11. The **Payment Service Provider (PSP)** section determines which bank's `@valid` handle will be used in your UPI id (for example, `@validhdfc`).
>
> * The system automatically selects the bank that holds the **Beneficiary Bank Account** you provided (based on the IFSC). The dropdown will then only display the corresponding `@valid` handles from that bank.
>
> * To use a PSP different from your bank account's bank, set **Do you wish to use beneficiary's bank as PSP?** option to **No**.
>
> * Then, select the desired **Bank Name** from the new options and choose the suitable `@valid` **UPI Handle**.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > If your preferred PSP is not listed, you must check with your bank as this indicates a configuration issue or restriction.
>
> 12. Click **Add Record**. A record of your UPI handle request will be created.
> 13. To submit your UPI handle request, go to **View All Requests** โ click **Submit UPI Handle Request**.
>
> Once submitted, the request goes to the selected **Self-Certified Syndicate Bank (PSP)** for due diligence and document verification before approving the UPI id on the SI Portal.
> [accordion] Step 4: Final Submission to Razorpay for Mapping
>
> After the bank confirms the UPI id allocation, you must share the final, approved VPA details with the [Razorpay support team](https://razorpay.com/support/) to link it to your Payment Gateway MIDs.
>
> 14. **Share the approved VPA(s)**, corresponding Bank Account, IFSC, Account Holder Name and the Razorpay Merchant IDs (MIDs) that need to be mapped.
> 15. **Submit bank-specific documents** (as part of the bank's due diligence):
>
> | **PSP Bank** | **Required Documentation** |
> | - | - |
> | **Axis Bank** | Only the VPA details are required. Razorpay will reach out if the bank needs additional documentation. |
> | **HDFC Bank** | **Mandatory:** You must provide a screenshot of the SEBI Portal landing page, clearly displaying the approved Bank A/c, IFSC, UPI ID and UTN No. |
> | **ICICI Bank** | You are required to complete and share the following directly with ICICI Bank:
Parent MID Sheet
UPI Merchant Onboarding Form
Corporate API Suite (CAS)
Technical Details to Include in Forms: Port, IP, URL
You are required to complete and share the **Parent MID Sheet** and the **UPI Merchant Onboarding Form** directly with ICICI Bank. |
>
> 16. **Wait for Review:** Our Operations Team will manually review your request, validate your SEBI registration and coordinate with the necessary banking partners for handle allocation.
>
> This manual process typically takes **5 to 7 business days** to complete.
## UPI Payment Flow
Given below is the payment flow for UPI:

## Collect Flow
The Collect Flow works like this:
1. Customers enter their VPAs or mobile number linked to their UPI in the Checkout.
2. Open the respective UPI apps and complete the payment after 2-factor authentication (UPI PIN and MPIN are entered) on their mobile devices.
3. Customers are redirected to your website or app after successful payment. Watch the video to see how UPI collect flow works.

The customers must accept the request they receive on their UPI app to make the payment successfully.
> [accordion] Supported Platforms, UPI Apps and Availability
>
> | **Supported Platforms** | **Supported UPI Apps** | **Availability** |
> | - | - | - |
> |
Web
Mobile web
Android
| [All](https://www.npci.org.in/what-we-do/upi/3rd-party-apps) | Available by default |
## Intent flow
After customers select the UPI payment app on the Checkout, the app is launched automatically on their mobile devices. Customers need not enter VPA or phone number as these details are prefilled and submitted along with the other payment details.

> [accordion] Supported Platforms, UPI Apps and Availability
>
> | **Supported Platforms** | **Supported UPI Apps** | **Availability** |
> | - | - | - |
> |
Mobile web
Android
iOS
|
PhonePe and GooglePay for Mobile-web on Google Chrome only
Paytm, PhonePe and GooglePay for Android and iOS
| Available by default |
## In-App Flow
Turbo UPI by Razorpay is an in-app process that enables businesses to accept UPI payments from customers within their mobile applications. Customers no longer need to switch to third-party UPI apps to complete payments in this flow. This helps increase payment success rates and improves customer experience. Know more about [Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi). Given below is a sample UI representation:

> [accordion] Supported Platforms, UPI Apps and Availability
>
> | **Supported Platforms** | **Supported UPI Apps** | **Availability** |
> | - | - | - |
> |
Android
iOS
| NA | Requires **Approval** (Reach out to support)
[Android Standard Integration](/docs/payments/payment-gateway/android-integration/standard/payment-methods/turbo-upi)
[iOS Standard Integration](/docs/payments/payment-gateway/ios-integration/standard/payment-methods/turbo-upi)
|
## Omnichannel
This is an intent flow wherein customers enter their mobile numbers instead of VPAs in the UPI app. The payments are completed after 2-factor authentication (UPIN and MPIN are entered).
> [accordion] Supported Platforms, UPI Apps and Availability
>
> | **Supported Platforms** | **Supported UPI Apps** | **Availability** |
> | - | - | - |
> | Android only | Only for Google Pay | Requires Approval (Reach out to support) and [**Integration**](/docs/payments/payment-methods/upi/google-pay/omnichannel)Integration |
## Google Pay SDK
This is an intent flow wherein the customer can complete the payment within your app itself without being redirected to the UPI app on the mobile device. This is particularly useful when you want the customer to experience a seamless payment experience while safeguarding your brand identity.
> [accordion] Supported Platforms, UPI Apps and Availability
>
> | **Supported Platforms** | **Supported UPI Apps** | **Availability** |
> | - | - | - |
> | Android only | Only for Google Pay | Requires [Integration](/docs/payments/payment-methods/upi/google-pay/custom-integration#intent-based-integration-using-google-pay-sdk) |
> [!NOTE]
>
> **Third Party Validation**
>
> If your business model requires the customers to make transactions **only** from the bank account that was submitted to your business at the time of registration then know more about [Third-Party Validation](/docs/payments/third-party-validation). Check the [list of banks that support TPV](/docs/payments/third-party-validation/bank-list).
### Related Information
* [UPI Error Codes](/docs/errors/payments/upi)
* [UPI Transaction Limits](/docs/payments/payment-methods/transaction-limits/upi)
# RuPay Credit Card on UPI
Source: https://razorpay.com/docs/payments/payment-methods/upi/cc-on-upi
Offer RuPay Credit Cards on UPI as a payment method to your customers.
Available in
๐ฎ๐ณ India
Leverage the full potential of UPI Payments by integrating RuPay Credit Cards.
Watch this video to know more about RuPay credit card on UPI.
[YouTube video player](https://www.youtube.com/embed/8_N9o7291k4)
### Advantages
> [tab] For Customers
>
> * More touch points to make payments via their RuPay credit cards.
> * Easy to make credit card payments without the need to enter the card details and OTP for every transaction.
> * Carry out all RuPay credit card and bank account transactions without the need to carry a wallet.
> [tab] For Businesses
>
> * Reduce costs associated with maintaining a POS device by efficiently managing RuPay credit card payment.
> * Increase in average spends per customer on UPI as customers tend to spend higher with credit cards.
> * Enhance the payment experience for customers, ensuring a smoother process.
## Customer Fee Bearer
Customer Fee Bearer (CFB) on Credit Card on UPI is a payment feature that allows you to pass on processing fees to customers when they make UPI payments using their linked credit cards. This feature enables you to maintain your profit margins while offering customers the convenience of using credit cards through UPI for everyday transactions. The checkout will:
* Automatically detect when a customer selects UPI as the payment method.
* Display fee breakdown transparently before payment, showing the convenience fee separately from the order amount.
* Process payment seamlessly after customer confirmation.
> [!NOTE]
>
> **Feature Enablement**
>
> This is an on-demand feature. Contact your account manager or raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature enabled.
> [accordion] Advantages
>
> * **Cost Optimisation**: Pass processing fees directly to customers, protecting your margins while accepting premium payment methods.
> * **Expanded Customer Base**: Tap into the growing UPI credit card user segment who prefer credit over debit for rewards and cash flow benefits.
> * **Seamless Experience**: Customers enjoy the familiar UPI interface while accessing their credit lines.
> * **Higher Transaction Values**: Credit card users typically have higher spending capacity compared to debit card users.
### Prerequisites
* This feature is available on the Axis Switch gateway only.
* Integrate with [Razorpay Standard Checkout](/docs/payments/payment-gateway#integrate-payment-gateway-web-mobile-ecommerce-plugins).
* This feature is **not** available on UPI Collect method (NPCI restriction).
* Certain business categories are restricted as per NPCI guidelines. The following MCC codes cannot accept credit card payments on UPI:
> [accordion] Restricted MCC codes
>
> | MCC Code | Category |
> | - | - |
> | 6012 | Lending, NBFC, Cooperatives, Pension Fund |
> | 4829 | Wire Transfers and Money Orders |
> | 7322 | Debt Collection Agencies |
> | 6010 | Forex |
> | 6011 | ATMs |
> | 6051 | Cryptocurrency |
> | 6211 | Mutual Fund, Securities, Commodities, Trading |
> | 7800 | Lottery |
> | 7802 | Horse or Dog Racing |
> | 7995 | Lottery and Betting |
## Frequently Asked Questions (FAQs)
> [accordion] How can my customers link their RuPay Credit Cards to UPI?
>
> Linking a RuPay credit card to the UPI is similar to linking a savings bank account or debit card to UPI.
>
> To link a RuPay credit card to UPI, customers need to:
>
> 1. Head over to the PSP app (BHIM, PhonePe, Paytm) on their smartphone.
> 2. Tap the **Add credit card** option and select the bank that has issued the RuPay credit card.
> 3. Enter the last six digits and validity details of their RuPay credit card.
> 4. To verify, they need to enter the OTP received via SMS on the registered mobile number. Once the verification is complete, they can set up the PIN.
>
> Their registration of RuPay credit cards on UPI will then be complete.
> [accordion] How will the customers make a UPI payment with RuPay Credit cards?
>
> To make a payment using RuPay credit card on UPI, the user must follow these steps:
>
> 1. Select RuPay credit card as the payment option during the UPI payment process.
>
> 2. Enter the UPI PIN set during the earlier process of linking the RuPay credit card.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > To ensure a successful transaction, it is essential that the mobile number linked to the customer's UPI account is active on their smartphone and matches the mobile number linked to the credit card issued by their bank.
> [accordion] How can I identify UPI payments made using RuPay credit cards?
>
> You can retrieve the details of the account type (bank account or credit card) used for UPI payments through the Payment Webhook, Fetch Payment API, and the Dashboard.
>
> 1. **Payment Webhook**: The payment entity will now include the payer account type details. Refer to the [Payment Authorized Payload](/docs/webhooks/payments#payment-authorised).
> 2. **Fetch Payment API**: The payment entity will now include the payer account type details. Refer to the [Fetch API sample code](/docs/api/payments/fetch-with-id).
> 1. Click on a UPI payment to look at the details of the payment.
> 2. The payment drawer will display the following information for Credit Card payments on UPI:
> 1. Payment Method: UPI
> 2. Payer Account Type: Credit card
>
> 
> [accordion] What is the coverage of Credit Card acceptance via UPI?
>
> The following UPI apps support linking of RuPay credit cards to UPI:
>
> * BHIM
> * PhonePe
> * Paytm
>
> In terms of bank coverage, RuPay card holders from the following issuing banks can link their credit cards to the UPI apps to make payments via RuPay credit cards on UPI:
>
> * Axis Bank
> * Bank of Baroda
> * Canara Bank
> * HDFC Bank
> * Indian Bank
> * Kotak Mahindra Bank
> * Punjab National Bank
> * Union Bank
> [accordion] How do I enable Credit Card transactions via UPI for my business?
>
> Razorpay will take care of enabling this feature for you.
> [accordion] Will I be charged for Credit Cards transactions via UPI?
>
> We charge a small fee for all credit card transactions via UPI. Refer to our [pricing policy](https://razorpay.com/pricing/).
> [accordion] Which businesses are currently not supported from accepting credit card payments on UPI?
>
> You will not be able to accept credit card payments on UPI if you fall under the following category:
>
> 1. **Businesses on Customer fee bearer**
> 2. **Restricted MCC codes** - NPCI will not support credit card payments on the following MCC codes. Businesses with these MCC codes will not be able to accept credit card payments on UPI.
>
> | MCC | Category |
> | - | - |
> | 6010 | Financial institutions manual cash disbursements |
> | 6012 | Financial institutions merchandise and services |
> | 6013 | Cash Withdrawal ICCW |
> | 7407 | P2PM CHANGES |
> | 7408 | Lending Platform |
> | 7409 | Digital account openings |
> | 6011 | Financial institutions automated cash disbursements |
> | 6051 | Non-financial institutions foreign currency, money orders(not wire transfer), scrip and travellers checks |
> | 6211 | Securities brokers and dealers |
> | 7322 | Debt collection agencies |
> | 7800 | Government-Owned Lotteries |
> | 7801 | Government-Licensed On-Line Casinos (On-LineGambling) |
> | 7995 | Betting, including lottery tickets, casino gaming chips, off-track betting and wagers at race tracks |
> | 7802 | Government-Licensed Horse/Dog Racing |
> | 9406 | Government-Owned Lotteries (Specific Countries) |
> | 4829 | Wire transfers and money orders |
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/payment-methods/upi/faqs
Find answers to frequently asked questions about UPI as a payment method at Razorpay Checkout.
Available in
๐ฎ๐ณ India
## UPI Collect Flow (Deprecated)
> [accordion] Why is UPI Collect being discontinued?
>
> The National Payments Corporation of India (NPCI) is sunsetting the UPI Collect flow to align with the latest ecosystem compliance standards and enhance transaction security. By supporting only UPI Intent flows (automatic app redirection on mobile) and Dynamic QR (on desktop), the ecosystem aims to reduce manual entry errors and curb fraudulent `pull` requests, leading to higher success rates for businesses.
> [accordion] From when will UPI Collect stop working?
>
> NPCI is sunsetting UPI Collect across all devices and operating systems effective 28 February 2026. Razorpay is rolling out this transition in phases to ensure all businesses are compliant before the final deadline.
> [accordion] Will this impact Standard, Custom and S2S Checkout?
>
> Yes, this change impacts all Razorpay integrations:
>
> * **Standard Checkout**: Razorpay will automatically handle the transition by removing the UPI Collect option and enabling Intent/QR flows for one-time and recurring payments.
> * **Custom/S2S Checkout**: You must take manual action to remove the UPI Collect option from your UI and backend and ensure you have enabled UPI Intent or QR codes.
>
> Check deprecation and migration guides below:
>
> * [Standard Integration](/docs/announcements/upi-collect-migration/standard-integration).
> * [Custom Integration](/docs/announcements/upi-collect-migration/custom-integration)
> * [S2S Integration](/docs/announcements/upi-collect-migration/s2s-integration)
> [accordion] Is UPI Autopay affected by this change?
>
> Yes, but only for new mandate registrations. New registrations via the Collect flow will no longer be supported. Migrate to UPI Intent (for mobile) and Dynamic QR (for desktop) for setting up new mandates.
>
> Automatic debits for already registered mandates on the UPI Collect flow will continue to be supported. No changes are required for existing mandates.
> [accordion] What happens if I do not migrate before the deadline?
>
> Transactions initiated via the deprecated UPI Collect flow after the deadline may fail or be declined. If you have not enabled UPI Intent flows on your checkout, this could result in lost revenue. We recommend migrating as soon as possible.
> [accordion] Will there be downtime during migration?
>
> No downtime is expected during this migration. The transition is being conducted in phases and we will keep you informed ahead of the sunset timelines.
>
> If you are using Custom/S2S checkout, ensure UPI Intent and QR payment modes are live on your checkout before removing the UPI Collect option to ensure a seamless experience for your customers.
> [accordion] Who can I contact for migration support?
>
> * **Managed Accounts**: Contact your Razorpay Account Manager for dedicated assistance.
> * **Self-Serve Accounts**: Raise a support ticket via your [Razorpay Dashboard](https://dashboard.razorpay.com) or email [support@razorpay.com](mailto:support@razorpay.com).
> [accordion] My UPI payments stopped working after UPI Collect was disabled. What should I do?
>
> If UPI Collect was disabled on your account and you have not enabled UPI Intent or QR code, your checkout may break and prevent customers from completing UPI payments.
>
> > [tab] Standard Checkout
> >
> > * UPI Intent (mobile/mobile web) and UPI QR code (desktop) are automatically enabled on your checkout
> > * If you were not using these flows previously, you may need to configure them.
> > * Refer to the [Standard Checkout migration guide](/docs/announcements/upi-collect-migration/standard-integration) for more information.
>
> > [tab] Custom/S2S Checkout
> >
> > * You must manually integrate UPI Intent and QR code.
> > * Refer to the migration guides:
> > * [Custom integration](/docs/announcements/upi-collect-migration/custom-integration).
> > * [S2S integration](/docs/announcements/upi-collect-migration/s2s-integration).
>
> **To prevent this issue:**
>
> * Ensure UPI Intent and QR code are enabled and working on your checkout **before** UPI Collect is disabled.
> * Test the new flows thoroughly.
> * For Standard Checkout, verify that Intent/QR modes are active on your account even if you were not using them before.
## Common
> [accordion] I am seeing an error while enabling UPI as payment method. How to resolve?
>
> If you are facing error while enabling UPI as payment method:
>
> * You might have made a request using a non-owner role. Please log in as an owner and try again. See [Manage Team](https://razorpay.com/docs/payments/dashboard/account-settings/manage-team/).
> * If the issue persists, clear your cookies and retry.
>
> If you still receive an error, reach out to the [Razorpay Support team](https://razorpay.com/support/).
> [accordion] How can I enable UPI apps for my account?
>
> Navigate to **Account & Settings โ Payment Methods** and check if UPI apps are reflecting along with other payment methods. If it is not enabled, you can reach out to the [Razorpay Support team](https://razorpay.com/support/) to get it enabled.
> See [UPI Payment Methods](https://razorpay.com/docs/payments/payment-methods/upi/).
> [accordion] Which UPI apps does Razorpay support?
>
> Here is the [list of supported UPI apps](https://razorpay.com/docs/payments/payment-methods/upi/supported-apps/).
# Google Pay
Source: https://razorpay.com/docs/payments/payment-methods/upi/google-pay
Use Google Pay at the Razorpay Standard or Custom Checkout page.
Available in
๐ฎ๐ณ India
Your customers can make payments using Google Payโข at the Razorpay checkout. You can integrate and show Google Pay on any of the following platforms: Desktop Browser, Mobile Web (M-Web) and Android App.
## Integration on Standard Checkout - Web and Android
If you are using Razorpay's Standard Checkout, you do not need to make any change to integrate Google Pay on your checkout page. Razorpay will display Google Pay as an option under the **UPI** section on the checkout page.

### Web
> [tab] Collect Flow
>
> On your website, all Google Pay requests are Collect requests.
>
> 1. The customer selects the Google Pay option, enters their UPI handle and clicks **Pay**.
> 2. A request is sent to the Google Pay app installed on their mobile device.
> 3. The customer manually opens the Google Pay app and approves the request.
> [tab] Intent Flow
>
> Customers can make intent-based payments using Google Pay on mobile-web applications. The customer is redirected to Google Payโs application, installed on their mobile devices, to complete the payment.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This feature is only available for web pages running on HTTPS on Google Chrome for Android (v56 and above) and not on Google Chrome web views.
>
> > [!NOTE]
> >
> > **Feature Request**
> >
> > This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
### Android
> [!WARNING]
>
> **UPI Collect Flow Deprecated**
>
> According to NPCI guidelines, the UPI Collect flow is being deprecated effective 28 February 2026. Customers can no longer make payments or register UPI mandates by manually entering VPA/UPI id/mobile numbers.
>
> **Exemptions:** UPI Collect will continue to be supported for:
>
> * MCC 6012 & 6211 (IPO and secondary market transactions).
> * iOS mobile app and mobile web transactions.
> * UPI Mandates (execute/modify/revoke operations only)
> * eRupi vouchers.
> * PACB businesses (cross-border/international payments).
>
> **Action Required:**
>
> * If you are a new Razorpay user, use [UPI Intent](/docs/payments/payment-methods/upi/upi-intent).
> * If you are an existing Razorpay user not covered by exemptions, you must migrate to UPI Intent or UPI QR code to continue accepting UPI payments. For detailed migration steps, refer to the [migration documentation](/docs/announcements/upi-collect-migration/standard-integration).
> [tab] Intent-Based Integration
>
> When using the Standard Checkout, Google Pay is shown inside the payment method **UPI**. The customer selects Google Pay from the list of apps and click **Pay**. Customers are then redirected to the Google Pay application, provided it is installed on the mobile device they are using to access checkout, where they can make the payment.
> [tab] Intent-Based Integration Using Google Pay SDK
>
> You also have the option to integrate Google Pay with the Standard Checkout on your Android app using Google's SDK. This lets you open Google Pay within your application for customers to make the payment without any redirection, enhancing the user experience.
>
> #### Prerequisites
>
> 1. [Sign up](https://support.google.com/pay/business/answer/7684271?hl=en\&ref_topic=7684388) for a business account with Google Pay.
> 2. [Contact our Support Team](https://razorpay.com/support/#request) and have them **whitelist your UPI ID/VPA**.
> 3. Verify your UPI ID/VPA details on the [Google Merchant Console](https://support.google.com/pay/business/answer/7684398?hl=en\&ref_topic=7684388). Google deposits a small amount into the bank account linked to your VPA (UPI ID).
> 4. You should have already integrated [Razorpay Standard Checkout](/docs/payments/payment-gateway/web-integration/standard).
> 5. [Generate API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard.
>
> To integrate Google Pay with the Checkout on your Android app using Google's SDK:
>
> 1. Download the [Google Pay SDK](https://rzp-1415-prod-mobile.s3.amazonaws.com/android/googlepay-sdk/google-pay-client-api-1.0.0.aar) and add the `.aar` files to the application library.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > The Razorpay-Google Pay SDK acts as a wrapper over the native Google-SDK. This SDK connects Razorpay's SDK with the Google SDK. You need all the 3 SDKs (listed below) for the flow to work.
> >
> > * Razorpay Android SDK
> > * Google Pay SDK
> > * Razorpay-Google Pay SDK
>
> 1. Add the following lines of code to the `build.gradle` file of your application:
>
> ```java build.gradle theme={null}
> dependencies {
> implementation(name: 'razorpay-googlepay-1.3.0', ext: 'aar')
> implementation(name:'google-pay-client-api-1.0.0 ', ext:'aar')
> implementation 'com.android.support:customtabs:26.1.0'
> implementation 'com.google.android.gms:play-services-tasks:15.0.1
> }
> ```
>
> This adds the dependencies for the SDK and creates a Google Pay UPI payment method on your Checkout form.
> [tab] Collect-Based Integration
>
> This is same as [UPI Collect Integration](/docs/payments/payment-gateway/android-integration/custom/payment-methods#collect-flow).
>
> The customers enter their UPI handle in the **Enter your UPI ID** section at Checkout and click **Pay**. Collect the customer's UPI handle and pass it in the payment request with method as `upi`.
>
> Razorpay then triggers a Collect request. The Collection request is sent to the customer's Google Pay application where they can make the payment.
>
> > [!NOTE]
> >
> > **NPCI Restrictions for UPI Collect Flow**
> >
> > * UPI Collect Flow is not available for these MCCs. You can use [UPI Intent Flow](/docs/payments/payment-methods/upi/upi-intent) as an alternative.
> > * 5816
> > * 6540
> > * 4812
> > * 4814
> > * 5413
> > * 7408
> > * 6513
> > * 7995
> > * 5412
> > * 5413
## Integration on Custom Checkout
To enable Google Pay on your custom checkout:
1. Show Google Pay as a separate Option.
2. Trigger payment when a user clicks Google Pay on your checkout.
Know more about [Google Pay Custom Checkout Integration](/docs/payments/payment-methods/upi/google-pay/custom-integration).
# Google Pay Omnichannel Checkout
Source: https://razorpay.com/docs/payments/payment-methods/upi/google-pay/omnichannel
Let your customers make payments using Google Pay on their mobile devices without entering VPA.
Available in
๐ฎ๐ณ India
Use Google Pay Omnichannel to initiate a payment using the customer's phone number.
* The customers receive a Google Pay request on their registered mobile devices, and complete the payment using the Google Pay app installed on their devices.
* This reduces the overhead of entering the VPA, leading to better success rates for your UPI transactions.
## Workflow
Request and accept payments from your customers using Omnichannel with the following steps:
1. The customer selects **Google Pay** as the payment method to make the payment for the transaction.
2. The GooglePay app opens on the mobile device. The customer can complete the payment.

## Integration on Standard Checkout
Use Google Omnichannel at your Checkout to send a payment request to the customers directly on the Google Pay app.

> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
### Prerequisites
1. [Sign up](https://support.google.com/pay/business/answer/7684271?hl=en\&ref_topic=7684388) for a business account with Google Pay.
2. [Contact our Support Team](https://razorpay.com/support/#request) and have them whitelist your UPI ID/VPA.
3. Verify your UPI ID/VPA details on the[Google Merchant Console](https://support.google.com/pay/business/answer/7684398?hl=en\&ref_topic=7684388). Google deposits a small amount into the bank account linked to your VPA (UPI ID).
4. You should have already integrated [Razorpay Standard Checkout](/docs/payments/payment-gateway/web-integration/standard).
5. [Generate API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard.
### Integration Steps
If you are using Razorpay Standard Checkout Integration for your web applications or Android apps, you do not require any additional integration to display **Google Pay** in the list of payment options. Get in touch with our [Support team](https://razorpay.com/support/#request) to help you to accept payments using Omnichannel at your application Checkout.
## Integration on Custom Checkout
[Integrate with Custom Checkout](/docs/payments/payment-methods/upi/google-pay/omnichannel/custom-integration)
### Related Information
* [UPI Error Codes](/docs/errors)
* [UPI Transaction Limits](/docs/payments/payment-methods/transaction-limits/upi)
# Saved VPA
Source: https://razorpay.com/docs/payments/payment-methods/upi/saved-vpa
Save the VPA details entered by a customer at Razorpay Checkout and use them for future transactions made by the customer on your website or app.
Available in
๐ฎ๐ณ India
In an online transaction using UPI collect flow, the flow looks like this:
1. Customers enter their Virtual Payment Address (VPA) at the Checkout.
2. Open the respective UPI apps and complete the payment after successful two-factor authentication.
3. Customers are redirected to your website or app after successful payment.
> [!WARNING]
>
> **UPI Collect Flow Deprecated**
>
> According to NPCI guidelines, the UPI Collect flow is being deprecated effective 28 February 2026. Customers can no longer make payments or register UPI mandates by manually entering VPA/UPI id/mobile numbers.
>
> **Exemptions:** UPI Collect will continue to be supported for:
>
> * MCC 6012 & 6211 (IPO and secondary market transactions).
> * iOS mobile app and mobile web transactions.
> * UPI Mandates (execute/modify/revoke operations only)
> * eRupi vouchers.
> * PACB businesses (cross-border/international payments).
>
> **Action Required:**
>
> * If you are a new Razorpay user, use [UPI Intent](/docs/payments/payment-methods/upi/upi-intent).
> * If you are an existing Razorpay user not covered by exemptions, you must migrate to UPI Intent or UPI QR code to continue accepting UPI payments. For detailed migration steps, refer to the [migration documentation](/docs/announcements/upi-collect-migration/standard-integration).
## What is Saved VPA
With Razorpay, you can save the VPAs (UPI ids) of a customer at the Checkout itself.
* The VPAs entered by the customer are stored and secured as **tokens** in Razorpay.
* The customers do not need to enter the VPAs and use the saved VPAs every time they make a transaction.
> [accordion] On-Demand Feature - Raise a Request
>
> > [!NOTE]
> >
> > **Feature Request**
> >
> > This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
### Advantages
* **Faster Checkout Experience**: By saving the VPAs at the Checkout, you can help your customers to complete their UPI payments faster, resulting in better success rates and better customer retention for you.
* **Global Tokens**: Razorpay utilizes global tokens functionality wherein tokens saved by a customer on one instance of Razorpay Standard Checkout are displayed in another instance. For example, on a visit to a store A, the customer has saved the `gaurav.kumar@okhdfcbank` on Razorpay Checkout. On a visit to store B, while making the UPI transaction on Razorpay Checkout, the customer will be shown `gaurav.kumar@okhdfcbank`, the VPA previously saved at store A's Checkout.
## Prerequisites
The customers should authenticate once (be logged in) through the saved card flow on Razorpay Checkout.
## How this Works
Watch the GIF to understand Saved VPA flow:

On the Checkout page, the customers:
1. Enter the **Phone Number** and click **Continue**.
2. Select **UPI** as the payment method.
3. Enter the UPI ID, that is **VPA**, of their choice and select **Save UPI ID for future use** check box. Razorpay saves the VPAs as tokens.
> [!NOTE]
>
> **Handy Tips**
>
> All the saved VPAs are visible under the **UPI** tab at the Checkout.
4. On a repeat visit, customer clicks **Cards**. If there are any saved card details associated to the entered phone number, an OTP is sent.
5. After customer enters OTP, the saved cards become visible. The customer can go back to the checkout screen and select **UPI**.
# List of Supported UPI Apps
Source: https://razorpay.com/docs/payments/payment-methods/upi/supported-apps
Check the UPI apps supported for UPI Intent payments, with their package names and shortcodes, for Android, iOS and mobile web.
Available in
๐ฎ๐ณ India
Given below is the list of UPI apps supported for [UPI Intent](/docs/payments/payment-methods/upi/upi-intent) payments. Select the tab for your platform.
> [tab] Android SDK
>
> UPI apps supported on the Razorpay Android SDK, with their package names.
>
> | # | App Name | Package Name |
> | - | - | - |
> | 1 | Google Pay | `com.google.android.apps.nbu.paisa.user` |
> | 2 | PhonePe | `com.phonepe.app` |
> | 3 | Paytm | `net.one97.paytm` |
> | 4 | CRED | `com.dreamplug.androidapp` |
> | 5 | BHIM | `in.org.npci.upiapp` |
> | 6 | Tata Neu | `com.tatadigital.tcp` |
> | 7 | iMobile by ICICI | `com.csam.icici.bank.imobile` |
> | 8 | Amazon Pay | `in.amazon.mShop.android.shopping` |
> | 9 | Samsung Wallet | `com.samsung.android.spay` |
> | 10 | MobiKwik | `com.mobikwik_new` |
> | 11 | Kiwi | `in.gokiwi.kiwitpap` |
> | 12 | Navi | `com.naviapp` |
> | 13 | Super.Money | `money.super.payments` |
> | 14 | Shriram One | `com.shriram.one` |
> | 15 | Kotak811 | `com.kotak811mobilebankingapp.instantsavingsupiscanandpayrecharge` |
> | 16 | slice | `indwin.c3.shareapp` |
> | 17 | PayZapp | `com.hdfcbank.payzapp` |
> | 18 | Fi Money | `com.epifi.paisa` |
> | 19 | POP UPI | `com.popclub.android` |
> | 20 | Bajaj Pay | `org.altruist.BajajExperia` |
> | 21 | BharatPe | `com.postpe.app` |
> | 22 | MoneyView | `com.whizdm.moneyview.loans` |
> | 23 | WhatsApp | `com.whatsapp` |
> | 24 | Kredit.pe | `com.kreditpe.android.app` |
> | 25 | FamApp | `com.fampay.in` |
> | 26 | Lxme | `com.lxme` |
> | 27 | Scapia | `cards.scapia.android` |
> | 28 | Snapmint | `com.snapmint.customerapp` |
> | 29 | ZET | `in.magnetapp` |
> | 30 | Kotak UPI | `com.olive.kotak.upi` |
> | 31 | Kotak Mobile Banking | `com.msf.kbank.mobile` |
> | 32 | BHIM SBI Pay | `com.sbi.upi` |
> | 33 | YONO SBI | `com.sbi.lotusintouch` |
> | 34 | HDFC Bank | `com.snapwork.hdfc` |
> | 35 | Axis Pay | `com.upi.axispay` |
> | 36 | Axis Mobile | `com.axis.mobile` |
> | 37 | Jupiter | `money.jupiter` |
> | 38 | IDFC First | `com.idfcfirstbank.optimus` |
> | 39 | Canara Bank | `com.canarabank.mobility` |
> | 40 | Bajaj Finserv | `in.bajajfinservmarkets.app` |
> | 41 | BoB World | `com.bankofbaroda.upi` |
> | 42 | PNB Bank | `com.fss.pnbpsp` or `com.mgs.pnbupi` |
> | 43 | Fed Mobile | `com.fedmobile` |
> | 44 | India Post | `com.iexceed.appzillon.ippbMB` |
> | 45 | MyJio | `com.jio.myjio` |
> | 46 | Vyom | `com.infrasoft.uboi` |
> | 47 | Freecharge | `com.freecharge.android` |
> | 48 | SIB Mirror+ | `com.SIBMobile` |
> | 49 | OmniCard | `com.eroute.omnicard` |
> | 50 | Groww | `com.nextbillion.groww` |
> | 51 | Digibank | `com.dbs.in.digitalbank` |
> | 52 | IndOASIS | `com.IndianBank.IndOASIS` |
> | 53 | AU0101 | `com.ausmallfinancebank.amb` |
> | 54 | Cent Mobile | `com.infrasofttech.CentralBank` |
> | 55 | RBL MoBank | `com.rblbank.mobank` |
> | 56 | IndusInd Mobile | `com.fss.indus` |
> | 57 | Indus Indie | `com.indusind.indie` |
> | 58 | Digi Khata | `com.paypointz.wallet` |
> | 59 | BHIM UCO | `com.lcode.ucoupi` |
> | 60 | YesBank Iris | `in.irisbyyes.app` |
> | 61 | Yes Bank | `com.YesBank` |
> | 62 | WhatsApp Business | `com.whatsapp.w4b` |
> | 63 | ICICI Pockets | `com.icicibank.pockets` |
> | 64 | United UPI | `com.fss.unbipsp` |
> | 65 | KVB | `com.mycompany.kvb` |
> | 66 | Vijaya Bank | `com.fss.vijayapsp` |
> | 67 | Dena Bank | `com.dena.upi.gui` |
> | 68 | JK UPI | `com.fss.jnkpsp` |
> | 69 | Hike | `com.bsb.hike` |
> | 70 | IDFC | `com.fss.idfcpsp` |
> | 71 | Aditya Birla Payments Bank | `com.abipbl.upi` |
> | 72 | Microsoft Kaizala | `com.microsoft.mobile.polymer` |
> | 73 | Fino Payments Bank | `com.finopaytech.bpayfino` |
> | 74 | Oriental Bank of Commerce | `com.mgs.obcbank` |
> | 75 | Lotza | `com.upi.federalbank.org.lotza` |
> | 76 | IndusInd Pay | `com.mgs.induspsp` |
> | 77 | Wizely | `ai.wizely.android` |
> | 78 | DCB Bank | `com.olive.dcb.upi` |
> | 79 | Yes Bank Merchant | `com.mgs.yesmerchantnative.prod` |
> | 80 | Chillr | `in.chillr` |
> | 81 | Bullet | `money.bullet` |
> | 82 | Mi Pay | `com.mipay.in.wallet` |
> | 83 | Mi Pay | `com.mipay.wallet.in` |
> | 84 | Fave | `com.pinelabs.fave` |
> | 85 | Ultracash | `com.ultracash.payment.customer` |
> | 86 | TimePay | `com.npst.timepay.society` |
> | 87 | Goibibo | `com.goibibo` |
> | 88 | DakPay | `com.fss.ippbpsp` |
> | 89 | BHIM IOB | `com.euronet.iobupi` |
> | 90 | BHIM CSB | `com.lcode.csbupi` |
> | 91 | Tvam | `com.atyati.tvamapp` |
> | 92 | PNB One | `com.Version1` |
> | 93 | Flipkart | `com.flipkart.android` |
> | 94 | Freo Pay | `com.moneytap.bnpl.app` |
> | 95 | SalarySe | `com.salaryse.android` |
> | 96 | Curie | `com.yield.curie_money` |
> | 97 | CTRLPay | `com.mswipe.mswipeppiwallet` |
> [tab] iOS SDK
>
> UPI apps supported on the Razorpay iOS SDK, with their shortcodes and URL schemes. Add each URL scheme, without `://`, to `LSApplicationQueriesSchemes` in your app's `info.plist` file.
>
> > [!NOTE]
> >
> > **Pass only the shortcode**
> >
> > On the iOS SDK, `upi_app_package_name` must contain only the shortcode that the SDK returns in `getAppsWhichSupportUpi()`. For example, pass `google_pay` for Google Pay.
>
> | # | App Name | Shortcode | URL Scheme |
> | - | - | - | - |
> | 1 | Snapmint | `snapmint` | `snapmint://` |
> | 2 | Google Pay | `google_pay` | `tez://` |
> | 3 | PhonePe | `phonepe` | `phonepe://` |
> | 4 | Paytm | `paytm` | `paytmmp://` |
> | 5 | CRED | `cred` | `credpay://` |
> | 6 | MobiKwik | `mobikwik` | `mobikwik://` |
> | 7 | Freecharge | `freecharge` | `freecharge://` |
> | 8 | Amazon Pay | `amazonpay` | `amazonpay://` |
> | 9 | Navi | `navi` | `navi://`, `navipay://` (mandates) |
> | 10 | Kiwi | `kiwi` | `kiwi://` |
> | 11 | PayZapp | `payzapp` | `payzapp://` |
> | 12 | Jupiter | `jupiter` | `jupiter://` |
> | 13 | YONO SBI | `sbiyono` | `sbiyono://` |
> | 14 | WhatsApp | `whatsapp` | `whatsapp-consumer://` |
> | 15 | slice | `slice` | `slice-upi://` |
> | 16 | BoB World | `bobupi` | `bobupi://` |
> | 17 | MyJio | `myjio` | `myjio://` |
> | 18 | OmniCard | `omnicard` | `omnicard://` |
> | 19 | Shriram One | `shriramone` | `shriramone://` |
> | 20 | IndusInd Mobile | `indusmobile` | `indusmobile://` |
> | 21 | BHIM | `bhim` | `bhim://` |
> | 22 | POP UPI | `popclubapp` | `popclubapp://` |
> | 23 | FamApp | `fampay` | `in.fampay.app://` |
> | 24 | Kotak811 | `kotakbank` | `kotakbank://` |
> | 25 | BharatPe | `postpe` | `postpe://` |
> | 26 | Super.Money | `super` | `super://` |
> | 27 | Lxme | `lxme` | `lxme://` |
> | 28 | Scapia | `scapia` | `scapia://` |
> | 29 | Curie | `curie_money` | `curieapp://` |
> [tab] Android Mobile Web
>
> UPI apps supported on mobile websites opened on Android devices, with their shortcodes.
>
> | # | App Name | Shortcode |
> | - | - | - |
> | 1 | Google Pay | `google_pay` |
> | 2 | PhonePe | `phonepe` |
> | 3 | POP UPI | `popclubapp` |
> | 4 | Paytm | `paytm` |
> | 5 | CRED | `cred` |
> | 6 | BHIM | `bhim` |
> | 7 | MobiKwik | `mobikwik` |
> | 8 | Super.Money | `super_money` |
> | 9 | MoneyView | `moneyview` |
> | 10 | iMobile by ICICI | `icici` |
> | 11 | Navi | `navi` |
> | 12 | PayZapp | `payzapp` |
> | 13 | Jupiter | `jupiter` |
> | 14 | Kredit.pe | `kreditpe` |
> | 15 | FamApp | `fampay` |
> | 16 | Tata Neu | `tataneu` |
> | 17 | Lxme | `lxme` |
> | 18 | Scapia | `scapia` |
> | 19 | Snapmint | `snapmint` |
> | 20 | SalarySe | `salaryse` |
> | 21 | Curie | `curie_money` |
> | 22 | ZET | `zet` |
> | 23 | CTRLPay | `mswipe` |
> | 24 | slice | `slice` |
> | 25 | Kotak811 | `kotakbank` |
> | 26 | WhatsApp | `whatsapp` |
>
> > [!NOTE]
> >
> > **Other UPI apps**
> >
> > If a customer's UPI app is not in this list but is installed on their device, they can select **Others** on Checkout. The app then appears in the native Android app selector.
> [tab] iOS Mobile Web
>
> UPI apps supported on mobile websites opened on iOS devices.
>
> | # | App Name |
> | - | - |
> | 1 | Google Pay |
> | 2 | PhonePe |
> | 3 | POP UPI |
> | 4 | Paytm |
> | 5 | CRED |
> | 6 | Navi |
> | 7 | BHIM |
> | 8 | MobiKwik |
> | 9 | Super.Money |
> | 10 | Jupiter |
> | 11 | Kredit.pe |
> | 12 | FamApp |
> | 13 | Tata Neu |
> | 14 | Lxme |
> | 15 | Scapia |
> | 16 | Snapmint |
> | 17 | SalarySe |
> | 18 | Curie |
> | 19 | ZET |
> | 20 | CTRLPay |
> | 21 | slice |
> | 22 | Kotak811 |
> | 23 | WhatsApp |
# Turbo UPI
Source: https://razorpay.com/docs/payments/payment-methods/upi/turbo-upi
Turbo UPI is a 1-step payment experience to enable seamless in-app UPI payments. Check use cases, Turbo UPI flows and how to integrate.
Available in
๐ฎ๐ณ India
Turbo UPI by Razorpay enables businesses to accept UPI payments from their customers within their mobile application. Customers no longer need to switch to third-party UPI apps to complete payments. This helps increase payment success rates and improves customer experience. Given below is a sample UI representation:

> [accordion] On-Demand Feature - Raise a Request
>
> > [!NOTE]
> >
> > **Feature Request**
> >
> > This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
### Advantages
> [tab] Customers
>
> 1. Turbo UPI eliminates the need for transactions to be routed via an external third-party UPI application.
> 2. The steps are reduced from 5 to 1 simple step.
> 3. Improve UPI payment success rate with Turbo UPI compared to traditional third-party UPI apps.
> 4. Single source for dispute resolution and refund handling. In case of payment failure or refunds, the customer will not be handling multiple parties to resolve the dispute and will have a single point of dispute resolution.
> 5. 5x faster UPI payment versus regular UPI payments.
> [tab] Businesses
>
> 1. Control over your customer's payment journey.
> 2. Achieve a faster time-to-market.
> 3. With customers never leaving your app, reduce timeout issues significantly, and get more visibility on payment failures.
> 4. Higher success rate by 6-8%: With lesser opportunities for your customers to drop off in the payment experience.
> 5. With Turbo UPI, know where your customers drop off in the payment journey and take action quickly to increase your conversion rate. This feature gives businesses complete control over the user journey.
> 6. As new capabilities are added to the UPI application, such as Credit Cards on UPI, do not depend on adoption across third-party UPI apps. Go live on Turbo with each innovation and provide customers with a better payment experience.
## Use Cases
Turbo UPI is helpful for businesses with high-frequency transactions.
> [accordion] Examples
>
> * **Doorstep Food/Grocery Delivery**\\
>
> Customers select UPI to make quick payments for food/grocery delivery. However, they have to hop between the business and UPI apps, which causes friction. Customers are unsure which support team to contact for disputes - the UPI app or the business. With Turbo UPI, customers can experience 1-click payments and speedy dispute resolution on the business app.
>
> * **Insurance**\\
>
> Customers use UPI to pay their insurance premiums, which could be high-ticket transactions. Insurance firms can use Turbo UPI to make the premium payment experience faster and smoother and achieve a higher payment success rate, which reassures customers.
>
> * **Investment**\\
>
> Investment companies must comply with regulations and collect payments from only customers' KYC-verified bank accounts. With Turbo UPI, investment companies can implement third-party validation on all customer payments and ensure regulatory compliance while providing a 1-click payment experience.
>
> * **Gaming**\\
>
> Turbo UPI enables customers to make in-app game purchases without leaving the gaming app. This enhances the customer's experience as they can make a quick UPI payment and continue playing.
## Turbo UPI Flows
Turbo UPI has three flows:
* [Onboarding Flow](/docs/payments/payment-methods/upi/turbo-upi#onboarding-flow)
* [Transactional Flow](/docs/payments/payment-methods/upi/turbo-upi#transactional-flow)
* [Non-Transactional Flow](/docs/payments/payment-methods/upi/turbo-upi#non-transactional-flow)
## Onboarding Flow
Follow the steps to onboard customers:
1. The customer navigates to your app's checkout screen and taps **+Link bank account**.

2. The customer needs to give permission so that we can validate the phone number with the bank.

3. The customer is shown a list of banks from which they can select one.

4. This adds the customer's bank account. After the onboarding is complete the customer can also set up their UPI PIN.

5. The customer can complete the payment using the newly added Bank account.
> [!NOTE]
>
> **Handy Tips**
>
> If you have not set up the UPI PIN before, additional standard steps will be required, including entering card details and setting up the PIN.
## Transactional Flow
Transactional flow is the user journey of making the payment via Turbo UPI.
1. The customer proceeds to the checkout and selects the bank account they want to make the payment.
2. The customer enters the UPI PIN.
## Non-Transactional Flow
The following methods should also be integrated along with Turbo UPI:
* **Delete linked Bank Account**: Customers can delete their existing bank account linked to your app.
* **Check Balance**: Customers can check their account balance on your app.
* **Reset UPI PIN**: Customer can reset their UPI PIN for the bank account linked to your app.
* **Change UPI PIN**: Customer can change their UPI PIN for the bank account linked to your app.

## Integrate Turbo UPI
Perform the following steps to integrate Turbo UPI:
> [tab] Standard Checkout
>
> * [Android Integration](/docs/payments/payment-gateway/android-integration/standard/payment-methods/turbo-upi)
> * [iOS Integration](/docs/payments/payment-gateway/ios-integration/standard/payment-methods/turbo-upi)
> [tab] Custom Checkout
>
> * [Android Integration](/docs/payments/payment-gateway/android-integration/custom/payment-methods/turbo-upi)
> * [iOS Integration](/docs/payments/payment-gateway/ios-integration/custom/payment-methods/turbo-upi)
# UPI Intent
Source: https://razorpay.com/docs/payments/payment-methods/upi/upi-intent
Accept payments from your customers via UPI app on your mobile that supports the Intent flow using Razorpay.
Available in
๐ฎ๐ณ India
You can make UPI payments easier for your customers by enabling UPI Intent on your application Checkout.
### Benefits
Enjoy the benefits such as higher conversion rates, decrease in abandoned carts and a decrease in time to complete the payment. Your customers are also benefited in the following ways:
* No need to handle push or SMS notifications.
* No need to switch between applications to complete a payment (merchant, SMS and app).
* No need to remember their VPAs.
## Understand Intent flow
The payment flow for UPI Intent payments is given below.

1. In the UPI Intent flow, the customer selects UPI as the payment method on your website or app. A list of UPI apps supporting the intent flow is displayed.
> [!WARNING]
>
> **Watch Out!**
>
> By default, the top PSP (Payment Service Provider) apps appear on the customer's mobile irrespective of the installation status of the UPI apps.
2. The customers select their preferred app. The UPI app opens with pre-populated payment details.
3. The customers enter their UPI PIN to complete their transactions.
4. After the payment is successful, the customers are redirected to your app or website.
> [accordion] Supported Platforms
>
> UPI Intent is supported on **mWeb (Android and iOS)** and **Mobile App (WebView)**. On **Desktop Web**, UPI Intent is not supported, a QR code is automatically displayed instead.
>
> | Platform | Procedure |
> | - | - |
> | **mWeb** | Customers are redirected to their preferred UPI app to complete the payment. For the complete integration guide, refer to [UPI Intent on Mobile Web](/docs/payments/payment-gateway/web-integration/custom/payment-methods/upi-intent-mweb). |
> | **Mobile App (WebView)** | UPI Intent requires deep link handling in your Android or iOS app to launch UPI apps from the WebView. For the complete integration guide, refer to [UPI Intent in WebView: Android](/docs/payments/payment-gateway/web-integration/custom/features/webview/upi-intent-android) and [UPI Intent in WebView: iOS](/docs/payments/payment-gateway/web-integration/custom/features/webview/upi-intent-ios). |
> | **Desktop Web** | UPI Intent is not supported. A QR code is automatically displayed for customers to scan with their preferred UPI app. No additional code changes are required. |
## Integrate on Android, iOS and Mobile Web
> [tab] Android
>
> Use the Android SDK to support UPI Intent payments when a payment is processed through Razorpay in a WebView inside an app.
>
> 
>
> #### Installation
>
> [Download the JAR file](https://rzp-1415-prod-mobile.s3.amazonaws.com/android/googlepay-sdk/tez-client-api-0.9.4.aar) and include it in the `libs` folder.
>
> #### Initialisation
>
> To initiate the SDK, call the Razorpay class constructor in your project and pass `key` as Razorpay API key and `webView` as the object that handles the payment flow.
>
> ```java Java theme={null}
> import com.razorpay.Razorpay
>
> Razorpay razorpay = new Razorpay(key, webView, activity);
> ```
>
> ```java Kotlin theme={null}
> import com.razorpay.Razorpay;
>
> val razorpay = Razorpay(key, webview, activity)
> ```
>
> #### Passing Result to Razorpay
>
> After UPI is selected as the payment method, Razorpay invokes the **Intent Flow** page that lists all the available intent flows for the user to select and make the payment. Upon payment completion, the UPI app returns the result back to your `activity` in `onActivityResult` method. This should be passed to Razorpay as shown below:
>
> ```java Java theme={null}
> @Override
> protected void onActivityResult(int requestCode, int resultCode, Intent data) {
> super.onActivityResult(requestCode, resultCode, data);
> if (requestCode == Razorpay.UPI_INTENT_REQUEST_CODE) {
> razorpay.onActivityResult(requestCode, resultCode, data);
> }
> }
> ```
>
> ```java Kotlin theme={null}
> override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
> super.onActivityResult(requestCode, resultCode, data)
> if (requestCode == Razorpay.UPI_INTENT_REQUEST_CODE) {
> razorpay.onActivityResult(requestCode, resultCode, data)
> }
> }
> ```
>
> Refer to the [list of supported UPI intent apps for Android SDK](/docs/payments/payment-methods/upi/supported-apps#android-sdk).
> [tab] iOS
>
> Use the iOS Standard SDK to support UPI Intent payments on your iOS apps.
>
> 
>
> #### Prerequisites
>
> * Sign up for a Razorpay account.
> * [Generate API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard.
>
> #### iOS Standard Checkout
>
> To enable UPI Intent on your iOS app's Standard Checkout:
>
> 1. Ensure that the [latest version of the iOS Standard SDK](/docs/payments/payment-gateway/ios-integration/standard/troubleshooting-faqs#how-can-i-update-the-razorpay-ios-standard-sdk-version) is integrated with your app.
>
> 2. Your iOS app must seek permission from the device to open the UPI PSP app that the customer selects on Checkout. For this, you must make the following changes in your iOS app's info.plist file.
>
> ```xml info.plist theme={null}
> LSApplicationQueriesSchemes
>
> tez
> phonepe
> paytmmp
> credpay
> mobikwik
> in.fampay.app
> bhim
> amazonpay
> navi
> kiwi
> payzapp
> jupiter
> omnicard
> icici
> popclubapp
> sbiyono
> myjio
> slice-upi
> bobupi
> shriramone
> indusmobile
> kotakbank
> snapmint
> freecharge
> navipay
> whatsapp-consumer
> postpe
> super
> lxme
> scapia
> curieapp
>
>
> ```
>
> Refer to the [list of supported UPI intent apps for iOS SDK](/docs/payments/payment-methods/upi/supported-apps#ios-sdk).
>
> #### UPI Intent on Recurring Payments
>
> Configure and initiate a recurring payment transaction on UPI Intent:
>
> ```swift ViewController.swift theme={null}
> let options: [String:Any] = [
> "key": "YOUR_KEY_ID",
> "order_id": "order_DBJOWzybfXXXX",
> "customer_id": "cust_BtQNqzmBlXXXX",
> "prefill": [
> "contact": "+919000090000",
> "email": "gaurav.kumar@example.com"
> ],
> "image": "https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> "amount": 10000, // Amount should match the order amount
> "currency": "INR",
> "recurring": 1 // This key value pair is mandatory for Intent Recurring Payment.
> ]
> ```
>
> ```objectivec ViewController.m theme={null}
> NSDictionary *options = @{
> @"key": @"YOUR_KEY_ID",
> @"order_id": @"order_DBJOWzybfXXXX",
> @"customer_id": @"cust_BtQNqzmBlXXXX",
> @"prefill": @{
> @"contact": @"+919000090000",
> @"email": @"gaurav.kumar@example.com"
> },
> @"image": @"https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> @"amount": @(10000), // Amount should match the order amount
> @"currency": @"INR",
> @"recurring": @(1) // This key value pair is mandatory for Intent Recurring Payment.
> };
> ```
> [tab] Mobile Web
>
> Using Razorpay you can let your customers make UPI Intent payments on your mobile website.
> For example, when the customer selects a UPI PSP, the PSP app opens automatically. Customers can then proceed with the payment without navigating away from your mobile website. This leads to a faster checkout experience with higher success rates.
>
> > [!NOTE]
> >
> > **Feature Enablement**
> >
> > The UPI Intent feature is usually available by default. If you are unable to access this feature, [contact our Support Team](https://razorpay.com/support/#request) to get this enabled on your account.
>
> #### Features
>
> * The UPI intent on mobile web is available at Razorpay Standard Checkout and other products such as Payment Links, Payment Pages and Invoices.
>
> * It works for UPI PSP apps.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > By default, the top PSP apps appear on the customer's mobile irrespective of the installation status of the UPI apps.
>
> * It works on Android and iOS smartphones.
>
> #### Prerequisites
>
> * [Sign up](https://dashboard.razorpay.com/#/access/signup) for a Razorpay account.
> * [Generate API Keys](/docs/payments/dashboard/account-settings/api-keys) from the Dashboard.
> * Integrate Razorpay Standard Checkout on your [Website](/docs/payments/payment-gateway/web-integration/standard).
>
> #### Standard Checkout
>
> UPI Intent for mobile websites works automatically if the intent flow is enabled on your account. You can enable UPI Intent in WebView on your [Android app](/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-android) or [iOS app](/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-ios).
>
> Refer to the list of supported UPI intent apps for [Android Mobile Web](/docs/payments/payment-methods/upi/supported-apps#android-mobile-web) and [iOS Mobile Web](/docs/payments/payment-methods/upi/supported-apps#ios-mobile-web).
## Best Practices
Following are the best practices to be followed to accept online payments using UPI intent flow.
You must show the list of UPI apps in 2 sections:
* Top performing apps (GPAY > PhonePe > Paytm > BHIM)
* Other apps
### Related Information
* [UPI Error Codes](/docs/errors)
* [UPI Transaction Limits](/docs/payments/payment-methods/transaction-limits/upi)
# Validate VPA
Source: https://razorpay.com/docs/payments/payment-methods/upi/vpa-validation
Validate a customer's virtual payment address(VPA) used for making UPI collect payments.
Available in
๐ฎ๐ณ India
In UPI collect flow, the customers enter Virtual Payment Address (VPA) to make the payment. You can confirm the validity of VPA by sending an API request to Razorpay.
> [!WARNING]
>
> **UPI Collect Flow Deprecated**
>
> According to NPCI guidelines, the UPI Collect flow is being deprecated effective 28 February 2026. Customers can no longer make payments or register UPI mandates by manually entering VPA/UPI id/mobile numbers.
>
> **Exemptions:** UPI Collect will continue to be supported for:
>
> * MCC 6012 & 6211 (IPO and secondary market transactions).
> * iOS mobile app and mobile web transactions.
> * UPI Mandates (execute/modify/revoke operations only)
> * eRupi vouchers.
> * PACB businesses (cross-border/international payments).
>
> **Action Required:**
>
> * If you are a new Razorpay user, use [UPI Intent](/docs/payments/payment-methods/upi/upi-intent).
> * If you are an existing Razorpay user not covered by exemptions, you must migrate to UPI Intent or UPI QR code to continue accepting UPI payments. For detailed migration steps, refer to the [migration documentation](/docs/announcements/upi-collect-migration/standard-integration).
### API Sample Code
`POST /payments/validate/vpa`
```bash Request theme={null}
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
-X POST https://api.razorpay.com/v1/payments/validate/vpa \
-H "Content-Type: application/json" \
-d '{
"vpa": "gauravkumar@exampleupi"
}'
```
```json Response theme={null}
{
"vpa": "gauravkumar@exampleupi",
"success": true,
"customer_name": "Gaurav Kumar"
}
```
> [tab] Request Parameters
>
> `vpa` *mandatory*
> : `string` The virtual payment address (VPA) you want to validate. For example, `gauravkumar@exampleupi`.
>
> > [!WARNING]
> >
> > **Deprecation Notice**
> >
> > UPI Collect is deprecated effective 28 February 2026. This tab is applicable only for exempted businesses. If you are not covered by the exemptions, refer to the [migration documentation](/docs/announcements/upi-collect-migration/standard-integration) to switch to UPI Intent.
> [tab] Response Parameters
>
> `vpa`
> : `string` The virtual payment address (VPA) sent as the request attribute. In this case, `gauravkumar@exampleupi`.
>
> `success`
> : `boolean` Indicates whether the VPA exists. Possible values:
>
> * `true`: The VPA exists.
> * `false`: The VPA does not exist.
>
> `customer_name`
> : `string` The name linked to the VPA. For example, `Gaurav Kumar`. Appears only when the value of `success` is `true`.
# Prepaid Wallets on UPI
Source: https://razorpay.com/docs/payments/payment-methods/upi/wallets-on-upi
Offer Prepaid Wallets on UPI as a payment method to your customers.
Available in
๐ฎ๐ณ India
Leverage the full potential of UPI Payments by integrating Prepaid Payment Instruments.
Watch this video to know more about Prepaid Wallets on UPI.
[YouTube video player](https://www.youtube.com/embed/2z5vI3SL7uY?si=EPw3-M2404o34YNy)
### Advantages
> [tab] For Customers
>
> * Increased touch points to make payments via their prepaid wallets irrespective of the wallets integrated with your business.
> * Ease of completing wallet payments with better reach on UPI.
> * Store money in their wallet without worrying about the amount being stuck in the wallet.
> [tab] For Businesses
>
> * Accept prepaid digital wallet payments without the costs of integration with a wallet issuer.
> * Experience a high success rate of one-step wallet transactions on UPI.
> * Enhance the payment experience for customers, ensuring a smoother process.
## Frequently Asked Questions (FAQs)
> [accordion] How can customers link their digital wallets to UPI?
>
> To link a wallet to UPI, customers need to:
>
> 1. Head over to the wallet issuer app (Amazon Pay, PhonePe) on their smartphone.
>
> 2. Secure a VPA address issued by the wallet issuer through mobile number verification.
>
> 3. Once the VPA address is assigned, the registration of the wallet on UPI is complete.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Only those who have completed the KYC verification process can link their wallets with UPI.
> [accordion] How will the customer make a UPI payment with wallets?
>
> To make a payment via digital wallets on UPI:
>
> 1. The customer can scan the UPI QR through their wallet app and make wallet payments on UPI. No UPI PIN is required while making a wallet transaction on UPI.
>
> 2. The customer can also enter the VPA address or the phone number linked to their registered wallet on the checkout page to make UPI payments.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > The mobile number linked to UPI should be in use on the smartphone and should be the same number linked to the wallet.
> [accordion] How can I identify UPI payments made using prepaid wallets?
>
> You can retrieve the details of the account type (bank account or credit card) used for UPI payments through the Payment Webhook, Fetch Payment API, and the Dashboard.
>
> * **Payment Webhook**: The payment entity will now include the payer account type details. Refer to the [Payment Authorized Payload](/docs/webhooks/payments#payment-authorised).
> * **Fetch Payment API**: The payment entity will now include the payer account type details. Refer to the [Fetch API sample code](/docs/api/payments/fetch-with-id).
> * **On the Dashboard** :
> 1. Click on a UPI payment to look at the payment details.
> 2. The payment drawer will display the following information for wallet payments on UPI:
> 1. Payment Method: UPI
> 2. Paid from: Wallet
>
> 
> [accordion] What is the coverage of wallet acceptance via UPI?
>
> The following wallet issuers support linking wallets to UPI:
>
> * Amazon Pay
> * PhonePe
> * Fampay
> * OneCard
>
> In terms of bank coverage, the following banks will identify wallet transactions on UPI from **30th August 2023**:
>
> * Axis Bank
> * HDFC Bank
> * Yes Bank
> * ICICI Bank
> [accordion] How do I enable wallet transactions via UPI for my business?
>
> Razorpay will take care of enabling this feature for you.
> [accordion] Will I be charged for wallet transactions via UPI?
>
> A Platform fee of 2% is levied for all wallet transactions via UPI. This pricing is determined by rates shared by banks and a wallet issuer service charge.
> [accordion] Which businesses are currently not supported from accepting wallet payments on UPI?
>
> You will not be able to accept wallet payments on UPI if you fall under the [**businesses on Customer fee bearer (CFB)**](/docs/payments/dashboard/account-settings/configuration/convenience-fees) category.
# About Wallets
Source: https://razorpay.com/docs/payments/payment-methods/wallets
Accept payments using various Wallets like Bajaj Pay, Amazon Pay, PayPal and more at Razorpay Checkout.
Available in
๐ฎ๐ณ India
With Razorpay, you can offer your customers Wallets as a payment method. A digital wallet is like a virtual version of your physical wallet. It stores your money and payment methods electronically on your device. You can use it to make quick and secure payments online or in stores, providing convenience and an extra layer of security compared to traditional methods.
## Enable Wallets on Dashboard
You can view the wallets enabled for your Razorpay account from the **Account & Settings** โ **Payment methods** tab.

> [!NOTE]
>
> **Additional Payment Methods**
>
> You can raise requests for [additional payment methods](/docs/payments/dashboard/account-settings/payment-methods#request-payment-methods). Know more about [Payment Methods](/docs/payments/dashboard/account-settings/payment-methods#request-payment-methods).
## Supported Wallets
The table below lists the various wallets available to you. Some of them are available by default, while others require approval from us. Raise a request with our [Support Team](https://razorpay.com/support/#request) to enable such wallets.
| Wallet Provider | Availability | Wallet Code |
| - | - | - |
| PayZapp | Requires [approval](https://razorpay.com/support) | `payzapp` |
| Airtel Money | โ | `airtelmoney` |
| MobiKwik | โ | `mobikwik` |
| Ola Money | โ | `olamoney` |
| Bajaj Pay | Requires [approval](https://razorpay.com/support) | `bajajpay` |
| PhonePe | Requires [approval](https://razorpay.com/support) | `phonepe` |
| [PhonePe Switch](/docs/payments/payment-gateway/web-integration/custom/phonepe-switch) | **For businesses registered with PhonePe Switch only** | `phonepeswitch` |
| [PayPal](/docs/payments/payment-methods/wallets/paypal) | **International Payments Only**. Requires [approval](https://razorpay.com/support) | `paypal` |
| [Amazon Pay](/docs/payments/payment-methods/wallets/amazon-pay) | Requires [approval](https://razorpay.com/support) | `amazonpay` |
## Related Information
[Payment Methods and Transaction Limit](/docs/payments/payment-methods/transaction-limits#payment-methods-and-transaction-limits)
# Amazon Pay - Standard Checkout
Source: https://razorpay.com/docs/payments/payment-methods/wallets/amazon-pay
Offer Amazon Pay wallet as a payment method to your customers on Razorpay Standard Checkout.
Available in
๐ฎ๐ณ India
Amazon Pay is a wallet-based payment method that allows customers with an Amazon account to make payments using their Amazon Pay balance. After Amazon Pay is enabled and integrated, it is listed on your website/app Checkout page as an option under the wallet payment method. Know more about [Amazon Pay](https://www.amazonpay.in/).
> [accordion] On-Demand Feature - Raise a Request
>
> > [!NOTE]
> >
> > **Feature Request**
> >
> > This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
## Integrate Amazon Pay on Standard Checkout - Web, Mobile and iOS
You can accept payments through wallets which are available by default. However, if you want to accept payments from external wallets, such as Amazon Pay, integration is required. Razorpay does not process payments for external wallets and gives you the control along with all the customer data entered in the Checkout form.
> [!NOTE]
>
> **Handy Tips**
>
> The wallet payment option can be used for a purchase amount of up to โน20000 (2000000 in paise).
> [tab] Web
>
> To list external wallets on your web application, you need to first integrate our [Checkout form](/docs/payments/payment-gateway/web-integration/standard). After you integrate, follow the steps given below:
>
> 1. Add a key `external` to `checkout.js` options.
> 2. Set `wallets` with wallet name array in `external` as the first parameter.
>
> ```javascript JavaScript theme={null}
> external: {
> wallets: ['amazonpay']
> }
> ```
>
> 3. Set `handler` with a callback function in `external` as the second parameter.
>
> ```javascript JavaScript theme={null}
> external: {
> wallets: ['amazonpay'],
> handler: function(data) {
> 'data'
> console.log(this, data)
> }
> }
> ```
>
> The Amazon Pay is now shown in the wallets section. If the customer selects the external wallet and clicks **Submit**, our Standard Checkout library returns the control to you in the `external:handler:` method. You will get the selected wallet name as an argument. You will have to handle the payment flow for the wallet from hereon.
> [tab] Android
>
> To integrate Amazon Pay wallet with the Standard Checkout on your Android app:
>
> 1. Download the following SDKs and add the `aar` files to the application library.
> * Download [Amazon-SDK](https://rzp-1415-prod-mobile.s3.amazonaws.com/android/googlepay-sdk/tez-client-api-0.9.4.aar).
>
> * Download [Razorpay-Amazon Pay SDK](https://rzp-1415-prod-mobile.s3.amazonaws.com/android/googlepay-sdk/tez-client-api-0.9.4.aar).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > The Razorpay-Amazon Pay SDK acts as a wrapper over the native Amazon-SDK.
>
> 2. Add the following lines of code to the `build.gradle` file of your application:
>
> ```java build.gradle theme={null}
> dependencies {
> implementation(name: 'razorpay-amazonpay-1.3.0', ext: 'aar')
> implementation(name:'PayWithAmazon', ext:'aar')
> implementation 'com.android.support:customtabs:26.1.0'
> }
> ```
>
> This will add the dependencies for the SDK and display the Amazon Pay wallet on your Checkout form.
> [tab] iOS
>
> Amazon Pay as a payment method is available by default on iOS and no additional integration is needed.
# Bajaj Pay - Standard Checkout
Source: https://razorpay.com/docs/payments/payment-methods/wallets/bajaj-pay
Let your customers make payments using the Bajaj Pay wallet on Razorpay Standard Checkout.
Available in
๐ฎ๐ณ India
Bajaj Pay Wallet is a secure digital wallet that simplifies everyday payments for your customers. Customers can pay bills on the go or easily initiate fund transfers from their phones.
## Enable Bajaj Pay Using Dashboard
Enable Bajaj Pay payment method on the Dashboard if not already enabled:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings** โ **Payment Methods**.
3. Select **Wallet**.
4. Click **Request** beside **Bajaj Pay Wallet**.

5. A request form appears. Select the payment instrument to be enabled on your Checkout. Click **Save & Next**.
6. Fill in the required details and click **Save & Next**.
> [!NOTE]
>
> **Handy Tips**
>
> * If you are an existing business, some of the required details will be auto-filled.
> * You can click the **Edit** button to fill in the incomplete details before submitting the form.
7. Fill in the **Management/Ownership** details in the form. When complete form details are filled, click **Submit Form**.
8. After the form is submitted, the request is sent to activate the selected payment instruments. The feature enablement request will take 2 business days to be approved.
After the payment instrument is enabled, you will see the **Activated** status beside the selected one.
### Standard Integration
After Bajaj Pay is enabled, it is listed on the Razorpay Standard Checkout as an option under the wallet payment method. No additional integration is needed. You can view the wallets enabled for your account under the **Account & Settings โ Payment Methods** tab.
## Payment Flow for Standard Checkout
On your website or app, customers select the products and proceed to Checkout. On the Checkout page, the customers:
1. Enter the **Phone Number** and click **Continue**.
2. Select **Wallet** as the payment method.

3. Select **Bajaj Pay** and click **Continue**.

4. Enter the **OTP** sent to their mobile number. In case of insufficient balance, click **Add Funds**.

5. The payment is completed if they have sufficient balance in the wallet.
After the successful payment, customers are directed to your application or website. You receive the amount in your wallet as per your settlement cycle.
# PayPal
Source: https://razorpay.com/docs/payments/payment-methods/wallets/paypal
Integrate PayPal with Razorpay to accept international payments. Check how Razorpay handles currency conversions for you.
Available in
๐ฎ๐ณ India
PayPal is a payment method that you can integrate with your [Razorpay Checkout](/docs/payments/payment-gateway#integrate-payment-gateway-web-mobile-ecommerce-plugins) to accept payments in [international currencies](/docs/payments/international-payments#supported-currencies).
You can accept payments based on the transaction limit of your PayPal account. Know more about the other [payment methods and the transaction limits](/docs/payments/payment-methods/transaction-limits).
### Advantages
Integrating PayPal as a payment method on Checkout offers you the following advantages:
* **Better Success Rates**: Enjoy up to 20% higher success rates.
* **Faster Settlement time**: Get paid on a T+1 settlement schedule.
* **Wide user base**: Reach Over 300 million PayPal users around the world.
* **No additional charges**: PayPal defines the rates for transactions.
* **Currency Conversion**: Handle currency conversions from INR to your customer's native currency.
## Onboarding Process to Enable PayPal
Watch this video to see the onboarding process to enable PayPal on your checkout form.
[YouTube video player](https://www.youtube.com/embed/N5ZtN-_zye8?si=C0VWahb6kPT7Lk4s)
> [!NOTE]
>
> **Handy Tips**
>
> * The PayPal section is visible only in the **Live** mode on the Dashboard.
> * PayPal now supports the Pay Later feature. You should enable both [PayPal](/docs/payments/payment-methods/wallets/paypal#to-enable-paypal) and the Pay Later options under Account & Settings โ Pay Later (under Payment methods) on the Dashboard to enable the Pay Later feature.
> [accordion] To enable PayPal:
>
> 1. Log in to the Dashboard.
> 2. Navigate to **Account & Settings** โ **International payments** (under Payment methods). Scroll to the **PayPal** section and click **Link Account**.
>
> 
> 3. Upon redirection to PayPal:
> * If you do not have a PayPal account, you need to complete the verification process and KYC. This will include confirming your email address by clicking on the link sent to you by PayPal.
> * If you already have a PayPal account, you need to authorise Razorpay to accept payments.
>
> You should now be able to see your PayPal enablement status set to `Pending` on your Dashboard. PayPal will activate your account within 48 hours if all of the previous steps are successfully completed.
>
> You can now proceed with the integration. This depends on how you have integrated Razorpay on your website or application.
>
> By default, your PayPal account is configured to receive USD payments. You can enable more currencies on your account from your PayPal Dashboard.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > * You should not use the same email ID for multiple MIDs.
> > * Each business should set up a separate PayPal account for each MID.
## Standard Checkout Integration
If you are using Razorpay Standard Checkout, you just need to enable PayPal from your dashboard and complete the [onboarding procedure](/docs/payments/payment-methods/wallets/paypal#onboarding-process-to-enable-paypal). After the onboarding is completed and PayPal is enabled for you, it appears on your checkout form for all supported currencies.
## Currency Conversion
Customers can use PayPal Currency Conversion to convert international payments in INR (or other currency) to a currency of their choice. This enables businesses to continue accepting payments via PayPal.
> [accordion] Watch how currency conversion works at checkout in this video
>
>
* You will have your PayPal account configured to receive payments in all currencies.
* You can pass the currency in INR to Razorpay or enable more currencies on your account from your PayPal dashboard.
* Razorpay applies [open exchange rates](https://openexchangerates.org/) for currency conversion on an hourly basis.
* When converting currencies on a payment or transfer, the standard PayPal charges are applicable.
> [!NOTE]
>
> **Handy Tips**
>
> * PayPal does not accept payment requests in INR. Razorpay facilitates currency conversions from INR to your customer's home currency.
> * By default, the PayPal conversion feature is enabled on Standard Checkout for all merchants with PayPal account linked with the Razorpay account.
> * This is currently supported only on Razorpay standard checkout integration.
## Settlements
You receive the payments made using PayPal directly to your PayPal wallet. PayPal makes the settlements in INR.
## Refunds
> [!NOTE]
>
> **Refunds - PayPal Balance Required**
>
> Ensure you have sufficient balance in your PayPal account before you initiate a refund.
1. Refunds can be initiated by you either from the [Dashboard](/docs/payments/payments/dashboard#issue-a-refund) or by using the [Refunds API](/docs/api/refunds/create-normal).
2. The refund amount is deducted from your PayPal account and credited to your customer's PayPal account.
## Frequently Asked Questions (FAQs)
> [accordion] I am an existing customer, are there any integration changes to be done to support international payments via ?
>
> There are no integration changes required for you to accept payments via an international debit or credit card.
> However, if you want to display a foreign currency on your checkout, you need to pass the relevant code in the **currency** parameter in the Checkout code.
> [accordion] How do I disable the PayPal payment method activated on my account?
>
> Please raise a support ticket with Razorpay over [here](https://razorpay.com/support/).
> [accordion] I have already registered for PayPal. How do I change the PayPal account which I had added to ?
>
> You can log in to your PayPal Dashboard, go to **Settings** and update your email address to your new account.\\
>
> If you want to keep both your accounts active, please raise a request with our [Support team](https://razorpay.com/support/).
> [accordion] I have completed my registration on PayPal. Why does my status on the Dashboard still say pending?
>
> Ensure you have uploaded your bank account and company details on the PayPal Dashboard before PayPal can complete your registration. \\
>
> Please log in to to your PayPal account and check if you have completed the 3 steps: \\
>
> a. Verify your email with PayPal. \\
>
> b. Upload and verify your PAN Card. \\
>
> c. Update your Bank Account details. \\
> [accordion] I have enabled PayPal and the status shows activated on my Dashboard. However, why is there no option to pay with PayPal on my checkout?
>
> PayPal will be shown on your checkout only if the purchasing currency is other than Indian Rupee (INR), for example, if the currency is USD or EUR. PayPal will not appear on your checkout otherwise.
> [accordion] What is the pricing for PayPal?
>
> To know more about the pricing for PayPal check out the [documentation](https://www.paypal.com/in/webapps/mpp/paypal-seller-fees).
> [accordion] By when will PayPal be activated on my account?
>
> * **Existing PayPal Account**: Razorpay enables PayPal on your checkout in 2 days.
> * **New PayPal Account**: After you complete all the onboarding steps on PayPal's website, Razorpay enables PayPal on your checkout within 5 working days.
# About Refunds
Source: https://razorpay.com/docs/payments/refunds
Initiate Normal and Instant Refund payments using Razorpay Dashboard and APIs for your customers.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
There could be situations when customers request a refund of the payments made for the products or services purchased or availed on your website or app.
> [!NOTE]
>
> **Customer Looking for Refund**
>
> If you are a customer looking for a refund, know about [customer refunds](/docs/payments/customers/customer-refunds).
## Refund Types
Following are the various types of refunds that you can use to refund payments to your customers:
[Normal Refund](/docs/payments/refunds/normal)
\
Amount is refunded within 5-7 working days.
[Instant Refund](/docs/payments/refunds/instant)
\
Amount is refunded almost immediately.\
By issuing instant refunds to your customers, you can provide a better user experience for them. This also helps in improving their reliability and trust in your business.
[Batch Refund](/docs/payments/refunds/batch)
\
Issue refunds in bulk using an XLSX or CSV file. Once you upload a file, it is picked up for processing after 70 minutes. You can cancel a batch upload in the 70 minutes before it is picked up for processing.
## Dashboard Actions
You can perform the following actions on refunds from the Dashboard:
* [View Refunds](/docs/payments/refunds/view)
* [Issue Refunds](/docs/payments/refunds/issue)
* [View Settlement Details of a Refund](/docs/payments/refunds/view#view-settlement-details-of-a-refund)
* [Subscribe to Webhook Events](/docs/payments/refunds/subscribe-to-webhooks)
## Refund States
Following are the various states of a refund:
| States | Description |
| - | - |
| `processed` | This is the final state of the refund. |
| `failed` | A refund can attain the failed state in the following scenarios:
Normal refunds are not possible for a payment which is more than 6 months old.
Instant refunds can sometimes fail because of customer's account or bank-related issues.
A refund can attain the failed state in certain cases. For example, normal refunds are not possible for a payment which is more than 6 months old. |
> [!WARNING]
>
> **Watch Out!**
>
> Usually, Razorpay moves a refund to the `processed` state before receiving the ARN/RRN number from the Gateway. You can ensure that a refund moves to the `processed` state only after receiving confirmation from the Gateway by activating this feature on your account by raising a [support request](https://razorpay.com/support/#request).
## Handle Refund Chargeback
For the prevention of chargebacks, Razorpay only does **source refunds**. It means that money is refunded to the payment method that the customer used to make the payment. For example, if a credit card was used to make the payment, the refund is pushed to the same credit card. Similarly, in the case of UPI payments, the refund is pushed to the VPA used while making the payment.
If a chargeback is received for an instantly refunded payment, the processed refund will have a **UTR (Unique Transfer Reference)** in the callback. This UTR appears against the **ARN (Application Reference Number)** parameter in the Refund entity. The UTR serves as a proof of refund completed between you and Razorpay.
Additionally, Razorpay passes the **RRN (Razorpay Reference Number)** of the payment in the Fund Transfer Request sent for the refund. This ties the instant refund back to the parent payment, thereby, serving as a proof of the refund. This data can also be used as a defense against a future chargeback or arbitration case.
## Reports
Detailed insights can be gained using reports and real-time data on the Dashboard. These reports can then be used for accounting and reconciliation purposes. Know more about [reports](/docs/payments/dashboard/reports).
Understand [how the Refund process works](/docs/payments/refunds/normal#how-normal-refunds-work).
### Related Information
* [EMI and Pay Later Refunds](/docs/payments/refunds/emi-pay-later)
* [Add funds to your account to process refunds (low account balance)](/docs/payments/dashboard/account-settings/balances#add-funds-to-reserve-balance)
* [Handle refund errors](/docs/payments/refunds/errors)
* [Refunds API](/docs/payments/refunds/apis)
* [Refund Communication](/docs/payments/refunds/communication)
* [Refunds FAQs](/docs/payments/refunds/faqs)
# Refunds APIs
Source: https://razorpay.com/docs/payments/refunds/apis
List of Refunds APIs to perform actions like creating, viewing and updating refunds.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can use the Refunds APIs to perform various actions. You can perform a few of these actions by logging in to the Dashboard as well.
## List of Refunds APIs
The table below lists the various Refunds APIs and gives a brief description of each API:
| API | Description |
| - | - |
| [Create a Normal refund](/docs/api/refunds/create-normal) | API to create a Normal refund |
| [Create an Instant refund](/docs/api/refunds/create-instant) | API to create an Instant refund |
| [View multiple refunds for a payment](/docs/api/refunds/fetch-multiple-refund-payment) | API to retrieve multiple refunds for a payment |
| [Create an Instant Refund (Idempotent Request)](/docs/api/refunds/instant-refunds-idempotent) | API to create an Instant refund (idempotent request) |
| [Create a Normal Refund (Idempotent Request)](/docs/api/refunds/normal-refunds-idempotent) | API to create a Normal refund (idempotent request) |
| [View refund for a specific refund](/docs/api/refunds/fetch-specific-refund-payment) | API to retrieve details of a specific refund made for a payment |
| [View all refunds](/docs/api/refunds/fetch-all) | API to view details of all refunds |
| [View refund details by refund id](/docs/api/refunds/fetch-with-id) | API to retrieve refund details using the refund id |
| [Update refund](/docs/api/refunds/update) | API to update the 'Notes' field of an existing refund |
### Related Information
[About Refunds](/docs/payments/refunds)
[Normal Refund](/docs/payments/refunds/normal)
[Instant Refund](/docs/payments/refunds/instant)
[Batch Refund](/docs/payments/refunds/batch)
[Issue Refunds](/docs/payments/refunds/issue)
[Subscribe to Webhooks](/docs/payments/refunds/subscribe-to-webhooks)
[Refunds FAQs](/docs/payments/refunds/faqs)
# Auto-Refunds
Source: https://razorpay.com/docs/payments/refunds/auto-refunds
Know why Razorpay auto-refunds some payments, how to identify auto-refunds and how to prevent them.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Auto-refunds are refunds that Razorpay triggers, as opposed to refunds you initiate from the Dashboard or using APIs. Only payments in the `authorized` state can be auto-refunded. Payments in the `captured` state are never auto-refunded. They are refunded only when you initiate a refund or when you lose a [dispute](/docs/payments/disputes).
## Reasons for Auto-Refunds
The table below lists the reasons a payment can be auto-refunded and when the auto-refund is triggered.
| Reason for Auto-Refund | When the Auto-Refund is Triggered |
| - | - |
| [Late authorisation](/docs/payments/payments/late-authorisation): the payment is authorised after your capture timeout. | Once the refund time window has passed. |
| Insufficient account balance when you are on the Platform Fee Bearer model. | 3 days after the payment is authorised. |
| Duplicate payment on an order that is already in the `paid` state. | Immediately. |
| The payment is not captured within your configured capture timeout (3 days by default). Know more about [Payment Capture Settings](/docs/payments/payments/capture-settings). | Once the refund time window has passed. |
| [ACH](/docs/payments/payment-methods/ach) and [POS terminal](/docs/pos/refunds) payments that are not captured manually. | Once the refund time window has passed. |
> [!NOTE]
>
> **Refund Speed**
>
> Auto-refunds are always processed at normal speed. Know more about [Normal Refunds](/docs/payments/refunds/normal) and how long they take to reach the customer.
## Identify Auto-Refunds
Auto-refunds create a refund entity, just like the refunds you initiate. Use the payment's `captured` field to tell them apart. An auto-refunded payment was never captured, so the value is always `false`. A refund on a payment where `captured` is `true` is one you initiated or one for a lost dispute.
* **Webhooks**: Auto-refunds trigger the [refunds webhook events](/docs/webhooks/refunds). Check `payload.payment.entity.captured` in the webhook payload. If it is `false`, the refund is an auto-refund.
* **APIs**: When you [fetch refunds using the API](/docs/api/refunds/fetch-all), [fetch the corresponding payment](/docs/api/payments/fetch-with-id) for each refund. If the payment's `captured` value is `false`, the refund is an auto-refund. This needs one payment request for each refund, so for large volumes, use webhooks to identify auto-refunds as they happen.
* **Emails**: Razorpay sends you an email for each auto-refund, with the reason, a description and any corrective action you need to take.
## View Auto-Refunds on the Dashboard
On the **Refunds** page of the Dashboard, check the **Refund Source** column to tell auto-refunds apart from refunds you initiate. Refunds you initiate show **Business Initiated**. Auto-refunds show the reason, for example, **Auto-refunded - Late Auth**.
You can also download the refunds report and filter the auto-refunded transactions by their refund source.
> [!NOTE]
>
> **Settlements and Fees**
>
> Auto-refunds are triggered before the payment is captured. So the auto-refunded amount is not part of your settlement amount, and no processing fee is deducted from your settlement for an auto-refund.
## Prevent Auto-Refunds
To prevent your payments from being auto-refunded:
* If you have set up manual capture on the Dashboard, capture payments within the capture timeout. Know more about [Payment Capture Settings](/docs/payments/payments/capture-settings).
* Set capture timeouts on the Dashboard in [Payment Capture Settings](/docs/payments/payments/capture-settings#auto-capture-with-custom-timeouts).
* Pass [capture settings in the Orders API](/docs/payments/payments/capture-settings/api).
* Capture a late authorised payment yourself before it is auto-refunded. Know more about [handling late authorised payments](/docs/payments/payments/late-authorisation/handle).
### Related Information
* [Normal Refunds](/docs/payments/refunds/normal)
* [Refunds Webhook Events](/docs/webhooks/refunds)
* [Late Authorisation](/docs/payments/payments/late-authorisation)
* [Handle Late Authorised Payments](/docs/payments/payments/late-authorisation/handle)
* [Payment Capture Settings](/docs/payments/payments/capture-settings)
# Batch Refunds
Source: https://razorpay.com/docs/payments/refunds/batch
Create and cancel refunds in bulk to your customers using Batch Refunds.
Available in
๐ฎ๐ณ India
Use Batch refunds to make refunds in bulk using an XLSX or CSV file. Once you upload a file, it is picked up for processing after 70 minutes. You can cancel a batch upload in the 70 minutes before it is picked up for processing.
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
## Batch States
A batch file can be in any of these states:
* `created`: This is the initial state of the file when it is uploaded. Once you upload a file, it stays in the `created` state for 70 minutes. You can cancel the upload during this time.
* `processing`: This state indicates that the batch file is getting processed.
* `processed`: This is the final state of the file. It indicates that all the rows in the batch file were processed, either successfully or unsuccessfully. Download the Batch Refund Report from the Dashboard to check the status of each refund.
* `cancelled`: You can only cancel batch uploads in the `created` state. You cannot cancel batch uploads in the `processing` or `processed` states.
## Refund Fees
> [tab] Normal Refunds
>
> Razorpay does not charge any processing fee for Normal refunds. However, the transaction fee and GST levied by Razorpay at the time of payment capture will not be reversed to your account.
> [tab] Instant Refunds
>
> Razorpay charges a small transaction fee to process Instant refunds. The fees is deducted directly from your account balance and reflects under the **Refunds** tab on the Dashboard. In cases where the Instant refund fails and the refund takes 5-7 working days, the levied fee is credited back to your balance. The fee break-up is shown in the end-of-the-month invoice generated by Razorpay. View and download the details of fees charged in the **Instant Refunds Reports** from the Dashboard.
>
> For more details about pricing, [raise a Razorpay Support request](https://razorpay.com/support/#request).
## Create a Batch Refund
Follow the steps given below to create refunds in bulk using batch refund.
To create a batch refund:
1. Log in to the Dashboard.
2. Go to **Transactions** and click **View All** on the **Refunds** tab. Select **Batch Refunds** and click **Click here to upload**.

3. Download the sample file.
4. Add the required data to the sample file. Know more about [Batch File Fields](#batch-file-fields).
5. Upload the file to the Dashboard, check the preview to ensure details are correct, and click **Submit Batch**.

### Batch File - Fields
Download the sample file, add your data and upload it for processing. We support CSV, XLS and XLSX file formats for the batch file. We do not support custom headers.
Shown below is a sample data from a batch file:

The below table lists the various headers in the sample batch file and briefly describes each.
`Payment Id`*mandatory*
: `string` The unique identifier for the payment that is to be refunded. For example, `pay_F1JdjAyjRexm9T`.
`amount`*mandatory*
: `integer` The amount, in subunits, to be refunded. For example, pass `1000` to process a refund of โน10.
`speed` *optional*
: `string` The speed at which the refund should be processed. Possible values:
* `normal` : The refund is processed in 5-7 working days.
* `optimum` : Instant Refunds. If it is not possible to process the refund instantly, we will process the refund in 5-7 working days. Know more about [Instant Refunds](/docs/payments/refunds/instant).
If no value is passed, the refund is processed using the default Refund speed set on the Dashboard.
## Cancel a Batch Upload
You can cancel a batch upload from the Dashboard.
> [!NOTE]
>
> **Handy Tips**
>
> You can only cancel batch uploads in the `created` states. You cannot cancel batch uploads in the `processing` and `processed` states.
To cancel a batch upload:
1. Log in to the Dashboard.
2. Go to **Transactions** and click **View All** on the **Refunds** tab. Select **Batch Refunds**.

3. Click **Cancel** for the **Batch Id** that you want to cancel.
## Batch Refund Report
Though a batch file may have acquired `processed` state, all the refunds may not have been successful due to errors. For example, if an incorrect payment id is added to the file, the file might be `processed`, but the refund would have failed.
You can download the Batch Refund report to check the status of each data row.
To download the Batch Refund report:
1. Log in to the Dashboard.
2. Go to **Transactions** and click **View All** on the **Refunds** tab. Select **Batch Refunds**.

3. Click **Download** for the required **Batch Id** to download the Batch Refund Report.
* If a payment was successfully refunded, the corresponding data row is populated with a `Refund Id`.
* If a payment was not successfully refunded, the corresponding data row is populated with `Error Code` and `Error Description`.
### Batch Report - Fields
Given below is a sample data from a processed batch file:

The below table describes each of the headers of the processed batch file:
`Payment Id`
: `string` The unique identifier for the payment that is to be refunded. For example, `pay_F1JdjAyjRexm9T`.
`Amount`
: `integer` The amount, in subunits, to be refunded. For example, pass `1000` to process a refund of โน10.
`Refund Id`
: `string` The unique identifier of the refund. For example, `rfnd_EqWThTE7dd7utf`.
`Refunded Amount`
: `integer` The amount, in subunits, refunded to the customer. For example, `1000` means โน10 was refunded to the customer.
`status`
: `string` The status of the refund. Possible values:
* `processed` : The refund was successfully processed by us.
* `failure` : The refund was not processed. You need to create the refund again.
`speed` *optional*
: `string` The speed at which the refund should be processed. Possible values:
* `normal` : The refund is processed in 5-7 working days.
* `optimum` : Instant Refunds. If it is not possible to process the refund instantly, we will process the refund in 5-7 working days. Know more about [Instant Refunds](/docs/payments/refunds/instant).
`Error Code`
: `string` The error code for the failure. For example, `BAD_REQUEST_ERROR`.
`Error Description`
: `string` The reason for the error. For example, `The refund amount provided is greater than the unrefunded amount`.
### Related Information
[About Refunds](/docs/payments/refunds)
[Normal Refunds](/docs/payments/refunds/normal)
[Instant Refunds](/docs/payments/refunds/instant)
[Refunds FAQs](/docs/payments/refunds/faqs)
# Refund Communication
Source: https://razorpay.com/docs/payments/refunds/communication
Check the refund-related emails sent to your customers after the refunds are initiated.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
If a customer is asking for a refund, the banking partner provides a unique reference number (either RRN, ARN or UTR) when a refund is processed. The customer can use this reference number to track the refund status with the bank.
As a customer, you will be notified of the specific payment to be refunded in 7-10 working days.
> [!NOTE]
>
> **Customer Looking for Refund**
>
> If you are a customer looking for a refund, know more about [customer refunds](/docs/payments/customers/customer-refunds).
## Refund Mailers
Razorpay sends you the following email communications for refunds:
* Refund Mailer\
After you process the refund, Razorpay sends you an email with the refund id and unique reference number (ARN, RRN or UTR) provided by the bank.

* RRN/ARN Update Mailer\
When you refund a credit card payment, the banking partner will share an ARN with Razorpay. Razorpay sends you an email with this ARN number.

> [!NOTE]
>
> **Handy Tips**
>
> Razorpay sends the **Refund** and **RRN/ARN Update** emailers only if the customer email is passed to us.
### Related Information
* [Customer Refunds](/docs/payments/customers/customer-refunds)
* [Refunds APIs](/docs/payments/refunds/apis)
# EMI and Pay Later Refunds
Source: https://razorpay.com/docs/payments/refunds/emi-pay-later
Initiate the process of Refunds for EMI transactions and Pay Later.
Available in
๐ฎ๐ณ India
You can refund payments to customers who have used EMI methods, such as Debit Card EMI, Credit Card EMI, Cardless EMI and so on, offered by different banks that have partnered with Razorpay.
You can also process refunds to your customers who have made payments using the [Pay Later](/docs/payments/payment-methods/pay-later) option. Know more about the various [third-party providers offering Pay Later](/docs/payments/payment-methods/pay-later).
## How EMI and Pay Later Refunds Work
When your customer makes an online purchase using EMI methods on your website or app, the transaction amount is converted into Equated Monthly Instalments (EMIs). Following is the EMI payment flow from the customer to the merchant:
1. Customer purchases for Total\_Amt via EMI on your website or app.
2. Bank pays Razorpay (Razorpay\_Amt = Total\_Amt - Bank Commission).
3. Razorpay pays you (Merchant\_Amt = Razorpay\_Amt - Razorpay Commission).
> [!NOTE]
>
> **Handy Tips**
>
> The EMI includes a portion of the principal outstanding and interest component, which your customer needs to pay every month until the full amount is paid.
## Refund Flow for EMI Transactions
1. You receive a refund request from your customer.
2. You will raise a Refund Request with Razorpay, indicating the amount to be refunded, which is โนX.
> [!NOTE]
>
> **Handy Tips**
>
> You can set the required payment terms and conditions.
3. Razorpay then passes the Refund Request with the bank, indicating the amount to be refunded.
4. The bank refunds the amount, Min (โนX, Total Principal paid).
* If โนX = Total Principal Amount paid by the customer, it is a **Full Refund**.
* If โนX \< Total Principal Amount paid by the customer, it is a **Partial Refund**.
> [!NOTE]
>
> **Handy Tips**
>
> * Your customer may be charged cancellation charges by the bank over and above the refund amount.
> * The interest paid for EMI payments cannot be refunded.
### Use Cases
> [tab] Debit Card EMI Refund
>
> If your customer purchases a product from your website or app using the Debit Card EMI option and raises a refund request, only a full refund request can be raised.
>
> Debit Card EMI does not support multiple partial refunds as order information or product details are not sent to the bank processing the EMI payments. Razorpay team shares the reconciliation file with the bank, and the bank refunds the amount based on the calculations.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * For DC EMI, only a full refund is allowed. A partial refund is not supported.
> > * The interest paid for EMI payments cannot be refunded and is directly managed by the issuing bank.
>
> **Examples - How refund is processed for Debit Cards EMIs**
>
> * A customer purchases 3 products - Product A, B and C, in a single payment using the Debit Card EMI option. The customer cancels Product A within 5 days of purchase and then cancels Product B on the 7th day. Here, a partial refund will not be supported as there are multiple items/orders, and Razorpay does not provide an order-level split up to the bank. A full refund request can be raised with the bank for all the 3 products.
> * A customer purchases 2 products - Product A (โน2000) and Product B (โน7000). In a 3-month EMI plan, the customer needs to pay an EMI amount of โน3100 (Total payment of โน9300 in 3 months). After paying the first installment, the customer returns Product A. In this case, for a Debit Card EMI option, you cannot raise a partial refund request for โน2000. You will have to raise a full refund request for the entire amount of โน9000. The interest of โน100 that the customer paid as part of the first EMI installment cannot be refunded.
>
> Know more about [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi).
> [tab] Credit Card EMI Refund
>
> If a customer purchases a product on your website or app using the Credit Card EMI option and requests for refund, there can be the following two scenarios in case the refund is processed:
>
> * For a full refund request made by your customer, the full principal amount is refunded.
> * For a partial refund, the principal amount will be reduced by the amount that has been refunded.
>
> **Examples - How refund is processed for Credit Cards EMIs**
>
> * A customer purchases 2 products - Product A (โน2000) and Product B (โน7000). In a 3-month EMI plan, the customer needs to pay an EMI amount of โน3100 (Total payment of โน9300 in 3 months). The customer decides to return both Product A and Product B. In this case, for a Credit Card EMI option, the entire amount of โน9000 will be refunded to your customer. However, the interest or any other processing charges levied for using the EMI option may not be reversed.
>
> * A customer purchases 2 products - Product A (โน2000) and Product B (โน7000). In a 3-month EMI plan, the customer needs to pay an EMI amount of โน3100 (Total payment of โน9300 in 3 months). The customer decides to return Product A. In this case of partial refund, for a Credit Card EMI option, the principal amount of โน2000 will be refunded to your customer. The remaining EMIs will be re-calculated basis the new principal amount, which is the Original amount - Refunded amount.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * The interest paid for EMI payments cannot be refunded and is directly managed by the issuing bank.
> > * Depending on the card issuer and their terms and conditions, the processing charges levied for using the EMI option may or may not be reversed.
> > * Whether it is a full refund or a partial refund, the GST and other charges already levied by the bank may not get refunded.
> > * To cancel a Credit Card EMI, your customer should contact the credit card issuing bank.
>
> To cancel a Credit Card EMI, your customer must reach out to the bank. Know more about [Credit Card EMI](/docs/payments/payment-methods/emi).
> [tab] No Cost EMI Refund
>
> The No Cost EMI Refund process is similar to a normal [EMI Refunds](#refund-flow-for-emi-transactions) process. The only difference is that the Principal Amount used in calculations is the amount after subtracting the discount amount.
>
> **Example**
> Let us consider the example of buying a mobile phone worth โน15000 using the No Cost EMI on a 3-month EMI period. The bank charges 15% interest per annum. In this case, the retailer offers a discount of โน367.33.
>
> | **Original Cost of Mobile Phone** | **No Cost EMI Discount Offered by Retailer** | **Net Cost of Phone** | **Total interest to be paid under EMI (In case of purchase on EMI)** | **Final Price** | **EMI for 3 months** |
> | - | - | - | - | - | - |
> | โน15000 | โน367.33 | โน14632.67 | โน367.33 | โน15000 | โน5000 |
>
> In the above example, the Principal Amount = โน14632.67 (and not โน15000). The original price is discounted by โน367.33. This cost is borne by the retailer. For a bank charging 15% interest per annum with an EMI period of 3 months, the discount is 2.45%. The discounted amount is โน367.33 (โน15000 \* 2.45%).\
> Your customer will pay interest on a discounted amount of โน14632.67. The interest paid by them would-be โน367.33.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * Your customer may be charged cancellation charges by the bank over and above the refund amount.
> > * Interest already billed in a particular transaction is not refundable under any circumstances.
> > * The processing charges levied by the bank for using the No Cost EMI option cannot be refunded to the customer.
>
> Know more about [No Cost EMIs](/docs/payments/payment-methods/emi/no-cost-emi).
> [tab] Cardless EMI Refund
>
> Your customer purchases a product from your website or app using the Cardless EMI option and requests for a refund. Any EMI instalments paid by the customer is refunded to the same payment mode or account that was used to make the payment.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Razorpay does not do calculations for Cardless EMI.
>
> Know more about [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi).
## Refund Flow for Pay Later
1. You receive a refund request from your customer.
2. You will raise a Refund Request with Razorpay, indicating the amount to be refunded.
3. Razorpay passes the refund request details to the respective [Pay Later providers](/docs/payments/payment-methods/pay-later#supported-pay-later-providers), where the refund takes place before the Payback Period:
* If it is a **full refund**, your customerโs loan is closed by the respective provider. They are no longer billed to repay this amount.
* If it is a **partial refund**, your customer is billed and will need to repay the balance amount to the Pay Later provider. Here, the refunded amount gets adjusted against the loan amount.
> [!NOTE]
>
> **Handy Tips**
>
> * The refund will take place within 5-7 business days, depending on the providerโs processing time.
> * Where the amount is repaid to the Pay Later provider, your customer gets a good credit limit (amount of credit available for use) with the refund amount. This balance amount can be used for subsequent payments.
Know more about [Pay Later](/docs/payments/payment-methods/pay-later).
## Refund Timelines
Below is the list of refund timelines supported by cardless EMI and pay later providers.
> [tab] Cardless EMI Providers
>
> | Providers | Refund Timelines |
> | - | - |
> | axio | 30 days |
> | Zestmoney | 1 year |
> | Fibe | Infinite |
> | InstaCred | Infinite |
> [tab] Pay Later Providers
>
> | Providers | Refund Timelines |
> | - | - |
> | Lazypay | 6 months |
> | PayPal | 6 months |
## Frequently Asked Questions (FAQs)
> [accordion] How can the customers track the EMI refund amount in their accounts?
>
> For the EMI refund, a record is displayed in the customer's bank statement stating the Refund/Reversal amount for the payment towards EMI. The EMI amount refunded to your customer depends upon their bank based on the cancellation fee, processing fee, or any other bank charges.
> [accordion] What happens to the EMIs if the customer cancels an order?
>
> If your customer cancels or returns an order purchased using the Credit Card or Debit Card EMI option, the entire purchase amount is immediately refunded to the customer's card. The EMI is also canceled at your (merchant) end. If the customer has paid any down-payment amount, it is refunded to the customer's card within 5-7 business days. The customers should contact their bank to confirm the EMI cancellation.
> [accordion] How will future EMI payments be affected in case there is a pending amount to be paid after a refund?
>
> Suppose there is a balance amount to be paid by the customer. In that case, the remaining EMIs will be re-calculated basis the new principal amount, which is the Original amount, the refunded amount.\
> In order to close the loan, the customer has to pay the pending amount and only then it would be complete closure. However, this is a very rare case scenario. Refer to the following examples:
>
> * A customer purchases 2 products - Product A and Product B. After paying a few EMIs, the customer decides to cancel the complete order. In this case, the customer needs to pay the full refund. The original loan booking amount will be debited in full and get adjusted against the full refund credit. The interest debits done earlier will be credited. However, the customer might need to follow up with the bank to ensure that the EMI transaction is canceled and that no more EMIs are debited.
> * A customer purchases 2 products - Product A (โน2000) and Product B (โน7000). In a 3-month EMI plan, the customer needs to pay an EMI amount of โน3100 (A total payment of โน9300 in 3 months). After paying for a couple of monthly installments, the customer returns Product B. In this case, the customer will pay as per the regular EMI plan, that is, without affecting the EMI booking. The refund amount will reflect as a credit on the card. However, the interest already billed will not be reversed.
# Handle Refund Errors
Source: https://razorpay.com/docs/payments/refunds/errors
Check the errors that may occur while processing Refunds and how to handle these errors.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Sometimes when you try to process a refund request, it fails to get processed and you may encounter `BAD_REQUEST_ERROR` messages stating refunds are not supported. This happens because most of the banks do not support refunds for payments that are more than 6 months old.
## List of Possible Refund Errors
Given below is a refund error example.
```json Error Response theme={null}
{
"error": {
"code": "BAD_REQUEST_ERROR",
"description": "Refund is not supported by the bank because the payment is more than 6 months old",
"source": null,
"step": null,
"reason": null,
"metadata": {}
}
}
```
You can try to process such refunds using [**Instant Refund**](/docs/payments/refunds/instant). To check the refund status, navigate to the **Refund Details** pop-up by clicking on the specific **Refund Id** under the **Transactions** โ **Refunds** tab.
You can get the ARN/RRN for successfully processed refunds under the [Dashboard Refunds tab](/docs/payments/refunds/view) or using the [Fetch Refund API](/docs/api/refunds/fetch-with-id). This is a unique reference number which can be used by the customers to track refunds.
> [!NOTE]
>
> **Instant Refund Fee**
>
> We charge a [small fee to process instant refunds](/docs/payments/refunds/instant#refund-fees).
If **Instant Refund** for a payment that is more than 6 months old is not supported, an error message is displayed on the **Refund Payment** pop-up.
You will encounter the following error code and error message in the API response:
```json Error Response theme={null}
{
"error": {
"code": "BAD_REQUEST_ERROR",
"description": "Refund is not supported by the bank because the payment is more than 6 months old",
"source": null,
"step": null,
"reason": null,
"metadata": {}
}
}
```
> [!NOTE]
>
> **Instant Refund Fee Reversal**
>
> If the instant refund fails, any fee charged will be reversed to your account.
### Related Information
[About Refunds](/docs/payments/refunds)
[Normal Refunds](/docs/payments/refunds/normal)
[Instant Refunds](/docs/payments/refunds/instant)
[Batch Refund](/docs/payments/refunds/batch)
[Refunds FAQs](/docs/payments/refunds/faqs)
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/refunds/faqs
Find answers to frequently asked questions about Refunds via Razorpay and IRCTC refunds.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
## General FAQs
> [accordion] How do I initiate a refund?
>
> You can issue partial or full refund using:
>
> * [Dashboard](/docs/payments/refunds/issue#issue-refunds).
> * [APIs](/docs/api/refunds).
>
> By default, the entire amount is refunded. If you issue a partial refund, ensure the partial refund option is selected and enter the desired value in INR.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Razorpay issues immediate refunds. Once a refund is issued, it cannot be canceled or reversed.
> [accordion] Do you charge for refund?
>
> * **Refunds**\\
>
> No, we do not charge for the regular refunds. However, fees and taxes charged for a captured payment are not reversed.
> * **Instant Refunds**\\
>
> Yes, we charge a small fee to issue instant refunds. Know more about [instant refund pricing](https://razorpay.com/pricing/).
> [accordion] I am unable to refund a payment. What do I do?
>
> If your current balance is less than the amount you are trying to refund, you can either initiate the refund once you receive further payments or you can [add funds](/docs/payments/dashboard/account-settings/balances#add-funds-to-reserve-balance) to your account from the Dashboard.
> [accordion] Why was a payment refunded that I did not refund?
>
> Razorpay auto-refunds some payments that are not captured, for example, payments that are not captured within your capture timeout, late authorised payments or duplicate payments on an already paid order. These auto-refunds are processed at normal speed. Know more about [auto-refunds](/docs/payments/refunds/auto-refunds).
> [accordion] When a refund is initiated, can its status remain 'pending' until settlement? How should I track the final status (processed/failed)?
>
> Yes, a refund status can remain in a 'pending' state, particularly when the refund cannot be processed instantly. This state indicates that the refund has been accepted by Razorpay but is still being processed by the bank or payment network.
>
> The **`refund.processed` webhook** is the **most reliable and recommended** way to receive the final status update (Processed, Failed or Reversed).
>
> We strongly suggest implementing **both** the Refund API response handler (for immediate status) and the **`refund.processed` webhook** (for the definitive final status update) to ensure reliable status tracking and update your inventory/ledger accurately.
> [accordion] Do all refunds (including Instant Refunds) always return a 'processed' status instantly via the Refund API?
>
> No, not all refunds return 'processed' instantly.
>
> * **Instant Refunds (Optimum Speed):** If the refund is successfully processed instantly, the API response will typically show a `processed` status immediately or shortly after.
> * **Normal Refunds (Standard Speed) or Failed Instant Refunds:** If the refund defaults to the normal processing speed (5-7 business days) or if the API call is synchronous but the bank processing takes time, the initial API response might return a **`pending`** status.
>
> In all scenarios, rely on the **`refund.processed` webhook** for the final, verified status update to ensure your application records are correct.
## IRCTC Customers
> [accordion] I have cancelled my ticket. When will I receive my refund?
>
> After you cancel a booking, IRCTC has to initiate the refund. You will receive the credit in your account within 7-10 working days from the date of refund.
> [accordion] How can I check the status of my transaction if I have not received a confirmation mail?
>
> If you have not received the email, check your booking status directly on the IRCTC portal or contact IRCTC support.
> [accordion] My account has been debited but I have not received my tickets. How do I proceed?
>
> If you have not received your booking confirmation mail from IRCTC after paying for your tickets, it means your payment was unsuccessful.
>
> In such cases, your money is credited back to your account within 7-10 working days from the transaction date. Know more about the [refund timelines](https://razorpay.com/blog/why-do-refunds-take-time/).
>
> If you have not received the amount even after 10 days, [contact support](https://razorpay.com/support/) with the following details:
>
> * IRCTC transaction id.
> * A copy of the bank statement from the date of debit to the current date.
> * UPI Reference number (if the transaction is via UPI).
# About Instant Refunds
Source: https://razorpay.com/docs/payments/refunds/instant
Check Instant Refunds, how they are processed, supported payment methods, processing time and refund fees.
Available in
๐ฎ๐ณ India
You can refund the amount to your customer almost instantly using Instant Refunds. This provides a better user experience for them. This also helps in improving their reliability and trust in your business.
> [!NOTE]
>
> **Handy Tips**
>
> Instant Refunds feature is enabled by default for your account. You should set the refund speed to `optimum` when creating a refund request to ensure refunds are processed instantly. We will consider the default speed if you do not specify the same during the refund request. Know more about [setting the default speed](/docs/payments/refunds/refund-speed) from the Dashboard.
Refunds will be processed at an optimal speed based on Razorpay's internal fund transfer logic:
* If the refund can be processed instantly, Razorpay will do so irrespective of the payment method used to make the payment.
* If an Instant Refund is not possible, Razorpay will initiate a refund that is processed at the normal speed.
> [!NOTE]
>
> **Customer Looking for Refund**
>
> If you are a customer looking for a refund, know more about [customer refunds](/docs/payments/customers/customer-refunds).
## How Instant Refunds Work
When an Instant Refunds request is sent to Razorpay, our system processes the refunds instantly. The customer receives the refund within minutes (or an hour, sometimes) on their original payment source.
Instant Refunds is a value-added service provided by Razorpay; if and when you opt, Razorpay will charge due consideration for providing Instant Refunds services. You must agree to read and understand the terms of Instant Refunds before signing up.
Following is a typical flow for instant refunds:

### Payment Methods
We support the following payment methods for Instant refunds. The list of banks that support Instant refunds differs according to payment methods.
* [List of supported banks for Netbanking](/docs/payments/refunds/supported-payment-methods#netbanking)
* [List of supported banks for UPI](/docs/payments/refunds/supported-payment-methods)
Refunds are sent back to the original payment method used in making the payment. For example, if netbanking was used to make the payment, the refund amount was pushed to the same netbanking details.
### Processing Time
For all transactions, the time taken depends on the amount to be refunded:
| **Refund Amount** | **Time Taken for Refund** |
| - | - |
| Up to โน500000 | Credited immediately to the customer's account. |
| More than โน500000 and up to โน10000000 | Processed via NEFT and credited within 3โ4 hours during business hours. For refunds raised beyond business hours, it can take up to 1 business day. |
| More than โน10000000 | The refund is processed at normal speed and can take 5โ7 business days. |
### Refund Fees
Razorpay charges a small transaction fee to process Instant Refunds. The fees is deducted directly from your account balance and reflects under the Dashboard Refunds tab. In cases where the Instant refund fails and the refund takes 5-7 working days, the levied fee is credited back to your account balance. The fee break-up is shown in the end-of-the-month invoice generated by Razorpay. You can view and download the details from the **Instant Refunds Reports** from the Dashboard. Visit the [pricing page](https://razorpay.com/pricing/) for more details.
> [!WARNING]
>
> **Watch Out!**
>
> In the case of instant refunds, the Platform fee charged or deducted for the transaction will not be refunded.
## Dashboard and API Actions
You can perform the following actions:
* [Issue Instant refunds](/docs/payments/refunds/issue)
* [Handle refund errors](/docs/payments/refunds/errors)
### Related Information
* [Payment Methods for Instant Refunds](/docs/payments/refunds/supported-payment-methods)
* [Batch Refunds](/docs/payments/refunds/batch)
* [Refunds API](/docs/payments/refunds/apis)
* [Subscribe to Webhooks](/docs/payments/refunds/subscribe-to-webhooks)
* [Refunds FAQs](/docs/payments/refunds/faqs)
# Issue Refunds
Source: https://razorpay.com/docs/payments/refunds/issue
Issue refunds to customers using Razorpay Dashboard and APIs.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can issue refunds to your customers using the Dashboard or APIs. Refunds are possible for `captured` payments only.
> [!NOTE]
>
> **Customer Looking for Refund**
>
> If you are a customer looking for a refund, know about [customer refunds](/docs/payments/customers/customer-refunds).
## Full and Partial Refunds
Refunds can be made either in **full** or in **part**.
* **Full Refund**
\
You can refund the entire amount that you received in the payment.
* **Partial Refund**
\
You can refund part of the amount received in the payment. You can issue multiple, partial refunds as long as their sum does not exceed the captured amount.
A payment moves to the `refunded` state only when the entire amount is refunded to the customer. In case of partial refunds, the payment remains in the `captured` state till the entire payment is refunded.
## Issue Refunds
### Issue Refunds Using Dashboard
Watch this video to see how to issue a refund.
[How to issue a refund via the Razorpay Dashboard](https://www.youtube.com/embed/O-tkAsnvV1w?si=WKjXZtkSYrdCVDVW)
To issue refunds:
1. Log in to the Dashboard.
2. Navigate to **Transactions** โ **Payments**.
3. Select the payment for which refund is requested. The payment should be in the `captured` state.
4. On the **Refund Payment** page, in the **amount** field, enter an amount lesser than the captured amount for issuing a partial refund.
By default, the entire amount will be refunded.
5. Look for the **Refund Instantly** check box.
* If you want to issue a normal refund, unselect the **Refund Instantly** check box.

* If you want to issue an [instant refund](/docs/payments/refunds/instant), select the **Refund Instantly** check box.

6. Review the fees that will be levied for the refund to be processed instantly.
7. Click the **Issue Full Refund** or **Issue Partial Refund** button, depending on the amount to be refunded.
### Issue Refunds Using API
To create a normal refund, use [Create a Normal Refund API](/docs/api/refunds/create-normal).
### Related Information
[About Refunds](/docs/payments/refunds)
[Normal Refunds](/docs/payments/refunds/normal)
[Instant Refunds](/docs/payments/refunds/instant)
[Batch Refunds](/docs/payments/refunds/batch)
[View Refunds](/docs/payments/refunds/view)
[Refunds FAQs](/docs/payments/refunds/faqs)
# Normal Refunds
Source: https://razorpay.com/docs/payments/refunds/normal
Check how to issue Normal Refunds to your customers, the refund process, processing time and refund fees.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can issue Normal refunds to your customers which are processed within 7-10 working days.
> [!NOTE]
>
> **Customer Looking for Refund**
>
> If you are a customer looking for a refund, know more about [customer refunds](/docs/payments/customers/customer-refunds).
## How Normal Refunds Work
When you make a Normal refund request to Razorpay, the information is sent to banking partners or other related stakeholders. Each of them have their own process for refund requests. After processing the refund request, the refund amount is sent to the customer's bank account or card balance.
Following is a typical flow for card refunds:

### Payment Methods
We support all payment methods for Normal refunds.
Refunds are sent back to the original payment method used in making the payment. For example, if a credit card was used to make the payment, the refund amount is pushed to the same credit card.
### Processing Time
When you send a Normal refund request to Razorpay, the information is sent to our banking partners. Depending on the bank's processing time, it can take 7-10 business days for the refunds to reflect in the customer's bank account or card balance.
The time taken to process a normal refund depends on the payment mode used while making the payment.
| **Payment Method** | **Refund Time** |
| - | - |
| `credit` or `debit` cards | 5-10 days |
| `netbanking` | 2-10 days |
| `wallet` | 0-3 days |
| `upi` | 2-7 days |
### Refund Fees
For Normal refunds, Razorpay does not charge any processing fee. However, the transaction fee and GST levied by Razorpay at the time of payment capture will not be reversed to your account (merchant's account).
## Dashboard and API Actions
You can perform the following actions:
* [Issue Normal refunds](/docs/payments/refunds/issue)
* [View Refunds](/docs/payments/refunds/view)
* [Handle refund errors](/docs/payments/refunds/errors)
### Related Information
[Batch Refund](/docs/payments/refunds/batch)
[Instant Refund](/docs/payments/refunds/instant)
[Add funds to your account to process refunds (low account balance)](/docs/payments/dashboard/account-settings/balances#add-funds-to-reserve-balance)
[Refunds API](/docs/payments/refunds/apis)
[Subscribe to Webhooks](/docs/payments/refunds/subscribe-to-webhooks)
[Refunds FAQs](/docs/payments/refunds/faqs)
# Set Refund Speed
Source: https://razorpay.com/docs/payments/refunds/refund-speed
Set the default refund speed at which to process refunds. You can also override the default refund speed.
Available in
๐ฎ๐ณ India
You can configure the speed at which all the refunds should be processed for your customers.
## Set Default Speed of Refunds
Depending on your business needs, you can select from the following:
* **Normal Refund**
\
In this mode, the speed attribute is set to `normal`. The customers will receive their refunds within 5-7 business days.
* **Instant Refund**
\
In this mode, the speed attribute is set to `optimum`. Razorpay attempts to initiate fund transfer using IMPS, NEFT or UPI. The customer will receive the refunds instantly. If unsuccessful, Razorpay processes the refund via the `normal` speed.
The selected speed is set as the **default speed** and all the refunds, thereafter, will be processed at the chosen speed.
To set the default speed for all the refunds:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings** and click **Capture and refund settings** under the **Payments and refunds** section.
3. In the **Default Refund Speed** section, choose between **Normal Refund** and **Instant Refund**.
> [!NOTE]
>
> **Handy Tips**
>
> The chosen value is also applied as the default speed in the [Refund API request](/docs/api/refunds).
## Override Default Refund Speed
You can override the default refund speed while refunding a payment from the **Transactions** โ **Payments** tab of the Dashboard.
Watch this video to see how to override the default refund speed while issuing a refund.
[How to override the default refund speed while issuing a refund from the Razorpay Dashboard](https://www.youtube.com/embed/hOhr1x_xAls)
The possible ways in which you can switch between Normal and Instant Refunds are listed below:
| **Default Speed setting** | **All Refunds** | **Refund Payment option** | **Processed speed of the Refund** |
| - | - | - | - |
| **Normal Refund** | All the refunds are processed at the `normal` speed. | **Refund Instantly** option is selected. | The refund is processed at the `optimum` speed. If an instant refund is not possible, Razorpay initiates a normal refund. |
| **Instant Refund** | All the refunds are processed at an `optimum` speed. If an instant refund is not possible, Razorpay initiates a normal refund. | **Refund Instantly** option is unselected. | The refund is processed at the `normal` speed. |
To set the default speed for all the refunds:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings** and select **Capture and refund settings**.
3. In the **Default Refund Speed** section, choose between **Normal Refund** and **Instant Refund**.
> [!NOTE]
>
> **Handy Tips**
>
> The chosen value is also applied as the default speed in the [Refund API request](/docs/api/refunds).
### Related Information
* [About Refunds](/docs/payments/refunds)
* [Normal Refunds](/docs/payments/refunds/normal)
* [Batch Refunds](/docs/payments/refunds/batch)
* [Issue Refunds](/docs/payments/refunds/issue)
* [View Refunds](/docs/payments/refunds/view)
* [Refunds FAQs](/docs/payments/refunds/faqs)
# Subscribe to Webhooks
Source: https://razorpay.com/docs/payments/refunds/subscribe-to-webhooks
Subscribe to various webhook events related to Refunds to receive instant notifications.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Get notified by subscribing to webhook events available for refunds.
To subscribe to webhook events:
1. Log in to the Dashboard.
2. Navigate to **Account & Settings** โ **Webhooks** to subscribe to any of the events listed below.
## List of Webhook Events
The table below lists the webhook events available for refunds.
| Webhook Event | Description |
| - | - |
| `refund.created` | Triggered when a refund is created. |
| `refund.processed` | Triggered when the refund is successfully processed. |
| `refund.failed` | Triggered when we are not able to process a refund. |
| `refund.speed_changed` | Triggered when refund speed is changed. |
Know more about [Webhooks](/docs/webhooks) and check the [sample payloads.](/docs/webhooks/refunds)
### Related Information
* [About Refunds](/docs/payments/refunds)
* [Refunds APIs](/docs/payments/refunds/apis)
# Supported Payment Methods
Source: https://razorpay.com/docs/payments/refunds/supported-payment-methods
List of payment methods that support Instant Refunds.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
We support the following payment methods for instant refunds. The list of banks that support instant refunds differ according to payment methods - [Netbanking](/docs/payments/refunds/supported-payment-methods#netbanking) and [UPI](/docs/payments/refunds/supported-payment-methods).
Refunds will be sent back to the original payment method used in making the payment. For example, if netbanking was used to make the payment, the refund will be pushed to the same netbanking details.
## Netbanking
We support instant refunds for netbanking payments made from the following banks:
| Bank Name | Bank Code |
| - | - |
| Bank of Baroda | `BARB_R` |
| Canara Bank | `CNRB` |
| Central Bank of India | `CBIN` |
| Equitas Bank | `ESFB` |
| IndusInd Bank | `INDB` |
| Karur Vysya Bank | `KVBL` |
| RBL Bank | `RBL` |
# View Refunds
Source: https://razorpay.com/docs/payments/refunds/view
View details of Refunds and Settlements using the Razorpay Dashboard and APIs.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
After issuing a refund for a payment, you can check its status in the **Refunds** tab. You can also view details of settled refunds.
## View Details of a Refund
Watch this video to see how you can view the details of a refund.
[YouTube video player](https://www.youtube.com/embed/0InIsDOFFYc?si=okGBDREys7eSescV)
To view a refund:
1. Log in to the Dashboard.
2. Click **Transactions** on the left navigation and **View All** on the **Refunds** tab.
3. Click a **Refund Id** to view details of the refund.
## View Settlement Details of a Refund
Watch this video to see how you can view settlement details of a refund.
[YouTube video player](https://www.youtube.com/embed/69rO4FIBRNo?si=q_DFpeDSyqoZNhML)
To view a detailed break-down of a settlement made to your account:
1. Log in to the Dashboard.
2. Navigate to **Transactions** โ **Refunds**.
3. Click the **Refund Id** for which you want to view the settlement details.
4. In the **Refund Details** view, you can see the settlement details.
5. Click on the **settlement\_id** to view a detailed breakdown.
### Related Information
* [Normal Refund](/docs/payments/refunds/normal)
* [Batch Refund](/docs/payments/refunds/batch)
* [Issue Refunds](/docs/payments/refunds/issue)
* [Refunds FAQs](/docs/payments/refunds/faqs)
# About Settlements
Source: https://razorpay.com/docs/payments/settlements
Check how Razorpay settles money received from your customers to your bank account- Settlement Cycle, Partial Settlements and Settlement States.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Settlement is the process in which the money received from your customers is settled in your bank account. Settlements for all payments are done in INR (Indian Rupees), irrespective of the currency in which the customer made the payment. Once Razorpay receives the amount, it is settled in your bank account after deducting fees.
#### Prerequisites
Following are some of the prerequisites for settlements of payments from customers to your bank account:
* Your account must be KYC approved.
* Your account must be fully activated for payments to be settled to your bank account. Know more about [KYC Verification](/docs/payments/set-up#kyc-details).
* The payment must be captured. Know more about [capturing payments](/docs/payments/payments/capture-settings).
## Settlement Cycle
We automatically settle captured payments to the bank account you submitted to us during your [KYC verification](/docs/payments/set-up#kyc-details) following our settlement cycle. The settlement cycle is subject to bank approval and can vary based on your business vertical, risk factors and so on.

> [!NOTE]
>
> **Handy Tips**
>
> Working days do not include the bank holidays.
## Domestic Settlements
The standard settlement cycle for domestic payments is **T+2** working days (where **T** is the date of transaction capture).
> [accordion] Example
>
> You captured 20 payments on February 02, 2019 at 9:00 a.m., and your settlement schedule is **T+2** days. The payments you captured on February 02, 2019 is settled to your bank account on February 04, 2019 at 9:00 a.m. If the settlement day is a bank holiday, the settlement is made on the next working day after the bank holiday.
## International Settlements
The default settlement cycle for international payments is as per applicable law(s). You can view your settlement cycle on the Razorpay Dashboard.
Settlements for all payments is done in INR (Indian Rupees), irrespective of the currency in which the payment was made. The payment is converted using the exchange rate at the time of payment creation.
Razorpay allows you to accept payments in any of the [supported international currencies](/docs/payments/international-payments#supported-currencies).
We may hold part or all of an international payment as a [reserve](/docs/payments/settlements/reserves) before we settle it to you.
> [accordion] Example
>
> You captured 7 international payments on February 02, 2019 and your settlement schedule is T+7 days 9:00 a.m. The payments you captured on February 02, 2019 is settled in your account on February 09, 2019 at 9:00 a.m.If the settlement day is a bank holiday, the settlement is made on the next working day after the bank holiday.
## Instant Settlements
Using Instant Settlements, you can access your funds as and when you want. Normally, you would receive settlements according to your settlement cycle. Razorpay Instant Settlements helps you reduce your settlement period from **T+2** days (default settlement cycle) to a few minutes (from the time of the transaction), thus enabling your business to avoid cash-flow challenges and prepare better for working capital requirements. Know more about [Instant Settlements](/docs/payments/settlements/instant).
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
## Partial Settlements
Razorpay initiates partial settlements when your amount that requires settlement exceeds your current live balance (when the settlement is scheduled). Razorpay accurately calculates the amount that requires settlement based on the live balance, ensuring that settlements are not skipped. When settling transactions, we will only choose the ones that add up to your current live balance.
This ensures that your settlements are timely and regular and you can maintain stable cash flow.
> [accordion] Example 1
>
> You captured a payment of โน1000 on July 02, 2023, and your settlement schedule is T+2 days 5:00 p.m. Hence, the live balance is โน1000, which will be the settlement amount.
>
> However, on July 02, 2023, you had to refund your customer โน100. Due to this, your live balance is โน900. As the current live balance is lesser than the settlement scheduled, Razorpay will initiate partial settlements and settle your current live balance of โน900.
> [accordion] Example 2
>
> You captured three payments of P1 - โน500, P2 - โน300 and P3 - โน200 on July 02, 2023, and your settlement schedule is T+2 days 5:00 p.m. Hence, the live balance is โน1000, which will be the settlement amount.
>
> However, on July 02, 2023, you had to refund your customer โน100. Due to this, your live balance is โน900. As the current live balance is lesser than the settlement scheduled, Razorpay will initiate partial settlements and settle transactions P1 and P2 on T+2 as it adds upto โน900. P3 will be scheduled for the next day, shown as an upcoming settlement, and paid in the next slot.
## Settlement States
Following are the various states of a settlement:

Some reasons for settlement failure:
* Your bank account is inactive or frozen.
* Incorrect bank account details.
* The settlement was rejected by your bank.
## Dashboard Actions
You can perform the following actions from the Razorpay Dashboard:
* [View settlement details](/docs/payments/settlements/dashboard#view-settlements-using-dashboard)
* [Check settlements break-up](/docs/payments/settlements/dashboard#settlements-break-up-description)
* [Enable settlements on hold](/docs/payments/settlements/dashboard#enable-settlements-placed-on-hold)
* [View reports related to settlements](/docs/payments/settlements/dashboard#reports)
### Related Information
* [Settlements APIs](/docs/payments/settlements/apis)
* [Settlement FAQs](/docs/payments/settlements/faqs)
# Settlements APIs
Source: https://razorpay.com/docs/payments/settlements/apis
List of Settlements APIs and Instant Settlements (On-demand Settlement) APIs available to perform actions.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can use the Settlement APIs to perform various actions. You can perform a few of these actions from the Dashboard as well.
## List of Settlements API
The table below lists the various Settlement APIs and gives a brief description of each API:
| API | Description |
| - | - |
| [View All Settlements](/docs/api/settlements/fetch-all) | API to view all settlements. |
| [View Settlements by Id](/docs/api/settlements/fetch-with-id) | API to view settlement details by providing the settlement id. |
| [Settlement Recon](/docs/api/settlements/fetch-recon) | API to view all transactions such as payments, refunds, transfers and adjustment settled to you for a particular day or month. |
List of Instant Settlements APIs:
| Term | Description |
| - | - |
| [Create Instant Settlements](/docs/api/settlements/instant/create) | API to create an Instant Settlement. |
| [Fetch all Instant Settlements](/docs/api/settlements/instant/fetch-all) | API to view all Instant Settlements. |
| [Fetch Instant Settlements by id](/docs/api/settlements/instant/fetch-with-id) | API to view Instant Settlement details by providing the settlement id. |
| [Fetch all Instant Settlements with Payout Details](/docs/api/settlements/instant/fetch-all-payout) | API to retrieve payout details as part of the response for all instant settlements requests. |
| [Fetch Instant Settlements with Payout ID](/docs/api/settlements/instant/fetch-with-id-payout) | API to retrieve payout details as part of the response for a specific instant settlement request. |
### Related Information
* [About Settlements](/docs/payments/settlements)
* [Settlements - Dashboard Actions](/docs/payments/settlements/dashboard)
* [Settlement FAQs](/docs/payments/settlements/faqs)
# Settlements - Dashboard Actions
Source: https://razorpay.com/docs/payments/settlements/dashboard
View settlement details, check the settlements break-up, enable settlements on hold and view reports from the Razorpay Dashboard.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
## View Settlements Using Dashboard
You can view details of settlements made to you from the Dashboard.
* View a detailed break-down of the amount settled to you from the Dashboard.
* View details, such as the total settlement amount (credit + debit amount), applicable service fees, service tax, adjustments, and so on.
Watch this video to see how to view settlements from the Dashboard.
[YouTube video player](https://www.youtube.com/embed/mmn2WkrmKwI?si=y3kf7FxP07YhHEpZ)
To view settlement details:
1. Log in to the Dashboard.
2. Navigate to **Settlements**.
3. Click on the **details** of the settlement ID that you wish to refer to.
### View Channel-Wise Settlements
> [accordion] Benefits of Channel-Wise Settlements
>
> * **Zero cross-channel failures**: POS settlements will not fail due to online refunds.
> * **Clear fund visibility**: Know exactly how much you have in each channel.
If you are an omni-channel business (Online (Domestic transactions + International Cards)) or cross-border business (Alternate Payment Method (International)), your settlements are processed separately for each channel type. This provides complete fund isolation and eliminates cross-channel settlement failures.
### Understand Segregated Settlements
With balance segregation, settlements are organised by channel type:
| Channel Type | Description | Transactions Included | Additional Details |
| - | - | - | - |
| Online (Domestic transactions + International Cards) | Domestic online payments and international card transactions | PG domestic transactions (cards, UPI, netbanking and wallets), international card payments | Supports Instant Settlements. |
| In-Person | POS terminal transactions | All POS/offline transactions | POS device rentals are automatically collected from this balance. Operates independently from online transactions. |
| Alternate Payment Method (International) | Balance from international payment methods such as PayPal, Stripe and other cross-border payment methods | International bank transfers, cross-border payments via supported APM providers | Settled separately from domestic balances. Subject to forex conversion and international settlement timelines. |

Each channel type has its own settlement schedule and settlement history.
#### View Settlements by Channel
To view channel-wise settlements:
1. Log in to the Dashboard.
2. Navigate to **Settlements**.
3. Use the **Balance Type** filter to select the channel you want to view:
* **Online (Domestic transactions + International Cards)**
* **In-Person**
* **Alternate Payment Method (International)**
The settlements list will display only settlements for the selected channel.
#### Settlement Cards on Home Page
On the Dashboard home page, you will see separate settlement cards for each active balance:
* Each card shows the current balance, last settlement amount and next settlement date.
* Click on any card to view detailed settlement history for that channel.
> [!NOTE]
>
> **Handy Tips**
>
> With segregated balances, you can now enable Instant Settlements for your PG Online balance even if you have POS or Cross-Border enabled. Previously, Instant setting were restricted for cross-border and omni-channel businesses.
### View Settlements Using API
You can view settlement details using the [Settlements API](/docs/api/settlements).
### Settlements Break-Up Description
The following screenshot displays the settlement break-up:

A settlement has the following components:
`Payment`
: The total payment amount that is being settled before deductions.
`Adjustment`
: Adjustments to transactions, if any.
`Tax`
: Tax deducted on the payment.
`Fee`
: Fees deducted by Razorpay for the transactions.
`Transfer`
: Transfers made if any, Transfers are payouts made to your [linked accounts](/docs/payments/route/linked-account).
Linked accounts are accounts created for third-party sellers by you after onboarding them onto the Razorpay platform.
`Refunds`
: Refunds made if any, are refunds you have issued to your customer.
> [accordion] Example
>
> In this example, the amount settled to your account = Payment - Adjustment - Tax - Fee - Transfer + Refunds
>
> | Transaction Details | Amount(โน) |
> | - | - |
> | Payment | 50.00 |
> | Refunds | 10.00 |
> | Tax | 2.88 |
> | Fee | 16.00 |
> | Total amount settled in your account | 20.94 |
> [accordion] Example: Gross Settelements and Deductions Calculations
>
> Following is an example of gross settlements and deductions calculations of your settlement:
>
> 
>
> The gross settlements and deductions calculations only apply to merchants on the prepaid model.
## View Settlement Timeline on Dashboard
You can view the settlement timeline to check when the settlement for a particular payment will be credited.
To view the settlement timeline:
1. Log in to the Dashboard.
2. Navigate to **Settlements**.
3. Click on theย **details**ย of the settlement id for which you want to view the timeline.
4. You will be able to see the settlement timeline for that particular settlement id.

## Enable Settlements Placed On Hold
Your settlement can be placed on hold if we detect some risk with your payments or with your Razorpay account. You are notified about this on your Dashboard.
Contact the [support team](https://razorpay.com/support) to enable settlements that are placed on hold.

To enable settlements when they are put on hold:
1. Log in to the Dashboard.
2. Navigate to **Home**.
3. Click **Resolve** on the notification as shown above..
## Reports
Detailed insights can be gained using reports and real-time data on the Dashboard. These reports can then be used for accounting and reconciliation purposes. Know more about [reports.](/docs/payments/dashboard/reports)
### Channel-Wise Settlement Reports
For businesses with segregated balances, settlement reports include:
* **Channel Type**: Identifies whether the transaction was from Online (Domestic transactions + International Cards), In-person and Alternate Payment Method (International).
* **Balance Account id**: Unique identifier for the specific balance account.
You can filter reports by channel type to reconcile settlements for each balance separately.
### Related Information
* [About Settlements](/docs/payments/settlements)
* [Settlements API](/docs/payments/settlements/apis)
* [Settlement FAQs](/docs/payments/settlements/faqs)
# Frequently Asked Questions (FAQs)
Source: https://razorpay.com/docs/payments/settlements/faqs
Find answers to frequently asked questions about Razorpay Payment Settlements.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
## Settlements
> [accordion] What are settlements?
>
> Settlement is the process in which the money received from your customers is settled to your bank account. Settlements for all payments will be done in INR (Indian Rupees), irrespective of the currency in which the payment was made by the customer. Settlement cycle is subject to bank approval and can vary based on your business vertical, risk factor, and so on. Each settlement generated has a unique settlement id attached to it along with the amount settled. Know more about [Settlements](/docs/payments/settlements).
> [accordion] What is the settlement cycle you offer?
>
> Our standard settlement cycle is T+2 working days, T being the date of transaction capture. This means that the captured payments are settled within 2 working days from the date of capture. This applies to domestic payments. International payments follow a longer settlement cycle of T+7 working days. For details, see FAQ 9.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Working days do not include second and fourth Saturdays, Sundays and bank holidays. For details on how holidays affect your settlement date, see FAQ 7.
> [accordion] How do I check settlements in my bank account?
>
> Each settlement has a Unique Transaction Reference (UTR) number, which is provided by our banking partners. You can see this number in the settlement section when you click on a particular settlement id. You can also download **Settlement Reports** from the **Reports** section to view UTR. This is a unique reference number available across banks, which can be used to track a specific settlement in your bank account.
>
> 
> [accordion] The status of my settlement shows as failed on the Dashboard. What do I do?
>
> Razorpay sends emails regarding blocked or failed settlements to your registered email address. Please revert to the email with the necessary details. If you have not received any email from Razorpay, please contact our [Support Team](https://razorpay.com/support/#request) for assistance.
> [accordion] How to reconcile settlements along with the transactions made?
>
> You can [download a daily or a monthly report](/docs/payments/magic-checkout/analytics/reports#generate-reports) for the **Settlement Reconciliation Report** from the **Reports** section on the Dashboard. The report contains transactions and the corresponding settlement ids.
> [accordion] Why are my settlements blocked?
>
> Razorpay sends emails regarding blocked or failed settlements to your registered email address. Please revert to the email with the necessary details. If you have not received any email from Razorpay, please contact our [Support Team](https://razorpay.com/support/#request) for assistance. If your settlements are paused due to a bank holiday or weekend, see FAQ 7.
> [accordion] Are settlements processed on weekends and bank holidays?
>
> No. Settlements to your bank account are processed only on **bank working days**. They are not processed on Sundays, the second and fourth Saturdays, and public or bank holidays, and are credited on the next working day.
>
> **Why does this happen even when UPI, IMPS, NEFT and RTGS operate 24x7?**
>
> Although consumer payment rails operate round-the-clock, settlements to businesses depend on the **inter-bank settlement and fund-flow process** between the issuing banks, Razorpay's nodal/escrow account, and your bank. This process follows the banking calendar and RBI fund-flow norms, which do not operate on bank holidays. As a result, the standard settlement cycle is paused on those days.
>
> If your business requires funds on a holiday or weekend, you can use [Instant Settlements or Smart Settlements](/docs/payments/settlements/instant) to settle your available balance 24x7, including holidays, for a small fee.
> [accordion] My settlement is delayed over a long weekend or consecutive holidays โ is this normal?
>
> Yes. The T+2 cycle counts only working days. When holidays fall back-to-back (for example, a SaturdayโSundayโpublic-holiday stretch), the credit date moves to the next available working day, which can compound into a multi-day delay. You can check the expected credit date against the settlement schedule on your Dashboard, or settle immediately via [Instant Settlements](/docs/payments/settlements/instant).
> [accordion] How is the settlement cycle different for international payments?
>
> International payments follow a longer settlement cycle than domestic payments. While domestic payments are settled on a **T+2 working day** cycle, the standard cycle for international payments is **T+7 working days**, where **T** is the date the payment is captured. The exact cycle is subject to applicable laws and is shown on your Razorpay Dashboard.
>
> As with domestic settlements, international settlements are processed only on bank working days. If the settlement date falls on a weekend or bank holiday, the credit moves to the next working day. International payments are settled in INR (Indian Rupees), irrespective of the currency in which the payment was made, using the exchange rate at the time of payment creation. Know more about [International Settlements](/docs/payments/settlements#international-settlements).
## Balance Segregation
> [accordion] What is Balance Segregation?
>
> Balance Segregation is a feature that maintains separate balances for each payment channel type.
>
> Instead of having one combined balance, you now have multiple isolated balances:
>
> * **Online (Domestic transactions + International Cards)**: Domestic PG transactions and international card payments.
> * **In-Person**: POS terminal transactions.
> * **Alternate Payment Method (International)**: Balances from international bank transfer.
>
> This ensures complete fund isolation, regulatory compliance and eliminates cross-channel settlement failures.
> [accordion] Why are my balances now showing separately on the Dashboard?
>
> If you are an omni-channel business (using both PG and POS) or a cross-border business, your balances are automatically segregated by channel type. This is to ensure compliance with RBI guidelines that prohibit co-mingling of funds across different payment channels and to provide you with better visibility and control over your funds.
> [accordion] What is included in the Online (Domestic transactions + International Cards) balance?
>
> The Online (Domestic transactions + International Cards) balance includes:
>
> * All domestic PG transactions (cards, UPI, netbanking, domestic wallets).
> * International card transactions.
>
> This balance is separate from your In-Person (POS) and APM International balances.
> [accordion] What is included in the In-Person balance?
>
> The In-Person balance includes all transactions processed through POS terminals. This balance is used for:
>
> * POS transaction settlements.
> * POS device rental deductions (if applicable).
> * Refunds for POS transactions.
>
> It operates completely independently from your Online (Domestic transactions + International Cards) balance.
> [accordion] What is included in the APM (International) balance?
>
> The Alternate Payment Method (International) balance includes cross-border transactions made through international bank transfers.
>
> This is separate from international card transactions, which are included in the Online (Domestic transactions + International Cards) balance.
> [accordion] How does Balance Segregation affect my settlements?
>
> **With Balance Segregation**:
>
> * Settlements are processed separately for each balance account (Online (Domestic transactions + International Cards), In-Person, APM International).
> * Each balance has its own settlement schedule.
> * Refunds and chargebacks are debited only from the respective channel balance.
> * You can enable Instant Settlements independently for each balance.
> * Settlement failures due to cross-channel fund usage are eliminated.
> [accordion] I am a PG + POS business. Can I now use Instant Settlements?
>
> Yes. With Balance Segregation, Instant Settlements is now available for omni-channel businesses. You can enable Instant Settlements on your PG Online balance independently of your POS balance. This was previously restricted to prevent cross-channel fund utilisation issues, which are now resolved with segregated balances.
> [accordion] I am a Cross-border business. How does Balance Segregation benefit me?
>
> For cross-border businesses, Balance Segregation provides:
>
> * Separate balance for APM (International) transactions.
> * International card transactions tracked in your Online (Domestic transactions + International Cards) balance.
> * Instant Settlements enabled for your Online (Domestic transactions + International Cards) balance.
> * Clear visibility of domestic vs international transaction funds.
> [accordion] What happens to refunds with segregated balances?
>
> Refunds are now processed from the same channel balance where the original payment was received:
>
> * Online payment refund โ debited from Online (Domestic transactions + International Cards) balance
> * In-Person (POS) payment refund โ debited from In-Person balance
> * APM International payment refund โ debited from APM International balance
>
> This ensures that refunds in one channel never impact settlements in another channel.
> [accordion] Will my existing balance be migrated to segregated balances?
>
> No, existing balances are not migrated. Balance Segregation applies to new transactions going forward. Your current combined balance will continue to be settled as per your existing settlement cycle, while new transactions will be credited to the appropriate segregated balance based on channel type.
> [accordion] How do I view my segregated balances on the Dashboard?
>
> You can view your segregated balances in multiple places on the Dashboard:
>
> * **Home Page**: Separate balance cards for each channel type (Online (Domestic transactions + International Cards), In-Person, APM International).
> * **Settlements Page**: Filter settlements by balance type.
> * **Account & Settings โ Balances**: Detailed view of all your balance accounts.
>
> Each balance card shows the current amount, next settlement date and settlement cycle.
> [accordion] Can I transfer funds between my segregated balances?
>
> No, inter-channel fund transfers are not currently supported. Each balance operates independently to maintain fund isolation and regulatory compliance. If you have specific requirements, please contact our [Support Team](https://razorpay.com/support/#request).
> [accordion] How are POS device rentals collected with Balance Segregation?
>
> With Balance Segregation, POS device rentals are automatically collected from your POS (In-Person) balance only. This ensures that rental deductions never impact your PG Online balance or cause settlement failures. The collection is automated through the Meter Pricing Platform for businesses enrolled in the program.
> [accordion] Will my settlement reports change with Balance Segregation?
>
> Yes, settlement reports now include additional fields:
>
> * **Channel Type**: Identifies the source channel (Online (Domestic transactions + International Cards), In-Person, APM International).
> * **Balance Account id**: Unique identifier for the balance account.
>
> You can filter reports by channel type to reconcile each balance separately. The Settlement Reconciliation Report will show transactions grouped by their respective balance accounts.
> [accordion] I see multiple balances but I only use PG Online. Why?
>
> If you only use PG Online for domestic transactions, you will typically see just one balance account (Online (Domestic transactions + International Cards)). Multiple balances appear only when you have:
>
> * Both PG Online and POS enabled (In-person).
> * International bank transfers (APM International balance).
> * International card payments (included in Online (Domestic transactions + International Cards) balance).
>
> If you believe there is an error in your balance configuration, please contact our [Support Team](https://razorpay.com/support/#request).
> [accordion] Are international card transactions and international APM transactions in the same balance?
>
> No, they are in separate balances:
>
> * **International card transactions** are included in the **Online (Domestic transactions + International Cards)** balance along with domestic transactions.
> * **International APM transactions** (international bank transfers) are in the separate **APM (International)** balance.
> This separation ensures proper fund isolation for different payment method types.
## Instant Settlements
> [accordion] What are Instant Settlements?
>
> By default, the settlement cycle is T+2 days for domestic payments and T+7 days for international payments, where `T` is the date the payment was captured.\\
>
> The Instant Settlement feature allows you to settle your current balance to your bank account instantly 24x7 for a small fee. You can either settle your current balance in full or choose to settle a portion of it as per your needs.
> [accordion] Are there any additional charges for Instant Settlements?
>
> Yes. We charge a [small fee](https://razorpay.com/capital/instant-settlements/#capital-pricing-section) to process Instant Settlements.
> [accordion] How is the fees and tax for an Instant Settlement deducted?
>
> The fees and tax for an Instant Settlement is deducted from the request settlement amount.
> For example, you place a request for โน2000. Fees of โน3 and tax of โน1 is deducted from the requested amount and the remaining amount, โน1995 is settled to your bank account.
> [accordion] Why is there a limit on Instant Settlements?
>
> We have introduced the limits on Instant Settlements to make the settlement process more predictable for your daily needs. With limits, you can:
>
> * Settle a definite amount from the assigned limit until the next working day.
> * Enjoy a quicker and higher success rate throughout the working day.
>
> For any queries, [contact support](https://razorpay.com/support/#request) or your Relationship Manager.
> [accordion] Once enabled, do I need to make Instant Settlement request for all my settlements?
>
> No. You can create an Instant Settlement request when you need the money. If you do not create an Instant Settlement, your current balance is settled to your bank account as per your settlement cycle.
> [accordion] What happens to my current balance if I do not make any Instant Settlement requests?
>
> Your current balance is settled to your bank account as per your settlement cycle.
> [accordion] Once Instant Settlements are enabled, will I be charged for all my settlements?
>
> No. You will only be charged for the Instant settlements you create. You will not be charged for settlements that happen according to your settlement cycle.
> [accordion] How do I enable instant settlements?
>
> Instant settlements is an on-demand feature. [Raise a request](https://razorpay.com/support/#request) with our support team to get this feature activated on your account. Know more about [initiating instant settlements](/docs/payments/settlements/instant#initiate-instant-settlements).
## Smart Settlements
> [accordion] What are Smart Settlements?
>
> [Smart Settlement](/docs/payments/settlements/instant#initiate-smart-settlements) is an extended form of [Instant Settlement](/docs/payments/settlements/instant#initiate-instant-settlements) that allows you to settle amounts above โน 5 L in one shot using the RTGS channel. A settlement done via Smart Settlements reflects as a single entry in your bank statement making reconciliation much easier.
> [accordion] What is the amount cap for Smart Settlements?
>
> You can initiate a Smart Settlement if the amount is abover โน 5 L. The maximum ceiling is โน 50 Cr per settlement.
> [accordion] Is it mandatory to use Smart Settlements if the amount is >
> 5 L?
>
> No, Smart Settlement is a recommended option for amounts > 5 L and \< 5 Cr because it settles the amount as one credit in your bank statement. You can still use the Instant Settlement option for this range, but it will appear as multiple entries in your bank statement.
> **However, amounts > 5 Cr are settled through Smart Settlements only. Instant Settlement option is automatically disabled for amounts > 5Cr.**
>
> Find out more about [Instant Vs Smart Settlements](/docs/payments/settlements/instant#instant-vs-smart-settlements)
> [accordion] Do I have to request for enabling Smart Settlements?
>
> No, Smart Settlement feature is automatically enabled if the Instant Settlement feature is activated for your dashboard. However, Instant Settlement is an on-demand feature. [Contact support](https://razorpay.com/support/#request) to get this feature enabled.
> [accordion] Is there a separate fee for Smart Settlements?
>
> No, Smart Settlements follow the same fee structure as Instant Settlements. Click to know more about [Instant Settlement pricing.](https://razorpay.com/capital/instant-settlements/#capital-pricing-section)
> [accordion] How is the fees and tax for a Smart Settlement deducted?
>
> The fees and taxes for Smart Settlements are deducted from the requested settlement amount.
> For example, you place a request for โน2000, fees of โน3 and tax of โน1 is deducted from the requested amount and the remaining amount, โน1995 is settled to your bank account.
> [accordion] What is the settlement cycle for Smart Settlements?
>
> The settlement cycle is **T+0** for Smart Settlements. Since Smart Settlements are routed through RTGS channel, the transaction usually happens real-time. However, depending on bank channel traffic, it may sometimes take up to 1 hour.
# Instant Settlements
Source: https://razorpay.com/docs/payments/settlements/instant
Use the Instant Settlement feature to settle funds instantly to your bank account.
Available in
๐ฎ๐ณ India
> [!WARNING]
>
> International payments cannot be settled using Instant Settlements.
You can use the **Instant Settlement** feature in Razorpay to settle your available balance to your bank account instantly, 24x7, for a small fee.
* Settle your available balance to your bank account in full, or choose to settle a portion of it. Note that there is a **maximum daily withdrawable limit**.
* The **maximum daily withdrawable limit** is a limit set for every Razorpay merchant for instant settlements that resets automatically at the beginning of each business day.
* By default, the settlement cycle is **T+2 days for domestic payments** and for **international payments it is as per applicable law(s)**. **T** refers to the captured payment date. With Instant Settlements, you receive funds on a T+0 basis.
* You can use [Instant Settlements](#initiate-instant-settlements) to settle amounts \< โน5 Cr and [Smart Settlements](#initiate-smart-settlements) to settle amounts > โน5 Cr and \< โน50 Cr.
> [!NOTE]
>
> **Feature Request**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.
## How it Works
1. Amounts up to โน5 Lakhs are settled instantly through Instant Settlements. Instant Settlements are routed through the IMPS channel.
2. Smart Settlements option also is enabled when the entered amount is between โน5 Lakhs to โน5 Crores. You can choose between Instant or Smart Settlements here.
1. With Smart Settlements, the settlement amount will reflect as a single credit in your bank statement since it uses the RTGS channel.
2. With Instant Settlement, the amount will show as multiple credits in your bank statement as IMPS channel has an upper limit of โน5 Lakhs per transaction.
3. Amounts between โน5 Crores to โน50 Crores are settled only through Smart Settlements.
## Instant Vs Smart Settlements
> [tab] Instant Settlement
>
> Benefits of Instant Settlement are:
>
> * Easy and instant access to your money.
> * Increased cash flows enabling better payment cycles.
> * Better management of inventory and stock.
> [tab] Smart Settlements
>
> Benefits of Smart Settlements are:
>
> * Settle large sums (between โน5 Lakhs to up to โน50 Crores) to your Current Account in one shot and access it within an hour.
> * View the settlement as a single entry in your account statement.
> * Manage cash flows and payments in a better way.
> [tab] Instant Settlement Vs Smart Settlements
>
> | Feature | Instant Settlement | Smart Settlements | |
> | - | - | - | - |
> | Minimum amount per settlement | โน100 | โน5 Lakhs | |
> | Maximum amount per settlement | โน5 Crores | โน50 Crores | |
> | **Timings** | **24\*7** | **02:00 AM to 9:30 PM** | |
> | **Holidays** | **None** | **Jan 26, August 15 and April 1** | |
> | Settlement channel | IMPS | RTGS | |
> | Dashboard support | Yes | Yes | |
> | **API support** | **Yes** | **No** | |
> | **Settlement TAT** | **Instant** | **0-60 min** | |
> | **No. of credits in bank statement** | **Multiple** | **Single** | |
> | Example | Settlement amount: โน5 Crores No. of credits in bank account: โน5 Lakhs \* 100 | Settlement amount: โน5 Crores No. of credits in bank account: โน5 Crores \* 1 | |
## Initiate Instant Settlements
Settle amounts **up to โน5 Crores** through **Instant Settlement** feature via Dashboard and API:
> [tab] On the Dashboard
>
> Create Instant Settlements from the Dashboard.
>
> 1. Log in to the Dashboard.
>
> 2. Navigate to **Settlements**.
>
> 3. Click **Settle Now** to go to the **Instant Settlements** window.
>
> 4. Your current balance, maximum daily withdrawal limit and the current withdrawable amount are displayed. Enter the amount you want to settle to your bank account.
>
> 
>
> 5. Click **Next**. A pop-up showing **Instant Settlement** opens.
> The fees + tax for the Instant Settlement and the net amount that will be credited to your account will be displayed in the pop up.
>
> 6. Click **Settle Now** to settle instantly.
> [tab] Using APIs
>
> Create and retrieve Instant Settlements requests using APIs. Refer to the [list of Instant Settlements APIs](/docs/payments/settlements/apis#list-of-settlements-api).
## Initiate Smart Settlements
Use the **Smart Settlements** feature to settle amounts **between โน5 Lakhs to โน50 Crores** in a single shot within a time span of 1 hour.
1. Log in to the Dashboard.
2. Navigate to **Settlements**.
3. Click **Settle Now** to go to the **Instant Settlements** window.
4. Your current balance, maximum daily withdrawal limit and the current withdrawable amount are displayed. Enter the amount you want to settle to your bank account.
5. Click **Next**. A pop-up showing Instant Settlement and Smart Settlements opens.
The pop-up displays the total fees plus tax for the Instant Settlement, along with the exact net amount that will be credited to your account.
6. For amounts more than โน5 Lakhs, the recommended option is Smart Settlements.

7. Click **Settle Now** after selecting **Smart Settlements**.
The Smart Settlements request is created. The requested amount will be settled to your bank account within 1 hour.
> [!WARNING]
>
> **Watch Out!**
>
> * Smart Settlements can be used via Dashboard only.
> * For amounts more than โน5 Crores, only the Smart Settlements option is enabled in the pop-up.
You can check the Dashboard for latest updates on the limits and availability of instant settlements.
# Reserves on International Payments
Source: https://razorpay.com/docs/payments/settlements/reserves
Know how rolling and fixed reserves work on your international payments, how much we hold, for how long and where to track the release date.
Available in
๐ฎ๐ณ India
A reserve is money we hold in your Razorpay account for a set period, before we settle it to you. It covers any disputes raised on your payments, including chargebacks.
A reserve is your money. We hold it temporarily and then release it to you. We charge no fee on it, and you are not exposed to exchange rate movement while we hold it.
> [!NOTE]
>
> **Handy Tips**
>
> Every amount, percentage and hold period on this page is an example. Your own terms appear in your Razorpay Dashboard.
> [!WARNING]
>
> **Watch Out!**
>
> The **Reserve balance** on this page is not the [Reserve Balance](/docs/payments/dashboard/account-settings/balances#reserve-balance) under **Account & Settings** โ **Balances**. That one is a buffer you add yourself to cover refunds. This one is money we hold back from your international payments. Both can apply to your account.
## Prerequisites
A reserve applies to your account when:
* Your account is KYC approved and fully activated. Know more about [KYC Verification](/docs/payments/set-up#set-up-a-razorpay-account-and-complete-kyc).
* You have international payments enabled. Know more about [International Payments](/docs/payments/international-payments).
* We have set reserve terms for your account based on your account profile.
Reserves apply only to international payments. Your domestic payments settle on your normal [settlement cycle](/docs/payments/settlements#settlement-cycle).
## How it Works
The reserve sits between the payment we capture and the amount we settle to you:
1. You accept an international payment. We capture it as usual.
2. We calculate the reserve on the amount remaining after our fees and taxes.
3. We hold either a percentage of the payment or the whole payment, depending on your terms.
4. We settle the remainder on your normal settlement cycle.
5. We release the held amount to your balance on its scheduled release date. The released amount then settles on your normal cycle.
## Types of Reserves
You are on one reserve type at a time, never both. The table below lists how the two types differ:
| Reserve Type | How Much We Hold | How It Comes Back |
| - | - | - |
| [Rolling reserve](#rolling-reserve) | A percentage of each payment in scope, or the whole payment | We release each held amount on its own date, one at a time |
| [Fixed reserve](#fixed-reserve) | A percentage of each payment until a target amount is reached, then nothing | We return the whole balance in one go, once we decide it is no longer needed |
## Rolling Reserve
Your rolling reserve depends on the payments it applies to, and on how much we hold and for how long.
### Payments in Scope
Some international payments are verified by the customer's bank before they go through. Others are not. Unverified payments are easier for your customers to complete. They are also more likely to be disputed later. These are your **non-3DS payments**. Know more about [Support for Non-3D Secure Transactions](/docs/payments/international-payments/support-non-3ds).
A reserve can apply to any of your international payments. Which ones it covers depends on your account profile. For some accounts it is only the non-3DS payments, for others it is all international payments. Your terms tell you which applies to you, and your Dashboard shows which of your payments contributed to the reserve.
### Hold Amount and Period
We hold either a percentage of each payment in scope, for example 30%, or the whole payment. The hold period is up to 75 days.
### Examples
Your settlement cycle is T+7, so a payment you take on day 1 reaches you on day 8. On day 1 you take 7 international payments adding up to โน6,00,000. Of these, 5 are 3DS payments of โน1,00,000 each and 2 are non-3DS payments of โน50,000 each.
We calculate reserves on the amount remaining after our fees and taxes. The tables below ignore fees and taxes to keep the arithmetic readable.
> [accordion] Example 1: We hold your non-3DS payments in full, for 60 days
>
> The table below lists what happens to each payment:
>
> | Payment | Amount | Held | Settles on Day 8 | Released to Your Balance |
> | - | - | - | - | - |
> | 1 to 5 (3DS) | โน1,00,000 each | None | โน1,00,000 each | None |
> | 6 (non-3DS) | โน50,000 | โน50,000 | None | โน50,000 on day 61 |
> | 7 (non-3DS) | โน50,000 | โน50,000 | None | โน50,000 on day 61 |
> | **Total** | **โน6,00,000** | **โน1,00,000** | **โน5,00,000** | **โน1,00,000** |
>
> Only payments 6 and 7 are affected. They reach you about 2 months later than usual. The other 5 settle on day 8.
> [accordion] Example 2: We hold 40% of your non-3DS payments, for 45 days
>
> Same 7 payments, but we hold only part of each non-3DS payment. The table below lists what happens to each payment:
>
> | Payment | Amount | Held | Settles on Day 8 | Released to Your Balance |
> | - | - | - | - | - |
> | 1 to 5 (3DS) | โน1,00,000 each | None | โน1,00,000 each | None |
> | 6 (non-3DS) | โน50,000 | โน20,000 | โน30,000 | โน20,000 on day 46 |
> | 7 (non-3DS) | โน50,000 | โน20,000 | โน30,000 | โน20,000 on day 46 |
> | **Total** | **โน6,00,000** | **โน40,000** | **โน5,60,000** | **โน40,000** |
>
> You receive โน30,000 of each non-3DS payment on day 8 and the remaining โน20,000 about 6 weeks later. Your 3DS payments are unaffected.
> [accordion] Example 3: We hold 30% of every international payment, for 30 days
>
> Here the reserve covers your whole international volume, not only the non-3DS part of it. The table below lists what happens to each payment:
>
> | Payment | Amount | Held | Settles on Day 8 | Released to Your Balance |
> | - | - | - | - | - |
> | 1 to 5 (3DS) | โน1,00,000 each | โน30,000 each | โน70,000 each | โน30,000 each on day 31 |
> | 6 (non-3DS) | โน50,000 | โน15,000 | โน35,000 | โน15,000 on day 31 |
> | 7 (non-3DS) | โน50,000 | โน15,000 | โน35,000 | โน15,000 on day 31 |
> | **Total** | **โน6,00,000** | **โน1,80,000** | **โน4,20,000** | **โน1,80,000** |
>
> We hold no payment in full, and you have all of it back within a month.
## Fixed Reserve
A fixed reserve has a target amount. A percentage of each payment goes towards the target. Once the target is reached, we stop holding and every payment after that settles in full. This caps how much of your money we ever hold.
A fixed reserve also comes back differently. A rolling reserve releases one amount at a time. A fixed reserve sits as a single balance. We return it in one go, once we decide it is no longer needed. We review reserves on our own initiative. Where your business performs well, we may lower the target or lift the reserve altogether. A waiting period applies once that happens, and your terms tell you how long it is.
> [accordion] Example: We hold 10% of each payment until a โน4,50,000 fixed reserve is built
>
> Your payments come in at different sizes, so 10% of each is a different amount. The table below lists how the reserve balance builds up:
>
> | Payment | Held | Reserve Balance | Settles on Normal Cycle |
> | - | - | - | - |
> | โน2,00,000 | โน20,000 | โน20,000 | โน1,80,000 |
> | โน75,000 | โน7,500 | โน27,500 | โน67,500 |
> | โน3,20,000 | โน32,000 | โน59,500 | โน2,88,000 |
> | ... | ... | ... | ... |
> | โน1,10,000 | โน11,000 | โน4,42,000 | โน99,000 |
> | โน1,50,000 | โน8,000 | **โน4,50,000, target met** | โน1,42,000 |
> | โน90,000 | โน0 | โน4,50,000 | โน90,000 |
>
> We take only what the target still needs. On the โน1,50,000 payment, 10% would have been โน15,000, but only โน8,000 was still needed. The reserve never goes past โน4,50,000, and every payment after that settles in full.
## View Your Reserve Balance
Log in to the [Razorpay Dashboard](https://dashboard.razorpay.com/) and navigate to **Settlements**. Your balance appears as:
* **Total balance**: everything in your account.
* **Live balance**: available to settle.
* **Reserve balance**: currently held.
To see each hold, go to **Transactions** and open the **Reserves** tab. It lists each held amount, the payment it came from and the date we release it.
Your active reserve terms appear under **Account & Settings** โ **International payments**. These terms cover the percentage, the payments the reserve covers and the hold period.
Download your settlement and reserve reports to reconcile: amount processed, less amount held, equals amount settled. Know more about [settlement reports](/docs/payments/settlements/dashboard#reports).
## How We Review Reserves
We review every reserve periodically, usually every 3 to 6 months. As your account performance improves, we can reduce your reserve, narrow its scope or remove it.
Any change applies to payments from that point onward. Amounts we already hold stay on their original release schedule.
To reduce the chances of a reserve being placed or increased:
* Deliver promptly and share tracking details with your customers.
* Keep customers informed about delays or changes to their order.
* Keep your dispute rate below 1% of your sales.
* Process refunds quickly rather than letting complaints build up.
## Frequently Asked Questions (FAQs)
> [accordion] Is a reserve a fee or a charge?
>
> No. It is your money. We hold it temporarily and release it to you after deducting any disputed amounts it covers. We charge no fee on it.
> [accordion] Do I earn interest on money held in reserve?
>
> No. We hold the funds as a buffer, not as a deposit.
> [accordion] Why is my settlement lower than the payment amount?
>
> The reserve sits between the two. Your settlement report shows the amount processed, the amount held and the amount settled, so the two tie back.
> [accordion] Will all my international payments be delayed?
>
> Not necessarily. Which payments your reserve covers depends on your account profile. For some accounts it is only the non-3DS payments, for others it is all international payments. Payments outside your reserve settle on your normal cycle. Your terms tell you which applies to you, and your Dashboard shows which of your payments contributed to the reserve.
> [accordion] Which of my payments contributed to my reserve?
>
> Every held amount in your **Reserves** tab links back to the payment it came from. Use it to see which payments contributed and when we release each one.
> [accordion] Can I choose which setup applies to me?
>
> No. We set your terms based on your account profile.
> [accordion] Can I refund a customer using my reserve balance?
>
> No. We pay refunds from your live balance, or from refund credits if your live balance is short. Your reserve stays in place to cover disputes. If you refund often, keep enough live balance or refund credits available.
> [accordion] What happens if a dispute comes in?
>
> We debit the disputed amount from your live balance, as we do today. If your live balance does not cover it, we recover the shortfall from your next payments. We also take it from your reserve when we release it.
> [accordion] Will the reserve be there forever?
>
> No. We review reserves periodically and can reduce or remove them as your account performance improves.
> [accordion] What happens if I turn off international payments?
>
> We hold no further amounts. We release anything already held on its existing schedule, so those payments stay covered for any disputes raised later.
> [accordion] What happens to held funds if I close my account?
>
> We hold them for a period to cover any late disputes. We then release the balance to your registered bank account.
> [accordion] Am I exposed to exchange rate movement on held funds?
>
> No. We hold reserves in INR, after we convert your payment. The amount we hold and the amount we release are the same.
> [accordion] My FIRS shows a higher amount than what reached my bank account. Why?
>
> We issue your FIRS on the full amount received from abroad and converted to INR, which is correct. The remittance did come in. Part of it sits in your reserve and settles to you later. For that period the FIRS reads higher than your bank credits.
>
> Your Internal FIRS bridges the two. It carries the amount currently held and the date we release it, alongside the settlement date and UTR for each entry. Use it to reconcile what was realised against what reached your account. Submit it with your FIRS when you claim export benefits. Regenerate the Internal FIRS once all the settlements for a month have gone through, so the mapping is complete. Know more about the [FIRS Automated Process](/docs/payments/international-payments/firs-automated-process).
> [accordion] Can I have both a rolling reserve and a fixed reserve?
>
> No. Only one applies to your account at a time.
### Related Information
* [Accept Payments Above Your Transaction Limit](/docs/payments/international-payments/over-limit-transactions)
* [Support for Non-3D Secure Transactions](/docs/payments/international-payments/support-non-3ds)
* [About Settlements](/docs/payments/settlements)
* [Settlement FAQs](/docs/payments/settlements/faqs)
# Android Standard Checkout Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard
Check the prerequisites before you integrate with Razorpay Android Standard Checkout.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [card] [Android Standard SDK Changelog](/docs/payments/changelog#mobile-sdks)
>
> Discover new features, updates and deprecations related to Razorpay Android Standard SDK (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/android-integration/standard/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about Android Standard integration.
You can use Razorpay Standard SDK to integrate the Razorpay Payment Gateway with your Android Application.
> [!NOTE]
>
> **Handy Tips**
>
> * Starting from version 1.6.22, the Android Standard SDK includes codes in **Kotlin**. Please add the Kotlin library to your project.
>
> * Due to the [changes](https://support.google.com/googleplay/android-developer/answer/9047303) in Google Play Developer policy, we have removed auto-read SMS feature from Razorpay Android Standard SDK versions 1.5.1 and higher.
>
> However, if your Android app already has permission to read SMS, then Razorpay auto-reads it.
>
> * Upgrade to the latest version available on the [Maven Repository](https://mvnrepository.com/artifact/com.razorpay/checkout).
>
> * According to the PCI regulations, payment processing is not allowed on TLS v1. Hence, if the device does not have TLS v1.1 or v1.2, the SDK will throw an error in the `onPaymentError` method. Check the [TLS versions](https://developer.android.com/reference/javax/net/ssl/SSLSocket#default-configuration-for-different-android-versions).
>
> * If you are using SDK version below 1.6.15, you need to make [changes to your Android `Manifest.xml` file](/docs/payments/payment-gateway/android-integration/standard/troubleshooting-faqs).
> [!TIP]
>
> **Update SDK**
>
> Check your [current SDK version](/docs/payments/payment-gateway/android-integration/standard/troubleshooting-faqs#how-can-i-check-the-razorpay-android-standard-sdk-version). If it is outdated, please [update the SDK](/docs/payments/payment-gateway/android-integration/standard/troubleshooting-faqs#how-can-i-update-the-razorpay-android-standard-sdk-version) manually to ensure uninterrupted settlements of your funds.
>
> From version 1.6.40 onwards, the latest version is automatically updated, eliminating the need for manual updates.
## Integration Steps
**Before you proceed:**
Create a [Razorpay account](https://dashboard.razorpay.com/signup).
Generate the [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
Know about the [Payment Flow](/docs/payments/payment-gateway/how-it-works).
Follow these integration steps:
> [card] [1. Build Integration](/docs/payments/payment-gateway/android-integration/standard/integration-steps#1-build-integration)
>
> Integrate Android Standard SDK.
> [card] [2. Test Integration](/docs/payments/payment-gateway/android-integration/standard/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/android-integration/standard/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
> [card] [Sample App](https://github.com/razorpay/razorpay-android-sample-app/)
>
> Check the sample app to integrate on GitHub.
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Customisation Options
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/customisation
Add company logo and disable Checkout on full screen using the Razorpay Android Standard SDK.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
You can customise the Checkout form to suit your business needs. You can perform the following customisations:
* [Add Company Logo](/docs/payments/payment-gateway/android-integration/standard/customisation#add-company-logo).
* [Disable Checkout in Full Screen](/docs/payments/payment-gateway/android-integration/standard/customisation#disable-checkout-in-full-screen).
## Add Company Logo
By default, the Checkout form uses the logo specified in the **Account & Settings** section of the Dashboard. You can also set a custom logo in the Checkout form. Call the following method *before* you call the [`open` method](/docs/payments/payment-gateway/android-integration/standard/integration-steps#4-initiate-payment-and-display-checkout-form).
```java Add Custom Company Logo theme={null}
int image = R.drawable.logo; // Can be any drawable
checkout.setImage(image);
```
> [!NOTE]
>
> **Handy Tips**
>
> You can also pass the logo image as one of the checkout `options`.
> If you pass the image in `options` as well as through `drawable`, the image from drawable appears as the Checkout logo.
## Disable Checkout in Full Screen
The Checkout form runs in a separate activity. This activity picks up the theme from the Manifest file. Therefore, if you have a full screen theme, even the Checkout will run in full screen. It is suggested to disable the Checkout in full screen mode to enable the user to switch between various apps, for example, while entering the OTP.
If your app is in full screen mode, you can disable it for Checkout by calling the following method:
```java Disable Full Screen theme={null}
checkout.setFullScreenDisable(true)
```
### Related Information
[Integrate Payment Gateway using the Android Standard SDK](/docs/payments/payment-gateway/android-integration/standard)
# Google Play Console - Data Safety
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/google-data-safety
Guidelines for filling out Razorpay SDK-related data points in Google Play Data Safety form.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
The Data Safety section on the Google Play store enables merchants to help people understand what user data their app collects or shares. It also provides information of their app's key privacy and security practices. This helps users make more informed choices when installing apps.
**By July 20, 2022**, all developers must declare how they collect and handle user data for the apps they publish on Google Play and provide details about how they protect this data through security practices like encryption. This includes data collected and handled through any third-party libraries or SDKs used in their apps.
## Who is responsible for providing this data?
Merchant is responsible for making complete and accurate declarations in their app's store listing on Google Play. Google Play reviews apps across all policy requirements.
However, Google cannot determine how we use and handle the data on behalf of the developers. Only merchants possess all the information required to complete the Data Safety form.
## Video Tutorial
Watch this video to know how to fill out the Data Safety form.
[YouTube video player](https://www.youtube.com/embed/pNAS_0IcHtM)
## Data Safety
After you log in to [Google Play Console](https://play.google.com/console/u/0/developers/app/app-content/summary), navigate to **App Content** โ **Data Safety** and provide the relevant answers. These questions are categorised into three sub-sections as follows:
1. [Data Collection and Security](#data-collection-and-security)
2. [Data Types](#data-types)
3. [Data Usage and Handling](#data-usage-and-handling)
#### Data Collection and Security
This section contains questions about data collection, security and handling practices.
| Question | Developer Response |
| - | - |
| Does your app collect or share any of the required user data types? |
Yes: Answer **Yes** if you collect or share any [data types](#data-types).
No: Answer **No** if your app does not collect or share any user data types.
|
| Is all of the user data collected by your app encrypted in transit? |
Yes: Answer **Yes** if you encrypt all the data sent to your servers and other third parties. Razorpay SDK encrypts all data in transit.
No: Answer **No** if your app or a third party does not encrypt the collected user data.
|
| Do you provide a way for users to request that their data is deleted? |
Yes: Answer **Yes** if your app allows users to request the deletion of their data. Razorpay SDK allows users to delete data on request, provided the request meets regulatory guidelines.
No: Answer **No** if you do not provide your users with an option to delete their data.
|
#### Data Types
The following table will help you with privacy declaration for data types concerning Razorpay SDKs.
| Category | Data Type | Razorpay SDK Guideline |
| - | - | - |
| Location | Precise or Coarse location | **No**, Razorpay SDK does not collect approximate or precise location data. |
| Personal info | Name | **Yes**, if you have configured to transmit this data to Razorpay. |
| Personal info | Email Address | **Yes**, if you have configured to transmit this data to Razorpay. |
| Personal info | User IDs | **Yes**, if you have configured to transmit this data to Razorpay. |
| Personal info | Address | **Yes**, if you have configured to transmit this data to Razorpay. |
| Personal info | Phone number | **Yes**, if you have configured to transmit this data to Razorpay. |
| Personal info | Race and ethnicity | **No**, Razorpay does not collect this data. |
| Personal info | Political or religious beliefs | **No**, Razorpay does not collect this data. |
| Personal info | Sexual orientation | **No**, Razorpay does not collect this data. |
| Personal info | Other info | **No**, Razorpay does not collect this data. |
| Financial info | User payment info | **Yes**, Razorpay collects information about the user's financial accounts, such as credit card number. |
| Financial info | Purchase history | **Yes**, if you have configured to transmit this data to Razorpay. |
| Financial info | Credit score | **No**, Razorpay does not collect this data. |
| Financial info | Other financial info | **No**, Razorpay does not collect this data. |
| Health and fitness | Health info | **No**, Razorpay does not collect this data. |
| Health and fitness | Fitness info | **No**, Razorpay does not collect this data. |
| Messages | Emails | **No**, Razorpay does not collect this data. |
| Messages | SMS or MMS | **No**, Razorpay does not collect this data. |
| Messages | Other in-app messages | **No**, Razorpay does not collect this data. |
| Photos or videos | Photos | **No**, Razorpay does not collect this data. |
| Photos or videos | Videos | **No**, Razorpay does not collect this data. |
| Audio files | Voice or sound recordings | **No**, Razorpay does not collect this data. |
| Audio files | Music files | **No**, Razorpay does not collect this data. |
| Audio files | Other audio files | **No**, Razorpay does not collect this data. |
| Files and docs | Files and docs | **No**, Razorpay does not collect this data. |
| Calendar | Calendar events | **No**, Razorpay does not collect this data. |
| Contacts | Contacts | **No**, Razorpay does not collect this data. |
| App activity | App interactions | **Yes**, Razorpay SDK collects app interaction on screens rendered by SDK. |
| App activity | In-app search history | **No**, Razorpay does not collect this data. |
| App activity | Installed apps | **Yes**, only detection of installed UPI apps is done to enable [UPI intent](/docs/payments/payment-methods/upi/upi-intent) functionality. |
| App activity | Other user-generated content | **Yes**, if you have configured to transmit this data to Razorpay. |
| App activity | Other actions | **No**, Razorpay does not collect this data. |
| Web browsing | Web browsing history | **No**, Razorpay does not collect this data. |
| App info and performance | Crash logs | **Yes**, if you have configured to transmit this data to Razorpay. |
| App info and performance | Diagnostics | **Yes**, if you have configured to transmit this data to Razorpay. |
| App info and performance | Other app performance data | **Yes**, if you have configured to transmit this data to Razorpay. |
| Device or other IDs | Device or other IDs | **Yes**, if you have configured to transmit this data to Razorpay. |
#### Data Usage and Handling
#### Purpose of collecting information
Data collected by our SDK will be used only for the purpose of enabling the user to use the services provided by us, to help promote a safe service, calibrate consumer interest in our products and services, inform you about online offers and updates, troubleshoot problems, customise the user experience, detect and protect us against error, fraud and other criminal activity, collect money, enforce our terms and conditions, and as otherwise described to you or the user at the time of collection of such information.
#### Purpose of sharing information
We do not share user's Personal Information with any third party apart from financial institutions such as banks, RBI, or other regulatory agencies (as may be required) and to provide users with services that we offer through Razorpay, conduct quality assurance testing, facilitate the creation of accounts, provide technical and customer support, or provide specific services, such as synchronisation of your contacts with other software applications, following your instructions. These third parties are not required to use the user's Personal Information other than to provide the services requested by the user.
We may share users' Personal Information with our parent company, subsidiaries, joint ventures, or other companies under a common control (collectively, the "AFFILIATES") that we may have now or in the future, in which case we will require them to honour our Privacy Policy. If another company acquires our company or our assets, that company will possess your Personal Information, and will assume the rights and obligations with respect to that information as described in the Privacy Policy. We may disclose your Personal Information to third parties in a good faith belief that such disclosure is reasonably necessary to (a) take action regarding suspected illegal activities; (b) enforce or apply our terms and conditions and Privacy Policy; (c) comply with legal processes, such as a search warrant, subpoena, statute, or court order; or (d) protect our rights, reputation, and property, or that of our Users, Affiliates, or the public. Please note that we are not required to question or contest the validity of any search warrant, subpoena, or other similar governmental requests we receive.
We may disclose information in the aggregate to third parties relating to user behaviour in connection with the actual or prospective business relationship with those third parties, such as advertisers and content distributors. For example, we may disclose the number of users that have been exposed to, or clicked on, advertising banners.
## Privacy Link
For more information about privacy links, refer to [Razorpay Privacy Policy](https://razorpay.com/privacy/).
### Related Information
[Google Play - Data Safety](https://support.google.com/googleplay/android-developer/answer/10787469?hl=en)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/integration-steps
Steps to integrate your Android application with Razorpay Android Standard SDK.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Follow these steps to integrate your Android application:
> [card] [1. Build Integration](/docs/payments/payment-gateway/android-integration/standard/integration-steps#1-build-integration)
>
> Integrate Android Standard Checkout.
> [card] [2. Test Integration](/docs/payments/payment-gateway/android-integration/standard/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/android-integration/standard/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to Integrate Razorpay Payment Gateway on Android App](https://www.youtube.com/embed/MFQ3tz6P5Vw)
> [!WARNING]
>
> **Watch Out!**
>
> The Android app must have a `minSDKversion` of 19 or higher. If you want to support devices below API level 19, you must override `minSDKversion`. Use the sample code below to override `minSDKversion`:
>
> ```java Override minSDK theme={null}
> tools:overrideLibrary="com.razorpay"/>
> ```
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Install Razorpay Android Standard SDK
>
> To install the SDK in your Android project:
>
> Add the code given below to your project's top-level `build.gradle` file: \\
>
> This gives access to the SDK library.
>
> ```java build.gradle theme={null}
> repositories {
> mavenCentral()
> }
>
> dependencies {
> implementation 'com.razorpay:checkout:1.6.40'
> }
> ```
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > From version 1.6.40 onwards, the latest version is automatically updated, eliminating the need for manual updates.
> [accordion] 2 Initialize Razorpay Android Standard SDK
>
> Add your `` dynamically using Checkout's `setKeyId()` method. You can generate the [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard.
>
> To quickly load the `Checkout` form, the `preload` method of `Checkout` must be called much earlier than the other methods in the payment flow. The loading time of the preload resources can vary depending on your network's bandwidth.
>
> ```java Java theme={null}
> public class PaymentActivity extends Activity {
>
> // ...
>
> @Override
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
>
> /**
> * Preload payment resources
> */
> Checkout.preload(getApplicationContext());
>
> // ...
>
> checkout.setKeyID("");
>
> // ...
> }
> }
> ```
>
> ```java Kotlin theme={null}
> class PaymentActivity: Activity(), PaymentResultWithDataListener, ExternalWalletListener {
> // .....
> override fun onCreate(savedInstanceState: Bundle?) {
> super.onCreate(savedInstanceState)
> setContentView(R.layout.activity_payment)
> /*
> * To ensure faster loading of the Checkout form,
> * call this method as early as possible in your checkout flow
> * */
> Checkout.preload(applicationContext)
> val co = Checkout()
> // apart from setting it in AndroidManifest.xml, keyId can also be set
> // programmatically during runtime
> co.setKeyID("rzp_live_XXXXXXXXXXXXXX")
> }
> //......
> }
> ```
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > It is recommended to send the API Key ID from your server-side as app-related metadata fetch. Do not add API Keys in the `AndroidManifest` file.
> >
> > > [accordion] Proguard Rules
> > >
> > > If you are using Proguard for your builds, you must add the following lines to your `proguard-rules.pro` file.
> > >
> > > ```java theme={null}
> > > -keepclassmembers class * {
> > > @android.webkit.JavascriptInterface ;
> > > }
> > >
> > > -keepattributes JavascriptInterface
> > > -keepattributes *Annotation*
> > >
> > > -dontwarn com.razorpay.**
> > > -keep class com.razorpay.** {*;}
> > >
> > > -optimizations !method/inlining/*
> > >
> > > -keepclasseswithmembers class * {
> > > public void onPayment*(...);
> > > }
> > > ```
> >
> > > [accordion] SDK Integration Check
> > >
> > > Call `Checkout.sdkCheckIntegration(activity)` to check the health of integration. This will also let you know if the SDK version is outdated. This will only appear in debug mode and not in the release.
> [accordion] 3 Create an Order in Server
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order using:
>
> > [tab] API Sample Code
> >
> > Use this endpoint to create an order using the Orders API.
> >
> > `POST /orders`
> >
> > ```bash Curl theme={null}
> > curl -X POST https://api.razorpay.com/v1/orders
> > -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> > -H 'content-type:application/json'
> > -d '{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "qwsaq1",
> > "partial_payment": true,
> > "first_payment_min_amount": 230
> > }'
> > ```
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > JSONObject orderRequest = new JSONObject();
> > orderRequest.put("amount", 50000); // amount in the smallest currency unit
> > orderRequest.put("currency", "INR");
> > orderRequest.put("receipt", "order_rcptid_11");
> >
> > Order order = razorpay.Orders.create(orderRequest);
> > } catch (RazorpayException e) {
> > // Handle Exception
> > System.out.println(e.getMessage());
> > }
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > DATA = {
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "receipt#1",
> > "notes": {
> > "key1": "value3",
> > "key2": "value2"
> > }
> > }
> > client.order.create(data=DATA)
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->order->create(array('receipt' => '123', 'amount' => 50000, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> > ```
> >
> > ```csharp .NET theme={null}
> > RazorpayClient client = new RazorpayClient(your_key_id, your_secret);
> >
> > Dictionary options = new Dictionary();
> > options.Add("amount", 50000); // amount in the smallest currency unit
> > options.add("receipt", "order_rcptid_11");
> > options.add("currency", "INR");
> > Order order = client.Order.Create(options);
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > options = amount: 50000, currency: 'INR', receipt: ''
> > order = Razorpay::Order.create
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > instance.orders.create({
> > amount: 50000,
> > currency: "INR",
> > receipt: "receipt#1",
> > notes: {
> > key1: "value3",
> > key2: "value2"
> > }
> > })
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > data := map[string]interface{}{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "some_receipt_id"
> > }
> > body, err := client.Order.Create(data)
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id": "order_IluGWxBm9U8zJ8",
> > "entity": "order",
> > "amount": 50000,
> > "amount_paid": 0,
> > "amount_due": 50000,
> > "currency": "INR",
> > "receipt": "rcptid_11",
> > "offer_id": null,
> > "status": "created",
> > "attempts": 0,
> > "notes": [],
> > "created_at": 1642662092
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Order amount less than minimum amount allowed",
> > "source": "business",
> > "step": "payment_initiation",
> > "reason": "input_validation_failed",
> > "metadata": {},
> > "field": "amount"
> > }
> > }
> > ```
>
> > [tab] Razorpay Postman Public Workspace
> >
> > You can use the Postman workspace below to create an order:
> >
> > [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
> >
> > You can create an order manually by integrating the API sample codes on your server.
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount, expressed in the currency subunit. For example, for an actual amount of , the value of this field should be `22225`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be of 3 characters.
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7,000 is to be received from the customer in two installments of #1 - โน5,000, #2 - โน2,000, then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] 4 Initiate Payment and Display Checkout Form
>
> There are two ways to pass the checkout parameters. You can either use `payloadhelper` or the `JSONObject` options. We recommend using `payloadhelper` to ensure that the right data types are used for the parameter values.
>
> > [accordion] PayloadHelper
> >
> > Create a `JSONObject` to send it to the SDK.
> >
> > ```java Java theme={null}
> > PayloadHelper payloadHelper = new PayloadHelper("INR", 100, "order_XXXXXXXXX");
> > payloadHelper.setName("");
> > payloadHelper.setDescription("Description");
> > payloadHelper.setPrefillEmail("");
> > payloadHelper.setPrefillContact("");
> > payloadHelper.setPrefillCardNum("");
> > payloadHelper.setPrefillCardCvv("111");
> > payloadHelper.setPrefillCardExp("11/30");
> > payloadHelper.setPrefillMethod("card");
> > payloadHelper.setPrefillName("MerchantName");
> > payloadHelper.setSendSmsHash(true);
> > payloadHelper.setRetryMaxCount(4);
> > payloadHelper.setRetryEnabled(true);
> > payloadHelper.setColor("#000000");
> > payloadHelper.setAllowRotation(true);
> > payloadHelper.setRememberCustomer(true);
> > payloadHelper.setTimeout(10);
> > payloadHelper.setRedirect(true);
> > payloadHelper.setRecurring("1");
> > payloadHelper.setSubscriptionCardChange(true);
> > payloadHelper.setCustomerId("cust_XXXXXXXXXX");
> > payloadHelper.setCallbackUrl("https://accepts-posts.request");
> > payloadHelper.setSubscriptionId("sub_XXXXXXXXXX");
> > payloadHelper.setModalConfirmClose(true);
> > payloadHelper.setBackDropColor("#ffffff");
> > payloadHelper.setHideTopBar(true);
> > payloadHelper.setNotes(new JSONObject("{\"remarks\":\"Discount to customer\"}"));
> > payloadHelper.setReadOnlyEmail(true);
> > payloadHelper.setReadOnlyContact(true);
> > payloadHelper.setReadOnlyName(true);
> > payloadHelper.setImage("https://www.razorpay.com");
> > payloadHelper.setAmount(100);
> > payloadHelper.setCurrency("INR");
> > payloadHelper.setOrderId("order_XXXXXXXXXXXXXX");
> > ```
> >
> > ```java Kotlin theme={null}
> > val payloadHelper = PayloadHelper("INR", 100, "order_XXXXXXXXX")
> > payloadHelper.name = ""
> > payloadHelper.description = "Description"
> > payloadHelper.prefillEmail = ""
> > payloadHelper.prefillContact = ""
> > payloadHelper.prefillCardNum = ""
> > payloadHelper.prefillCardCvv = "111"
> > payloadHelper.prefillCardExp = "11/30"
> > payloadHelper.prefillMethod = "card"
> > payloadHelper.prefillName = "MerchantName"
> > payloadHelper.sendSmsHash = true
> > payloadHelper.retryMaxCount = 4
> > payloadHelper.retryEnabled = true
> > payloadHelper.color = "#000000"
> > payloadHelper.allowRotation = true
> > payloadHelper.rememberCustomer = true
> > payloadHelper.timeout = 10
> > payloadHelper.redirect = true
> > payloadHelper.recurring = "1"
> > payloadHelper.subscriptionCardChange = true
> > payloadHelper.customerId = "cust_XXXXXXXXXX"
> > payloadHelper.callbackUrl = "https://accepts-posts.request"
> > payloadHelper.subscriptionId = "sub_XXXXXXXXXX"
> > payloadHelper.modalConfirmClose = true
> > payloadHelper.backDropColor = "#ffffff"
> > payloadHelper.hideTopBar = true
> > payloadHelper.notes = JSONObject("{\"remarks\":\"Discount to customer\"}")
> > payloadHelper.readOnlyEmail = true
> > payloadHelper.readOnlyContact = true
> > payloadHelper.readOnlyName = true
> > payloadHelper.image = "https://www.razorpay.com"
> > // these values are set mandatorily during object initialization. Those values can be overridden like this
> > payloadHelper.amount=100
> > payloadHelper.currency="INR"
> > payloadHelper.orderId = "order_XXXXXXXXXXXXXX"
> > ```
> >
> > If you want to create certain options that are not available, add them to the `JSONObject` we get from `payloadHelper.getJson()`.
>
> > [accordion] JSONObject
> >
> > You can alternatively use the JSONObject options given below.
> >
> > Create an instance of the `Checkout` and pass the payment details and options as a `JSONObject`. Ensure that you add the `order_id` generated in [Step 3](/docs/payments/payment-gateway/android-integration/standard/integration-steps#3-create-an-order-in-server).
> >
> > ```java Java theme={null}
> > public void startPayment() {
> > checkout.setKeyID("");
> > /**
> > * Instantiate Checkout
> > */
> > Checkout checkout = new Checkout();
> >
> > /**
> > * Set your logo here
> > */
> > checkout.setImage(R.drawable.logo);
> >
> > /**
> > * Reference to current activity
> > */
> > final Activity activity = this;
> >
> > /**
> > * Pass your payment options to the Razorpay Checkout as a JSONObject
> > */
> > try {
> > JSONObject options = new JSONObject();
> >
> > options.put("name", "Merchant Name");
> > options.put("description", "Reference No. #123456");
> > options.put("image", "http://example.com/image/rzp.jpg");
> > options.put("order_id", "order_DBJOWzybf0sJbb");//from response of step 3.
> > options.put("theme.color", "#3399cc");
> > options.put("currency", "INR");
> > options.put("amount", "50000");//pass amount in currency subunits
> > options.put("prefill.email", "");
> > options.put("prefill.contact","");
> > JSONObject retryObj = new JSONObject();
> > retryObj.put("enabled", true);
> > retryObj.put("max_count", 4);
> > options.put("retry", retryObj);
> >
> > checkout.open(activity, options);
> >
> > } catch(Exception e) {
> > Log.e(TAG, "Error in starting Razorpay Checkout", e);
> > }
> > }
> > ```
> >
> > ```java Kotlin theme={null}
> > private fun startPayment() {
> > /*
> > * You need to pass the current activity to let Razorpay create CheckoutActivity
> > * */
> > val activity:Activity = this
> > val co = Checkout()
> >
> > try {
> > val options = JSONObject()
> > options.put("name","Razorpay Corp")
> > options.put("description","Demoing Charges")
> > //You can omit the image option to fetch the image from the Dashboard
> > options.put("image","http://example.com/image/rzp.jpg")
> > options.put("theme.color", "#3399cc");
> > options.put("currency","INR");
> > options.put("order_id", "order_DBJOWzybf0sJbb");
> > options.put("amount","50000")//pass amount in currency subunits
> >
> > val retryObj = new JSONObject();
> > retryObj.put("enabled", true);
> > retryObj.put("max_count", 4);
> > options.put("retry", retryObj);
> >
> > val prefill = JSONObject()
> > prefill.put("email","")
> > prefill.put("contact","")
> >
> > options.put("prefill",prefill)
> > co.open(activity,options)
> > }catch (e: Exception){
> > Toast.makeText(activity,"Error in payment: "+ e.message,Toast.LENGTH_LONG).show()
> > e.printStackTrace()
> > }
> > }
> > ```
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > When you paste the checkout options given above, the following error message appears: '`TAG` has private access in `androidx.fragment.app.FragmentActivity`'. You can resolve this by adding the following code:
> >
> > ```java Resolve TAG has private access theme={null}
> > public class MainActivity extends AppCompatActivity implements PaymentResultListener {
> > private static final String TAG = MainActivity.class.getSimpleName();
> > ```
>
> `Checkout.open()` launches the Checkout form where the customer completes the payment and returns the payment result via appropriate callbacks on the `PaymentResultListener`.
>
> **Payment Options in JSONObject**:
> All available options in the `Standard Web Checkout` are also available in Android.
>
> > [accordion] Checkout Options
> >
> > You must pass these parameters in Checkout to initiate the payment.
> >
> > `key` *mandatory*
> > : `string` API Key ID generated from the Dashboard.
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is , enter `222250` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the payment should be made by the customer. See the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY, and three decimal currencies, such as KWD, BHD, and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `name` *mandatory*
> > : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
> >
> > `description` *optional*
> > : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
> >
> > `image` *optional*
> > : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
> >
> > `order_id` *mandatory*
> > : `string` Order ID generated via [Orders API](/docs/api/orders).
> >
> > `prefill`
> > : `object` You can prefill the following details at Checkout.
> >
> > > [!NOTE]
> > >
> > > **Boost Conversions and Minimise Drop-offs**
> > >
> > > * Autofill customer contact details, especially phone number to ease form completion. Include customerโs phone number in the `contact` parameter of the JSON request's `prefill` object. Format: +(country code)(phone number). Example: "contact": "+919000090000".
> > > * This is not applicable if you do not collect customer contact details on your website before checkout, have Shopify stores or use any of the no-code apps.
> >
> > `name` *optional*
> > : `string` Cardholder's name to be prefilled if customer is to make card payments on Checkout. For example, **Gaurav Kumar**.
> >
> > `email` *optional*
> > : `string` Email address of the customer.
> >
> > `contact` *optional*
> > : `string` Phone number of the customer. The expected format of the phone number is `+ {country code}{phone number}`. If the country code is not specified, `91` will be used as the default value. This is particularly important while prefilling `contact` of customers with phone numbers issued outside India. **Examples**:
> >
> > * +14155552671 (a valid non-Indian number)
> > * +919977665544 (a valid Indian number). \
> > If 9977665544 is entered, `+91` is added to it as +919977665544.
> >
> > `method` *optional*
> > : `string` Pre-selection of the payment method for the customer. Will only work if `contact` and `email` are also prefilled. Possible values:
> >
> >
> >
`card`
> >
`netbanking`
> >
`wallet`
> >
`upi`
> >
`emi`
> >
> >
> > `notes` *optional*
> > : `object` Set of key-value pairs that can be used to store additional information about the payment. It can hold a maximum of 15 key-value pairs, each 256 characters long (maximum).
> >
> > `theme`
> > : `object` Thematic options to modify the appearance of Checkout.
> >
> > `color` *optional*
> > : `string` Enter your brand colour's HEX code to alter the text, payment method icons and CTA (call-to-action) button colour of the Checkout form.
> >
> > `backdrop_color` *optional*
> > : `string` Enter a HEX code to change the Checkout's backdrop colour.
> >
> > `modal`
> > : `object` Options to handle the Checkout modal.
> >
> > `backdropclose` *optional*
> > : `boolean` Indicates whether clicking the translucent blank space outside the Checkout form should close the form. Possible values:
> >
> > * `true`: Closes the form when your customer clicks outside the checkout form.
> > * `false` (default): Does not close the form when customer clicks outside the checkout form.
> >
> > `escape` *optional*
> > : `boolean` Indicates whether pressing the **escape** key should close the Checkout form. Possible values:
> >
> > * `true` (default): Closes the form when the customer presses the **escape** key.
> > * `false`: Does not close the form when the customer presses the **escape** key.
> >
> > `handleback` *optional*
> > : `boolean` Determines whether Checkout must behave similar to the browser when back button is pressed. Possible values:
> >
> > * `true` (default): Checkout behaves similarly to the browser. That is, when the browser's back button is pressed, the Checkout also simulates a back press. This happens as long as the Checkout modal is open.
> > * `false`: Checkout does not simulate a back press when browser's back button is pressed.
> >
> > `confirm_close` *optional*
> > : `boolean` Determines whether a confirmation dialog box should be shown if customers attempts to close Checkout. Possible values:
> >
> > * `true`: Confirmation dialog box is shown.
> > * `false` (default): Confirmation dialog box is not shown.
> >
> > `ondismiss` *optional*
> > : `function` Used to track the status of Checkout. You can pass a modal object with `ondismiss: function()\{\}` as options. This function is called when the modal is closed by the user. If `retry` is `false`, the `ondismiss` function is triggered when checkout closes, even after a failure.
> >
> > `animation` *optional*
> > : `boolean` Shows an animation before loading of Checkout. Possible values:
> >
> > * `true`(default): Animation appears.
> > * `false`: Animation does not appear.
> >
> > `subscription_id` *optional*
> > : `string` If you are accepting recurring payments using Razorpay Checkout, you should pass the relevant `subscription_id` to the Checkout. Know more about [Subscriptions on Checkout](/docs/api/payments/subscriptions-custom#checkout-integration).
> >
> > `subscription_card_change` *optional*
> > : `boolean` Permit or restrict customer from changing the card linked to the subscription. You can also do this from the [hosted page](/docs/payments/subscriptions/payment-retries#update-payment-method-on-our-hosted-page). Possible values:
> >
> > * `true`: Allow the customer to change the card from Checkout.
> > * `false` (default): Do not allow the customer to change the card from Checkout.
> >
> > `recurring` *optional*
> > : `boolean` Determines if you are accepting [recurring (charge-at-will) payments on Checkout](/docs/api/payments/recurring-payments) via instruments such as emandate, paper NACH and so on. Possible values:
> >
> > * `true`: You are accepting recurring payments.
> > * `false` (default): You are not accepting recurring payments.
> >
> > `callback_url` *optional*
> > : `string` Customers will be redirected to this URL on successful payment. Ensure that the domain of the Callback URL is allowlisted.
> >
> > `redirect` *optional*
> > : `boolean` Determines whether to post a response to the event handler post payment completion or redirect to Callback URL. `callback_url` must be passed while using this parameter. Possible values:
> >
> > * `true`: Customer is redirected to the specified callback URL in case of payment failure.
> > * `false` (default): Customer is shown the Checkout popup to retry the payment with the suggested next best option.
> >
> > `customer_id` *optional*
> > : `string` Unique identifier of customer. Used for:
> >
> > * [Local saved cards feature](/docs/payments/payment-methods/cards/features/saved-cards#manage-saved-cards).
> > * Static bank account details on Checkout in case of [Bank Transfer payment method](/docs/payments/payment-methods/bank-transfer).
> >
> > `remember_customer` *optional*
> > : `boolean` Determines whether to allow saving of cards. Can also be configured via the [Dashboard](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout). Possible values:
> >
> > * `true`: Enables card saving feature.
> > * `false` (default): Disables card saving feature.
> >
> > `timeout` *optional*
> > : `integer` Sets a timeout on Checkout, in seconds. After the specified time limit, the customer will not be able to use Checkout.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Some browsers may pause `JavaScript` timers when the user switches tabs, especially in power saver mode. This can cause the checkout session to stay active beyond the set timeout duration.
> >
> > `readonly`
> > : `object` Marks fields as read-only.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `name` *optional*
> > : `boolean` Used to set the `name` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `hidden`
> > : `object` Hides the contact details.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `send_sms_hash` *optional*
> > : `boolean` Used to auto-read OTP for cards and netbanking pages. Applicable from Android SDK version 1.5.9 and above. Possible values:
> >
> > * `true`: OTP is auto-read.
> > * `false` (default): OTP is not auto-read.
> >
> > `allow_rotation` *optional*
> > : `boolean` Used to rotate payment page as per screen orientation. Applicable from Android SDK version 1.6.4 and above. Possible values:
> >
> > * `true`: Payment page can be rotated.
> > * `false` (default): Payment page cannot be rotated.
> >
> > `retry` *optional*
> > : `object` Parameters that enable retry of payment on the checkout.
> >
> > `enabled`
> > : `boolean` Determines whether the customers can retry payments on the checkout. Possible values:
> >
> > * `true` (default): Enables customers to retry payments.
> > * `false`: Disables customers from retrying the payment.
> >
> > `max_count`
> > : `integer` The number of times the customer can retry the payment. We recommend you to set this to 4. Having a larger number here can cause loops to occur.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Web Integration does not support the `max_count` parameter. It is applicable only in Android and iOS SDKs.
> >
> > `config` *optional*
> > : `object` Parameters that enable checkout configuration. Know more about how to [configure payment methods on Razorpay standard checkout](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
> >
> > `display`
> > : `object` Child parameter that enables configuration of checkout display language.
> >
> > `language`
> > : `string` The language in which checkout should be displayed. Possible values:
> >
> > * `en`: English
> >
> > * `ben`: Bengali
> >
> > * `hi`: Hindi
> >
> > * `mar`: Marathi
> >
> > * `guj`: Gujarati
> >
> > * `tam`: Tamil
> >
> > * `tel`: Telugu
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > If you call the payment start method inside a fragment, ensure that the `fragment`'s parent `activity` implements the `PaymentResultListener` interface.
> [accordion] 5 Handle Success and Error Events
>
> You have the option to implement `PaymentResultListener` or `PaymentResultWithDataListener` to receive callbacks for the payment result.
>
> * `PaymentResultListener` provides only `payment_id` as the payment result.
> * `PaymentResultWithDataListener` provides additional payment data such as email and contact of the customer, along with the `order_id`, `payment_id`, `signature` and more.
>
> Use the code below to import the function in your `.java` file. This should be added at the beginning of the file.
>
> ```java PaymentResultListener theme={null}
> import com.razorpay.PaymentResultListener
> ```
>
> ```java PaymentResultWithDataListener theme={null}
> import com.razorpay.PaymentResultWithDataListener;
> ```
>
> > [accordion] 5.1 Sample Code
> >
> > Given below are the sample codes for implementation:
> >
> > ```java Java - PaymentResultListener theme={null}
> > public class PaymentActivity extends Activity implements PaymentResultListener {
> > // ...
> >
> > @Override
> > public void onPaymentSuccess(String razorpayPaymentID) {
> > /**
> > * Add your logic here for a successful payment response
> > */
> > }
> >
> > @Override
> > public void onPaymentError(int code, String response) {
> > /**
> > * Add your logic here for a failed payment response
> > */
> > }
> > }
> > ```
> >
> > ```kotlin Kotlin - PaymentResultListener theme={null}
> > class PaymentActivity: Activity(), PaymentResultListener {
> > // ...
> > override fun onPaymentError(errorCode: Int, response: String?) {
> > /**
> > * Add your logic here for a failed payment response
> > */
> > }
> >
> > override fun onPaymentSuccess(razorpayPaymentId: String?) {
> > /**
> > * Add your logic here for a successful payment response
> > */
> > }
> > ```
> >
> > ```java Java - PaymentResultWithDataListener theme={null}
> > public class PaymentActivity extends Activity implements PaymentResultWithDataListener {
> > // ...
> > @Override
> > public void onPaymentSuccess(String razorpayPaymentID, PaymentData paymentData) {
> > /**
> > * Add your logic here for a successful payment response
> > */
> > }
> > @Override
> > public void onPaymentError(int code, String response) {
> > /**
> > * Add your logic here for a failed payment response
> > */
> > }
> > }
> > ```
> >
> > ```kotlin Kotlin - PaymentResultWithDataListener theme={null}
> > class PaymentActivity: Activity(), PaymentResultWithDataListener {
> > // ...
> > override fun onPaymentError(errorCode: Int, response: String?) {
> > /**
> > * Add your logic here for a failed payment response
> > */
> > }
> > override fun onPaymentSuccess(razorpayPaymentId: String?, PaymentData: PaymentData) {
> > /**
> > * Add your logic here for a successful payment response
> > */
> > }
> > ```
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > * Razorpay's payment process takes place in a new activity. Since there are two activities involved, your activity can get corrupted or destroyed if the device is low on memory. These two methods should not depend on any variables not set through your life cycle hooks.
> > > * It is recommended that you test everything by enabling "Don't Keep Activities" in **Developer Options** under **Settings**.
>
> > [accordion] Error Codes
> >
> > The error codes are returned in the `onPaymentError` method:
> >
> > | Error\_Code | Description |
> > | - | - |
> > | `Checkout.NETWORK_ERROR` | There was a network error, for example, loss of internet connectivity. |
> > | `Checkout.INVALID_OPTIONS` | An issue with options passed in `checkout.open`. |
> > | `Checkout.PAYMENT_CANCELED` | The user canceled the payment. |
> > | `Checkout.TLS_ERROR` | The device does not support TLS v1.1 or TLS v1.2. |
>
> > [accordion] 5.2 Erase User Data from SDK
> >
> > The SDK stores customer-specific data such as email, contact number, and user-session cookies if the customer wants to make another payment in the same session. You can delete such sensitive information before another customer logs into the app.
> >
> > To erase customer data from the app, you can call the following method anywhere in your app.
> >
> > ```java Erase Customer Data theme={null}
> > Checkout.clearUserData(Context)
> > ```
> [accordion] 6 Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> > [accordion] Success Callback
> >
> > * You need to store these fields in your server.
> > * You can confirm the authenticity of these details by verifying the signature in the next step.
> >
> > ```json Success Callback theme={null}
> > {
> > "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> > "razorpay_order_id": "order_9A33XWu170gUtm",
> > "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> > }
> > ```
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] 7 Verify Payment Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> > [accordion] To verify the `razorpay_signature` returned to you by the Checkout form:
> >
> > 1. Create a signature in your server using the following attributes:
> > * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> > * `razorpay_payment_id`: Returned by Checkout.
> > * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
> > 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
> >
> > ```html HMAC Hex Digest theme={null}
> > generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
> >
> > if (generated_signature == razorpay_signature) {
> > payment is successful
> > }
> > ```
> >
> > 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
>
> > [accordion] Generate Signature on Your Server
> >
> > Given below is the sample code for payment signature verification:
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > String secret = "EnLs21M47BllR3X8PSFtjtbd";
> >
> > JSONObject options = new JSONObject();
> > options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > boolean status = Utils.verifyPaymentSignature(options, secret);
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->utility->verifyPaymentSignature(array('razorpay_order_id' => $razorpayOrderId, 'razorpay_payment_id' => $razorpayPaymentId, 'razorpay_signature' => $razorpaySignature));
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > payment_response = {
> > razorpay_order_id: 'order_IEIaMR65cu6nz3',
> > razorpay_payment_id: 'pay_IH4NVgf4Dreq1l',
> > razorpay_signature: '0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f'
> > }
> > Razorpay::Utility.verify_payment_signature(payment_response)
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > client.utility.verify_payment_signature({
> > 'razorpay_order_id': razorpay_order_id,
> > 'razorpay_payment_id': razorpay_payment_id,
> > 'razorpay_signature': razorpay_signature
> > })
> > ```
> >
> > ```c .NET theme={null}
> > RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > Dictionary options = new Dictionary();
> > options.Add("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.Add("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.Add("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > Utils.verifyPaymentSignature(options);
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > var { validatePaymentVerification, validateWebhookSignature } = require('./dist/utils/razorpay-utils');
> > validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > params := map[string]interface{}{
> > "razorpay_order_id": "order_IEIaMR65cu6nz3",
> > "razorpay_payment_id": "pay_IH4NVgf4Dreq1l",
> > }
> >
> > signature := "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f";
> > secret := "EnLs21M47BllR3X8PSFtjtbd";
> > utils.VerifyPaymentSignature(params, signature, secret)
> > ```
>
> > [accordion] Post Signature Verification
> >
> > After you have completed the integration, you can [set up webhooks](/docs/webhooks/setup-edit-payments), make test payments, replace the test key with the live key and integrate with other [APIs](/docs/api).
> [accordion] 8 Verify Payment Status
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > On the Razorpay Dashboard, ensure that the payment status is `captured`. Refer to the payment capture settings page to know how to [capture payments automatically](/docs/payments/payments/capture-settings).
>
> > [accordion] You can track the payment status in three ways:
> >
> > > [tab] Verify Status from Dashboard
> > >
> > > To verify the payment status from the Razorpay Dashboard:
> > >
> > > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > > 2. Check if a **Payment Id** has been generated and note the status. In case of a successful payment, the status is marked as **Captured**.
> > >
> > > 
> >
> > > [tab] Subscribe to Webhook Events
> > >
> > > You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to [set up webhooks.](/docs/webhooks/setup-edit-payments)
> > >
> > > #### Example
> > >
> > > If you have subscribed to the `order.paid` webhook event, you will receive a notification every time a customer pays you for an order.
> >
> > > [tab] Poll APIs
> > >
> > > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 2. Test Integration
After the integration is complete, a **Pay** button appears on your webpage/app.

Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
| Payment Method | Code | Availability |
| - | - | - |
| [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
| [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
| [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
| [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
| EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
| [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
| [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
You can make test payments using one of the payment methods configured at the Checkout.
> [accordion] Netbanking
>
> You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
>
> Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
> [accordion] UPI
>
> You can enter one of the following UPI IDs:
>
> * `success@razorpay`: To make the payment successful.
> * `failure@razorpay`: To fail the payment.
>
> Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
> [accordion] Cards
>
> You can use the following test cards to test transactions for your integration in Test Mode.
>
> ### Domestic Cards
>
> Use the following test cards for Indian payments:
>
> | Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> | Mastercard | 5500 6700 0000 1002 | |
> | RuPay | 6527 6589 0000 1005 | |
> | Diners | 3608 280009 1007 | |
> | Amex | 3402 560004 01007 | |
>
> #### Error Scenarios
>
> Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> Check the following lists:
>
> * [Supported Card Networks](/docs/payments/payment-methods/cards).
> * [Cards Error Codes](/docs/errors/payments/cards).
>
> ### International Cards
>
> Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
>
> | Card Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> | Visa | 4012 8888 8888 1881 | |
>
> Check the list of [supported card networks](/docs/payments/payment-methods/cards).
> [accordion] Wallet
>
> You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
>
> Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
## 3. Go-live Checklist
Check the go-live checklist for Razorpay Android Standard SDK. Consider these steps before taking the integration live.
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> [accordion] 3 Set Up Webhooks
>
> Ensure you have [set up webhooks](/docs/webhooks/setup-edit-payments) in the live mode and configured the events for which you want to receive notifications.
>
> > [!WARNING]
> >
> > **Implementation Considerations**
> >
> > Webhooks are the primary and most efficient method for event notifications. They are delivered asynchronously in near real-time. For critical user-facing flows that need instant confirmation (like showing "Payment Successful" immediately), supplement webhooks with API verification.
> >
> > **Recommended approach** \\
> >
> > * Rely on webhooks for all automation, which can be asynchronous.
> > * If a critical user-facing flow requires instant status, but the webhook notification has not arrived within the time mandated by your business needs, perform an immediate API Fetch call ([Payments](/docs/api/payments/fetch-with-id), [Orders](/docs/api/orders/fetch-with-id) and [Refunds](/docs/api/refunds/fetch-specific-refund-payment)) to verify the status.
### Related Information
[Google Play's Data Safety](/docs/payments/payment-gateway/android-integration/standard/google-data-safety)
# Additional Support for Payment Methods
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/payment-methods
Additional support features available for card, netbanking, wallets and more.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Use the Razorpay Android Standard SDK to integrate supported payment methods on the Checkout form of your Android app as per your business requirements. Here are some additional methods provided by the SDK for the integration and usage of payment methods:
[UPI Intent support on Target SDK Version 30 and above](#upi-intent-support-target-sdk-version-30+)
[UPI Intent on Recurring Payments](#upi-intent-on-recurring-payments)
[Card Utilities](#card-utilities)
[Fetch Logo](#fetch-bank-logo-url)
[Validate Data](#data-validation)
[Custom `WebViewClient` and `WebChromeClient`](#custom-webviewclient-and-webchromeclient)
## UPI Intent Support: Target SDK Version 30+
If your application `targetSdkVersion` is 30 or above, add the following code in your app's manifest file to support the UPI Intent flow.
```xml AndroidManifest.xml theme={null}
```
> [!NOTE]
>
> **Handy Tips**
>
> * Refer to the list of [supported UPI apps](/docs/payments/payment-methods/upi/supported-apps).
> * Additionally, we recommend you to create 2 sections - **Primary** and **Others**. Under **Primary**, display the following 4 apps:
> * GPay
> * PhonePe
> * Paytm
> * BHIM
## UPI Intent on Recurring Payments
Configure and initiate a recurring payment transaction on UPI Intent:
> [!WARNING]
>
> **Watch Out!**
>
> This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get it enabled on your Razorpay account.
```java Java theme={null}
JSONObject options = new JSONObject();
options.put("name", "Gaurav Kumar");
options.put("description", "Reference No. #123456");
options.put("image", "http://example.com/image/rzp.jpg");
options.put("order_id", "order_DBJOWzybf0XXXX"); // from response of order creation step
options.put("theme.color", "#3399cc");
options.put("currency", "INR");
options.put("amount", "50000"); // pass amount in currency subunits
options.put("prefill.email", "gaurav.kumar@example.com");
options.put("prefill.contact", "9000090000");
JSONObject retryObj = new JSONObject();
retryObj.put("enabled", true);
retryObj.put("max_count", 4);
options.put("retry", retryObj);
options.put("recurring", 1);
options.put("customer_id", "cust_xxxxxxxxx");
options.put("method", new JSONObject().put("upi", true));
```
```kotlin Kotlin theme={null}
val options = JSONObject()
options.put("name", "Gaurav Kumar")
options.put("description", "Reference No. #123456")
options.put("image", "http://example.com/image/rzp.jpg")
options.put("order_id", "order_DBJOWzybf0XXXX") // from response of order creation step
options.put("theme.color", "#3399cc")
options.put("currency", "INR")
options.put("amount", "50000") // pass amount in currency subunits
options.put("prefill.email", "gaurav.kumar@example.com")
options.put("prefill.contact", "9000090000")
val retryObj = JSONObject()
retryObj.put("enabled", true)
retryObj.put("max_count", 4)
options.put("retry", retryObj)
options.put("recurring", 1)
options.put("customer_id", "cust_xxxxxxxxx")
options.put("method", JSONObject().put("upi", true))
```
## Card Utilities
You can use these methods for card payment method integration.
* [Fetch card network](#fetch-card-network)
* [Validate card number](#validate-card-number)
* [Fetch card number length of a card network](#fetch-card-number-length-for-card-network)
#### Fetch Card Network
The SDK provides a method to get the card network name of the provided card number. \
* At least 6 digits of the card number are required to identify the network. \
* Possible values returned by this method are `visa`, `mastercard` and `unknown`.\
* If it is not able to identify the network it returns `unknown`.
```java Fetch Card Network theme={null}
razorpay.getCardNetwork(cardNumber);
```
#### Validate Card Number
You can determine the validity of the card number entered using the `isValidCardNumber` method. This is a checksum-based method to determine if the entered card number is valid or not.
```java Card Number Validation theme={null}
razorpay.isValidCardNumber(cardNumber);
```
#### Fetch Card Number Length for Card Network
You can fetch the length of a card number for a specific card network using the `getCardNetworkLength` method.
```java Fetch Length for Card Network theme={null}
razorpay.getCardNetworkLength(cardNetworkName);
```
## Logo
You can use the respective methods to fetch:
* [Bank Logo URL](#fetch-bank-logo-url)
* [Wallet Logo URL](#fetch-wallet-logo-url)
* [Square-shaped Wallet Logo URL](#fetch-wallet-square-logo-url)
#### Fetch Bank Logo URL
The SDK provides a method to fetch the bank logo's URL, here `bankCode` is the code of bank, you will be able to get it from the response received in `onPaymentMethodsReceived` callback.
```java Fetch Bank Logo URL theme={null}
razorpay.getBankLogoUrl(bankCode);
```
#### Fetch Wallet Logo URL
The SDK provides a method to get the wallet logo's URL.
```java Fetch Wallet Logo URL theme={null}
razorpay.getWalletLogoUrl(walletName);
```
#### Fetch Wallet Square Logo URL
The SDK provides a method to get the wallet's square-shaped logo's URL.
```java Fetch Wallet Square Logo URL theme={null}
razorpay.getWalletSqLogoUrl(walletName);
```
## Data Validation
The SDK provides basic validation for the payment data `JSONObject`. In case of a validation error, the SDK returns an error map in the `onValidationError` callback function.
#### Sample Code
The sample code shown below describes a validation error on the `contact` field:
```java Data Validation theme={null}
razorpay.validateFields(payload, new Razorpay.ValidationListener() {
@Override
public void onValidationSuccess() {
try {
razorpay.submit(payload);
} catch (Exception exception){}
}
@Override
public void onValidationError(Map error) {
/**
* The format for returned map is:
* "field" : "contact"
* "description" : "Descriptive error message"
*/
Toast.makeText(activity, "Validation: " + error.get("field") + " " + error.get("description"), Toast.LENGTH_SHORT).show();
}
});
```
## Custom `WebViewClient` and `WebChromeClient`
Our SDK sets an instance of `RazorpayWebViewClient` and `RazorpayWebChromeClient` to the Webview passed to facilitate bank page optimizations. If you want to set your own custom `WebViewClient` you have to extend `RazorpayWebViewClient` and pass it to our SDK.
> [!WARNING]
>
> **Watch Out!**
>
> This step is optional and is only required when you want to set a custom `WebViewClient`/`WebChromeClient`
#### Sample Code
The sample code given below shows how to customize the `RazorpayWebViewClient`:
```java Customize RazorpayWebViewClient theme={null}
/**
* Extend the RazorpayWebViewClient for your custom hooks
*/
razorpay.setWebviewClient(new RazorpayWebViewClient(razorpay){
@Override
public void onPageStarted(WebView view, String url, Bitmap favicon) {
// Make sure you do not forget to call the super method
super.onPageStarted(view, url, favicon);
Log.d(TAG, "Custom client onPageStarted");
}
@Override
public void onPageFinished(WebView view, String url) {
// Make sure you do not forget to call the super method
super.onPageFinished(view, url);
Log.d(TAG, "Custom client onPageFinished");
}
});
```
Similarly, you can set your own `WebChromeClient`:
```java Set WebChromeClient theme={null}
/**
* Extend the RazorpayWebChromeClient for your custom hooks
*/
razorpay.setWebChromeClient(new RazorpayWebChromeClient() {
@Override
public void onProgressChanged(WebView view, int newProgress) {
// Make sure you do not forget to call the super method
super.onProgressChanged(view, newProgress);
customProgressBar.setProgress(newProgress);
}
});
```
# Integrate Turbo UPI Mock SDK
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/payment-methods/integration-mock
Steps to integrate the Razorpay Turbo UPI Mock SDK with your app.
Available in
๐ฎ๐ณ India
Mock SDK is a tool designed to facilitate your integration with Turbo UPI. Unlike conventional integration methods that rely on the stability of partner banks and NPCI UAT environments, Mock SDK removes this dependency, streamlining the integration process.
> [accordion] Advantages
>
> * **No Dependency on UAT Environment**: Traditional integration methods often encounter obstacles due to issues with UAT environments. Mock SDK removes this roadblock, enabling you to integrate without external dependency.
> * **Streamlines Integration**: Mock SDK is designed to create a smoother integration experience, ensuring a hassle-free process. This allows you to quickly offer Turbo UPI services to the users.
> * **Effortless Integration for Essential Flows**: Mock SDK simplifies the process of integrating Turbo for important scenarios. This enables you to expand your range of UPI services for customers without dealing with complex requirements.
> * **Seamless Transition to Production**: After testing your integration with Mock SDK, you can smoothly transition to the Production SDK for final testing. This ensures a seamless and secure transition from development to live production.
> [accordion] Prerequisites
>
> 1. Contact our [integrations team](mailto:integrations@razorpay.com) to get your mobile number, app, and GitHub account whitelisted to get access to the `https://github.com/upi-turbo/android-turbo-sample-app` - sample app repository.
>
> * In this repository, you will find the AAR files (libraries for Turbo) and the sample app source code to help you do the entire integration.
> * The AARs on the main branch are for the production environment, the ones on the `TURBO-719` branch are for the UAT environment, and the `mock-product` is for the mock environment.
>
> These are the important files in the sample app repo:
>
> * `app/libs`: All libraries (Bank, SecureComponent, and Turbo).
>
> * `app/build.gradle`: All transitive dependencies needed to integrate Turbo SDK.
>
> 2. Integrate with the [Razorpay Android Standard Checkout SDK](/docs/payments/payment-gateway/android-integration/standard/integration-steps).
>
> 3. Import the following frameworks:
>
> * Checkout SDK
> * Razorpay Turbo Wrapper Plugin SDK (maven)
> * Razorpay Turbo Mock Core SDK
> * Razorpay Turbo Mock SDK
> * Razorpay SecureComponent SDK
> * Bank SDK
>
> 4. Add the following lines to your Android project's `gradle.properties` file:
>
> * `android.enableJetifier=true`
>
> * `android.useAndroidX=true`
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > * `minSDKversion` for using Turbo UPI is currently 19 and cannot be overwritten.
> > * API Key Usage for Different Environments:
> > * Use the `rzp_test_0wFRWIZnH65uny` API key id for testing on the UAT environment.
> > * Use the `rzp_test_vacN5cmVqNIlhO` API key id for testing on the Mock environment.
> > * Use the [Razorpay live keys](/docs/api/authentication#live-mode-api-keys) for prod testing.
> > * As a compliance requirement, you need to get approval from Google for READ\_SMS permission. Refer to the [Google article](https://support.google.com/googleplay/android-developer/answer/10208820?hl=en) for more details.
## 1. Integration Steps
Follow these steps to integrate with [Turbo UPI](/docs/payments/payment-gateway/android-integration/standard/payment-methods/turbo-upi).
## 2. Test Integration
Razorpay has three environments: Mock, UAT and Prod. We recommend the following:
* Complete the integration with the Mock environment.
* Perform the UAT using the Razorpay-provided API keys.
### 2.1 Test Data
Use the following data to test the integration.
> [accordion] Bank List
>
> | Bank id | Bank Name | IFSC |
> | - | - | - |
> | 1 | Axis | AXIS0000001 |
> | 2 | SBI | SBI00000001 |
> | 3 | HDFC | HDFC0000001 |
> | 4 | Yes | YES00000001 |
> [accordion] Bank Accounts
>
> | Bank id | Bank Name | Account Number | Beneficiary Name | Account Balance | UPI PIN | ATM PIN | Card Number | Expiry Date | CVV | OTP |
> | - | - | - | - | - | - | - | - | - | - | - |
> | 1 | Axis Bank | xxxx0001 | Pratheek | โน100 | Not Set | 1234 | 8000110001 | 01/25 | Random CVV | 123456 |
> | 2 | SBI Bank | xxxx0001 | Kushaal Singla | โน9,000 | Not Set | 1234 | 9000110001 | 01/25 | Random CVV | 123456 |
> | 2 | SBI Bank | xxxx0203 | Kushaal Singla | โน99,999 | 123456 | 1234 | 9599110203 | 01/25 | Random CVV | 123456 |
### 2.2 Test Case Coverage
Following are the various scenarios based on the dependencies.
> [accordion] Dependencies and Scenarios
>
> | S.No | Dependency | Positive Scenarios | Negative Scenarios |
> | - | - | - | - |
> | 1 | Device Binding | Device Binding |
SIM not found
SMS sending failed
Permissions not given
|
> | 2 | Account Linking |
Account found
PIN set
PIN not set
| No account for that number |
> | 3 | UPI ID generation |
|
> | 6 | Check Balance | Show Balance | Invalid PIN |
> | 7 | Delink Account | Success Only | NA |
### 2.3 How to Test?
Given are the various test cases and their sequential steps.
> [accordion] 3.1 Device Binding Success
>
> In the scenario of successful device binding, follow these simple steps:
>
> 1. Enter a mobile number that exists on the user's device.
> 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> 3. Grant all the required permissions as prompted.
> 4. The device binding process will initiate, including SMS sending.
> 5. After successful device binding, a list of banks for selection will appear.
> [accordion] 3.2 SIM not found
>
> In the event of a SIM card not being found, follow these steps:
>
> 1. Remove all SIM cards from the device.
> 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> 3. Grant all the required permissions as prompted.
> 4. A screen will be displayed with the error message No SIM found.
> [accordion] 3.3 Denied Permissions or Access Restricted
>
> When permissions are denied or access is restricted, follow these steps:
>
> 1. Enter a mobile number that exists on the user's device.
> 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> 3. Deny the required permissions when prompted.
> 4. A screen will be displayed, asking to allow the denied permissions.
> [accordion] 3.4 Account Found
>
> In the scenario where an account is found, follow these steps:
>
> 1. Enter a mobile number that exists on the user's device.
> 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> 3. Grant the required permissions when prompted.
> 4. The device binding process will initiate, including SMS sending.
> 5. After successful device binding, a list of banks for selection will appear.
> 6. Select Axis Bank or SBI Bank as mentioned in the [Test Data](#2-1-test-data).
> 7. The expected response should be `UpiTurboLinkAction = SELECT_BANK_ACCOUNT` with `action.getError()==null` (no errors).
> 8. The accounts based on the bank selection will be shown.
> [accordion] 3.5 PIN
>
> > [accordion] PIN set
> >
> > When it comes to setting or managing your PIN, follow these steps:
> >
> > 1. Enter a mobile number that exists on the user's device.
> > 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> > 3. Grant the necessary permissions when prompted.
> > 4. The device binding process will initiate, including SMS sending.
> > 5. After successful device binding, a list of banks for selection will appear.
> > 6. Select Axis Bank or SBI Bank as mentioned in the [Test Data](#2-1-test-data).
> > 7. The accounts based on the bank selection will be shown.
> > 8. Select the account ending with xxxx0203, as mentioned in the [Test Data](#2-1-test-data).
> > 9. The account will be linked, and the PIN will be set successfully.
>
> > [accordion] PIN not set
> >
> > When dealing with scenarios where a PIN is not set, follow these steps:
> >
> > 1. Enter a mobile number that exists on the user's device.
> > 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> > 3. Grant the necessary permissions when prompted.
> > 4. The device binding process will initiate, including SMS sending.
> > 5. After successful device binding, a list of banks for selection will appear.
> > 6. Select Axis Bank or SBI Bank as mentioned in the [Test Data](#2-1-test-data).
> > 7. The accounts based on the bank selection will be shown.
> > 8. Select an account ending with xxxx0001, as mentioned in the [Test Data](#2-1-test-data).
> > 9. A card details screen will be displayed.
>
> > [accordion] No Account for Specified Number
> >
> > When there is no account associated with a particular number, follow these steps:
> >
> > 1. Enter a mobile number that exists on the user's device.
> > 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> > 3. Grant the necessary permissions when prompted.
> > 4. The device binding process will initiate, including SMS sending.
> > 5. After successful device binding, a list of banks for selection will appear.
> > 6. Select HDFC or Yes Bank as mentioned in the [Test Data](#2-1-test-data).
> > 7. A screen will appear with the error message No bank account found.
>
> > [accordion] PIN set Successfully
> >
> > For a successful PIN setup, follow these steps:
> >
> > 1. Enter a mobile number that exists on the user's device.
> > 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> > 3. Grant the necessary permissions when prompted.
> > 4. The device binding process will initiate, including SMS sending.
> > 5. After successful device binding, a list of banks for selection will appear.
> > 6. Select Axis Bank or SBI Bank as mentioned in the [Test Data](#2-1-test-data).
> > 7. The accounts based on the bank selection will be shown.
> > 8. Select an account ending with xxxx0001, as mentioned in the [Test Data](#2-1-test-data).
> > 9. A card details screen will be displayed. Enter the details from [Test Data](#2-1-test-data).
> > 10. Enter bank OTP from [Test Data](#2-1-test-data) on the next screen then proceed.
> > 11. Enter and confirm the PIN on the subsequent screens.
>
> > [accordion] Incorrect OTP
> >
> > In situations where an incorrect OTP is encountered, follow these steps:
> >
> > 1. Enter a mobile number that exists on the user's device.
> > 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> > 3. Grant the necessary permissions when prompted.
> > 4. The device binding process will initiate, including SMS sending.
> > 5. After successful device binding, a list of banks for selection will appear.
> > 6. Select Axis Bank or SBI Bank as mentioned in the [Test Data](#2-1-test-data).
> > 7. The accounts based on the bank selection will be shown.
> > 8. Select an account ending with xxxx0001, as mentioned in the [Test Data](#2-1-test-data).
> > 9. A card details screen will be displayed. Enter the details form [Test Data](#2-1-test-data)
> > 10. Enter any random OTP except for 123456.
>
> > [accordion] Incorrect Card Details (Reset PIN)
> >
> > When dealing with resetting your PIN with incorrect card details, follow these steps:
> >
> > 1. Enter a mobile number that exists on the user's device.
> > 2. Call `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> > 3. Grant the necessary permissions when prompted.
> > 4. The device binding process will initiate, including SMS sending.
> > 5. After successful device binding, a list of banks for selection will appear.
> > 6. Select Axis Bank or SBI Bank as mentioned in the [Test Data](#2-1-test-data).
> > 7. The accounts based on the bank selection will be shown.
> > 8. Select an account ending with xxxx0001, as mentioned in the [Test Data](#2-1-test-data).
> > 9. Enter incorrect card details.
> [accordion] 3.6 UPI ID
>
> > [accordion] New UPI ID Creation (PIN already set)
> >
> > For the scenario of creating a new UPI ID with an already set PIN, follow these steps:
> >
> > 1. Enter a mobile number that exists on the user's device.
> > 2. Call the `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> > 3. Grant all the required permissions as prompted.
> > 4. The device binding process will initiate, including SMS sending.
> > 5. After successful device binding, a screen with a list of Banks will be displayed for Bank selection.
> > 6. Select Axis Bank or SBI Bank as mentioned in the [Test Data](#2-1-test-data).
> > 7. The accounts based on bank selection will be shown.
> > 8. Select an account ending with xxxx0203, as mentioned in the [Test Data](#2-1-test-data).
> > 9. Expect the final response to confirm that an account with a UPI ID is linked successfully.
>
> > [accordion] New UPI ID Creation (PIN not set)
> >
> > For the scenario of creating a new UPI ID without a set PIN, follow these steps:
> >
> > 1. Enter a mobile number that exists on the user's device.
> > 2. Call the `razorpay.upiTurbo.linkNewUpiAccountWithUI` method.
> > 3. Grant all the required permissions as prompted.
> > 4. The device binding process will initiate, including SMS sending.
> > 5. After successful device binding, a screen with a list of Banks will be displayed for Bank selection.
> > 6. Select Axis Bank or SBI Bank as mentioned in the [Test Data](#2-1-test-data).
> > 7. The accounts based on bank selection will be shown.
> > 8. Select an account ending with xxxx0001, as mentioned in the [Test Data](#2-1-test-data).
> > 9. A card detail screen will be displayed. Enter the details from [Test Data](#2-1-test-data).
> > 10. Enter the bank OTP from [Test Data](#2-1-test-data) on the next screen, then proceed.
> > 11. Enter and confirm the PIN on the subsequent screens.
> [accordion] 3.7 Manage Accounts
>
> > [accordion] Show Balance
> >
> > For scenarios related to checking your balance, follow these steps:
> >
> > 1. Enter a mobile number that is already registered on the device.
> > 2. Call `razorpay.upiTurbo.manageUpiAccounts` method.
> > 3. A list of linked accounts will be displayed.
> > 4. Select the account for which you want to check the balance.
> > 5. Click on Check Balance, then enter the correct PIN when prompted.
> > 6. The balance for the selected account will be displayed.
>
> > [accordion] Check Balance - Invalid PIN
> >
> > When it comes to scenarios focused on checking your balance, follow these steps:
> >
> > 1. Enter a mobile number that exists on the user's device.
> > 2. Call the `razorpay.upiTurbo.manageUpiAccounts` method.
> > 3. A list of linked accounts will be displayed.
> > 4. Select the account for which you want to check the balance.
> > 5. Click on Check Balance.
> > 6. Enter an incorrect PIN when prompted.
> > 7. An error message will be displayed indicating that the provided PIN is invalid or does not match the expected PIN.
>
> > [accordion] Delink Account - Success
> >
> > When it comes to scenarios related to delinking your account, follow these steps:
> >
> > 1. Enter a mobile number that is already registered on the device.
> > 2. Call `razorpay.upiTurbo.manageUpiAccounts` method.
> > 3. A list of linked accounts will be displayed.
> > 4. Select the account you wish to delink.
> > 5. Click on the option to delink or remove the account.
> > 6. A confirmation alert will be displayed, confirming that your account has been successfully delinked.
>
> > [accordion] Change PIN - Success
> >
> > When it comes to successfully changing your PIN, follow these steps:
> >
> > 1. Enter a mobile number that is registered on the device.
> > 2. Call `razorpay.upiTurbo.manageUpiAccounts` method.
> > 3. A list of linked accounts will be presented.
> > 4. Select the specific account for which you intend to change the PIN.
> > 5. Click on Change PIN, and proceed to enter the current PIN, along with the new PIN, and confirm the new PIN on the subsequent screens.
>
> > [accordion] Change PIN - Failure
> >
> > When attempting to change your PIN but encountering a failure, follow these steps:
> >
> > 1. Enter a mobile number that is registered on the device.
> > 2. Call `razorpay.upiTurbo.manageUpiAccounts` method.
> > 3. A list of linked accounts will be displayed.
> > 4. Select the specific account for which you wish to change the PIN.
> > 5. Click on Change PIN and proceed to enter an incorrect PIN, or enter a new PIN and a different PIN while confirming it.
>
> > [accordion] Reset PIN - Success
> >
> > To successfully reset your PIN, proceed with the following steps:
> >
> > 1. Enter a mobile number that is registered on the device.
> > 2. Call the `razorpay.upiTurbo.manageUpiAccounts` method.
> > 3. View the list of linked accounts.
> > 4. Select the specific account for which you wish to reset the PIN.
> > 5. Click on Reset PIN and follow the prompts to input the bank OTP from the [Test Data](#2-1-test-data).
> > 6. Enter the new PIN and confirm it on the subsequent screens.
> [!WARNING]
>
> **Watch Out!**
>
> * Device Binding will only work if the user has at least one SIM card in their mobile device.
> * Users can set/reset the UPI PIN. The configured PIN will be used to validate the transaction.
> * Based on the [Test Data](#2-1-test-data) for bank accounts, choose a bank for a single, multiple or no bank account.
> * Use the same ATM PIN and card Number mentioned in the [Test Data](#2-1-test-data).
> * The UPI PIN will revert to its default setting or be removed when you uninstall or clear storage.
> * Amount โน24 is blocked for special cases. Please refer to [Additional Cases](#2-4-additional-cases).
### 2.4 Additional Cases
Businesses should have the capability to display a user-friendly message to their customers for certain special or additional error scenarios. The SDK is equipped to simulate some of these cases.
| Action | Input Data | Code | Description |
| - | - | - | - |
| Pay | Amount = โน24 | 91 | Timeout |
### 2.5 TPV Cases
* Only one TPV whitelisted account (ending with xxxx0203) is permitted. Payments made using any other accounts will fail with the error Payment failed because the account linked to VPA is invalid.
* Payment can be made multiple times when using Mock for any given `order_id`, which is not the case in production.
* Use the `rzp_test_V5AtnjYvupQXm1` API key id for TPV testing on the Mock environment.
## 3. Go-live Checklist
Complete this [Go-live Checklist](/docs/payments/payment-gateway/android-integration/custom/payment-methods/turbo-upi/integration-ui#3-go-live-checklist) to take your integration live.
# Integrate Turbo UPI TPV
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/payment-methods/integration-tpv
Know how Razorpay performs Third-Party Validation (TPV) of investor bank accounts in real-time using Razorpay Turbo UPI on Standard Checkout.
Available in
๐ฎ๐ณ India
Third-party validation (TPV) of bank accounts is mandatory for businesses in the BFSI (Banking, Financial Services and Insurance) sector dealing with Securities, Broking and Mutual Funds. You can accept customer payments with the Turbo UPI TPV SDK. Know more about [How TPV works](/docs/payments/third-party-validation#how-it-works).
> [!WARNING]
>
> **Watch Out!**
>
> You can choose to maintain a whitelisted account per customer using the S2S [Customer Add Bank Account API](/docs/api/customers/bank-accounts#1-add-bank-account-of-customer) on your end. This is an additional functionality. This will help you during the onboarding flow, where only whitelisted accounts will be shown to the users during onboarding.
> [accordion] Prerequisites
>
> 1. Contact our [integrations team](mailto:integrations@razorpay.com) to get your mobile number, app, and GitHub account whitelisted to get access to the `https://github.com/upi-turbo/android-standard-turbo-sample` - sample app repository.
>
> * In this repository, you will find the AAR files (libraries for Turbo UPI) and the sample app source code to help you with the integration.
> * The AARs on the main branch are for the production environment, the ones on the `TURBO-719` branch are for the UAT environment and the ones on `mock-product` are for the Mock environment.
>
> These are the important files in the sample app repo:
>
> * `app/libs`: All libraries (Bank, SecureComponent and Turbo).
> * `app/build.gradle`: All transitive dependencies needed to integrate Turbo SDK.
>
> 2. Integrate with the [Razorpay Android Standard Checkout SDK](/docs/payments/payment-gateway/android-integration/standard/integration-steps).
>
> 3. Import the following frameworks:
> * Checkout SDK
> * Razorpay Turbo Wrapper Plugin SDK (maven)
> * Razorpay Turbo Core SDK
> * Razorpay Turbo UI SDK
> * Razorpay SecureComponent SDK
> * Bank SDK
>
> 4. Add the following lines to your Android project's `gradle.properties` file:
> * `android.enableJetifier=true`
>
> * `android.useAndroidX=true`
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > * `minSDKversion` for using Turbo UPI is currently 19 and cannot be overwritten.
> > * API Key Usage for Different Environments:
> > * Use the `rzp_test_5sHeuuremkiApj` API key id for testing on the UAT environment.
> > * Use the `rzp_test_V5AtnjYvupQXm1` API key id for testing on the Mock environment.
> > * Use the [Razorpay live keys](/docs/api/authentication#live-mode-api-keys) for prod testing.
> > * As a compliance requirement, you need to get approval from Google for **READ\_SMS** permission. Refer [to the Google article](https://support.google.com/googleplay/android-developer/answer/10208820?hl=en) for more details.
## 1. Integration Steps
Given below are the steps:
> [accordion] Step 1: Whitelist Customer Bank Accounts *(Optional)*
>
> You can whitelist (also known as allowlist) your customer's bank accounts to ensure that only those accounts are considered during customer onboarding. By whitelisting the accounts at the start, you can avoid the bank account linking during payment. Use the Customer APIs to create customers and add their bank account details.\\
>
> For example, if a customer, Gaurav, has two bank accounts ABC and XYZ, you can use the APIs to create a customer id and link the bank accounts to that id. You can then pass this customer id at the time of payment.\\
>
> Follow these steps.
>
> > [accordion] Step 1.1: Create a Customer
> >
> > Use this endpoint to create or add a customer with basic details such as name and contact details.
> >
> > ```bash Request theme={null}
> > curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> > -X POST https://api.razorpay.com/v1/customers \
> > -H "Content-Type: application/json" \
> > -d '{
> > "name": "Gaurav Kumar",
> > "contact": "9123456780",
> > "email": "gaurav.kumar@example.com",
> > "fail_existing": "0",
> > "notes": {
> > "notes_key_1": "Tea, Earl Grey, Hot",
> > "notes_key_2": "Tea, Earl Greyโฆ decaf."
> > }
> > }'
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id" : "cust_1Aa00000000004",
> > "entity": "customer",
> > "name" : "Gaurav Kumar",
> > "email" : "gaurav.kumar@example.com",
> > "contact" : "9123456780",
> > "gstin": null,
> > "notes": {
> > "notes_key_1":"Tea, Earl Grey, Hot",
> > "notes_key_2":"Tea, Earl Greyโฆ decaf."
> > },
> > "created_at ": 1234567890
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Contact number should be at least 8 digits, including country code",
> > "source": "business",
> > "step": "NA",
> > "reason": "invalid_contact_number",
> > "metadata": {},
> > "field": "contact"
> > }
> > }
> > ```
> >
> > > [accordion] Request Parameters
> > >
> > > `name` *optional*
> > > : `string` Customer's name. Alphanumeric value with period (.), apostrophe ('), forward slash (/), at (@) and parentheses are allowed. The name must be between 3-50 characters in length. For example, `Gaurav Kumar`.
> > >
> > > `contact ` *optional*
> > > : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919876543210`.
> > >
> > > `email ` *optional*
> > > : `string` The customer's email address. A maximum length of 64 characters. For example, `gaurav.kumar@example.com`.
> > >
> > > `fail_existing` *optional*
> > > : `string` Possible values:
> > >
> > > * `1` (default): If a customer with the same details already exists, throws an error.
> > > * `0`: If a customer with the same details already exists, fetches details of the existing customer.
> > >
> > > `gstin` *optional*
> > > : `string` Customer's GST number, if available. For example, `29XAbbA4369J1PA`.
> > >
> > > `notes` *optional*
> > > : `object` This is a key-value pair that can be used to store additional information about the entity. It can hold a maximum of 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > > [accordion] Response Parameters
> > >
> > > `id`
> > > : `string` Unique identifier of the customer. For example, `cust_1Aa00000000004`.
> > >
> > > `name`
> > > : `string` Customer's name. Alphanumeric, with period (.), apostrophe ('), forward slash (/), at (@) and parentheses allowed. The name must be between 3-50 characters in length. For example, `Gaurav Kumar`.
> > >
> > > `contact`
> > > : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919876543210`.
> > >
> > > `email`
> > > : `string` The customer's email address. A maximum length of 64 characters. For example, `gaurav.kumar@example.com`.
> > >
> > > `gstin`
> > > : `string` GST number linked to the customer. For example, `29XAbbA4369J1PA`.
> > >
> > > `notes`
> > > : `json object` This is a key-value pair that can be used to store additional information about the entity. It can hold a maximum of 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> > >
> > > `created_at`
> > > : `integer` UNIX timestamp, when the customer was created. For example, `1234567890`.
>
> > [accordion] Step 1.2: Add Customer's Bank Account
> >
> > The following endpoint adds the customer's bank accounts.
> >
> > `POST customers/:customer_id/bank_account`
> >
> > ```bash Request theme={null}
> > curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> > -X POST https://api.razorpay.com/v1/customers/:customer_id/bank_account \
> > -H "Content-Type: application/json" \
> > -d '{
> > "ifsc_code" : "UTIB0000194",
> > "account_number" :"916010082985661",
> > "beneficiary_name" : "Gaurav",
> > "beneficiary_address1" : "address 1",
> > "beneficiary_address2" : "address 2",
> > "beneficiary_address3" : "address 3",
> > "beneficiary_address4" : "address 4",
> > "beneficiary_email" : "gaurav.kumar@example.com",
> > "beneficiary_mobile" : "9900990099",
> > "beneficiary_city" :"Bangalore",
> > "beneficiary_state" : "KA",
> > "beneficiary_country" : "IN"
> > }'
> > ```
> >
> > ```json Response theme={null}
> > {
> > "id": "ba_LSZht1Cm7xFTwF",
> > "entity": "bank_account",
> > "ifsc": "ICIC0001207",
> > "bank_name": "ICICI Bank",
> > "name": "Gaurav Kumar",
> > "notes": [],
> > "account_number": "XXXXXXXXXXXXXXX0434"
> > }
> > ```
> >
> > > [accordion] Path Parameter
> > >
> > > `customer_id` *mandatory*
> > > : `string` Customer id of the customer whose bank account is to be added.
> >
> > > [accordion] Request Parameters
> > >
> > > `account_number` *mandatory*
> > > : `string` Customer's bank account number. For example, `11214311215411`.
> > >
> > > `beneficiary_name` *mandatory*
> > > : `string` The name of the beneficiary associated with the bank account.
> > >
> > > `beneficiary_address1` *optional*
> > > : `string` The virtual payment address.
> > >
> > > `beneficiary_email` *optional*
> > > : `string` Email address of the beneficiary. For example, `gaurav.kumar@example.com`.
> > >
> > > `beneficiary_mobile` *optional*
> > > : `string` Mobile number of the beneficiary.
> > >
> > > `beneficiary_city` *optional*
> > > : `string` The city of the beneficiary.
> > >
> > > `beneficiary_state` *optional*
> > > : `string` The state of the beneficiary.
> > >
> > > `beneficiary_country` *optional*
> > > : `string` The country of the beneficiary.
> > >
> > > `beneficiary_pin` *optional*
> > > : `integer` The pin code of the beneficiary's address.
> > >
> > > `ifsc_code` *mandatory*
> > > : `string` The IFSC of the bank branch associated with the account.
> >
> > > [accordion] Response Parameters
> > >
> > > `bank_accounts`
> > > : `array` An array containing bank account details.
> > >
> > > `id`
> > > : `string` Unique identifier of the bank account.
> > >
> > > `entity`
> > > : `string` The type of entity, which in this case is `bank_account`.
> > >
> > > `ifsc`
> > > : `string` The IFSC of the bank branch associated with the account.
> > >
> > > `bank_name`
> > > : `string` The name of the bank.
> > >
> > > `name`
> > > : `string` The name associated with the bank account.
> > >
> > > `notes`
> > > : `object` Set of key-value pairs that can be used to store additional information about the payment.
> > >
> > > `account_number`
> > > : `integer` Customer's bank account number. For example, `0002020000304030434`.
> [accordion] Step 2: Create an Order *(Mandatory)*
>
> Pass the investor bank account details to the `bank_account` array of the Orders API. Given below is the sample code when the `method` is `upi`.
>
> ```bash Request theme={null}
> curl -u : \
> -X POST https://api.razorpay.com/v1/orders \
> -H "Content-Type: application/json" \
> -d '{
> "amount": 500,
> "method": "upi",
> "receipt": "BILL13375649",
> "currency": "INR",
> "bank_account": {
> "account_number": "765432123456789",
> "name": "Gaurav Kumar",
> "ifsc": "HDFC0000053"
> }
> }'
> ```
>
> ```json Response theme={null}
> {
> "id": "order_GAWRjlWkVcRh0V",
> "entity": "order",
> "amount": 500,
> "amount_paid": 0,
> "amount_due": 500,
> "currency": "INR",
> "receipt": "BILL13375649",
> "offer_id": null,
> "status": "created",
> "attempts": 0,
> "notes": [],
> "created_at": 1573044206
> }
> ```
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount expressed in paise (currency supported is INR). For example, for an actual amount of โน1, the value of this field should be `100`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. You can create orders in **INR** only.
> >
> > `receipt` *optional*
> > : `string` Receipt number that corresponds to this order, set for your internal reference. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `method` *mandatory*
> > : `string` The payment method used to make the payment. If this parameter is not passed, investors will be able to make payments using both netbanking and UPI payment methods. Possible values:
> >
> > * `netbanking`: Investors can make payments only using netbanking.
> > * `card`: Investors can make payments using debit card.
> > * `upi`: Investors can make payments only using UPI.
> >
> > `bank_account` *mandatory*
> > : `object` Details of the bank account that the investor has provided at the time of registration.
> >
> > `account_number` *mandatory*
> > : `string` The bank account number from which the investor should make the payment. For example, `765432123456789` Payments will not be processed for an incorrect account number.
> >
> > `name` *mandatory*
> > : `string` The name linked to the bank account. For example, `Gaurav Kumar`.
> >
> > `ifsc` *mandatory*
> > : `string` The bank IFSC. For example, `HDFC0000053`.
>
> > [accordion] Response Parameters
> >
> > `id`
> > : `string` Unique identifier of the order.
> >
> > `entity`
> > : `string` Indicates the type of entity. Here, it is `order`.
> >
> > `amount`
> > : `integer` The order amount represented in the smallest unit of the currency passed. For example, amount = 100 translates to 100 paise, that is โน1 (default currency is INR).
> >
> > `amount_paid`
> > : `integer` The amount that has been paid.
> >
> > `amount_due`
> > : `integer` The amount that is yet to be paid.
> >
> > `currency`
> > : `string` The 3-letter ISO currency code for the payment. Currently, we support INR only.
> >
> > `receipt`
> > : `string` A unique identifier of the order entered by the user. For example, `BILL13375649`.
> >
> > `status`
> > : `string` The status of the order.
> >
> > `notes`
> > : `object` Key-value pair you can use to store additional information about the entity. Maximum of 15 key-value pairs, 256 characters each. For example, "note\_key": "Beam me up Scottyโ.
> >
> > `created_at`
> > : `integer` The Unix timestamp at which the order was created.
> >
> > `offer_id`
> > : `string` Unique identifier of the offer.
> >
> > `attempts`
> > : `integer` The number of payment attempts, successful and failed, that have been made against this order.
> [accordion] Step 3: Turbo UPI SDK Action
>
> You need to link the customer's UPI account with your app. Use the code samples given below to [link a New UPI account](#2-link-new-upi-account).
>
> > [accordion] 1 Initialise the SDK
> >
> > Use the code given below to initialise the SDK.
> >
> > ```java Java theme={null}
> > Checkout checkout = new Checkout()
> > .upiTurbo(activity) //mandatory
> > .setColor("/*color*/ #000000"); //optional
> > ```
> >
> > ```kotlin Kotlin theme={null}
> > val checkout = Checkout()
> > .upiTurbo(activity) // mandatory
> > .setColor("/*color*/ #000000") // optional
> > ```
>
> > [accordion] 2 Link New UPI Account
> >
> > Use the following code to link the newly created UPI account with your app. This function can be called from anywhere in the application, providing multiple entry points for customers to link their UPI account with your app. Linking the new UPI account in advance allows customers to pay directly without repeating the linking process.
> >
> > ```java Java theme={null}
> > checkout.upiTurbo.linkNewUpiAccount("", "#000000" /*color - in hex format*/,
> > new GeneralPluginCallback(){
> >
> > @Override
> > public void onSuccess(UpiAccount upiAccount) {
> >
> > }
> >
> > @Override
> > public void onError(JSONObject error) {
> >
> > }
> >
> > });
> >
> >
> > ```
> >
> > ```kotlin Kotlin theme={null}
> > checkout.upiTurbo?.linkNewUpiAccount("", "#000000" /*color - in hex format*/,
> > object : GeneralPluginCallback{
> >
> > override fun onSuccess(upiAccount: UpiAccount) {
> > // use upiAccount to display data to the User
> > }
> >
> > override fun onError(error: JSONObject) {
> > // error regarding linking of UpiAccount
> > }
> >
> > })
> > // color parameter in the function can be used to customize the screens in
> > // linking process
> > ```
> >
> > > [accordion] Request Parameters
> > >
> > > `customerMobile` *mandatory*
> > > : `string` Mobile number of the customer.
> > >
> > > `color` *mandatory*
> > > : `string` Colour in HEX format.
> > >
> > > `listener` *mandatory*
> > > : `GeneralPluginCallback` The listener used to receive callbacks for success or failure events.
> >
> > > [accordion] Response Parameters
> > >
> > > | Parameter | Description |
> > > | - | - |
> > > | `onSuccess` | This function is triggered if the list was fetched successfully. |
> > > | `onError` | This function is triggered in case an error is thrown during the retrieval process, either by Razorpay SDK or Bank SDK. |
> [accordion] Step 4: Payment Flow
>
> Razorpay SDK will handle all the changes related to Turbo UPI internally. To integrate with the payment flow, [initiate payment and display the checkout form](/docs/payments/payment-gateway/android-integration/standard/integration-steps#4-initiate-payment-and-display-checkout-form).
> [accordion] Steps 5: Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> * You need to store these fields in your server.
> * You can confirm the authenticity of these details by verifying the signature in the next step.
>
> ```json Success Callback theme={null}
> {
> "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> "razorpay_order_id": "order_9A33XWu170gUtm",
> "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> }
> ```
>
> > [accordion] Parameters
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] Step 6: Verify Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> To verify the `razorpay_signature` returned to you by the Checkout form:
>
> 1. Create a signature in your server using the following attributes:
> * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> * `razorpay_payment_id`: Returned by Checkout.
> * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/api/authentication#generate-api-keys).
> 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
>
> ```html HMAC Hex Digest theme={null}
> generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
>
> if (generated_signature == razorpay_signature) {
> payment is successful
> }
> ```
>
> 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
### Non-Transactional Flow
Razorpay provides a single exposed function that allows you to manage linked UPI accounts and access all non-transactional flows seamlessly.
> [accordion] Manage UPI Accounts
>
> The SDK manages the linked `UpiAccounts` on the application by triggering `manageUpiAccounts()`, which follows the following internal non-transaction flows for `UpiAccounts`:
>
> * **Fetch balance**: Check the customer's account balance.
> * **Change UPI PIN**: Provide the customer the ability to change their UPI PIN.
> * **Reset UPI PIN**: Let your customers reset the PIN for their account.
> * **Delete the account from the application**: Let your customers delink, that is, remove a selected UPI account from your application.
>
> ```java Java theme={null}
> if (checkout.upiTurbo != null) {
> checkout.upiTurbo.manageUpiAccounts("9000090000","#000000"/*color - in hex format(nullable)*/, new GenericPluginCallback() {
> @Override
> public void onSuccess(@NonNull Object data) {
> /* can be safely ignored */
> }
>
> @Override
> public void onError(@NonNull JSONObject error) {
> /* Throws error if Turbo UPI cannot be initialized or throws error */
> }
> });
> }
> ```
>
> ```kotlin Kotlin theme={null}
> checkout.upiTurbo?.manageUpiAccounts("9000090000", "#000000"/*color - in hex format(nullable)*/, object : GenericPluginCallback {
> override fun onError(error: JSONObject) {
> /* Throws error if Turbo UPI cannot be initialized or throws error */
> }
>
> override fun onSuccess(data: Any) {
> /* Can be safely ignored */
> }
> })
> ```
> [!NOTE]
>
> **Handy Tips**
>
> You can use the following S2S APIs to maintain and fetch a list of all TPV bank accounts for a customer.
>
> * Use the [Add Bank Account of Customers API](#step-1-2-add-customers-bank-account) to add bank account of the customers.
> * Use the [Delete Bank Account of Customers API](/docs/api/customers/bank-accounts#2-delete-bank-account-of-customer) to delete bank account of the customers.
### Models Exposed from the SDKs
The SDKs given below provide access to exposed models for seamless integration.
> [accordion] UpiAccount
>
> | Method | Return Type | Description |
> | - | - | - |
> | `getAccountNumber` | String | Returns masked bank account number. |
> | `getAccountType` | String | The account type. Possible values are `savings` and `current`. |
> | `getIfsc` | String | Returns IFSC for Bank. |
> | `getBankName` | String | Returns name of bank. |
> | `getBankLogoUrl` | String | Returns URL to the PNG image logo. |
> | `bankPlaceholderUrl` | String | Image URL for bank logo placeholder. |
> | `pinLength` | Integer | Length on UPI PIN. |
> [accordion] Error
>
> | Error | Description |
> | - | - |
> | `getErrorCode()` | Types of error codes
`BAD_REQUEST_ERROR`: Failure from the client's end (SDK).
`GATEWAY_ERROR`: Failure either from the Secure Component or the Bank.
`SERVER_ERROR`: Failure at PSP.
|
> | `getErrorDescription()` | Brief description of the error. |
> | `getErrorReason()` | Specifies the reason for the error. |
> | `getErrorSource()` | Indicates the origin of the error. |
> | `getErrorStep()` | Highlights the stage where the error occurred. |
>
> [Refer to the list of possible error reasons](/docs/payments/payment-gateway/android-integration/standard/payment-methods/turbo-upi/error-codes).
## 2. Test Integration
We recommend the following:
* Complete the integration on UAT before using the prod builds.
* Perform the UAT using the Razorpay-provided API keys.
## 3. Go-live Checklist
Complete these steps to take your integration live:
* You should get your app id whitelisted by Razorpay to test on prod.
> [!NOTE]
>
> **Handy Tips**
>
> Contact our [integrations team](mailto:integrations@razorpay.com) to get your mobile number and app whitelisted.
* Import the prod library from the GitHub repository โ `https://github.com/upi-turbo/android-turbo-sample-app/tree/prod/app/libs` prod branch.
* Add Proguard rules:
* `keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName ;
}`
* `keepclassmembers enum * { *; }`
* `keepclassmembers class * {
@android.webkit.JavascriptInterface ;
}`
* `dontwarn com.razorpay.**`
* `keep class com.razorpay.** {*;}`
* `keep class com.olivelib.** {*;}`
* `keep class com.olive.** {*;}`
* `keep class org.apache.xml.security.** {*;}`
* `keep interface org.apache.xml.security.** {*;}`
* `keep class org.npci.** {*;}`
* `keep interface org.npci.** {*;}`
* `keep class retrofit2.** { *; }`
* `keep class okhttp3.** { *; }`
* Replace the UAT credential with the [Razorpay live keys](/docs/api/authentication#live-mode-api-keys) for prod testing.
# Integrate with Turbo UPI
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/payment-methods/turbo-upi
Steps to integrate Razorpay Turbo UPI with your app.
Available in
๐ฎ๐ณ India
> [card] [Turbo UPI Android Standard SDK](/docs/payments/changelog#products)
>
> Discover new features, updates and deprecations related to Turbo UPI on Android Standard Checkout (since Jan 2024).
With Razorpay Turbo UPI, businesses experience faster and simpler payments. It condenses the payment process from 5 steps to just 1, eliminating app redirections. Enjoy a seamless in-app payment experience, reduce dependencies on third-party UPI apps, and gain complete visibility of the payment journey.
You can seamlessly integrate Turbo UPI with Razorpay Android Standard SDK. Explore the full potential of [Razorpay Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi) and know How it Works.

> [accordion] Prerequisites
>
> Before you start integrating Turbo UPI with Razorpay Android Standard SDK, ensure that you follow these guidelines for a smooth integration process:
>
> 1. **SDK Version Compatibility:**
> * Integrate with [Razorpay Android Standard SDK](/docs/payments/payment-gateway/android-integration/standard). Ensure that you integrate with SDK version 1.6.37 or higher.
> 2. **Import the following frameworks:**
> * In the root settings.gradle file, use:
>
> ```kotlin Kotlin theme={null}
> dependencyResolutionManagement {
> repositories {
> // ... other repositories ...
> maven {
> url = uri("https://maven.pkg.github.com/upi-turbo/android-turbo-sample-app")
> credentials {
> username = "upi-turbo"
> password = ""
> }
> }
> }
> }
> ```
>
> * In the library module's build.gradle, use:
>
> ```kotlin Kotlin theme={null}
> dependencies {
> // UAT
> debugImplementation "com.razorpay:checkout-uat:$CHECKOUT_VERSION"
> debugImplementation "com.razorpay:razorpay-turbo-uat:$TURBO_VERSION"
> debugImplementation "com.razorpay:turbo-ui-uat:$TURBO_VERSION"
>
> // Production
> releaseImplementation "com.razorpay:checkout:$CHECKOUT_VERSION"
> releaseImplementation "com.razorpay:razorpay-turbo:$TURBO_VERSION"
> releaseImplementation "com.razorpay:turbo-ui:$TURBO_VERSION"
> }
> ```
>
> 3. **Gradle Properties:**
> * Add the following lines to your Android project's `gradle.properties` file:
> * `android.enableJetifier=true`
> * `android.useAndroidX=true`
> 4. **Minimum SDK Version:**
> * Keep in check that the `minSDKversion` for using Turbo UPI is currently 23 and cannot be overwritten.
> 5. **Contact Prefill in Standard Checkout:**
> * Standard Checkout should load with the contact prefilled. This contact information is crucial for setting up UPI accounts.
> * Make sure your Checkout options include [**prefill contact**](/docs/payments/payment-gateway/android-integration/standard/integration-steps#4-initiate-payment-and-display-checkout-form).
## Onboarding Flow
Ensure your customers [onboard with Razorpay Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi#onboarding-flow) to get started.
### Turbo UI SDK Integration
Follow these steps to integrate with Razorpay Turbo UPI:
1. Initialise the Checkout object with the `activity` parameter to enable Turbo UPI functionality.
```kotlin Kotlin theme={null}
val checkout = Checkout()
.upiTurbo(activity) // mandatory
.setColor("/*color*/ #000000") // optional
```
```kotlin Java theme={null}
Checkout checkout = new Checkout()
.upiTurbo(activity)//mandatory
.setColor("/*color*/ #000000" );//optional
```
2. Use the following code to link the newly created UPI account with your app. This function can be called from any application section, offering multiple entry points for customers to link their UPI account with your app. Linking it in advance allows customers to pay directly with the linked `UpiAccount` without repeating the linking process.
```kotlin Kotlin theme={null}
checkout.upiTurbo?.linkNewUpiAccount("","#000000"/*color - in hex format*/,
object: GeneralPluginCallback{
override fun onSuccess(upiAccount: UpiAccount){
// use upiAccount to display data to the User
}
override fun onError(error: JSONObject){
// error regarding linking of UpiAccount
}
})
// color parameter in the function can be used to customize the screens in
// linking process
```
```kotlin Java theme={null}
checkout.upiTurbo.linkNewUpiAccount("", "#000000"/*color - in hex format*/,
new GeneralPluginCallback(){
@Override
public void onSuccess(UpiAccount upiAccount){
}
@Override
public void onError(JSONObject error){
}
});
```
> [!NOTE]
>
> **Payment Flow**
>
> Razorpay SDK will handle all the changes related to `UpiTurbo` internally. To integrate with the payment flow, [initiate payment and display the checkout form](/docs/payments/payment-gateway/android-integration/standard/integration-steps#4-initiate-payment-and-display-checkout-form).
### Non-Transactional Flow
Razorpay provides a single exposed function that allows you to manage linked UPI accounts and access all non-transactional flows seamlessly.

> [accordion] Manage UPI Accounts
>
> The SDK manages the linked `UpiAccounts` on the application by triggering `manageUpiAccounts()`, which follows the following internal non-transaction flows for `UpiAccounts`:
>
> * **Fetch balance**: Check the customer's account balance.
> * **Change UPI PIN**: Provide the customer the ability to change their UPI PIN.
> * **Reset UPI PIN**: Let your customers reset the PIN for their account.
> * **Delete the account from the application**: Let your customers delink, that is, remove a selected UPI account from your application.
>
> ```kotlin Kotlin theme={null}
> checkout.upiTurbo?.manageUpiAccounts("9000090000", "#000000"/*color - in hex format(nullable)*/, object : GenericPluginCallback {
> override fun onError(error: JSONObject) {
> /* Throws error if Turbo UPI cannot be initialized or throws error */
> }
>
> override fun onSuccess(data: Any) {
> /* Can be safely ignored */
> }
> })
> ```
>
> ```kotlin Java theme={null}
> if (checkout.upiTurbo != null) {
> checkout.upiTurbo.manageUpiAccounts("9000090000","#000000"/*color - in hex format(nullable)*/, new GenericPluginCallback() {
> @Override
> public void onSuccess(@NonNull Object data) {
> /* can be safely ignored */
> }
>
> @Override
> public void onError(@NonNull JSONObject error) {
> /* Throws error if Turbo UPI cannot be initialized or throws error */
> }
> });
> }
> ```
### Models Exposed from the SDKs
The SDKs given below provide access to exposed models for seamless integration.
> [accordion] Error
>
> | Error | Description |
> | - | - |
> | `errorCode` | Types of error codes
`BAD_REQUEST_ERROR`: Failure from the client's end (SDK).
`GATEWAY_ERROR`: Failure either from the Secure Component or the Bank.
`SERVER_ERROR`: Failure at PSP.
|
> | `errorDescription` | Brief description of the error. |
> | `errorReason` | Specifies the specific reason for the error. |
> | `errorSource` | Indicates the origin of the error. |
> | `errorStep` | Highlights the stage where the error occurred. |
>
> [Refer to the list of possible error reasons](/docs/payments/payment-gateway/android-integration/standard/payment-methods/turbo-upi/error-codes).
# Turbo UPI SDK - Error Codes
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/payment-methods/turbo-upi/error-codes
List of error codes for Turbo UPI SDK.
Available in
๐ฎ๐ณ India
Given below is the list of error codes categorised by error reasons, with relevant descriptions, source and step.
### Bad Request Errors
Given below is the list of Bad Request errors.
> [accordion] bank\_not\_live\_on\_upi
>
> * **Description**: The selected bank is not enabled on UPI. Please try using another bank.
> * **Source**: gateway
> * **Step**: customer\_onboarding
> [accordion] account\_does\_not\_exist
>
> > [accordion] Payment Debit Request
> >
> > * **Description**: No accounts found for the selected bank. Please try using another bank.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Payment Credit Request
> >
> > * **Description**: Payment was unsuccessful as the receiver's bank account is not valid. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_credit\_request
> [accordion] transaction\_not\_allowed
>
> > [accordion] Payment Debit Request
> >
> > * **Description**: Transaction not permitted to the account as per your bank policy. Please contact your bank for more details or try with another bank account.
> > * **Source**: customer
> > * **Step**: payment\_debit\_request
>
> > [accordion] Payment Credit Request
> >
> > * **Description**: Payment not allowed as it got declined by the receiver's bank. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_credit\_request
> [accordion] upi\_pin\_registration\_card\_expired
>
> * **Description**: Card used while setting UPI PIN has expired. Please use another debit card or use another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_not\_found
>
> * **Description**: Card details used while setting UPI PIN are incorrect. Please re-check and try again.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_restricted
>
> * **Description**: Card used while setting UPI PIN has been blocked by your bank. Please reach out to your bank for more information or try using another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] bank\_technical\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: beneficiary\_bank
> * **Step**: payment\_status\_request
> [accordion] pin\_not\_set
>
> * **Description**: Payment was unsuccessful as you have not set the UPI PIN on the app. Try using another method.
> * **Source**: customer\_psp
> * **Step**: payment\_authentication
> [accordion] customer\_not\_registered
>
> * **Description**: No bank account is associated with this mobile number. Please try again by adding your account.
> * **Source**: gateway
> * **Step**: customer\_onboarding
> [accordion] server\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: gateway
> * **Step**: payment\_authentication
> [accordion] payment\_cancelled\_by\_user
>
> * **Description**: Flow was aborted as you pressed back from the PIN screen. Please try again.
> * **Source**: customer
> * **Step**: payment\_authorization
### Gateway Errors
Given below is the list of gateway errors.
> [accordion] incorrect\_otp
>
> * **Description**: You have entered an incorrect OTP. Try again.
> * **Source**: customer
> * **Step**: customer\_onboarding
> [accordion] otp\_expired
>
> * **Description**: You have entered an expired OTP. Please regenerate OTP and try again.
> * **Source**: customer
> * **Step**: customer\_onboarding
> [accordion] insufficient\_funds
>
> * **Description**: Payment was unsuccessful due to insufficient funds. Kindly check your balance and try again.
> * **Source**: customer
> * **Step**: payment\_debit\_request
> [accordion] insufficient\_funds\_mandate\_block
>
> * **Description**: Payment was unsuccessful as the amount in your account is blocked for another payment. Try using another account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] otp\_attempts\_exceeded
>
> * **Description**: You have entered an incorrect OTP too many times. Try again in some time.
> * **Source**: customer\_psp
> * **Step**: customer\_onboarding
> [accordion] account\_dormant
>
> * **Description**: Payment was unsuccessful as the receiver's bank account is inactive. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: beneficiary\_bank
> * **Step**: payment\_credit\_request
> [accordion] bank\_not\_live\_on\_upi
>
> * **Description**: Selected bank is not available on UPI. Please try using another bank.
> * **Source**: issuer\_bank
> * **Step**: customer\_onboarding
> [accordion] payment\_timed\_out
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_response
>
> > [accordion] UPI ID Not Reachable
> >
> > * **Description**: Payment was unsuccessful as the bank linked to this UPI ID is not reachable at this time.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
> [accordion] first\_transaction\_limit\_exceeded
>
> * **Description**: Payment was unsuccessful as you exceeded the first-time transaction limit set by your bank. You can use another bank account or retry after 24 hours.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] transaction\_limit\_exceeded
>
> > [accordion] Limit Set By Bank Exceeded
> >
> > * **Description**: Payment was unsuccessful as you exceeded the transaction limit set by your bank. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
>
> > [accordion] Daily Amount Limit Exceeded
> >
> > * **Description**: Payment was unsuccessful as you exceeded the amount limit for the day with this bank account. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
> [accordion] first\_time\_transaction\_freeze\_period
>
> * **Description**: Payment was unsuccessful due to the cooling period set by your bank for first-time user. Please try again after some time.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] transaction\_frequency\_limit\_exceeded
>
> * **Description**: Payment was unsuccessful as the number of transactions exceeds the max limit set by the bank. You can use another bank account or retry after some time.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] bank\_account\_inactive
>
> > [accordion] Issuer Bank Account Inactive
> >
> > * **Description**: Payment was unsuccessful as your account is not active. Please try using another bank account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Receiver Bank Account Inactive
> >
> > * **Description**: Payment was unsuccessful as the receiver's bank account is not active. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_debit\_request
> [accordion] server\_error
>
> > [accordion] Temporary Issue - Issuer Bank
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_request
>
> > [accordion] Temporary Issue - Beneficiary Bank
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_request
> [accordion] invalid\_ifsc
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> * **Source**: gateway
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_blocked
>
> * **Description**: Card used while setting UPI PIN has been blocked by your bank. Please reach out to your bank for more information or try using another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] bank\_technical\_error
>
> > [accordion] UPI ID Temporarily Unavailable
> >
> > * **Description**: Payment was unsuccessful as the bank linked to this UPI ID is temporarily unavailable. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_credit\_response
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_credit\_response
> [accordion] payment\_declined
>
> > [accordion] Declined by Bank
> >
> > * **Description**: Payment was unsuccessful as it was declined by your bank. Reach out to your bank for more details. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_debit\_request
> [accordion] pin\_attempts\_exceeded
>
> * **Description**: You have exceeded the incorrect UPI PIN attempts. You can use another bank account or retry after 24 hours.
> * **Source**: customer
> * **Step**: payment\_authentication
> [accordion] incorrect\_pin
>
> * **Description**: You have entered incorrect UPI PIN. Please try again with the correct UPI PIN.
> * **Source**: customer
> * **Step**: payment\_authentication
> [accordion] linked\_account\_removal\_failed
>
> * **Description**: Unable to remove the account. Please try again.
> * **Source**: customer\_psp
> * **Step**: account\_management
> [accordion] sms\_text\_not\_received
>
> * **Description**: Something went wrong while sending SMS. Please try again.
> * **Source**: gateway
> * **Step**: customer\_onboarding
### Server Errors
Given below is the list of server errors.
> [accordion] server\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: issuer\_bank
> * **Step**: customer\_onboarding
> [accordion] server\_error
>
> * **Description**: We are facing some trouble completing your request at the moment. Please try again shortly.
> * **Source**: internal
> * **Step**: payment\_authorization
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/troubleshooting-faqs
Troubleshoot common error scenarios and find answers to frequently asked questions about Standard Android integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [accordion] Android app is crashing every time I invoke `RazorpayCheckout.open API`. How to resolve this?
>
> The Android App crashes because the theme color parameter is passed in curly braces.
>
> Use the code given below to resolve the problem:
>
> ```java theme={null}
> JSONObject options = new JSONObject();
> options.put("name", "Acme Corp");
> options.put("description", "Reference No. #123456");
> options.put("image", "http://example.com/image/rzp.jpg");
> options.put("order_id", "order_DBJOWzybf0sJbb");//from response of step 3.
> options.put("theme.color", "#3399CC");
> ```
> [accordion] During checkout, the **Paying To** name reflects my company name. Is it possible to change the **Paying To** name from my company name to my product name?
>
> No. **Paying to** gives your business name and not the product name. It is a standard flow. So you cannot change it.
> [accordion] Does Razorpay support Xamarin for SDK integration?
>
> No, we do not support Xamarin. However, since Xamarin is essentially a wrapper around Android and iOS, you can create your own Xamarin wrapper using our [Android](/docs/payments/payment-gateway/android-integration/standard) and [iOS](/docs/payments/payment-gateway/ios-integration/standard) SDKs.
>
> You can refer to Xamarin for integrating native [Android](https://docs.microsoft.com/en-us/xamarin/android/platform/binding-java-library/) and [iOS](https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/) libraries. Alternatively, you can use web integration to open the checkout form in a web view.
> [accordion] How can I check the Razorpay Android Standard SDK version?
>
> To check the SDK version:
>
> 1. Open your Android project in Android Studio.
> 2. Navigate to the `build.gradle` file of your app module (usually `app/build.gradle`).
> 3. Locate the `dependencies` block in the file.
> 4. Find the line that includes the Razorpay SDK dependency. The version number will be alongside the SDK name in the format`x.y.z`.
>
> ```java build.gradle theme={null}
> repositories {
> mavenCentral()
> }
>
> dependencies {
> implementation 'com.razorpay:checkout:1.6.40'
> }
> ```
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > From version 1.6.40 onwards, the latest version is automatically updated, eliminating the need for manual updates.
> [accordion] How can I update the Razorpay Android Standard SDK version?
>
> To update the Standard Android SDK, follow these steps:
>
> 1. Check the [latest SDK version](https://mvnrepository.com/artifact/com.razorpay/checkout).
>
> 2. In the app-level gradle build file, update the SDK version to the latest release.
> dependencies \{
> // โฆ other dependencies
> // For Razorpay checkout SDK
> implementation โcom.razorpay:checkout:\โ
> // โฆ other dependencies
>
> }
>
> 3. After updating, sync gradle and check for any compile-time errors.
>
> 4. Ensure all changes are correctly integrated and the application functions as expected.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > From version 1.6.40 onwards, the latest version is automatically updated, eliminating the need for manual updates.
> [accordion] I am trying to integrate Razorpay SDK for Android 12. However, the following error message is displayed, **Receiver not registered " error from checkoutActivity. While trying UPI" implementation 'com.razorpay:checkout:1.6.13**. How to resolve this?
>
> Add the code given below in your Android Manifest.xml file:
>
> ```java theme={null}
> android:name="com.razorpay.RzpTokenReceiver"
> android:exported="false">
>
>
>
>
>
> android:name="com.razorpay.CheckoutActivity"
> android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
> android:exported="true"
> android:theme="@style/CheckoutTheme">
>
>
> android:host="rzp.io"
> android:scheme="io.rzp" />
>
>
> ```
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You do not need to add this code to your integration if using SDK version 1.6.17 and above.
> [accordion] Can I enable UPI Intent on my Android or iOS app?
>
> Yes, you can enable UPI Intent on your [Android](/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-android) or [iOS](/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-ios) app.
> [accordion] How can I accept payments on my Android or iOS apps without integrating with the native SDKs?
>
> If you want to accept payments on your Android or iOS apps without integrating with our native SDKs, you can reuse your Standard Integration code. This approach opens the checkout form in a WebView within your mobile app. Know more about [Webview for Mobile Apps](/docs/payments/payment-gateway/web-integration/standard/webview).
# Capacitor Standard SDK Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/capacitor-integration
Check the prerequisites before you integrate with Razorpay Capacitor Standard SDK.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [Capacitor Standard SDK Changelog](/docs/payments/changelog#mobile-sdks)
>
> Discover new features, updates and deprecations related to the Razorpay Capacitor Standard SDK (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/capacitor-integration/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about Capacitor Standard integration.
You can use Razorpay Standard SDK to integrate the Razorpay Payment Gateway with your Capacitor Application to accept payments. The Razorpay Capacitor plugin acts as a wrapper around our native Android and iOS SDKs.
> [!TIP]
>
> **Update SDK**
>
> Check your [current SDK version](/docs/payments/payment-gateway/capacitor-integration/troubleshooting-faqs#how-can-i-check-the-razorpay-capacitor-standard-sdk-version). If it is outdated, please [update the SDK](/docs/payments/payment-gateway/capacitor-integration/troubleshooting-faqs#how-can-i-update-the-razorpay-capacitor-standard-sdk-version) to ensure uninterrupted settlements of your funds.
## Integration Steps
**Before you proceed:**
Create a [Razorpay account](https://dashboard.razorpay.com/signup).
Generate the [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
Know about the [Payment Flow](/docs/payments/payment-gateway/how-it-works).
Follow these integration steps:
> [card] [1. Build Integration](/docs/payments/payment-gateway/capacitor-integration/integration-steps#1-build-integration)
>
> Integrate Capacitor Standard SDK.
> [card] [2. Test Integration](/docs/payments/payment-gateway/capacitor-integration/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/capacitor-integration/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
> [card] [Sample Code](https://github.com/razorpay/razorpay-capacitor/tree/master/testPlugin)
>
> Check the sample code on GitHub to integrate.
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/capacitor-integration/integration-steps
Steps to integrate the Capacitor application with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow these steps to integrate your Capacitor application:
> [card] [1. Build Integration](/docs/payments/payment-gateway/capacitor-integration/integration-steps#1-build-integration)
>
> Integrate Capacitor Standard Checkout.
> [card] [2. Test Integration](/docs/payments/payment-gateway/capacitor-integration/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/capacitor-integration/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to Integrate Razorpay Payment Gateway on Capacitor App](https://www.youtube.com/embed/fthj02JPZhs)
> [!WARNING]
>
> **Watch Out!**
>
> If you use M1 MacBook, you need to make [these changes](#6-verify-payment-signature) in your `podfile`. Add the following code inside `post_install do |installer|`:
>
> ```javascript podfile theme={null}
> installer.pods_project.build_configurations.each do |config|
> config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
> end
> ```
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Create an Order in Server
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order using:
>
> > [tab] API Sample Code
> >
> > Use this endpoint to create an order using the Orders API.
> >
> > `POST /orders`
> >
> > ```bash Curl theme={null}
> > curl -X POST https://api.razorpay.com/v1/orders
> > -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> > -H 'content-type:application/json'
> > -d '{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "qwsaq1",
> > "partial_payment": true,
> > "first_payment_min_amount": 230
> > }'
> > ```
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > JSONObject orderRequest = new JSONObject();
> > orderRequest.put("amount", 50000); // amount in the smallest currency unit
> > orderRequest.put("currency", "INR");
> > orderRequest.put("receipt", "order_rcptid_11");
> >
> > Order order = razorpay.Orders.create(orderRequest);
> > } catch (RazorpayException e) {
> > // Handle Exception
> > System.out.println(e.getMessage());
> > }
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > DATA = {
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "receipt#1",
> > "notes": {
> > "key1": "value3",
> > "key2": "value2"
> > }
> > }
> > client.order.create(data=DATA)
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->order->create(array('receipt' => '123', 'amount' => 50000, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> > ```
> >
> > ```csharp .NET theme={null}
> > RazorpayClient client = new RazorpayClient(your_key_id, your_secret);
> >
> > Dictionary options = new Dictionary();
> > options.Add("amount", 50000); // amount in the smallest currency unit
> > options.add("receipt", "order_rcptid_11");
> > options.add("currency", "INR");
> > Order order = client.Order.Create(options);
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > options = amount: 50000, currency: 'INR', receipt: ''
> > order = Razorpay::Order.create
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > instance.orders.create({
> > amount: 50000,
> > currency: "INR",
> > receipt: "receipt#1",
> > notes: {
> > key1: "value3",
> > key2: "value2"
> > }
> > })
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > data := map[string]interface{}{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "some_receipt_id"
> > }
> > body, err := client.Order.Create(data)
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id": "order_IluGWxBm9U8zJ8",
> > "entity": "order",
> > "amount": 50000,
> > "amount_paid": 0,
> > "amount_due": 50000,
> > "currency": "INR",
> > "receipt": "rcptid_11",
> > "offer_id": null,
> > "status": "created",
> > "attempts": 0,
> > "notes": [],
> > "created_at": 1642662092
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Order amount less than minimum amount allowed",
> > "source": "business",
> > "step": "payment_initiation",
> > "reason": "input_validation_failed",
> > "metadata": {},
> > "field": "amount"
> > }
> > }
> > ```
>
> > [tab] Razorpay Postman Public Workspace
> >
> > You can use the Postman workspace below to create an order:
> >
> > [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
> >
> > You can create an order manually by integrating the API sample codes on your server.
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount, expressed in the currency subunit. For example, for an actual amount of , the value of this field should be `22225`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be of 3 characters.
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7,000 is to be received from the customer in two installments of #1 - โน5,000, #2 - โน2,000, then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] 2 Install Razorpay Capacitor Plugin
>
> Run the following command on your command prompt to install the plugin:
>
> ```yml Install Capacitor theme={null}
> npm i -S https://github.com/razorpay/razorpay-capacitor.git #installs plugin that supports Capacitor 6.0
> ```
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > We recommend you to use the latest plugin version (that works on Capacitor 6.0) as all the latest features will be made available only on this version. However, if you want to use the plugin that works on Capacitor 5.0, use the command given below:
> >
> > ```yml Install Capacitor theme={null}
> > npm i -S https://github.com/razorpay/razorpay-capacitor.git#76fd7d6b59f631eb44e6ecebc9188b2425168beb #installs plugin that supports Capacitor 5.0
> > ```
> >
> > If you want to use the plugin that works on other capacitor versions, refer to the [GitHub repository](https://github.com/razorpay/razorpay-capacitor).
>
> > [accordion] Proguard Rules
> >
> > If you are using Proguard for your builds, you must add the following lines to your `proguard-rules.pro` file.
> >
> > ```java theme={null}
> > -keepclassmembers class * {
> > @android.webkit.JavascriptInterface ;
> > }
> >
> > -keepattributes JavascriptInterface
> > -keepattributes *Annotation*
> >
> > -dontwarn com.razorpay.**
> > -keep class com.razorpay.** {*;}
> >
> > -optimizations !method/inlining/*
> >
> > -keepclasseswithmembers class * {
> > public void onPayment*(...);
> > }
> > ```
> [accordion] 3 Add Checkout Class in MainActivity.java (Android Only)
>
> Add the Checkout class to the ArrayList in the MainActivity class in `{{projectDir}}/android/src/main/MainActivity.java`. Below is the sample code:
>
> ```java Add Checkout Class theme={null}
> import com.ionicframework.capacitor.Checkout;
>
> public class MainActivity extends BridgeActivity {
> @Override
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
>
> registerPlugin(Checkout.class);
> }
> }
> ```
>
> Check the [Capacitor 6.0 Official Updates](https://capacitorjs.com/docs/updating/6-0).
> [accordion] 4 Add Checkout Code
>
> Add the Pay button on your web page using the checkout code given below. The checkout page is displayed when the customers click the Pay button.
>
> > [accordion] 4.1 Code to Add Pay Button
> >
> > Add the Checkout code to your project. Ensure that you pass the `order_id` that you received in response to the first step.
> >
> > ```javascript Checkout Code theme={null}
> > import { Checkout } from 'capacitor-razorpay';
> >
> > @Component({
> > selector: 'app-home',
> > templateUrl: 'home.page.html',
> > styleUrls: ['home.page.scss'],
> > })
> > export class HomePage {
> >
> > constructor(private alertController: AlertController) {}
> >
> > async payWithRazorpay(){
> > const options = {
> > key: '[YOUR_KEY_ID]',
> > amount: '50000',
> > description: 'Great offers',
> > image: 'https://i.imgur.com/3g7nmJC.jpg',
> > order_id: 'order_Cp10EhSaf7wLbS',//Order ID generated in Step 1
> > currency: 'INR',
> > name: 'Acme Corp',
> > prefill: {
> > email: '',
> > contact: ''
> > },
> > theme: {
> > color: '#3399cc'
> > }
> > }
> > try {
> > let data = (await Checkout.open(options));
> > console.log(data.response+"AcmeCorp");
> > console.log(JSON.stringify(data))
> > } catch (error) {
> > //it's paramount that you parse the data into a JSONObject
> > let errorObj = JSON.parse(error['code'])
> > alert(errorObj.description);
> > alert(errorObj.code);
> >
> > alert(errorObj.reason);
> > alert(errorObj.step);
> > alert(errorObj.source);
> > alert(errorObj.metadata.order_id);
> > alert(errorObj.metadata.payment_id);
> >
> > }
> >
> > async presentAlert(response: string){
> > // let responseObj = JSON.parse(response)
> > console.log("message"+ response['razorpay_payment_id']);
> > const alert = await this.alertController.create({
> > message:response['razorpay_payment_id'],
> > backdropDismiss: true,
> > });
> >
> > await alert.present();
> > }
> >
> > }
> > ```
>
> > [accordion] Checkout Options
> >
> > You must pass these parameters in Checkout to initiate the payment.
> >
> > `key` *mandatory*
> > : `string` API Key ID generated from the Dashboard.
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is , enter `222250` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the payment should be made by the customer. See the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY, and three decimal currencies, such as KWD, BHD, and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `name` *mandatory*
> > : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
> >
> > `description` *optional*
> > : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
> >
> > `image` *optional*
> > : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
> >
> > `order_id` *mandatory*
> > : `string` Order ID generated via [Orders API](/docs/api/orders).
> >
> > `prefill`
> > : `object` You can prefill the following details at Checkout.
> >
> > > [!NOTE]
> > >
> > > **Boost Conversions and Minimise Drop-offs**
> > >
> > > * Autofill customer contact details, especially phone number to ease form completion. Include customerโs phone number in the `contact` parameter of the JSON request's `prefill` object. Format: +(country code)(phone number). Example: "contact": "+919000090000".
> > > * This is not applicable if you do not collect customer contact details on your website before checkout, have Shopify stores or use any of the no-code apps.
> >
> > `name` *optional*
> > : `string` Cardholder's name to be prefilled if customer is to make card payments on Checkout. For example, **Gaurav Kumar**.
> >
> > `email` *optional*
> > : `string` Email address of the customer.
> >
> > `contact` *optional*
> > : `string` Phone number of the customer. The expected format of the phone number is `+ {country code}{phone number}`. If the country code is not specified, `91` will be used as the default value. This is particularly important while prefilling `contact` of customers with phone numbers issued outside India. **Examples**:
> >
> > * +14155552671 (a valid non-Indian number)
> > * +919977665544 (a valid Indian number). \
> > If 9977665544 is entered, `+91` is added to it as +919977665544.
> >
> > `method` *optional*
> > : `string` Pre-selection of the payment method for the customer. Will only work if `contact` and `email` are also prefilled. Possible values:
> >
> >
> >
`card`
> >
`netbanking`
> >
`wallet`
> >
`upi`
> >
`emi`
> >
> >
> > `notes` *optional*
> > : `object` Set of key-value pairs that can be used to store additional information about the payment. It can hold a maximum of 15 key-value pairs, each 256 characters long (maximum).
> >
> > `theme`
> > : `object` Thematic options to modify the appearance of Checkout.
> >
> > `color` *optional*
> > : `string` Enter your brand colour's HEX code to alter the text, payment method icons and CTA (call-to-action) button colour of the Checkout form.
> >
> > `backdrop_color` *optional*
> > : `string` Enter a HEX code to change the Checkout's backdrop colour.
> >
> > `modal`
> > : `object` Options to handle the Checkout modal.
> >
> > `backdropclose` *optional*
> > : `boolean` Indicates whether clicking the translucent blank space outside the Checkout form should close the form. Possible values:
> >
> > * `true`: Closes the form when your customer clicks outside the checkout form.
> > * `false` (default): Does not close the form when customer clicks outside the checkout form.
> >
> > `escape` *optional*
> > : `boolean` Indicates whether pressing the **escape** key should close the Checkout form. Possible values:
> >
> > * `true` (default): Closes the form when the customer presses the **escape** key.
> > * `false`: Does not close the form when the customer presses the **escape** key.
> >
> > `handleback` *optional*
> > : `boolean` Determines whether Checkout must behave similar to the browser when back button is pressed. Possible values:
> >
> > * `true` (default): Checkout behaves similarly to the browser. That is, when the browser's back button is pressed, the Checkout also simulates a back press. This happens as long as the Checkout modal is open.
> > * `false`: Checkout does not simulate a back press when browser's back button is pressed.
> >
> > `confirm_close` *optional*
> > : `boolean` Determines whether a confirmation dialog box should be shown if customers attempts to close Checkout. Possible values:
> >
> > * `true`: Confirmation dialog box is shown.
> > * `false` (default): Confirmation dialog box is not shown.
> >
> > `ondismiss` *optional*
> > : `function` Used to track the status of Checkout. You can pass a modal object with `ondismiss: function()\{\}` as options. This function is called when the modal is closed by the user. If `retry` is `false`, the `ondismiss` function is triggered when checkout closes, even after a failure.
> >
> > `animation` *optional*
> > : `boolean` Shows an animation before loading of Checkout. Possible values:
> >
> > * `true`(default): Animation appears.
> > * `false`: Animation does not appear.
> >
> > `subscription_id` *optional*
> > : `string` If you are accepting recurring payments using Razorpay Checkout, you should pass the relevant `subscription_id` to the Checkout. Know more about [Subscriptions on Checkout](/docs/api/payments/subscriptions-custom#checkout-integration).
> >
> > `subscription_card_change` *optional*
> > : `boolean` Permit or restrict customer from changing the card linked to the subscription. You can also do this from the [hosted page](/docs/payments/subscriptions/payment-retries#update-payment-method-on-our-hosted-page). Possible values:
> >
> > * `true`: Allow the customer to change the card from Checkout.
> > * `false` (default): Do not allow the customer to change the card from Checkout.
> >
> > `recurring` *optional*
> > : `boolean` Determines if you are accepting [recurring (charge-at-will) payments on Checkout](/docs/api/payments/recurring-payments) via instruments such as emandate, paper NACH and so on. Possible values:
> >
> > * `true`: You are accepting recurring payments.
> > * `false` (default): You are not accepting recurring payments.
> >
> > `callback_url` *optional*
> > : `string` Customers will be redirected to this URL on successful payment. Ensure that the domain of the Callback URL is allowlisted.
> >
> > `redirect` *optional*
> > : `boolean` Determines whether to post a response to the event handler post payment completion or redirect to Callback URL. `callback_url` must be passed while using this parameter. Possible values:
> >
> > * `true`: Customer is redirected to the specified callback URL in case of payment failure.
> > * `false` (default): Customer is shown the Checkout popup to retry the payment with the suggested next best option.
> >
> > `customer_id` *optional*
> > : `string` Unique identifier of customer. Used for:
> >
> > * [Local saved cards feature](/docs/payments/payment-methods/cards/features/saved-cards#manage-saved-cards).
> > * Static bank account details on Checkout in case of [Bank Transfer payment method](/docs/payments/payment-methods/bank-transfer).
> >
> > `remember_customer` *optional*
> > : `boolean` Determines whether to allow saving of cards. Can also be configured via the [Dashboard](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout). Possible values:
> >
> > * `true`: Enables card saving feature.
> > * `false` (default): Disables card saving feature.
> >
> > `timeout` *optional*
> > : `integer` Sets a timeout on Checkout, in seconds. After the specified time limit, the customer will not be able to use Checkout.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Some browsers may pause `JavaScript` timers when the user switches tabs, especially in power saver mode. This can cause the checkout session to stay active beyond the set timeout duration.
> >
> > `readonly`
> > : `object` Marks fields as read-only.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `name` *optional*
> > : `boolean` Used to set the `name` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `hidden`
> > : `object` Hides the contact details.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `send_sms_hash` *optional*
> > : `boolean` Used to auto-read OTP for cards and netbanking pages. Applicable from Android SDK version 1.5.9 and above. Possible values:
> >
> > * `true`: OTP is auto-read.
> > * `false` (default): OTP is not auto-read.
> >
> > `allow_rotation` *optional*
> > : `boolean` Used to rotate payment page as per screen orientation. Applicable from Android SDK version 1.6.4 and above. Possible values:
> >
> > * `true`: Payment page can be rotated.
> > * `false` (default): Payment page cannot be rotated.
> >
> > `retry` *optional*
> > : `object` Parameters that enable retry of payment on the checkout.
> >
> > `enabled`
> > : `boolean` Determines whether the customers can retry payments on the checkout. Possible values:
> >
> > * `true` (default): Enables customers to retry payments.
> > * `false`: Disables customers from retrying the payment.
> >
> > `max_count`
> > : `integer` The number of times the customer can retry the payment. We recommend you to set this to 4. Having a larger number here can cause loops to occur.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Web Integration does not support the `max_count` parameter. It is applicable only in Android and iOS SDKs.
> >
> > `config` *optional*
> > : `object` Parameters that enable checkout configuration. Know more about how to [configure payment methods on Razorpay standard checkout](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
> >
> > `display`
> > : `object` Child parameter that enables configuration of checkout display language.
> >
> > `language`
> > : `string` The language in which checkout should be displayed. Possible values:
> >
> > * `en`: English
> > * `ben`: Bengali
> > * `hi`: Hindi
> > * `mar`: Marathi
> > * `guj`: Gujarati
> > * `tam`: Tamil
> > * `tel`: Telugu
>
> > [accordion] 4.2 Enable UPI Intent on iOS *(Optional)*
> >
> > Provide your customers with a better payment experience by enabling UPI Intent on your app's Checkout form. In the UPI Intent flow:
> >
> > 1. Customer selects UPI as the payment method in your iOS app. A list of UPI apps supporting the intent flow is displayed. For example, PhonePe, Google Pay and Paytm.
> > 2. Customer selects the preferred app. The UPI app opens with pre-populated payment details.
> > 3. Customer enters their UPI PIN to complete their transactions.
> > 4. Once the payment is successful, the customer is redirected to your app or website.
> >
> > To enable this in your iOS integration, you must make the following changes in your app's info.plist file.
> >
> > ```xml info.plist theme={null}
> > LSApplicationQueriesSchemes
> >
> > tez
> > phonepe
> > paytmmp
> > credpay
> > mobikwik
> > in.fampay.app
> > bhim
> > amazonpay
> > navi
> > kiwi
> > payzapp
> > jupiter
> > omnicard
> > icici
> > popclubapp
> > sbiyono
> > myjio
> > slice-upi
> > bobupi
> > shriramone
> > indusmobile
> > kotakbank
> > snapmint
> > freecharge
> > navipay
> > whatsapp-consumer
> > postpe
> > super
> > lxme
> > scapia
> > curieapp
> >
> > ```
> >
> > Know more about [UPI Intent and its benefits](/docs/payments/payment-methods/upi/upi-intent).
> >
> > ### UPI Intent on Recurring Payments
> >
> > Configure and initiate a recurring payment transaction on UPI Intent:
> >
> > ```swift ViewController.swift theme={null}
> > let options: [String:Any] = [
> > "key": "YOUR_KEY_ID",
> > "order_id": "order_DBJOWzybfXXXX",
> > "customer_id": "cust_BtQNqzmBlXXXX",
> > "prefill": [
> > "contact": "+919000090000",
> > "email": "gaurav.kumar@example.com"
> > ],
> > "image": "https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> > "amount": 10000, // Amount should match the order amount
> > "currency": "INR",
> > "recurring": 1 // This key value pair is mandatory for Intent Recurring Payment.
> > ]
> > ```
> >
> > ```objectivec ViewController.m theme={null}
> > NSDictionary *options = @{
> > @"key": @"YOUR_KEY_ID",
> > @"order_id": @"order_DBJOWzybfXXXX",
> > @"customer_id": @"cust_BtQNqzmBlXXXX",
> > @"prefill": @{
> > @"contact": @"+919000090000",
> > @"email": @"gaurav.kumar@example.com"
> > },
> > @"image": @"https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> > @"amount": @(10000), // Amount should match the order amount
> > @"currency": @"INR",
> > @"recurring": @(1) // This key value pair is mandatory for Intent Recurring Payment.
> > };
> > ```
> [accordion] 5 Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> > [accordion] Success Callback
> >
> > * You need to store these fields in your server.
> > * You can confirm the authenticity of these details by verifying the signature in the next step.
> >
> > ```json Success Callback theme={null}
> > {
> > "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> > "razorpay_order_id": "order_9A33XWu170gUtm",
> > "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> > }
> > ```
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] 6 Verify Payment Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> > [accordion] To verify the `razorpay_signature` returned to you by the Checkout form:
> >
> > 1. Create a signature in your server using the following attributes:
> > * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> > * `razorpay_payment_id`: Returned by Checkout.
> > * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
> > 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
> >
> > ```html HMAC Hex Digest theme={null}
> > generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
> >
> > if (generated_signature == razorpay_signature) {
> > payment is successful
> > }
> > ```
> >
> > 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
>
> > [accordion] Generate Signature on Your Server
> >
> > Given below is the sample code for payment signature verification:
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > String secret = "EnLs21M47BllR3X8PSFtjtbd";
> >
> > JSONObject options = new JSONObject();
> > options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > boolean status = Utils.verifyPaymentSignature(options, secret);
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->utility->verifyPaymentSignature(array('razorpay_order_id' => $razorpayOrderId, 'razorpay_payment_id' => $razorpayPaymentId, 'razorpay_signature' => $razorpaySignature));
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > payment_response = {
> > razorpay_order_id: 'order_IEIaMR65cu6nz3',
> > razorpay_payment_id: 'pay_IH4NVgf4Dreq1l',
> > razorpay_signature: '0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f'
> > }
> > Razorpay::Utility.verify_payment_signature(payment_response)
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > client.utility.verify_payment_signature({
> > 'razorpay_order_id': razorpay_order_id,
> > 'razorpay_payment_id': razorpay_payment_id,
> > 'razorpay_signature': razorpay_signature
> > })
> > ```
> >
> > ```c .NET theme={null}
> > RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > Dictionary options = new Dictionary();
> > options.Add("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.Add("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.Add("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > Utils.verifyPaymentSignature(options);
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > var { validatePaymentVerification, validateWebhookSignature } = require('./dist/utils/razorpay-utils');
> > validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > params := map[string]interface{}{
> > "razorpay_order_id": "order_IEIaMR65cu6nz3",
> > "razorpay_payment_id": "pay_IH4NVgf4Dreq1l",
> > }
> >
> > signature := "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f";
> > secret := "EnLs21M47BllR3X8PSFtjtbd";
> > utils.VerifyPaymentSignature(params, signature, secret)
> > ```
>
> > [accordion] Post Signature Verification
> >
> > After you have completed the integration, you can [set up webhooks](/docs/webhooks/setup-edit-payments), make test payments, replace the test key with the live key and integrate with other [APIs](/docs/api).
> [accordion] 7 Verify Payment Status
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > On the Razorpay Dashboard, ensure that the payment status is `captured`. Refer to the payment capture settings page to know how to [capture payments automatically](/docs/payments/payments/capture-settings).
>
> > [accordion] You can track the payment status in three ways:
> >
> > > [tab] Verify Status from Dashboard
> > >
> > > To verify the payment status from the Razorpay Dashboard:
> > >
> > > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > > 2. Check if a **Payment Id** has been generated and note the status. In case of a successful payment, the status is marked as **Captured**.
> > >
> > > 
> >
> > > [tab] Subscribe to Webhook Events
> > >
> > > You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to [set up webhooks.](/docs/webhooks/setup-edit-payments)
> > >
> > > #### Example
> > >
> > > If you have subscribed to the `order.paid` webhook event, you will receive a notification every time a customer pays you for an order.
> >
> > > [tab] Poll APIs
> > >
> > > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 2. Test Integration
After the integration is complete, a **Pay** button appears on your webpage/app.

Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
| Payment Method | Code | Availability |
| - | - | - |
| [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
| [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
| [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
| [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
| EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
| [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
| [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
You can make test payments using one of the payment methods configured at the Checkout.
> [accordion] Netbanking
>
> You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
>
> Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
> [accordion] UPI
>
> You can enter one of the following UPI IDs:
>
> * `success@razorpay`: To make the payment successful.
> * `failure@razorpay`: To fail the payment.
>
> Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
> [accordion] Cards
>
> You can use the following test cards to test transactions for your integration in Test Mode.
>
> ### Domestic Cards
>
> Use the following test cards for Indian payments:
>
> | Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> | Mastercard | 5500 6700 0000 1002 | |
> | RuPay | 6527 6589 0000 1005 | |
> | Diners | 3608 280009 1007 | |
> | Amex | 3402 560004 01007 | |
>
> #### Error Scenarios
>
> Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> Check the following lists:
>
> * [Supported Card Networks](/docs/payments/payment-methods/cards).
> * [Cards Error Codes](/docs/errors/payments/cards).
>
> ### International Cards
>
> Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
>
> | Card Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> | Visa | 4012 8888 8888 1881 | |
>
> Check the list of [supported card networks](/docs/payments/payment-methods/cards).
> [accordion] Wallet
>
> You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
>
> Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
## 3. Go-live Checklist
Check the go-live checklist for Razorpay Capacitor integration. Consider these steps before taking the integration live.
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> [accordion] 3 Set Up Webhooks
>
> Ensure you have [set up webhooks](/docs/webhooks/setup-edit-payments) in the live mode and configured the events for which you want to receive notifications.
>
> > [!WARNING]
> >
> > **Implementation Considerations**
> >
> > Webhooks are the primary and most efficient method for event notifications. They are delivered asynchronously in near real-time. For critical user-facing flows that need instant confirmation (like showing "Payment Successful" immediately), supplement webhooks with API verification.
> >
> > **Recommended approach** \\
> >
> > * Rely on webhooks for all automation, which can be asynchronous.
> > * If a critical user-facing flow requires instant status, but the webhook notification has not arrived within the time mandated by your business needs, perform an immediate API Fetch call ([Payments](/docs/api/payments/fetch-with-id), [Orders](/docs/api/orders/fetch-with-id) and [Refunds](/docs/api/refunds/fetch-specific-refund-payment)) to verify the status.
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/capacitor-integration/troubleshooting-faqs
Troubleshoot common error scenarios and find answers to frequently asked questions about Capacitor integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [accordion] What is an order id and how to generate it?
>
> Order creation is the primary step of the Razorpay payment flow. An Order creates when a customer clicks the pay button on your app. A corresponding order\_id generates in the response. Pass this order\_id to the Razorpay Checkout options added in your Capacitor app. Know more about [Orders](/docs/api/orders).
> [accordion] What is the process for raising a request for a new feature?
>
> To raise a request for a new feature, go to **New Issue** โ **Feature Request** on our [GitHub repository](https://github.com/razorpay/razorpay-capacitor/issues/new/choose).
> [accordion] How can I update the existing **'razorpay-pod'**?
>
> * Go to your project's **iOS** folder and run **'pod update'** to update all the pods.
> * If you do not want to update all pods, run **'pod update razorpay-pod'**.
> [accordion] I have integrated with the Razorpay Payment Gateway to accept payments on my mobile app. However, it gets rejected when I try to publish my app on the Apple App Store. The following message is displayed, "We noticed that your app offers a subscription with a mechanism other than the in-app purchase API." How to resolve this?
>
> As per Apple's policy, if you use a subscription model in your iOS app, you must use Apple's in-app purchase APIs. Apple does not redirect out of the app for digital product purchases.
> [accordion] In the new M1 MacBook, why am I not able to compile the Capacitor Razorpay plugin for release mode?
>
> This is because of the new changes introduced in Xcode 12.
>
> To resolve this:
>
> 1. Use [Rosetta 2](https://support.apple.com/en-us/HT211861) for launching the app on your Mac.
> 2. Add the following lines to Podfile within `post_install do |installer|` .
>
> ```javascript podfile theme={null}
> installer.pods_project.build_configurations.each do |config|
> config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
> end
> ```
>
> Know more about [compilation errors](https://khushwanttanwar.medium.com/xcode-12-compilation-errors-while-running-with-ios-14-simulators-5731c91326e9).
> [accordion] How can I check the Razorpay Capacitor Standard SDK version?
>
> To check the SDK version:
>
> 1. Open your Capacitor project in your preferred code editor.
> 2. Open the `package.json` file in the root directory of your project.
> 3. In the `dependencies` section, look for the Razorpay entry. The version number is specified next to the package name in the format `x.y.z`.
> [accordion] How can I update the Razorpay Capacitor Standard SDK version?
>
> To update the SDK version using npm, follow these steps:
>
> 1. Open the terminal or command prompt and navigate to your project directory where the `package.json` file resides.
> 2. Use the npm update command followed by the package name to update a specific package to its latest version. For example, npm update `` (replace `` with the name of the package you want to update).
> 3. If you are using a Capacitor iOS application, run `cd ios && pod repo update && pod update` to ensure the internal iOS dependencies are updated to the versions set by the Razorpay package. This is because cocoapods may not automatically update the internal trunk spec to fetch the latest versions.
> 4. After running the update command, review the updates fetched by npm to ensure they do not introduce any breaking changes.
> 5. Conduct thorough testing to ensure that the updated packages do not adversely affect the application functionality and commit the changes.
# Cordova Standard SDK Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/cordova-integration
Check the prerequisites before you integrate with Razorpay Cordova Standard SDK.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [Cordova Standard SDK Changelog](/docs/payments/changelog#mobile-sdks)
>
> Discover new features, updates and deprecations related to the Razorpay Cordova Standard SDK (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/cordova-integration/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about Cordova Standard integration.
You can use Razorpay Standard SDK to integrate the Razorpay Payment Gateway with your Cordova Application to accept payments. The Razorpay Cordova plugin acts as a wrapper around the Razorpay Standard SDK to build a dynamic and responsive Checkout interface for your iOS or Android application.
> [!TIP]
>
> **Update SDK**
>
> Check your current [Cordova](/docs/payments/payment-gateway/cordova-integration/troubleshooting-faqs#how-can-i-check-the-razorpay-cordova-standard-sdk-version) or [Iconic](/docs/payments/payment-gateway/cordova-integration/troubleshooting-faqs#how-can-i-check-the-razorpay-ionic-standard-sdk-version) Standard SDK version. If it is outdated, please [update the SDK](/docs/payments/payment-gateway/cordova-integration/troubleshooting-faqs#how-can-i-update-the-razorpay-cordova-and-ionic-standard-sdk-version) to ensure uninterrupted settlements of your funds.
## Guidelines
* Add the integration code snippet after the `deviceready` event.
* On browser, change the [Content Security Policy](https://content-security-policy.com/) to whitelist the `razorpay.com` domain.
```javascript theme={null}
```
* We do not support [ionic server](https://github.com/ionic-team/ionic-cli/issues/354) at the moment because it does not support cordova browser plugins. Try using the `ionic cordova run browser` command instead.
## Integration Steps
**Before you proceed:**
Create a [Razorpay account](https://dashboard.razorpay.com/signup).
Generate the [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
Know about the [Payment Flow](/docs/payments/payment-gateway/how-it-works).
Follow these integration steps:
> [card] [1. Build Integration](/docs/payments/payment-gateway/cordova-integration/integration-steps#1-build-integration)
>
> Integrate Cordova Standard SDK.
> [card] [2. Test Integration](/docs/payments/payment-gateway/cordova-integration/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/cordova-integration/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
> [card] [Sample Code](https://github.com/razorpay/razorpay-cordova-sample-app/tree/master/)
>
> Check the sample code on GitHub to integrate.
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/cordova-integration/integration-steps
Steps to integrate the Cordova application with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow these steps to integrate your Cordova application:
> [card] [1. Build Integration](/docs/payments/payment-gateway/cordova-integration/integration-steps#1-build-integration)
>
> Integrate Cordova Standard Checkout.
> [card] [2. Test Integration](/docs/payments/payment-gateway/cordova-integration/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/cordova-integration/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to Integrate Razorpay Payment Gateway on Cordova App](https://www.youtube.com/embed/j9_q3QxNLZ8)
> [!NOTE]
>
> **Handy Tips**
>
> If you use M1 MacBook, you need to make the following changes in your podfile.
>
> ```javascript podfile theme={null}
> installer.pods_project.build_configurations.each do |config|
> config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
> end
> ```
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Create an Order in Server
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order using:
>
> > [tab] API Sample Code
> >
> > Use this endpoint to create an order using the Orders API.
> >
> > `POST /orders`
> >
> > ```bash Curl theme={null}
> > curl -X POST https://api.razorpay.com/v1/orders
> > -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> > -H 'content-type:application/json'
> > -d '{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "qwsaq1",
> > "partial_payment": true,
> > "first_payment_min_amount": 230
> > }'
> > ```
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > JSONObject orderRequest = new JSONObject();
> > orderRequest.put("amount", 50000); // amount in the smallest currency unit
> > orderRequest.put("currency", "INR");
> > orderRequest.put("receipt", "order_rcptid_11");
> >
> > Order order = razorpay.Orders.create(orderRequest);
> > } catch (RazorpayException e) {
> > // Handle Exception
> > System.out.println(e.getMessage());
> > }
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > DATA = {
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "receipt#1",
> > "notes": {
> > "key1": "value3",
> > "key2": "value2"
> > }
> > }
> > client.order.create(data=DATA)
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->order->create(array('receipt' => '123', 'amount' => 50000, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> > ```
> >
> > ```csharp .NET theme={null}
> > RazorpayClient client = new RazorpayClient(your_key_id, your_secret);
> >
> > Dictionary options = new Dictionary();
> > options.Add("amount", 50000); // amount in the smallest currency unit
> > options.add("receipt", "order_rcptid_11");
> > options.add("currency", "INR");
> > Order order = client.Order.Create(options);
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > options = amount: 50000, currency: 'INR', receipt: ''
> > order = Razorpay::Order.create
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > instance.orders.create({
> > amount: 50000,
> > currency: "INR",
> > receipt: "receipt#1",
> > notes: {
> > key1: "value3",
> > key2: "value2"
> > }
> > })
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > data := map[string]interface{}{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "some_receipt_id"
> > }
> > body, err := client.Order.Create(data)
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id": "order_IluGWxBm9U8zJ8",
> > "entity": "order",
> > "amount": 50000,
> > "amount_paid": 0,
> > "amount_due": 50000,
> > "currency": "INR",
> > "receipt": "rcptid_11",
> > "offer_id": null,
> > "status": "created",
> > "attempts": 0,
> > "notes": [],
> > "created_at": 1642662092
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Order amount less than minimum amount allowed",
> > "source": "business",
> > "step": "payment_initiation",
> > "reason": "input_validation_failed",
> > "metadata": {},
> > "field": "amount"
> > }
> > }
> > ```
>
> > [tab] Razorpay Postman Public Workspace
> >
> > You can use the Postman workspace below to create an order:
> >
> > [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
> >
> > You can create an order manually by integrating the API sample codes on your server.
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount, expressed in the currency subunit. For example, for an actual amount of , the value of this field should be `22225`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be of 3 characters.
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7,000 is to be received from the customer in two installments of #1 - โน5,000, #2 - โน2,000, then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] 2 Install Razorpay Cordova plugin
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Starting from 1.4.14, the cordova project is now available at [npmjs](https://www.npmjs.com/package/com.razorpay.cordova). Use the code given below to install:\
> > `ionic cordova plugin add com.razorpay.cordova`.
>
> In your Cordova project folder, run this command to install the plugin:
>
> ```html Cordova theme={null}
> cd your-project-folder
> cordova platform add android # optional
> cordova platform add ios # make sure your ios version is ios@5 or latest.
> cordova platform add browser # optional
> cordova plugin add https://github.com/razorpay/razorpay-cordova.git --save
> ```
>
> ```html Ionic theme={null}
> cd your-project-folder
> ionic cordova platform add ios
> ionic cordova platform add android
> ionic cordova platform add browser
> ionic cordova plugin add https://github.com/razorpay/razorpay-cordova.git --save
> ```
> [accordion] 3 Add Checkout Code
>
> Add the Pay button on your web page using the checkout code given below. The checkout page is displayed when the customers click the Pay button.
>
> > [accordion] 3.1 Ionic Integration (For Ionic Users Only)
> >
> > 1. In your app's `home.page.html` file, add the following code. This code generates a button that your customer will click to open the Checkout and make the payment.
> >
> > ```html Add Button theme={null}
> >
> > Pay With Razorpay
> >
> > ```
> >
> > 2. In your app's `home.page.ts` file, import RazorpayCheckout as shown:
> >
> > ```javascript Import RazorpayCheckout theme={null}
> > declare var RazorpayCheckout:any;
> > ```
> >
> > 3. Add the [Checkout code](#3-2-code-to-add-pay-button) along with the `order_id` generated in the first step. Add the API key generated by you on the Dashboard.
>
> > [accordion] 3.2 Code to Add Pay Button
> >
> > Add the code given below:
> >
> > ```javascript Cordova theme={null}
> > var rzpOptions = {
> > key: "",
> > amount: "50000",
> > currency: " > name: "Acme Corp",
> > description: "Get the best deals",
> > image: "https://i.imgur.com/n5tjHFD.jpg",
> > order_id:"order_DBJOWzybf0sJbb",
> > handler: function (response){
> > alert(response.razorpay_payment_id);
> > alert(response.razorpay_order_id);
> > alert(response.razorpay_signature)
> > },
> > prefill: {
> > name: "",
> > email: ""
> > },
> > notes: {
> > address: "Hello World"
> > },
> > theme: {
> > color: "#3399cc"
> > }
> > };
> >
> > var successCallback = function(success) {
> > alert('payment_id: ' + success.razorpay_payment_id)
> > var orderId = success.razorpay_order_id
> > var signature = success.razorpay_signature
> > };
> >
> > var cancelCallback = function(error) {
> > alert(error.description + ' (Error '+error.code+')')
> > alert(error.source);
> > alert(error.step);
> > alert(error.reason);
> > alert(error.metadata.order_id);
> > alert(error.metadata.payment_id);
> > };
> > ```
> >
> > ```javascript Ionic theme={null}
> > payWithRazorpay(){
> > var options = {
> > description: 'Credits towards consultation',
> > image: 'https://i.imgur.com/3g7nmJC.jpg',
> > order_id: 'order_DBJOWzybf0sJbb',
> > currency: 'INR',
> > key:'',
> > amount:'5000',
> > name: 'Acme Corp',
> > theme: {
> > color: '#3399cc'
> > }
> > }
> > var successCallback = function(success) {
> > alert('payment_id: ' + success.razorpay_payment_id)
> > var orderId = success.razorpay_order_id
> > var signature = success.razorpay_signature
> > }
> > var cancelCallback = function(error) {
> > alert(error.description + ' (Error '+error.code+')')
> > alert(error.source);
> > alert(error.step);
> > alert(error.reason);
> > alert(error.metadata.order_id);
> > alert(error.metadata.payment_id);
> > }
> > RazorpayCheckout.on('payment.success', successCallback)
> > RazorpayCheckout.on('payment.cancel', cancelCallback)
> > RazorpayCheckout.open(options)
> > }
> > ```
>
> > [accordion] Checkout Options
> >
> > You must pass these parameters in Checkout to initiate the payment.
> >
> > `key` *mandatory*
> > : `string` API Key ID generated from the Dashboard.
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is , enter `222250` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the payment should be made by the customer. See the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY, and three decimal currencies, such as KWD, BHD, and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `name` *mandatory*
> > : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
> >
> > `description` *optional*
> > : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
> >
> > `image` *optional*
> > : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
> >
> > `order_id` *mandatory*
> > : `string` Order ID generated via [Orders API](/docs/api/orders).
> >
> > `prefill`
> > : `object` You can prefill the following details at Checkout.
> >
> > > [!NOTE]
> > >
> > > **Boost Conversions and Minimise Drop-offs**
> > >
> > > * Autofill customer contact details, especially phone number to ease form completion. Include customerโs phone number in the `contact` parameter of the JSON request's `prefill` object. Format: +(country code)(phone number). Example: "contact": "+919000090000".
> > > * This is not applicable if you do not collect customer contact details on your website before checkout, have Shopify stores or use any of the no-code apps.
> >
> > `name` *optional*
> > : `string` Cardholder's name to be prefilled if customer is to make card payments on Checkout. For example, **Gaurav Kumar**.
> >
> > `email` *optional*
> > : `string` Email address of the customer.
> >
> > `contact` *optional*
> > : `string` Phone number of the customer. The expected format of the phone number is `+ {country code}{phone number}`. If the country code is not specified, `91` will be used as the default value. This is particularly important while prefilling `contact` of customers with phone numbers issued outside India. **Examples**:
> >
> > * +14155552671 (a valid non-Indian number)
> > * +919977665544 (a valid Indian number). \
> > If 9977665544 is entered, `+91` is added to it as +919977665544.
> >
> > `method` *optional*
> > : `string` Pre-selection of the payment method for the customer. Will only work if `contact` and `email` are also prefilled. Possible values:
> >
> >
> >
`card`
> >
`netbanking`
> >
`wallet`
> >
`upi`
> >
`emi`
> >
> >
> > `notes` *optional*
> > : `object` Set of key-value pairs that can be used to store additional information about the payment. It can hold a maximum of 15 key-value pairs, each 256 characters long (maximum).
> >
> > `theme`
> > : `object` Thematic options to modify the appearance of Checkout.
> >
> > `color` *optional*
> > : `string` Enter your brand colour's HEX code to alter the text, payment method icons and CTA (call-to-action) button colour of the Checkout form.
> >
> > `backdrop_color` *optional*
> > : `string` Enter a HEX code to change the Checkout's backdrop colour.
> >
> > `modal`
> > : `object` Options to handle the Checkout modal.
> >
> > `backdropclose` *optional*
> > : `boolean` Indicates whether clicking the translucent blank space outside the Checkout form should close the form. Possible values:
> >
> > * `true`: Closes the form when your customer clicks outside the checkout form.
> > * `false` (default): Does not close the form when customer clicks outside the checkout form.
> >
> > `escape` *optional*
> > : `boolean` Indicates whether pressing the **escape** key should close the Checkout form. Possible values:
> >
> > * `true` (default): Closes the form when the customer presses the **escape** key.
> > * `false`: Does not close the form when the customer presses the **escape** key.
> >
> > `handleback` *optional*
> > : `boolean` Determines whether Checkout must behave similar to the browser when back button is pressed. Possible values:
> >
> > * `true` (default): Checkout behaves similarly to the browser. That is, when the browser's back button is pressed, the Checkout also simulates a back press. This happens as long as the Checkout modal is open.
> > * `false`: Checkout does not simulate a back press when browser's back button is pressed.
> >
> > `confirm_close` *optional*
> > : `boolean` Determines whether a confirmation dialog box should be shown if customers attempts to close Checkout. Possible values:
> >
> > * `true`: Confirmation dialog box is shown.
> > * `false` (default): Confirmation dialog box is not shown.
> >
> > `ondismiss` *optional*
> > : `function` Used to track the status of Checkout. You can pass a modal object with `ondismiss: function()\{\}` as options. This function is called when the modal is closed by the user. If `retry` is `false`, the `ondismiss` function is triggered when checkout closes, even after a failure.
> >
> > `animation` *optional*
> > : `boolean` Shows an animation before loading of Checkout. Possible values:
> >
> > * `true`(default): Animation appears.
> > * `false`: Animation does not appear.
> >
> > `subscription_id` *optional*
> > : `string` If you are accepting recurring payments using Razorpay Checkout, you should pass the relevant `subscription_id` to the Checkout. Know more about [Subscriptions on Checkout](/docs/api/payments/subscriptions-custom#checkout-integration).
> >
> > `subscription_card_change` *optional*
> > : `boolean` Permit or restrict customer from changing the card linked to the subscription. You can also do this from the [hosted page](/docs/payments/subscriptions/payment-retries#update-payment-method-on-our-hosted-page). Possible values:
> >
> > * `true`: Allow the customer to change the card from Checkout.
> > * `false` (default): Do not allow the customer to change the card from Checkout.
> >
> > `recurring` *optional*
> > : `boolean` Determines if you are accepting [recurring (charge-at-will) payments on Checkout](/docs/api/payments/recurring-payments) via instruments such as emandate, paper NACH and so on. Possible values:
> >
> > * `true`: You are accepting recurring payments.
> > * `false` (default): You are not accepting recurring payments.
> >
> > `callback_url` *optional*
> > : `string` Customers will be redirected to this URL on successful payment. Ensure that the domain of the Callback URL is allowlisted.
> >
> > `redirect` *optional*
> > : `boolean` Determines whether to post a response to the event handler post payment completion or redirect to Callback URL. `callback_url` must be passed while using this parameter. Possible values:
> >
> > * `true`: Customer is redirected to the specified callback URL in case of payment failure.
> > * `false` (default): Customer is shown the Checkout popup to retry the payment with the suggested next best option.
> >
> > `customer_id` *optional*
> > : `string` Unique identifier of customer. Used for:
> >
> > * [Local saved cards feature](/docs/payments/payment-methods/cards/features/saved-cards#manage-saved-cards).
> > * Static bank account details on Checkout in case of [Bank Transfer payment method](/docs/payments/payment-methods/bank-transfer).
> >
> > `remember_customer` *optional*
> > : `boolean` Determines whether to allow saving of cards. Can also be configured via the [Dashboard](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout). Possible values:
> >
> > * `true`: Enables card saving feature.
> > * `false` (default): Disables card saving feature.
> >
> > `timeout` *optional*
> > : `integer` Sets a timeout on Checkout, in seconds. After the specified time limit, the customer will not be able to use Checkout.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Some browsers may pause `JavaScript` timers when the user switches tabs, especially in power saver mode. This can cause the checkout session to stay active beyond the set timeout duration.
> >
> > `readonly`
> > : `object` Marks fields as read-only.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `name` *optional*
> > : `boolean` Used to set the `name` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `hidden`
> > : `object` Hides the contact details.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `send_sms_hash` *optional*
> > : `boolean` Used to auto-read OTP for cards and netbanking pages. Applicable from Android SDK version 1.5.9 and above. Possible values:
> >
> > * `true`: OTP is auto-read.
> > * `false` (default): OTP is not auto-read.
> >
> > `allow_rotation` *optional*
> > : `boolean` Used to rotate payment page as per screen orientation. Applicable from Android SDK version 1.6.4 and above. Possible values:
> >
> > * `true`: Payment page can be rotated.
> > * `false` (default): Payment page cannot be rotated.
> >
> > `retry` *optional*
> > : `object` Parameters that enable retry of payment on the checkout.
> >
> > `enabled`
> > : `boolean` Determines whether the customers can retry payments on the checkout. Possible values:
> >
> > * `true` (default): Enables customers to retry payments.
> > * `false`: Disables customers from retrying the payment.
> >
> > `max_count`
> > : `integer` The number of times the customer can retry the payment. We recommend you to set this to 4. Having a larger number here can cause loops to occur.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Web Integration does not support the `max_count` parameter. It is applicable only in Android and iOS SDKs.
> >
> > `config` *optional*
> > : `object` Parameters that enable checkout configuration. Know more about how to [configure payment methods on Razorpay standard checkout](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
> >
> > `display`
> > : `object` Child parameter that enables configuration of checkout display language.
> >
> > `language`
> > : `string` The language in which checkout should be displayed. Possible values:
> >
> > * `en`: English
> > * `ben`: Bengali
> > * `hi`: Hindi
> > * `mar`: Marathi
> > * `guj`: Gujarati
> > * `tam`: Tamil
> > * `tel`: Telugu
>
> > [accordion] 3.3 Enable UPI Intent on iOS *(Optional)*
> >
> > Provide your customers with a better payment experience by enabling UPI Intent on your app's Checkout form. In the UPI Intent flow:
> >
> > 1. Customer selects UPI as the payment method in your iOS app. A list of UPI apps supporting the intent flow is displayed. For example, PhonePe, Google Pay and Paytm.
> > 2. Customer selects the preferred app. The UPI app opens with pre-populated payment details.
> > 3. Customer enters their UPI PIN to complete their transactions.
> > 4. Once the payment is successful, the customer is redirected to your app or website.
> >
> > To enable this in your iOS integration, you must make the following changes in your app's info.plist file.
> >
> > ```xml info.plist theme={null}
> > LSApplicationQueriesSchemes
> >
> > tez
> > phonepe
> > paytmmp
> > credpay
> > mobikwik
> > in.fampay.app
> > bhim
> > amazonpay
> > navi
> > kiwi
> > payzapp
> > jupiter
> > omnicard
> > icici
> > popclubapp
> > sbiyono
> > myjio
> > slice-upi
> > bobupi
> > shriramone
> > indusmobile
> > kotakbank
> > snapmint
> > freecharge
> > navipay
> > whatsapp-consumer
> > postpe
> > super
> > lxme
> > scapia
> > curieapp
> >
> > ```
> >
> > Know more about [UPI Intent and its benefits](/docs/payments/payment-methods/upi/upi-intent).
> >
> > ### UPI Intent on Recurring Payments
> >
> > Configure and initiate a recurring payment transaction on UPI Intent:
> >
> > ```swift ViewController.swift theme={null}
> > let options: [String:Any] = [
> > "key": "YOUR_KEY_ID",
> > "order_id": "order_DBJOWzybfXXXX",
> > "customer_id": "cust_BtQNqzmBlXXXX",
> > "prefill": [
> > "contact": "+919000090000",
> > "email": "gaurav.kumar@example.com"
> > ],
> > "image": "https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> > "amount": 10000, // Amount should match the order amount
> > "currency": "INR",
> > "recurring": 1 // This key value pair is mandatory for Intent Recurring Payment.
> > ]
> > ```
> >
> > ```objectivec ViewController.m theme={null}
> > NSDictionary *options = @{
> > @"key": @"YOUR_KEY_ID",
> > @"order_id": @"order_DBJOWzybfXXXX",
> > @"customer_id": @"cust_BtQNqzmBlXXXX",
> > @"prefill": @{
> > @"contact": @"+919000090000",
> > @"email": @"gaurav.kumar@example.com"
> > },
> > @"image": @"https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> > @"amount": @(10000), // Amount should match the order amount
> > @"currency": @"INR",
> > @"recurring": @(1) // This key value pair is mandatory for Intent Recurring Payment.
> > };
> > ```
> [accordion] 4 Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> > [accordion] Success Callback
> >
> > * You need to store these fields in your server.
> > * You can confirm the authenticity of these details by verifying the signature in the next step.
> >
> > ```json Success Callback theme={null}
> > {
> > "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> > "razorpay_order_id": "order_9A33XWu170gUtm",
> > "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> > }
> > ```
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] 5 Verify Payment Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> > [accordion] To verify the `razorpay_signature` returned to you by the Checkout form:
> >
> > 1. Create a signature in your server using the following attributes:
> > * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> > * `razorpay_payment_id`: Returned by Checkout.
> > * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
> > 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
> >
> > ```html HMAC Hex Digest theme={null}
> > generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
> >
> > if (generated_signature == razorpay_signature) {
> > payment is successful
> > }
> > ```
> >
> > 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
>
> > [accordion] Generate Signature on Your Server
> >
> > Given below is the sample code for payment signature verification:
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > String secret = "EnLs21M47BllR3X8PSFtjtbd";
> >
> > JSONObject options = new JSONObject();
> > options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > boolean status = Utils.verifyPaymentSignature(options, secret);
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->utility->verifyPaymentSignature(array('razorpay_order_id' => $razorpayOrderId, 'razorpay_payment_id' => $razorpayPaymentId, 'razorpay_signature' => $razorpaySignature));
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > payment_response = {
> > razorpay_order_id: 'order_IEIaMR65cu6nz3',
> > razorpay_payment_id: 'pay_IH4NVgf4Dreq1l',
> > razorpay_signature: '0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f'
> > }
> > Razorpay::Utility.verify_payment_signature(payment_response)
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > client.utility.verify_payment_signature({
> > 'razorpay_order_id': razorpay_order_id,
> > 'razorpay_payment_id': razorpay_payment_id,
> > 'razorpay_signature': razorpay_signature
> > })
> > ```
> >
> > ```c .NET theme={null}
> > RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > Dictionary options = new Dictionary();
> > options.Add("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.Add("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.Add("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > Utils.verifyPaymentSignature(options);
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > var { validatePaymentVerification, validateWebhookSignature } = require('./dist/utils/razorpay-utils');
> > validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > params := map[string]interface{}{
> > "razorpay_order_id": "order_IEIaMR65cu6nz3",
> > "razorpay_payment_id": "pay_IH4NVgf4Dreq1l",
> > }
> >
> > signature := "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f";
> > secret := "EnLs21M47BllR3X8PSFtjtbd";
> > utils.VerifyPaymentSignature(params, signature, secret)
> > ```
>
> > [accordion] Post Signature Verification
> >
> > After you have completed the integration, you can [set up webhooks](/docs/webhooks/setup-edit-payments), make test payments, replace the test key with the live key and integrate with other [APIs](/docs/api).
> [accordion] 6 Android Lifecycle Guide
>
> It is recommended that you read the [Android Lifecycle Guide](https://cordova.apache.org/docs/en/latest/guide/platforms/android/#lifecycle-guide) before proceeding with this section.
>
> Since our plugin launches a new activity on Android, the Cordova activity goes in the background and might get destroyed by the Android System.
>
> To make sure the payment result is delivered after the activity is recreated, use the following code:
>
> ```java theme={null}
> // You need to register an event listener for the `resume` event
> document.addEventListener('resume', onResume, false);
> var onResume = function(event) {
> // Re-register the payment success and cancel callbacks
> RazorpayCheckout.on('payment.success', successCallback)
> RazorpayCheckout.on('payment.cancel', cancelCallback)
> // Pass on the event to RazorpayCheckout
> RazorpayCheckout.onResume(event);
> };
> ```
> [accordion] 7 Verify Payment Status
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > On the Razorpay Dashboard, ensure that the payment status is `captured`. Refer to the payment capture settings page to know how to [capture payments automatically](/docs/payments/payments/capture-settings).
>
> > [accordion] You can track the payment status in three ways:
> >
> > > [tab] Verify Status from Dashboard
> > >
> > > To verify the payment status from the Razorpay Dashboard:
> > >
> > > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > > 2. Check if a **Payment Id** has been generated and note the status. In case of a successful payment, the status is marked as **Captured**.
> > >
> > > 
> >
> > > [tab] Subscribe to Webhook Events
> > >
> > > You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to [set up webhooks.](/docs/webhooks/setup-edit-payments)
> > >
> > > #### Example
> > >
> > > If you have subscribed to the `order.paid` webhook event, you will receive a notification every time a customer pays you for an order.
> >
> > > [tab] Poll APIs
> > >
> > > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 2. Test Integration
After the integration is complete, a **Pay** button appears on your webpage/app.

Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
| Payment Method | Code | Availability |
| - | - | - |
| [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
| [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
| [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
| [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
| EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
| [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
| [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
You can make test payments using one of the payment methods configured at the Checkout.
> [accordion] Netbanking
>
> You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
>
> Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
> [accordion] UPI
>
> You can enter one of the following UPI IDs:
>
> * `success@razorpay`: To make the payment successful.
> * `failure@razorpay`: To fail the payment.
>
> Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
> [accordion] Cards
>
> You can use the following test cards to test transactions for your integration in Test Mode.
>
> ### Domestic Cards
>
> Use the following test cards for Indian payments:
>
> | Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> | Mastercard | 5500 6700 0000 1002 | |
> | RuPay | 6527 6589 0000 1005 | |
> | Diners | 3608 280009 1007 | |
> | Amex | 3402 560004 01007 | |
>
> #### Error Scenarios
>
> Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> Check the following lists:
>
> * [Supported Card Networks](/docs/payments/payment-methods/cards).
> * [Cards Error Codes](/docs/errors/payments/cards).
>
> ### International Cards
>
> Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
>
> | Card Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> | Visa | 4012 8888 8888 1881 | |
>
> Check the list of [supported card networks](/docs/payments/payment-methods/cards).
> [accordion] Wallet
>
> You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
>
> Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
## 3. Go-live Checklist
Check the go-live checklist for Razorpay Cordova integration. Consider these steps before taking the integration live.
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> [accordion] 3 Set Up Webhooks
>
> Ensure you have [set up webhooks](/docs/webhooks/setup-edit-payments) in the live mode and configured the events for which you want to receive notifications.
>
> > [!WARNING]
> >
> > **Implementation Considerations**
> >
> > Webhooks are the primary and most efficient method for event notifications. They are delivered asynchronously in near real-time. For critical user-facing flows that need instant confirmation (like showing "Payment Successful" immediately), supplement webhooks with API verification.
> >
> > **Recommended approach** \\
> >
> > * Rely on webhooks for all automation, which can be asynchronous.
> > * If a critical user-facing flow requires instant status, but the webhook notification has not arrived within the time mandated by your business needs, perform an immediate API Fetch call ([Payments](/docs/api/payments/fetch-with-id), [Orders](/docs/api/orders/fetch-with-id) and [Refunds](/docs/api/refunds/fetch-specific-refund-payment)) to verify the status.
# Integrate Turbo UPI TPV
Source: https://razorpay.com/docs/payments/payment-gateway/cordova-integration/payment-methods/integration-tpv
Steps to integrate Turbo UPI TPV with your Cordova app. Know how Razorpay performs Third-Party Validation (TPV) of investor bank accounts in real-time using Razorpay Turbo UPI.
Available in
๐ฎ๐ณ India
Third-party validation (TPV) of bank accounts is mandatory for businesses in the BFSI (Banking, Financial Services and Insurance) sector dealing with Securities, Broking and Mutual Funds. You can accept customer payments by integrating with the Turbo UPI - TPV SDK.
> [accordion] Prerequisites
>
> 1. Integrate with [Razorpay Cordova Standard SDK](/docs/payments/payment-gateway/cordova-integration).
>
> 2. Import the following frameworks:
> * Razorpay Cordova Standard SDK
> * Razorpay Turbo Wrapper Plugin SDK (maven)
> * Razorpay Turbo Core SDK
> * Razorpay Turbo UI SDK
> * Razorpay SecureComponent SDK
> * Bank SDK
>
> 3. Enable data binding in your `app.gradle`.
>
> ```json Data binding theme={null}
> {
> "android": {
> // Containing other settings
> "buildFeatures": {
> "dataBinding": true
> }
> }
> }
> ```
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > * API Key Usage for Different Environments:
> > * Use the `rzp_test_0wFRWIZnH65uny` API key id for testing on the UAT environment.
> > * Use the [Razorpay live keys](/docs/api/authentication#live-mode-api-keys) for prod testing.
> > * As a compliance requirement, you should get approval from Google for **READ\_SMS** permission. Refer [to the Google article](https://support.google.com/googleplay/android-developer/answer/10208820?hl=en) for more details.
## 1. Integration Steps
Given below are the steps:
> [accordion] Step 1: Whitelist Customer Bank Accounts *(Optional)*
>
> You can whitelist (also known as allowlist) your customer's bank accounts to ensure that only those accounts are considered during customer onboarding. By whitelisting the accounts at the start, you can avoid the bank account linking during payment. Use the Customer APIs to create customers and add their bank account details.
>
> For example, if a customer, Gaurav, has two bank accounts ABC and XYZ, you can use the APIs to create a customer id and link the bank accounts to that id. You can then pass this customer id at the time of payment.
>
> Follow these steps.
>
> > [accordion] Step 1.1: Create a Customer
> >
> > Use this endpoint to create or add a customer with basic details such as name and contact details.
> >
> > ```bash Request theme={null}
> > curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> > -X POST https://api.razorpay.com/v1/customers \
> > -H "Content-Type: application/json" \
> > -d '{
> > "name": "Gaurav Kumar",
> > "contact": "9123456780",
> > "email": "gaurav.kumar@example.com",
> > "fail_existing": "0",
> > "notes": {
> > "notes_key_1": "Tea, Earl Grey, Hot",
> > "notes_key_2": "Tea, Earl Greyโฆ decaf."
> > }
> > }'
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id" : "cust_1Aa00000000004",
> > "entity": "customer",
> > "name" : "Gaurav Kumar",
> > "email" : "gaurav.kumar@example.com",
> > "contact" : "9123456780",
> > "gstin": null,
> > "notes": {
> > "notes_key_1":"Tea, Earl Grey, Hot",
> > "notes_key_2":"Tea, Earl Greyโฆ decaf."
> > },
> > "created_at ": 1234567890
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Contact number should be at least 8 digits, including country code",
> > "source": "business",
> > "step": "NA",
> > "reason": "invalid_contact_number",
> > "metadata": {},
> > "field": "contact"
> > }
> > }
> > ```
> >
> > > [accordion] Request Parameters
> > >
> > > `name` *optional*
> > > : `string` Customer's name. Alphanumeric value with period (.), apostrophe ('), forward slash (/), at (@) and parentheses are allowed. The name must be between 3-50 characters in length. For example, `Gaurav Kumar`.
> > >
> > > `contact ` *optional*
> > > : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919876543210`.
> > >
> > > `email ` *optional*
> > > : `string` The customer's email address. A maximum length of 64 characters. For example, `gaurav.kumar@example.com`.
> > >
> > > `fail_existing` *optional*
> > > : `string` Possible values:
> > >
> > > * `1` (default): If a customer with the same details already exists, throws an error.
> > > * `0`: If a customer with the same details already exists, fetches details of the existing customer.
> > >
> > > `gstin` *optional*
> > > : `string` Customer's GST number, if available. For example, `29XAbbA4369J1PA`.
> > >
> > > `notes` *optional*
> > > : `object` This is a key-value pair that can be used to store additional information about the entity. It can hold a maximum of 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > > [accordion] Response Parameters
> > >
> > > `id`
> > > : `string` Unique identifier of the customer. For example, `cust_1Aa00000000004`.
> > >
> > > `name`
> > > : `string` Customer's name. Alphanumeric, with period (.), apostrophe ('), forward slash (/), at (@) and parentheses allowed. The name must be between 3-50 characters in length. For example, `Gaurav Kumar`.
> > >
> > > `contact`
> > > : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919876543210`.
> > >
> > > `email`
> > > : `string` The customer's email address. A maximum length of 64 characters. For example, `gaurav.kumar@example.com`.
> > >
> > > `gstin`
> > > : `string` GST number linked to the customer. For example, `29XAbbA4369J1PA`.
> > >
> > > `notes`
> > > : `json object` This is a key-value pair that can be used to store additional information about the entity. It can hold a maximum of 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> > >
> > > `created_at`
> > > : `integer` UNIX timestamp, when the customer was created. For example, `1234567890`.
>
> > [accordion] Step 1.2: Add Customer's Bank Account
> >
> > The following endpoint adds the customer's bank accounts.
> >
> > ```bash Request theme={null}
> > curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> > -X POST https://api.razorpay.com/v1/customers/:customer_id/bank_account \
> > -H "Content-Type: application/json" \
> > -d '{
> > "ifsc_code": "UTIB0000194",
> > "account_number": "11214311215411",
> > "beneficiary_name": "Gaurav",
> > "beneficiary_address1": "address 1",
> > "beneficiary_address2": "address 2",
> > "beneficiary_address3": "address 3",
> > "beneficiary_address4": "address 4",
> > "beneficiary_email": "gaurav.kumar@example.com",
> > "beneficiary_mobile": "9900990099",
> > "beneficiary_city": "Bangalore",
> > "beneficiary_state": "KA",
> > "beneficiary_country": "IN"
> > }'
> > ```
> >
> > ```json Response theme={null}
> > {
> > "id": "ba_LSZht1Cm7xFTwF",
> > "entity": "bank_account",
> > "ifsc": "ICIC0001207",
> > "bank_name": "ICICI Bank",
> > "name": "Gaurav Kumar",
> > "notes": [],
> > "account_number": "XXXXXXXXXXXXXXX0434"
> > }
> > ```
> >
> > > [accordion] Path Parameter
> > >
> > > `customer_id` *mandatory*
> > > : `string` Customer id of the customer whose bank account is to be added.
> >
> > > [accordion] Request Parameters
> > >
> > > `account_number` *mandatory*
> > > : `string` Customer's bank account number. For example, `11214311215411`.
> > >
> > > `beneficiary_name` *mandatory*
> > > : `string` The name of the beneficiary associated with the bank account.
> > >
> > > `beneficiary_address1` *optional*
> > > : `string` The virtual payment address.
> > >
> > > `beneficiary_email` *optional*
> > > : `string` Email address of the beneficiary. For example, `gaurav.kumar@example.com`.
> > >
> > > `beneficiary_mobile` *optional*
> > > : `string` Mobile number of the beneficiary.
> > >
> > > `beneficiary_city` *optional*
> > > : `string` The city of the beneficiary.
> > >
> > > `beneficiary_state` *optional*
> > > : `string` The state of the beneficiary.
> > >
> > > `beneficiary_country` *optional*
> > > : `string` The country of the beneficiary.
> > >
> > > `beneficiary_pin` *optional*
> > > : `integer` The pin code of the beneficiary's address.
> > >
> > > `ifsc_code` *mandatory*
> > > : `string` The IFSC of the bank branch associated with the account.
> >
> > > [accordion] Response Parameters
> > >
> > > `bank_accounts`
> > > : `array` An array containing bank account details.
> > >
> > > `id`
> > > : `string` Unique identifier of the bank account.
> > >
> > > `entity`
> > > : `string` The type of entity, which in this case is `bank_account`.
> > >
> > > `ifsc`
> > > : `string` The IFSC of the bank branch associated with the account.
> > >
> > > `bank_name`
> > > : `string` The name of the bank.
> > >
> > > `name`
> > > : `string` The name associated with the bank account.
> > >
> > > `notes`
> > > : `object` Set of key-value pairs that can be used to store additional information about the payment.
> > >
> > > `account_number`
> > > : `string` Customer's bank account number. For example, `11214311215411`.
> [accordion] Step 2: Create an Order *(Mandatory)*
>
> Pass the investor bank account details to the `bank_account` array of the Orders API. Given below is the sample code when the `method` is `upi`.
>
> ```bash Request theme={null}
> curl -u : \
> -X POST https://api.razorpay.com/v1/orders \
> -H "Content-Type: application/json" \
> -d '{
> "amount": 500,
> "method": "upi",
> "receipt": "BILL13375649",
> "currency": "INR",
> "bank_account": {
> "account_number": "765432123456789",
> "name": "Gaurav Kumar",
> "ifsc": "HDFC0000053"
> }
> }'
> ```
>
> ```json Response theme={null}
> {
> "id": "order_GAWRjlWkVcRh0V",
> "entity": "order",
> "amount": 500,
> "amount_paid": 0,
> "amount_due": 500,
> "currency": "INR",
> "receipt": "BILL13375649",
> "offer_id": null,
> "status": "created",
> "attempts": 0,
> "notes": [],
> "created_at": 1573044206
> }
> ```
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount expressed in paise (currency supported is INR). For example, for an actual amount of โน1, the value of this field should be `100`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. You can create orders in **INR** only.
> >
> > `receipt` *optional*
> > : `string` Receipt number that corresponds to this order, set for your internal reference. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `method` *mandatory*
> > : `string` The payment method used to make the payment. If this parameter is not passed, investors will be able to make payments using both netbanking and UPI payment methods. Possible values:
> >
> > * `netbanking`: Investors can make payments only using netbanking.
> > * `card`: Investors can make payments using debit card.
> > * `upi`: Investors can make payments only using UPI.
> >
> > `bank_account` *mandatory*
> > : `object` Details of the bank account that the investor has provided at the time of registration.
> >
> > `account_number` *mandatory*
> > : `string` The bank account number from which the investor should make the payment. For example, `765432123456789` Payments will not be processed for an incorrect account number.
> >
> > `name` *mandatory*
> > : `string` The name linked to the bank account. For example, `Gaurav Kumar`.
> >
> > `ifsc` *mandatory*
> > : `string` The bank IFSC. For example, `HDFC0000053`.
>
> > [accordion] Response Parameters
> >
> > `id`
> > : `string` Unique identifier of the order.
> >
> > `entity`
> > : `string` Indicates the type of entity. Here, it is `order`.
> >
> > `amount`
> > : `integer` The order amount represented in the smallest unit of the currency passed. For example, amount = 100 translates to 100 paise, that is โน1 (default currency is INR).
> >
> > `amount_paid`
> > : `integer` The amount that has been paid.
> >
> > `amount_due`
> > : `integer` The amount that is yet to be paid.
> >
> > `currency`
> > : `string` The 3-letter ISO currency code for the payment. Currently, we support INR only.
> >
> > `receipt`
> > : `string` A unique identifier of the order entered by the user. For example, `BILL13375649`.
> >
> > `status`
> > : `string` The status of the order.
> >
> > `notes`
> > : `object` Key-value pair you can use to store additional information about the entity. Maximum of 15 key-value pairs, 256 characters each. For example, "note\_key": "Beam me up Scottyโ.
> >
> > `created_at`
> > : `integer` The Unix timestamp at which the order was created.
> >
> > `offer_id`
> > : `string` Unique identifier of the offer.
> >
> > `attempts`
> > : `integer` The number of payment attempts, successful and failed, that have been made against this order.
> [accordion] Step 3: Turbo UPI SDK Action
>
> You need to link the customer's UPI account with your app. Use the code samples given below to [fetch the UPI account](#2-link-new-upi-account).
>
> > [accordion] 1 Initialise the SDK
> >
> > Use the code given below to initialise the SDK.
> >
> > ```java Initialise theme={null}
> > RazorpayCheckout.initUpiTurbo("rzp_test_0wFRWIZnH65uny")
> > ```
>
> > [accordion] 2 Link New UPI Account
> >
> > Use the following code to link the newly created UPI account with your app. This function can be called from anywhere in the application, providing multiple entry points for customers to link their UPI account with your app.
> >
> > ```javascript Link New UPI Account theme={null}
> > RazorpayCheckout.upiTurbo.linkNewUpiAccount("mobileNo", "color", function (upiAccounts) {
> > // handle data
> > }, function(error) {
> > // handle error
> > });
> > ```
> >
> > > [accordion] Request Parameters
> > >
> > > `mobileNo` *mandatory*
> > > : `string` Mobile number of the customer.
> > >
> > > `color` *optional*
> > > : `string` Colour in HEX format.
> >
> > > [accordion] Response Parameters
> > >
> > > | Parameters | Description |
> > > | - | - |
> > > | `function(upiAccounts)` | This function is triggered if the list is fetched successfully. The `upiAccounts` can be empty to indicate that no accounts have been linked yet. |
> > > | `function(error)` | This function is triggered in case of an error, and the error object will be received. |
> >
> > * Handle payment failure responses, displaying important details such as error codes, error descriptions, and metadata. This function is responsible for handling and logging information in case of a payment error.
> >
> > ```javascript Payment Failure Response Handling theme={null}
> > var cancelCallback = function(error) {
> > /**
> > * error contains two values:
> > * 1. Error Code
> > * 2. Error Description
> > **/
> >
> > // handle failure
> > };
> > ```
> >
> > * Handle successful payment responses, displaying key information like order id, payment id, and signature. This code manages and logs details when a payment transaction is successful.
> >
> > ```javascript Payment Success Response Handling theme={null}
> > var successCallback = function(response) {
> > /**
> > * response contains three values:
> > * 1. Order ID
> > * 2. Payment ID
> > * 3. Signature
> > **/
> >
> > // handle success
> > };
> > ```
>
> > [accordion] 3 Submit Method
> >
> > To accept payments, call the `submit` method with the following payload:
> >
> > ```java Submit Payment Details theme={null}
> > "key": "[YOUR_KEY_ID]",
> > "currency": "INR",
> > "amount": 100,
> > "contact": "9000090000",
> > "method": "upi",
> > "email": "gaurav.kumar@example.com",
> > "upi": {
> > "flow": "in_app"
> > }
> > ```
> >
> > > [accordion] Request Parameter
> > >
> > > `payload` *mandatory*
> > > : `Map` Payload for initiating the transaction.
> >
> > > [accordion] Response Parameters
> > >
> > > | Parameter | Description |
> > > | - | - |
> > > | `onSuccess` | This function is triggered if the list is fetched successfully. `accList` can be empty to indicate that no accounts have been linked yet. |
> > > | `onFailure` | This function is triggered in case an error is thrown during the retrieval process, either by the Razorpay SDK or the Bank SDK. |
> [accordion] Step 4: Handle Payment Success and Failure
>
> The way you handle payment success and failure scenarios depends on the Checkout sample code you opted for in the previous step. Know how to [handle payment success and failure](/docs/payments/third-party-validation/standard-integration#4-handle-payment-success-and-failure).
> [accordion] Steps 5: Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> * You need to store these fields in your server.
> * You can confirm the authenticity of these details by verifying the signature in the next step.
>
> ```json Success Callback theme={null}
> {
> "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> "razorpay_order_id": "order_GAWRjlWkVcRh0V",
> "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> }
> ```
>
> > [accordion] Parameters
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by the Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by the Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] Step 6: Verify Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> To verify the `razorpay_signature` returned to you by the Checkout form:
>
> 1. Create a signature in your server using the following attributes:
> * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> * `razorpay_payment_id`: Returned by Checkout.
> * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/api/authentication#generate-api-keys).
> 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC HEX digest as shown below:
>
> ```html HMAC HEX Digest theme={null}
> generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
>
> if (generated_signature == razorpay_signature) {
> payment is successful
> }
> ```
>
> 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
### Non-Transactional Flow
Razorpay provides a single exposed function that allows you to manage linked UPI accounts and access all non-transactional flows seamlessly.

> [accordion] Manage UPI Accounts
>
> The SDK manages the linked `UpiAccounts` on the application by triggering `manageUpiAccounts()`. The sequence of steps is as given below:
>
> * **Fetch balance**: Check the customer's account balance.
> * **Change UPI PIN**: Provide the customer the ability to change their UPI PIN.
> * **Reset UPI PIN**: Let your customers reset the PIN for their account.
> * **Delete the account from the application**: Let your customers delink, that is, remove a selected UPI account from your application.
>
> ```javascript Java theme={null}
> RazorpayCheckout.upiTurbo.manageUpiAccounts("mobileNo", "color", function(error) {
> // handle error
> });
> ```
>
> > [accordion] Request Parameters
> >
> > `mobileNo` *mandatory*
> > : `string` Mobile number of the customer.
> >
> > `color` *optional*
> > : `string` Colour in HEX format.
>
> > [accordion] Response Parameter
> >
> > | Parameters | Description |
> > | - | - |
> > | `function(error)` | This function is triggered in case of an error, and the error object will be received. |
### Models Exposed from SDKs
Given below are the models:
> [accordion] Error
>
> | Error | Description |
> | - | - |
> | `errorCode` | Types of error codes
`BAD_REQUEST_ERROR`: Failure from the client's end (SDK).
`GATEWAY_ERROR`: Failure either from the Secure Component or the Bank.
`SERVER_ERROR`: Failure at PSP.
|
> | `errorDescription` | Brief description of the error. |
> | `errorReason` | Specifies the specific reason for the error. |
> | `errorSource` | Indicates the origin of the error. |
> | `errorStep` | Highlights the stage where the error occurred. |
>
> [Refer to the list of possible error reasons](/docs/payments/payment-gateway/cordova-integration/payment-methods/turbo-upi/error-codes).
> [accordion] UpiAccount
>
> | Fields | Return Type | Description |
> | - | - | - |
> | `accountNumber` | String | Masked account number. |
> | `ifsc` | String | IFSC of the bank. |
> | `bankLogoUrl` | String | Image URL of the bank logo. |
> | `bankName` | String | Name of the bank. |
> | `bankPlaceholderUrl` | String | Image URL of the bank logo placeholder. |
## 2. Test Integration
We recommend the following:
* Complete the integration on UAT before using the prod builds.
* Perform the UAT using the Razorpay-provided API keys.
## 3. Go-live Checklist
Complete these steps to take your integration live:
* You should get your app id whitelisted by Razorpay to test on prod.
> [!NOTE]
>
> **Handy Tips**
>
> Contact our [integrations team](mailto:integrations@razorpay.com) to get your mobile number and app whitelisted.
* Import the prod library from the GitHub repository โ `https://github.com/upi-turbo/android-turbo-sample-app/tree/prod/app/libs` prod branch.
* Add Proguard rules:
* `keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName ;
}`
* `keepclassmembers enum * { *; }`
* `keepclassmembers class * {
@android.webkit.JavascriptInterface ;
}`
* `dontwarn com.razorpay.**`
* `keep class com.razorpay.** {*;}`
* `keep class com.olivelib.** {*;}`
* `keep class com.olive.** {*;}`
* `keep class org.apache.xml.security.** {*;}`
* `keep interface org.apache.xml.security.** {*;}`
* `keep class org.npci.** {*;}`
* `keep interface org.npci.** {*;}`
* `keep class retrofit2.** { *; }`
* `keep class okhttp3.** { *; }`
* Replace the UAT credential with the [Razorpay live keys](/docs/api/authentication#live-mode-api-keys) for prod testing.
# Integrate with Turbo UPI
Source: https://razorpay.com/docs/payments/payment-gateway/cordova-integration/payment-methods/turbo-upi
Steps to integrate Razorpay Turbo UPI with your app.
Available in
๐ฎ๐ณ India
> [card] [Turbo UPI Cordova Standard SDK](/docs/payments/changelog#products)
>
> Discover new features, updates and deprecations related to Turbo UPI on Cordova Standard Checkout (since Jan 2024).
With Razorpay Turbo UPI, businesses experience faster and simpler payments. It condenses the payment process from 5 steps to just 1, eliminating app redirections. Enjoy a seamless in-app payment experience, reduce dependencies on third-party UPI apps, and gain complete visibility of the payment journey.
You can seamlessly integrate Turbo UPI with Razorpay Cordova Standard SDK. Explore the full potential of [Razorpay Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi) and know how it works.

> [accordion] Prerequisites
>
> 1. Integrate with [Razorpay Cordova Standard SDK](/docs/payments/payment-gateway/cordova-integration).
>
> 2. Import the following frameworks:
> * Razorpay Cordova Standard SDK
> * Razorpay Turbo Wrapper Plugin SDK (maven)
> * Razorpay Turbo Core SDK
> * Razorpay Turbo UI SDK
> * Razorpay SecureComponent SDK
> * Bank SDK
>
> 3. Enable data binding in your `app.gradle`.
>
> ```json Data binding theme={null}
> {
> "android": {
> // Containing other settings
> "buildFeatures": {
> "dataBinding": true
> }
> }
> }
> ```
## Onboarding Flow
Ensure your customers [onboard with Razorpay Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi#onboarding-flow) to get started.
## Turbo UPI SDK Integration
Follow these steps to integrate with Razorpay Turbo UPI:
1. Use the code given below to initialise the SDK.
```java Initialise theme={null}
RazorpayCheckout.initUpiTurbo("rzp_test_0wFRWIZnH65uny")
```
2. Use the following code to link the newly created UPI account with your app. This function can be called from anywhere in the application, providing multiple entry points for customers to link their UPI account with your app.
```javascript Link New UPI Account theme={null}
RazorpayCheckout.upiTurbo.linkNewUpiAccount("mobileNo", "color", function (upiAccounts) {
// handle data
}, function(error) {
// handle error
});
```
> [accordion] Request Parameters
>
> `mobileNumber` *mandatory*
> : `string` Mobile number of the customer.
>
> `color` *optional*
> : `string` Colour in HEX format.
> [accordion] Response Parameters
>
> | Parameters | Description |
> | - | - |
> | `function(upiAccounts)` | This function is triggered if the list is fetched successfully. The `upiAccounts` can be empty to indicate that no accounts have been linked yet. |
> | `function(error)` | This function is triggered in case of an error, and the error object will be received. |
* Handle payment failure responses, displaying important details such as error codes, error descriptions, and metadata. This function is responsible for handling and logging information in the event of a payment error.
```javascript Payment Failure Response Handling theme={null}
var cancelCallback = function(error) {
/**
* error contains two values:
* 1. Error Code
* 2. Error Description
**/
// handle failure
};
```
* Handle successful payment responses, displaying key information like order id, payment id, and signature. This code manages and logs details when a payment transaction is successful.
```javascript Payment Success Response Handling theme={null}
var successCallback = function(response) {
/**
* response contains three values:
* 1. Order ID
* 2. Payment ID
* 3. Signature
**/
// handle success
};
```
3. To accept payments, call Standard Checkoutโs `submit` method with the following payload:
```javascript Submit Payment Details theme={null}
var rzpOptions = {
amount: 2000,
currency: "INR",
prefill: {
contact: "1234567890",
email: "gaurav.kumar@example.com"
},
theme: {
color: "#063970"
},
send_sms_hash: true,
retry: {
enabled: false,
max_count: 4
}
};
RazorpayCheckout.open(rzpOptions, successCallback, cancelCallback);
```
> [accordion] Request Parameter
>
> `payload` *mandatory*
> : `variable` Payload for initiating transaction.
> [accordion] Response Parameters
>
> | Parameters | Description |
> | - | - |
> | `successCallback` | It is triggered upon successful completion of the payment, providing access to a response object. |
> | `cancelCallback` | It is invoked in the event of a failure, providing access to an error object. |
### Non-Transactional Flow
Razorpay provides a single exposed function that allows you to manage linked UPI accounts and access all non-transactional flows seamlessly.

> [accordion] Manage UPI Accounts
>
> The SDK manages the linked `UpiAccounts` on the application by triggering `manageUpiAccounts()`. The sequence of steps is as given below:
>
> * **Fetch balance**: Check the customer's account balance.
> * **Change UPI PIN**: Provide the customer the ability to change their UPI PIN.
> * **Reset UPI PIN**: Let your customers reset the PIN for their account.
> * **Delete the account from the application**: Let your customers delink, that is, remove a selected UPI account from your application.
>
> ```javascript Java theme={null}
> RazorpayCheckout.upiTurbo.manageUpiAccounts("mobileNo", "color", function(error) {
> // handle error
> });
> ```
>
> > [accordion] Request Parameters
> >
> > `mobileNumber` *mandatory*
> > : `string` Mobile number of the customer.
> >
> > `color` *optional*
> > : `string` Colour in HEX format.
>
> > [accordion] Response Parameter
> >
> > | Parameters | Description |
> > | - | - |
> > | `function(error)` | This function is triggered in case of an error, and the error object will be received. |
### Models Exposed from the SDKs
The SDKs given below provide access to exposed models for seamless integration.
> [accordion] Error
>
> | Error | Description |
> | - | - |
> | `errorCode` | Types of error codes
`BAD_REQUEST_ERROR`: Failure from the client's end (SDK).
`GATEWAY_ERROR`: Failure either from the Secure Component or the Bank.
`SERVER_ERROR`: Failure at PSP.
|
> | `errorDescription` | Brief description of the error. |
> | `errorReason` | Specifies the specific reason for the error. |
> | `errorSource` | Indicates the origin of the error. |
> | `errorStep` | Highlights the stage where the error occurred. |
>
> [Refer to the list of possible error reasons](/docs/payments/payment-gateway/cordova-integration/payment-methods/turbo-upi/error-codes).
> [accordion] UpiAccount
>
> | Fields | Return Type | Description |
> | - | - | - |
> | `accountNumber` | String | Masked account number. |
> | `ifsc` | String | IFSC of the bank. |
> | `bankLogoUrl` | String | Image URL of the bank logo. |
> | `bankName` | String | Name of the bank. |
> | `bankPlaceholderUrl` | String | Image URL of the bank logo placeholder. |
> [accordion] Response
>
> | Fields | Return Type | Description |
> | - | - | - |
> | `paymentId` | String | Payment id. |
> | `orderId` | String | Order id. |
> | `signature` | String | Signature of the transaction. |
# Turbo UPI SDK - Error Codes
Source: https://razorpay.com/docs/payments/payment-gateway/cordova-integration/payment-methods/turbo-upi/error-codes
List of error codes for Turbo UPI SDK.
Available in
๐ฎ๐ณ India
Given below is the list of error codes categorised by error reasons, with relevant descriptions, source and step.
### Bad Request Errors
Given below is the list of Bad Request errors.
> [accordion] bank\_not\_live\_on\_upi
>
> * **Description**: The selected bank is not enabled on UPI. Please try using another bank.
> * **Source**: gateway
> * **Step**: customer\_onboarding
> [accordion] account\_does\_not\_exist
>
> > [accordion] Payment Debit Request
> >
> > * **Description**: No accounts found for the selected bank. Please try using another bank.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Payment Credit Request
> >
> > * **Description**: Payment was unsuccessful as the receiver's bank account is not valid. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_credit\_request
> [accordion] transaction\_not\_allowed
>
> > [accordion] Payment Debit Request
> >
> > * **Description**: Transaction not permitted to the account as per your bank policy. Please contact your bank for more details or try with another bank account.
> > * **Source**: customer
> > * **Step**: payment\_debit\_request
>
> > [accordion] Payment Credit Request
> >
> > * **Description**: Payment not allowed as it got declined by the receiver's bank. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_credit\_request
> [accordion] upi\_pin\_registration\_card\_expired
>
> * **Description**: Card used while setting UPI PIN has expired. Please use another debit card or use another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_not\_found
>
> * **Description**: Card details used while setting UPI PIN are incorrect. Please re-check and try again.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_restricted
>
> * **Description**: Card used while setting UPI PIN has been blocked by your bank. Please reach out to your bank for more information or try using another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] bank\_technical\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: beneficiary\_bank
> * **Step**: payment\_status\_request
> [accordion] pin\_not\_set
>
> * **Description**: Payment was unsuccessful as you have not set the UPI PIN on the app. Try using another method.
> * **Source**: customer\_psp
> * **Step**: payment\_authentication
> [accordion] customer\_not\_registered
>
> * **Description**: No bank account is associated with this mobile number. Please try again by adding your account.
> * **Source**: gateway
> * **Step**: customer\_onboarding
> [accordion] server\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: gateway
> * **Step**: payment\_authentication
> [accordion] payment\_cancelled\_by\_user
>
> * **Description**: Flow was aborted as you pressed back from the PIN screen. Please try again.
> * **Source**: customer
> * **Step**: payment\_authorization
### Gateway Errors
Given below is the list of gateway errors.
> [accordion] incorrect\_otp
>
> * **Description**: You have entered an incorrect OTP. Try again.
> * **Source**: customer
> * **Step**: customer\_onboarding
> [accordion] otp\_expired
>
> * **Description**: You have entered an expired OTP. Please regenerate OTP and try again.
> * **Source**: customer
> * **Step**: customer\_onboarding
> [accordion] insufficient\_funds
>
> * **Description**: Payment was unsuccessful due to insufficient funds. Kindly check your balance and try again.
> * **Source**: customer
> * **Step**: payment\_debit\_request
> [accordion] insufficient\_funds\_mandate\_block
>
> * **Description**: Payment was unsuccessful as the amount in your account is blocked for another payment. Try using another account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] otp\_attempts\_exceeded
>
> * **Description**: You have entered an incorrect OTP too many times. Try again in some time.
> * **Source**: customer\_psp
> * **Step**: customer\_onboarding
> [accordion] account\_dormant
>
> * **Description**: Payment was unsuccessful as the receiver's bank account is inactive. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: beneficiary\_bank
> * **Step**: payment\_credit\_request
> [accordion] bank\_not\_live\_on\_upi
>
> * **Description**: Selected bank is not available on UPI. Please try using another bank.
> * **Source**: issuer\_bank
> * **Step**: customer\_onboarding
> [accordion] payment\_timed\_out
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_response
>
> > [accordion] UPI ID Not Reachable
> >
> > * **Description**: Payment was unsuccessful as the bank linked to this UPI ID is not reachable at this time.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
> [accordion] first\_transaction\_limit\_exceeded
>
> * **Description**: Payment was unsuccessful as you exceeded the first-time transaction limit set by your bank. You can use another bank account or retry after 24 hours.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] transaction\_limit\_exceeded
>
> > [accordion] Limit Set By Bank Exceeded
> >
> > * **Description**: Payment was unsuccessful as you exceeded the transaction limit set by your bank. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
>
> > [accordion] Daily Amount Limit Exceeded
> >
> > * **Description**: Payment was unsuccessful as you exceeded the amount limit for the day with this bank account. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
> [accordion] first\_time\_transaction\_freeze\_period
>
> * **Description**: Payment was unsuccessful due to the cooling period set by your bank for first-time user. Please try again after some time.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] transaction\_frequency\_limit\_exceeded
>
> * **Description**: Payment was unsuccessful as the number of transactions exceeds the max limit set by the bank. You can use another bank account or retry after some time.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] bank\_account\_inactive
>
> > [accordion] Issuer Bank Account Inactive
> >
> > * **Description**: Payment was unsuccessful as your account is not active. Please try using another bank account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Receiver Bank Account Inactive
> >
> > * **Description**: Payment was unsuccessful as the receiver's bank account is not active. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_debit\_request
> [accordion] server\_error
>
> > [accordion] Temporary Issue - Issuer Bank
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_request
>
> > [accordion] Temporary Issue - Beneficiary Bank
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_request
> [accordion] invalid\_ifsc
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> * **Source**: gateway
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_blocked
>
> * **Description**: Card used while setting UPI PIN has been blocked by your bank. Please reach out to your bank for more information or try using another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] bank\_technical\_error
>
> > [accordion] UPI ID Temporarily Unavailable
> >
> > * **Description**: Payment was unsuccessful as the bank linked to this UPI ID is temporarily unavailable. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_credit\_response
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_credit\_response
> [accordion] payment\_declined
>
> > [accordion] Declined by Bank
> >
> > * **Description**: Payment was unsuccessful as it was declined by your bank. Reach out to your bank for more details. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_debit\_request
> [accordion] pin\_attempts\_exceeded
>
> * **Description**: You have exceeded the incorrect UPI PIN attempts. You can use another bank account or retry after 24 hours.
> * **Source**: customer
> * **Step**: payment\_authentication
> [accordion] incorrect\_pin
>
> * **Description**: You have entered incorrect UPI PIN. Please try again with the correct UPI PIN.
> * **Source**: customer
> * **Step**: payment\_authentication
> [accordion] linked\_account\_removal\_failed
>
> * **Description**: Unable to remove the account. Please try again.
> * **Source**: customer\_psp
> * **Step**: account\_management
> [accordion] sms\_text\_not\_received
>
> * **Description**: Something went wrong while sending SMS. Please try again.
> * **Source**: gateway
> * **Step**: customer\_onboarding
### Server Errors
Given below is the list of server errors.
> [accordion] server\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: issuer\_bank
> * **Step**: customer\_onboarding
> [accordion] server\_error
>
> * **Description**: We are facing some trouble completing your request at the moment. Please try again shortly.
> * **Source**: internal
> * **Step**: payment\_authorization
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/cordova-integration/troubleshooting-faqs
Troubleshoot common error scenarios and find answers to frequently asked questions about Cordova Integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [accordion] What should I do if I see the following error?
>
> ```javascript Error theme={null}
> dyld: Library not loaded: @rpath/libswiftCoreGraphics.dylib
> Referenced from: /private/var/mobile/Containers/Bundle/Application/696F0EAD-E2A6-4C83-876F-07E3D015D167/.app/Frameworks/.framework/
> Reason: image not found
> ```
>
> To fix the above error message:
>
> * Set the `Embedded Content Contains Swift Code (EMBEDDED_CONTENT_CONTAINS_SWIFT)` build setting to `YES` in your app. To know more, refer to [this Apple document](https://developer.apple.com/library/archive/qa/qa1881/_index.html).
> * Ensure that you have the framework added in `Frameworks, Libraries, and Embed Content` under `Target settings` - `General`. Ensure the `Embed status` is set to 'Embed & Sign'.
> [accordion] Is Capacitor supported in Razorpay Cordova Plugin?
>
> No, we do not support Capacitor in our plugin as it has its own [dependencies](https://capacitorjs.com/docs/getting-started).
> [accordion] What is order id and how to generate it?
>
> Order creation is the primary step of the Razorpay payment flow. When a customer clicks the pay button on your app, an Order is created and a corresponding order\_id is generated in the response. This order\_id must be passed to the Razorpay Checkout options added in your Capacitor app.
> Know more about [Orders](/docs/api/orders).
> [accordion] What is the process for raising a request for a new feature?
>
> To raise a request for a new feature, navigate to **New Issue** โ **Feature Request** on our [GitHub repository](https://github.com/razorpay/razorpay-cordova/issues/new/choose).
> [accordion] How can I update the existing **'razorpay-pod'**?
>
> * Go to your project's iOS folder and run **'pod update'** to update all the pods.\\
>
> * If you do not want to update all pods, run **'pod update razorpay-pod'**.
> [accordion] In the new M1 MacBook, why am I not able to compile the Cordova Razorpay plugin for release mode?
>
> This is because of the new changes introduced in Xcode 12.
>
> To resolve this:
>
> 1. Use [Rosetta 2](https://support.apple.com/en-us/HT211861) for launching the app on your Mac.
>
> 2. Add the following lines to Podfile:
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Add the following code inside `post_install do |installer|`.
>
> ```javascript podfile theme={null}
> installer.pods_project.build_configurations.each do |config|
> config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
> end
> ```
>
> Know more about [compilation errors](https://khushwanttanwar.medium.com/xcode-12-compilation-errors-while-running-with-ios-14-simulators-5731c91326e9).
> [accordion] How can I check the Razorpay Cordova Standard SDK version?
>
> To check the SDK version:
>
> 1. Open your Cordova project in your preferred code editor.
> 2. Navigate to the `config.xml` file in the root directory of your project.
> 3. Look for the `` tag that includes the Razorpay SDK plugin. The version number is represented by `x.y.z`.
> [accordion] How can I check the Razorpay Ionic Standard SDK version?
>
> To check the SDK version:
>
> 1. Open your Ionic project in your preferred code editor.
> 2. Open the `package.json` file in the root directory of your project.
> 3. In the `dependencies` section, look for the Razorpay entry. The version number is specified next to the package name in the format `x.y.z`.
> [accordion] How can I update the Razorpay Cordova and Ionic Standard SDK version?
>
> To update the SDK version using npm, follow these steps:
>
> 1. Open the terminal or command prompt and navigate to your project directory where the `package.json` file resides.
> 2. Use the npm update command followed by the package name to update a specific package to its latest version. For example, npm update `` (replace `` with the name of the package you want to update).
> 3. If you are using a Cordova iOS application, run `cd platforms && cd ios && pod repo update && pod update` to ensure the internal iOS dependencies are updated to the versions set by the Razorpay package. This is because cocoapods may not automatically update the internal trunk spec to fetch the latest versions.
> 4. After running the update command, review the updates fetched by npm to ensure they do not introduce any breaking changes.
> 5. Conduct thorough testing to ensure that the updated packages do not adversely affect the application functionality and commit the changes.
# About Ecommerce Plugins
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins
Check the list of Razorpay Ecommerce Plugins to integrate with the plugin of your choice and accept payments from your customers.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Integrate seamlessly with ecommerce platforms through our robust and secure plugins. You can accept payments via a range of payment methods like debit cards, credit cards, netbanking (supports 3D Secure), UPI and so on.
## List of Ecommerce Plugins and Supported Platforms
Following are the various ecommerce plugins and supported platforms:
> [tab] Payment Gateway Ecommerce Plugins
>
> **Payment Gateway Ecommerce Plugins** provide a convenient checkout experience and expand the payment options available to businesses.
>
> | Plugins | Payment Gateway | Route | Subscriptions |
> | - | - | - | - |
> | [Arastta](/docs/payments/payment-gateway/ecommerce-plugins/arastta) | โ | x | x |
> | [BigCommerce](/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce) | โ | x | x |
> | [CS-Cart](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart) | โ | x | x |
> | [Drupal Commerce](/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce) | โ | x | x |
> | [Easy Digital Downloads](/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads) | โ | x | x |
> | [Gravity Forms](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms) | โ | x | x |
> | [Magento](/docs/payments/payment-gateway/ecommerce-plugins/magento) | โ | x | โ |
> | [OpenCart](/docs/payments/payment-gateway/ecommerce-plugins/open-cart) | โ | x | โ |
> | [PrestaShop](/docs/payments/payment-gateway/ecommerce-plugins/prestashop) | โ | x | x |
> | [Shopify](/docs/payments/payment-gateway/ecommerce-plugins/shopify) | โ | x | x |
> | [WHMCS](/docs/payments/payment-gateway/ecommerce-plugins/whmcs) | โ | x | x |
> | [Wix](/docs/payments/payment-gateway/ecommerce-plugins/wix) | โ | x | x |
> | [WooCommerce](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce) | โ | โ | โ |
> | [WordPress](/docs/payments/payment-gateway/ecommerce-plugins/wordpress) | โ | x | x |
> [tab] Other Ecommerce Plugins
>
> **Other Ecommerce Plugins** are in-platform or native plugins, built-in features integrated directly into the e-commerce platform.
>
> | Plugins | Payment Gateway | Route | Subscriptions |
> | - | - | - | - |
> | [Razorpay Direct - Credit Card](/docs/payments/ecommerce-plugins/razorpay-direct-credit-card) | x | x | x |
> | [Shopify - Appmaker](/docs/payments/ecommerce-plugins/shopify-appmaker) | x | x | x |
You can [build your own plugin](/docs/payments/payment-gateway/ecommerce-plugins/build-your-own) in case the plugin you are looking for is not listed above.
### Frequently Asked Questions
> [accordion] Does Razorpay provide integration support for all ecommerce platforms?
>
> Razorpay offers official plugins for the following platforms:
>
> * Shopify
> * WooCommerce
> * Wix
> * Magento
> * BigCommerce
> * OpenCart
> * PrestaShop
> * WHMCS
> * WordPress
> * Drupal Commerce
> * CS-Cart
> * Arastta
> * Easy Digital Downloads
> * Gravity Forms
>
> For platforms without an official Razorpay plugin, integration support is managed by the respective platform's support team. This ensures you receive the best assistance for platform-specific requirements and configurations.
> [accordion] I am using a platform not listed in Razorpay's plugin directory. How do I integrate Razorpay?
>
> For platforms without an official Razorpay plugin, you have two options: contact your platform's support team to check if they offer Razorpay integration support, or use Razorpay's APIs to [build a custom integration](/docs/payments/payment-gateway/ecommerce-plugins/build-your-own).
> [accordion] Why am I seeing only a "Pay with Credit/Debit Card" option instead of the full Razorpay Checkout?
>
> This usually indicates malicious code (malware) injected into your website that is hijacking the checkout. To verify and fix this:
>
> 1. Test your API keys on the Razorpay test page or set up a fresh installation of your ecommerce platform and test the integration there. If checkout loads correctly, the issue is with your current website code.
> 2. Run a full malware scan on your website using security tools appropriate for your platform.
> 3. Remove any suspicious or recently added plugins/extensions and check theme files for unknown JavaScript code.
> 4. After cleanup, reinstall the Razorpay plugin from the official source.
>
> If the issue persists even after following these steps, contact our [Support team](https://razorpay.com/support/).
### Related Information
* [How Payment Gateway Works](/docs/payments/payment-gateway/how-it-works)
* [Features](/docs/payments/payment-gateway/features)
* [Supported Payment Methods](/docs/payments/payment-methods#supported-payment-methods)
# Arastta Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/arastta
Check the prerequisites before you integrate your Arastta website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/arastta/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay Arastta plugin.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
* Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
[Video Tutorial](https://www.youtube.com/embed/p7gDH2h3rgg?si=71SaBoJOpNxrhUK7)
Video Tutorial
Watch the video before you start integrating the Arastta plugin with Payment Gateway
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/arastta/integration-steps)
>
> Check the steps to integrate the Arastta plugin with Payment Gateway
## Supported Products
Razorpay Arastta Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions |
| - | - | - |
| โ | x | x |
## Support
* Queries: If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
* Feature Request: If you have a feature request, create an issue on [GitHub](https://github.com/razorpay/razorpay-arastta/issues/new)
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/arastta/integration-steps
Steps to integrate your Arastta website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
Follow the steps given below to integrate Razorpay Payment Gateway with your Arastta website.\
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/arastta/integration-steps#1-build-integration)
>
> Install and configure the Arastta Commerce plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/arastta/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/arastta/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with Arastta Website](https://www.youtube.com/embed/p7gDH2h3rgg?si=71SaBoJOpNxrhUK7)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Installation
>
> 1. Download a ZIP of the [repository](https://github.com/razorpay/razorpay-arastta/archive/master.zip). The master branch holds the plugin for the latest Arastta version.
>
> 
> 2. Copy all files and folders recursively to Arastta installation directory.
> 3. Log in to [Arastta](https://arastta.org/).
> 4. Navigate to the **Admin Panel** โ **Marketplace** โ **Payments** and enable the Razorpay extension.
> 5. Click **Edit** next to Razorpay and complete the following actions:
> 1. Add your Razorpay `[KEY_ID]` and `[KEY_SECRET]`. These can be generated from your Razorpay [Dashboard](/docs/api/authentication#generate-api-keys).
> 2. Change plugin status to **Enabled**.
> 3. Click **Save** to save the plugin settings.
## 2. Test Integration
After the integration is complete, a **Pay** button will appear on your web page/app. You need to click the button and make a test transaction to ensure the integration works as expected. You can start accepting actual payments from your customers once the test is successful.

You can make test payments using one of the payment methods configured at the Checkout.
* No money is deducted from the customer's account as this is a simulated transaction.
* Ensure you have entered the API keys generated in the test mode in the Checkout code.
> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > On the Razorpay Dashboard, ensure that the payment status is `captured`. Refer to the payment capture settings page to know how to [capture payments automatically](/docs/payments/payments/capture-settings).
>
> > [accordion] You can track the payment status in three ways:
> >
> > > [tab] Verify Status from Dashboard
> > >
> > > To verify the payment status from the Razorpay Dashboard:
> > >
> > > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > > 2. Check if a **Payment Id** has been generated and note the status. In case of a successful payment, the status is marked as **Captured**.
> > >
> > > 
> >
> > > [tab] Subscribe to Webhook Events
> > >
> > > You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to [set up webhooks.](/docs/webhooks/setup-edit-payments)
> > >
> > > #### Example
> > >
> > > If you have subscribed to the `order.paid` webhook event, you will receive a notification every time a customer pays you for an order.
> >
> > > [tab] Poll APIs
> > >
> > > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/arastta/troubleshooting-faqs
Troubleshoot common errors and find answers to frequently asked questions about Arastta Ecommerce Plugin integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
> [accordion] What troubleshooting procedures should be carried out prior to initiating a support ticket?
>
> Follow the troubleshooting steps given below:
>
> 1. Reinstall the Razorpay Arastta plugin and ensure that your system meets all the requirements mentioned [here](/docs/payments/payment-gateway/ecommerce-plugins/arastta/integration-steps).
> 2. We recommend you to keep your Razorpay Arastta plugin up to date. You can find the latest versions [here](https://github.com/razorpay/razorpay-arastta/releases).
> 3. If the issue persists after following these steps, contact our [Support team](https://razorpay.com/support/). Provide the following information while creating a ticket:
> * Razorpay Arastta plugin version
> * Steps to reproduce the issue (Screen recording/Screenshots)
> * Error logs, if any
> * Staging website credentials (login URL, login id, and password)
> [accordion] Does the Arastta plugin support 3 or 0 decimal unit currencies?
>
> The Arastta plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/bagisto/integration-steps
Steps to integrate your Bagisto store with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
Follow the steps given below to integrate Razorpay Payment Gateway with your Bagisto website.\
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/bagisto/integration-steps#build-integration)
>
> Install and configure the Bagisto Commerce plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/bagisto/integration-steps#test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/bagisto/integration-steps#go-live-checklist)
>
> Check the go-live checklist.
> [!NOTE]
>
> For
>
> * **Platform:** Bagisto (open-source e-commerce)
> * **Payment method:** Razorpay (built into Bagisto)
>
> This guide covers **core Bagisto only** (single-store checkout). It does not cover the Bagisto Marketplace (multi-vendor) extension.
## Overview
Razorpay is available in Bagisto as a **built-in payment method** โ it comes with Bagisto, so there is nothing extra to install. As a store owner, you have to simply enable and configure it from the admin panel. At checkout, customers pay through Razorpay (cards, UPI, netbanking, wallets) and are returned to the store once the payment is done.
Payment is confirmed automatically the moment the customer returns from Razorpay and successful payments are **captured automatically**. The store owner does not need to capture them manually.
### Prerequisites
| Requirement | Detail |
| - | - |
| Razorpay account | An active account with Test and Live API keys, available from the Razorpay Dashboard |
| Bagisto store | A running Bagisto 2.x store with admin access |
| Store currency | INR โ Razorpay in Bagisto supports INR only |
| Public store URL | The storefront must be reachable on the internet so customers can return after paying |
### Supported
* **Checkout:** Razorpay Standard Checkout (the Razorpay payment window).
* **Currency:** INR only. If the store/cart is in any other currency, Razorpay is not offered and a `currency not supported` message is shown.
* **Capture:** Automatic โ successful payments are captured right away; there is no manual capture step.
### Payment flow (what the customer sees)
1. The customer selects Razorpay at checkout and places the order.
2. The Razorpay payment window opens, with the amount and the customer's name, email and phone pre-filled.
3. The customer pays using a card, UPI, netbanking or a wallet.
4. On success, the customer is returned to the store and the order is confirmed.
5. On cancel or failure, the customer is returned to the cart to try again.
## Integration steps
The flow has three phases: **Build โ Test โ Go live**.
## Build Integration
Razorpay comes with Bagisto, so there is nothing to install.
1. Log in to the Bagisto admin.
2. Go to **Configuration โ Sales โ Payment Methods โ Razorpay**.
3. Fill in the fields (see the table below) and **Save**.
#### Configuration fields
| Field | What it's for |
| - | - |
| Status | Turn Razorpay on or off at checkout |
| Title | The name customers see for this method at checkout (default "Razorpay") |
| Description | Short text shown under the title |
| Logo | The image shown on the Razorpay payment window |
| Merchant Name | Your business name, shown on the Razorpay payment window |
| Merchant Description | A short description shown on the Razorpay payment window |
| Client ID | Your Razorpay Live API key โ used when Sandbox is off |
| Client Secret | Your Razorpay Live API secret โ used when Sandbox is off |
| Sandbox (Test mode) | Switch between test and live. On = your test keys are used; Off = your live keys are used |
| Test Client ID | Your Razorpay Test API key โ used when Sandbox is on |
| Test Client Secret | Your Razorpay Test API secret โ used when Sandbox is on |
| Sort Order | Where Razorpay appears in the list of payment methods |
**Where to get your keys:** In the Razorpay Dashboard, go to [Account & Settings โ API Keys โ Generate Key](/docs/payments/dashboard/account-settings/api-keys). Generate separate keys for Test Mode and Live Mode.
**Scope of the settings:** The Razorpay settings are saved per store (sales channel), so a multi-store merchant configures the keys separately for each store. Title and Description can also be translated per store language.
Razorpay appears at checkout only when it is enabled, the correct keys are filled for the active mode (Test vs Live), and the store currency is INR.
## Test Integration
1. Turn **Sandbox (Test mode) On** and enter your Test keys.
2. Make sure the store currency is INR.
3. Place a test order and choose Razorpay. On the payment window, use Razorpay's test payment details (test UPI / test cards from the Razorpay documentation) โ no real money is charged.
4. In the Razorpay Dashboard (**Transactions โ Payments**), the payment should appear and show as captured.
5. Confirm the order appears in the Bagisto admin under **Sales โ Orders**.
## Go-Live Checklist
1. In the Razorpay Dashboard, switch to **Live Mode** and generate your Live API keys.
2. In Bagisto, turn **Sandbox (Test mode) Off** and enter your Live keys, then **Save**.
3. Real payments are now accepted. Successful payments are captured automatically.
## Troubleshooting
Before contacting support, have the following ready:
* Your Bagisto version.
* Whether the issue is in Test or Live mode.
* The affected order (and the Razorpay payment id from the dashboard).
* A description or screenshots / screen recording of what happened.
## FAQs
> [accordion] Which currencies are supported?
>
> Only INR. If the store/cart is in any other currency, checkout is blocked with a message naming the currency โ for example, for a USD cart: "The currency USD is not supported. Supported Currencies: INR." Set the store currency to INR.
> [accordion] Why am I not able to see the Razorpay method at checkout?
>
> Confirm all three of the following:
>
> * Razorpay is enabled (Status is on).
> * The correct keys are entered for the active mode (Test keys if Sandbox is on, Live keys if Sandbox is off).
> * The store currency is INR.
> [accordion] The Razorpay payment window does not open, or shows `Something went wrong`
>
> Make sure the correct keys are entered for the active mode and were saved. Re-open the payment page after saving.
> [accordion] I switched to live mode but payments still behave like test mode (or the other way round).
>
> The Sandbox (Test mode) toggle decides which keys are used โ On uses your test keys, Off uses your live keys. Make sure the matching key pair is filled for the mode you want.
> [accordion] Do refunds made in the Razorpay Dashboard show up in Bagisto?
>
> No โ a refund created directly in the Razorpay Dashboard does not update the order in Bagisto. Process refunds from the Bagisto admin โ Sales so your store records stay in sync.
> [accordion] Do I need to capture payments manually?
>
> No. Successful payments are captured automatically.
> [accordion] The amount shown looks different from the order total.
>
> Razorpay displays the amount in the currency's smallest unit (paise for INR). The order total in Bagisto is the correct value โ only the way Razorpay shows it differs.
## Related Information
* [Bagisto โ Payment Methods (user docs)](https://docs.bagisto.com/payment-method/payment-methods.html)
* [Bagisto โ Installation (developer docs)](https://devdocs.bagisto.com/getting-started/installation.html)
* [Bagisto โ GitHub repository](https://github.com/bagisto/bagisto)
# BigCommerce Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce
Check the prerequisites before you integrate your BigCommerce website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce/faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay BigCommerce plugin.
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
* Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
[Video Tutorial](https://www.youtube.com/embed/UCH55jCpBg4?si=FJKQi9U8AINOZelT)
Video Tutorial
Watch the video before you start integrating the BigCommerce plugin with Payment Gateway.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce/integration-steps)
>
> Check the steps to integrate the BigCommerce plugin with Payment Gateway.
## Supported Products
Razorpay BigCommerce Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions |
| - | - | - |
| โ | x | x |
## Support
If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce/faqs
Find answers to frequently asked questions about BigCommerce plugin.
Available in
๐ฎ๐ณ India
> [accordion] How can I verify if the plugin is installed successfully?
>
> On your BigCommerce Dashboard, navigate to **Channel Manager** โ **Storefronts** section.
>
> 
>
> There are two ways to verify the installation:
>
> ### Web Pages
>
> 1. Click **Web pages**.
> 2. Ensure the **Razorpay Order Confirmation** page appears.
>
> 
>
> ### Scripts
>
> 1. Click **Scripts**.
> 2. Ensure the Razorpay **Header** and **Footer** scripts appear.
>
> 
> [accordion] How can I verify if webhooks are auto-configured?
>
> To verify if webhooks are enabled:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Account & Settings**.
> 2. In the **Website and app settings** section, click **Webhooks**.
>
> 
> 3. Select the relevant webhook **URL**.
> 4. On the right panel, check if the status for `order.paid` and `refund.processed` is enabled.
> [accordion] Why am I asked to approve a new Checkout Write permission for the Razorpay Payment App?
>
> Following a bug fix on BigCommerce's side, the Razorpay Payment App now requires an additional access permission: **Checkout Write**. If you currently use the Razorpay Payment App, you must approve this new permission to ensure the integration continues to function correctly.
>
> Follow these steps to reauthorise the app:
>
> 1. Log in to your **BigCommerce Store Control Panel**.
>
> 2. Navigate to **Apps** โ **My Apps** (or the installed apps section).
>
> 3. Locate and open the **Razorpay Payment App**.
>
> 4. BigCommerce displays a prompt requesting approval for the updated app permissions.
>
> 5. Review the new **Checkout Write** permission and click **Update**, **Authorize** or **Accept**, as displayed.
>
> 6. Once authorisation is complete, reopen the Razorpay Payment App to confirm it loads successfully.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * Complete this authorisation using the store owner account or an account with the required app permissions.
> > * You do not need to uninstall or reinstall the app as part of the standard reauthorisation process.
>
> If the permission prompt does not appear or the update fails, contact [Razorpay Support](https://razorpay.com/support).
> [accordion] Does the BigCommerce plugin support 3 or 0 decimal unit currencies?
>
> The BigCommerce plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce/integration-steps
Steps to integrate your BigCommerce website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
Follow the steps given below to integrate Razorpay Payment Gateway with your BigCommerce website.
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce/integration-steps#1-build-integration)
>
> Install and configure the BigCommerce plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/bigcommerce/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with BigCommerce Website](https://www.youtube.com/embed/UCH55jCpBg4)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Installation
>
> Follow the steps given below to install the plugin:
>
> 1. Log in to your [BigCommerce account](https://login.bigcommerce.com/login).
>
> 2. Navigate to **Apps** โ **Marketplace**.
>
> 
>
> 3. Click **BIGCOMMERCE.COM/APPS** and search for **Razorpay**.
>
> 
>
> 4. Click **Razorpay** and click **GET THIS APP**.
>
> 
>
> 5. Enter the **API Key ID** generated from the [Razorpay Dashboard](/docs/api/authentication#generate-api-keys).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > To go live with the integration and start accepting real payments, generate [Live Mode API Keys](/docs/api/authentication#live-mode-api-keys) and replace the test key with the live key in the integration.
>
> 6. Click **Submit**.
>
> 
>
> You have successfully integrated the Razorpay Payment Gateway with your BigCommerce website.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * Webhooks are auto-configured when you enter and submit the API key ID during the installation. You can verify if webhooks are enabled on your Razorpay Dashboard.
> > * The `order.paid` and `refund.processed` events are auto-configured. You do not have to configure it on the Razorpay Dashboard.
## 2. Test Integration
After the integration is complete, a **RAZORPAY PAYMENTS** button will appear on your web page/app. You need to click the button and make a test transaction to ensure that the integration is working as expected. You can start accepting actual payments from your customers once the test is successful.

> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> You can track the payment status from the Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After a payment is `authorized`, it is automatically captured and the amount is settled to your account as per the settlement schedule. Know more about [Auto-capture payments](/docs/payments/payments/capture-settings#auto-capture-all-payments).
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/build-your-own
Build your own custom plugin to integrate Razorpay with your ecommerce website and start accepting payments.
Available in
๐ฎ๐ณ India
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/build-your-own/faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about building a custom plugin.
You can build a plugin that integrates Razorpay Payment Gateway with websites created using ecommerce platforms such as Spree Commerce.
## Use Cases
Following are some specific cases whose integration is handled on a case-by-case basis:
> [accordion] Donations
>
> If the platform is used to collect donations, you cannot rely on the amount to be generated on the backend. While you will be ignoring this check, you should still be storing the Razorpay order ID and re-verifying it after payment completion.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > We won't be able to activate all non-profits and would be considering such merchants on a case-by-case basis.
> [accordion] WebView
>
> If your website is likely to be accessed mostly in the Facebook browser or via other mobile applications in a WebView, it might face certain issues. Refer to our [Callback URL documentation](/docs/payments/payment-gateway/callback-url) for more details on how to handle this.
> [accordion] Network Connectivity Issues
>
> If the customer has an issue with the network connectivity, you will not know of the payment completion from your website. In such cases, you can use our [Webhooks](/docs/webhooks) to get notified of all authorized payments and then you can mark them as successful at your end.
## Build Integration
A to-do-list for integration is given below:
> [accordion] Clone the Razorpay Sample Application in Your Language and Test the Payment Flow.
>
> You can clone any of the sample applications available in our [Integrations](https://razorpay.com/integrations/) page.
> [accordion] Integrate with Orders API on the Server Side.
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order:
>
> * Using the sample code on the Razorpay Postman Public Workspace.
> * By manually integrating the API sample codes on your server.
>
> #### Razorpay Postman Public Workspace
>
> You can use the Postman workspace below to create an order:
>
> [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
>
> #### API Sample Code
>
> Use this endpoint to create an order using the Orders API.
>
> `POST /orders`
>
> ```bash Curl theme={null}
> curl -X POST https://api.razorpay.com/v1/orders
> -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> -H 'content-type:application/json'
> -d '{
> "amount": 500,
> "currency": "INR",
> "receipt": "qwsaq1",
> "partial_payment": true,
> "first_payment_min_amount": 230,
> "notes": {
> "key1": "value3",
> "key2": "value2"
> }
> }'
> ```
>
> ```java Java theme={null}
> RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
>
> JSONObject orderRequest = new JSONObject();
> orderRequest.put("amount",50000);
> orderRequest.put("currency","INR");
> orderRequest.put("receipt", "receipt#1");
> JSONObject notes = new JSONObject();
> notes.put("notes_key_1","Tea, Earl Grey, Hot");
> notes.put("notes_key_1","Tea, Earl Grey, Hot");
> orderRequest.put("notes",notes);
>
> Order order = instance.orders.create(orderRequest);
> ```
>
> ```python Python theme={null}
> import razorpay
> client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
>
> client.order.create({
> "amount": 50000,
> "currency": "INR",
> "receipt": "receipt#1",
> "partial_payment": False,
> "notes": {
> "key1": "value3",
> "key2": "value2"
> }
> })
> ```
>
> ```php PHP theme={null}
> $api = new Api($key_id, $secret);
>
> $api->order->create(array('receipt' => '123', 'amount' => 100, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> ```
>
> ```csharp .NET theme={null}
> RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
>
> Dictionary orderRequest = new Dictionary();
> orderRequest.Add("amount", 50000);
> orderRequest.Add("currency", "INR");
> orderRequest.Add("receipt", "receipt#1");
> Dictionary notes = new Dictionary();
> notes.Add("notes_key_1", "Tea, Earl Grey, Hot");
> notes.Add("notes_key_2", "Tea, Earl Grey, Hot");
> orderRequest.Add("notes", notes);
>
> Order order = client.Order.Create(orderRequest);
> ```
>
> ```ruby Ruby theme={null}
> require "razorpay"
> Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
>
> para_attr = {
> "amount": 50000,
> "currency": "INR",
> "receipt": "receipt#1",
> "notes": {
> "key1": "value3",
> "key2": "value2"
> }
> }
>
> Razorpay::Order.create(para_attr)
> ```
>
> ```javascript Node.js theme={null}
> var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
>
> instance.orders.create({
> "amount": 50000,
> "currency": "INR",
> "receipt": "receipt#1",
> "partial_payment": false,
> "notes": {
> "key1": "value3",
> "key2": "value2"
> }
> })
> ```
>
> ```go Go theme={null}
> import ( razorpay "github.com/razorpay/razorpay-go" )
> client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
>
> data := map[string]interface{}{
> "amount": 50000,
> "currency": "INR",
> "receipt": "some_receipt_id",
> "partial_payment": false,
> "notes": map[string]interface{}{
> "key1": "value1",
> "key2": "value2",
> },
> }
> body, err := client.Order.Create(data, nil)
> ```
>
> ```json Success Response theme={null}
> {
> "id": "order_IluGWxBm9U8zJ8",
> "entity": "order",
> "amount": 5000,
> "amount_paid": 0,
> "amount_due": 5000,
> "currency": "INR",
> "receipt": "rcptid_11",
> "offer_id": null,
> "status": "created",
> "attempts": 0,
> "notes": [],
> "created_at": 1642662092
> }
> ```
>
> ```json Failure Response theme={null}
> {
> "error": {
> "code": "BAD_REQUEST_ERROR",
> "description": "Order amount less than minimum amount allowed",
> "source": "business",
> "step": "payment_initiation",
> "reason": "input_validation_failed",
> "metadata": {},
> "field": "amount"
> }
> }
> ```
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is โน299, then pass `29900` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be 3 characters.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY and three decimal currencies, such as KWD, BHD and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7000 is to be received from the customer in two installments of #1 - โน5000, #2 - โน2000 then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
> >
> > Know more about [Orders API](/docs/api/orders).
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
>
> A successful payment returns the following fields to the Checkout form.
>
> > [accordion] Success Callback
> >
> > * You need to store these fields in your server.
> > * You can confirm the authenticity of these details by verifying the signature in the next step.
> >
> > ```json Success Callback theme={null}
> > {
> > "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> > "razorpay_order_id": "order_9A33XWu170gUtm",
> > "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> > }
> > ```
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
>
> #### Test Heading
>
> The `razorpay_order_id`, returned on successful creation of the order, should be sent to the Checkout form. Additionally, you need to send an extra key-value pair as shown:
>
> ```
> {
> "amount": "1000",
> // and other options
>
> "order_id": "order_CuEzONfnOI86Ab" // Order ID generated using Orders API
> }
> ```
>
> A successful payment for the Order returns `razorpay_order_id`, `razorpay_payment_id` and `razorpay_signature`, which is then used for payment verification.
> [accordion] Display the Checkout Form on Your Website to Your Customer.
>
> You can display the [Standard Checkout form](/docs/payments/payment-gateway/web-integration/standard) on your website to collect payments from customers. Ensure that the `order_id` option is passed along with the other checkout options mentioned below.
>
> `key` *mandatory*
> : `string` API Key ID generated from the Dashboard.
>
> `amount` *mandatory*
> : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is , enter `222250` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
>
> `currency` *mandatory*
> : `string` The currency in which the payment should be made by the customer. See the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Razorpay has added support for zero decimal currencies, such as JPY, and three decimal currencies, such as KWD, BHD, and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
>
> `name` *mandatory*
> : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
>
> `description` *optional*
> : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
>
> `image` *optional*
> : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
>
> `order_id` *mandatory*
> : `string` Order ID generated via [Orders API](/docs/api/orders).
>
> `prefill`
> : `object` You can prefill the following details at Checkout.
>
> > [!NOTE]
> >
> > **Boost Conversions and Minimise Drop-offs**
> >
> > * Autofill customer contact details, especially phone number to ease form completion. Include customerโs phone number in the `contact` parameter of the JSON request's `prefill` object. Format: +(country code)(phone number). Example: "contact": "+919000090000".
> > * This is not applicable if you do not collect customer contact details on your website before checkout, have Shopify stores or use any of the no-code apps.
>
> `name` *optional*
> : `string` Cardholder's name to be prefilled if customer is to make card payments on Checkout. For example, **Gaurav Kumar**.
>
> `email` *optional*
> : `string` Email address of the customer.
>
> `contact` *optional*
> : `string` Phone number of the customer. The expected format of the phone number is `+ {country code}{phone number}`. If the country code is not specified, `91` will be used as the default value. This is particularly important while prefilling `contact` of customers with phone numbers issued outside India. **Examples**:
>
> * +14155552671 (a valid non-Indian number)
> * +919977665544 (a valid Indian number). \
> If 9977665544 is entered, `+91` is added to it as +919977665544.
>
> `method` *optional*
> : `string` Pre-selection of the payment method for the customer. Will only work if `contact` and `email` are also prefilled. Possible values:
>
>
>
`card`
>
`netbanking`
>
`wallet`
>
`upi`
>
`emi`
>
>
> `notes` *optional*
> : `object` Set of key-value pairs that can be used to store additional information about the payment. It can hold a maximum of 15 key-value pairs, each 256 characters long (maximum).
>
> `theme`
> : `object` Thematic options to modify the appearance of Checkout.
>
> `color` *optional*
> : `string` Enter your brand colour's HEX code to alter the text, payment method icons and CTA (call-to-action) button colour of the Checkout form.
>
> `backdrop_color` *optional*
> : `string` Enter a HEX code to change the Checkout's backdrop colour.
>
> `modal`
> : `object` Options to handle the Checkout modal.
>
> `backdropclose` *optional*
> : `boolean` Indicates whether clicking the translucent blank space outside the Checkout form should close the form. Possible values:
>
> * `true`: Closes the form when your customer clicks outside the checkout form.
> * `false` (default): Does not close the form when customer clicks outside the checkout form.
>
> `escape` *optional*
> : `boolean` Indicates whether pressing the **escape** key should close the Checkout form. Possible values:
>
> * `true` (default): Closes the form when the customer presses the **escape** key.
> * `false`: Does not close the form when the customer presses the **escape** key.
>
> `handleback` *optional*
> : `boolean` Determines whether Checkout must behave similar to the browser when back button is pressed. Possible values:
>
> * `true` (default): Checkout behaves similarly to the browser. That is, when the browser's back button is pressed, the Checkout also simulates a back press. This happens as long as the Checkout modal is open.
> * `false`: Checkout does not simulate a back press when browser's back button is pressed.
>
> `confirm_close` *optional*
> : `boolean` Determines whether a confirmation dialog box should be shown if customers attempts to close Checkout. Possible values:
>
> * `true`: Confirmation dialog box is shown.
> * `false` (default): Confirmation dialog box is not shown.
>
> `ondismiss` *optional*
> : `function` Used to track the status of Checkout. You can pass a modal object with `ondismiss: function()\{\}` as options. This function is called when the modal is closed by the user. If `retry` is `false`, the `ondismiss` function is triggered when checkout closes, even after a failure.
>
> `animation` *optional*
> : `boolean` Shows an animation before loading of Checkout. Possible values:
>
> * `true`(default): Animation appears.
> * `false`: Animation does not appear.
>
> `subscription_id` *optional*
> : `string` If you are accepting recurring payments using Razorpay Checkout, you should pass the relevant `subscription_id` to the Checkout. Know more about [Subscriptions on Checkout](/docs/api/payments/subscriptions-custom#checkout-integration).
>
> `subscription_card_change` *optional*
> : `boolean` Permit or restrict customer from changing the card linked to the subscription. You can also do this from the [hosted page](/docs/payments/subscriptions/payment-retries#update-payment-method-on-our-hosted-page). Possible values:
>
> * `true`: Allow the customer to change the card from Checkout.
> * `false` (default): Do not allow the customer to change the card from Checkout.
>
> `recurring` *optional*
> : `boolean` Determines if you are accepting [recurring (charge-at-will) payments on Checkout](/docs/api/payments/recurring-payments) via instruments such as emandate, paper NACH and so on. Possible values:
>
> * `true`: You are accepting recurring payments.
> * `false` (default): You are not accepting recurring payments.
>
> `callback_url` *optional*
> : `string` Customers will be redirected to this URL on successful payment. Ensure that the domain of the Callback URL is allowlisted.
>
> `redirect` *optional*
> : `boolean` Determines whether to post a response to the event handler post payment completion or redirect to Callback URL. `callback_url` must be passed while using this parameter. Possible values:
>
> * `true`: Customer is redirected to the specified callback URL in case of payment failure.
> * `false` (default): Customer is shown the Checkout popup to retry the payment with the suggested next best option.
>
> `customer_id` *optional*
> : `string` Unique identifier of customer. Used for:
>
> * [Local saved cards feature](/docs/payments/payment-methods/cards/features/saved-cards#manage-saved-cards).
> * Static bank account details on Checkout in case of [Bank Transfer payment method](/docs/payments/payment-methods/bank-transfer).
>
> `remember_customer` *optional*
> : `boolean` Determines whether to allow saving of cards. Can also be configured via the [Dashboard](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout). Possible values:
>
> * `true`: Enables card saving feature.
> * `false` (default): Disables card saving feature.
>
> `timeout` *optional*
> : `integer` Sets a timeout on Checkout, in seconds. After the specified time limit, the customer will not be able to use Checkout.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Some browsers may pause `JavaScript` timers when the user switches tabs, especially in power saver mode. This can cause the checkout session to stay active beyond the set timeout duration.
>
> `readonly`
> : `object` Marks fields as read-only.
>
> `contact` *optional*
> : `boolean` Used to set the `contact` field as readonly. Possible values:
>
> * `true`: Customer will not be able to edit this field.
> * `false` (default): Customer will be able to edit this field.
>
> `email` *optional*
> : `boolean` Used to set the `email` field as readonly. Possible values:
>
> * `true`: Customer will not be able to edit this field.
> * `false` (default): Customer will be able to edit this field.
>
> `name` *optional*
> : `boolean` Used to set the `name` field as readonly. Possible values:
>
> * `true`: Customer will not be able to edit this field.
> * `false` (default): Customer will be able to edit this field.
>
> `hidden`
> : `object` Hides the contact details.
>
> `contact` *optional*
> : `boolean` Used to set the `contact` field as optional. Possible values:
>
> * `true`: Customer will not be able to view this field.
> * `false` (default): Customer will be able to view this field.
>
> `email` *optional*
> : `boolean` Used to set the `email` field as optional. Possible values:
>
> * `true`: Customer will not be able to view this field.
> * `false` (default): Customer will be able to view this field.
>
> `send_sms_hash` *optional*
> : `boolean` Used to auto-read OTP for cards and netbanking pages. Applicable from Android SDK version 1.5.9 and above. Possible values:
>
> * `true`: OTP is auto-read.
> * `false` (default): OTP is not auto-read.
>
> `allow_rotation` *optional*
> : `boolean` Used to rotate payment page as per screen orientation. Applicable from Android SDK version 1.6.4 and above. Possible values:
>
> * `true`: Payment page can be rotated.
> * `false` (default): Payment page cannot be rotated.
>
> `retry` *optional*
> : `object` Parameters that enable retry of payment on the checkout.
>
> `enabled`
> : `boolean` Determines whether the customers can retry payments on the checkout. Possible values:
>
> * `true` (default): Enables customers to retry payments.
> * `false`: Disables customers from retrying the payment.
>
> `max_count`
> : `integer` The number of times the customer can retry the payment. We recommend you to set this to 4. Having a larger number here can cause loops to occur.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Web Integration does not support the `max_count` parameter. It is applicable only in Android and iOS SDKs.
>
> `config` *optional*
> : `object` Parameters that enable checkout configuration. Know more about how to [configure payment methods on Razorpay standard checkout](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
>
> `display`
> : `object` Child parameter that enables configuration of checkout display language.
>
> `language`
> : `string` The language in which checkout should be displayed. Possible values:
>
> * `en`: English
> * `ben`: Bengali
> * `hi`: Hindi
> * `mar`: Marathi
> * `guj`: Gujarati
> * `tam`: Tamil
> * `tel`: Telugu
> [accordion] Verify the Signature Post Checkout Form Submission.
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> > [accordion] To verify the `razorpay_signature` returned to you by the Checkout form:
> >
> > 1. Create a signature in your server using the following attributes:
> > * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> > * `razorpay_payment_id`: Returned by Checkout.
> > * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
> > 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
> >
> > ```html HMAC Hex Digest theme={null}
> > generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
> >
> > if (generated_signature == razorpay_signature) {
> > payment is successful
> > }
> > ```
> >
> > 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
>
> > [accordion] Generate Signature on Your Server
> >
> > Given below is the sample code for payment signature verification:
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > String secret = "EnLs21M47BllR3X8PSFtjtbd";
> >
> > JSONObject options = new JSONObject();
> > options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > boolean status = Utils.verifyPaymentSignature(options, secret);
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->utility->verifyPaymentSignature(array('razorpay_order_id' => $razorpayOrderId, 'razorpay_payment_id' => $razorpayPaymentId, 'razorpay_signature' => $razorpaySignature));
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > payment_response = {
> > razorpay_order_id: 'order_IEIaMR65cu6nz3',
> > razorpay_payment_id: 'pay_IH4NVgf4Dreq1l',
> > razorpay_signature: '0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f'
> > }
> > Razorpay::Utility.verify_payment_signature(payment_response)
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > client.utility.verify_payment_signature({
> > 'razorpay_order_id': razorpay_order_id,
> > 'razorpay_payment_id': razorpay_payment_id,
> > 'razorpay_signature': razorpay_signature
> > })
> > ```
> >
> > ```c .NET theme={null}
> > RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > Dictionary options = new Dictionary();
> > options.Add("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.Add("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.Add("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > Utils.verifyPaymentSignature(options);
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > var { validatePaymentVerification, validateWebhookSignature } = require('./dist/utils/razorpay-utils');
> > validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > params := map[string]interface{}{
> > "razorpay_order_id": "order_IEIaMR65cu6nz3",
> > "razorpay_payment_id": "pay_IH4NVgf4Dreq1l",
> > }
> >
> > signature := "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f";
> > secret := "EnLs21M47BllR3X8PSFtjtbd";
> > utils.VerifyPaymentSignature(params, signature, secret)
> > ```
>
> > [accordion] Post Signature Verification
> >
> > After you have completed the integration, you can [set up webhooks](/docs/webhooks/setup-edit-payments), make test payments, replace the test key with the live key and integrate with other [APIs](/docs/api).
> [accordion] Display the Confirmation Message to the Customer.
>
> You must display a `payment successful` message to the customer.
> [accordion] Mark the Platform Order as Successful.
>
> After verifying the signature, fetch the order in your system that corresponds to `razorpay_order_id` in your database. You can now mark this fetched order as successful and process the order.
>
> You can make a test payment to check whether the integration works.
## Common Issues Faced During Integration
Following are some of the common issues that you must watch out for while integrating:
1. Not storing the Razorpay order ID at your end.
2. Passing the amount from the frontend to the Razorpay order creation call.
3. Passing `USD` or any other `non-SGD` currency while creating the order.
4. Passing `razorpay_order_id` from the frontend while verifying the signature.
Alternatively, you can use this value to check the integrity of the signature while looking up the corresponding order at your end with this Razorpay order ID and marking only that as successful.
## Support
If you have queries, raise a ticket on the [Razorpay Support Portal](https://razorpay.com/support/).
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/build-your-own/faqs
Find answers to frequently asked questions about building a custom plugin.
Available in
๐ฎ๐ณ India
> [accordion] How do I sign up for a test account?
>
> You can sign up for a Razorpay account from the Dashboard sign up page. You don't need to submit any documents to access test mode. All to need to do is verify your email address.
> Refer to the [Set up your Razorpay Account](/docs/payments/set-up) page for more details.
> [accordion] How do I find SDKs for various languages?
>
> We provide ready-to-use SDK packages for various languages. For a complete list of all available integrations, refer to the [Razorpay Integrations Page](https://razorpay.com/integrations/). If the language you prefer is not in the list, you can continue making the requests using CURL or HTTP package of that particular language.
> [accordion] How to create a Razorpay API instance?
>
> Refer to the the README file of that particular SDK for these details.
> [accordion] How do I find my Razorpay credentials?
>
> The email and password is only used to log in to the Dashboard.
> To authenticate APIs, you will need to generate a `Key_ID` and `Key_Secret`. You can generate these from the **Settings** section of your Dashboard.
> [Generate API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard.
> [accordion] How do I find the base URL for Razorpay API?
>
> The current Razorpay API is versioned at v1, so all requests should be made to `https://api.razorpay.com/v1/`.
> [accordion] How do I find sample code for my language?
>
> We have sample applications for many languages all of which can be found on the [Razorpay Integrations Page](https://razorpay.com/integrations/).
# CS-Cart Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/cs-cart
Check the prerequisites before you integrate your CS-Cart website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay CS-Cart plugin.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
* Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
[Video Tutorial](https://www.youtube.com/embed/voiOPS2av6I?si=o1kO0mbb-xDy7Xhe)
Video Tutorial
Watch the video before you start integrating the CS-Cart plugin with Payment Gateway.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/integration-steps)
>
> Check the steps to integrate the CS-Cart plugin with Payment Gateway.
## Supported Products
Razorpay CS-Cart Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions |
| - | - | - |
| โ | x | x |
## Support
* Queries: If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
* Feature Request: If you have a feature request, create an issue on [GitHub](https://github.com/razorpay/razorpay-cscart/issues/new).
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/integration-steps
Steps to integrate your CS-Cart website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow the steps given below to integrate Razorpay Payment Gateway with your CS-Cart website.\
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/integration-steps#1-build-integration)
>
> Install and configure the CS-Cart plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with your CS-Cart based website using our payment extension.](https://www.youtube.com/embed/voiOPS2av6I)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Installation
>
> 1. Ensure you have the latest version of CS-Cart installed.
> 2. Download the latest [Source code zip file](https://github.com/razorpay/razorpay-cscart/releases) from the releases section. Unzip the repository.
> 3. Run the `install.razorpay.sql` file, which can be found inside the unzipped package, against your CS-Cart database. To do this, you can either:
> * Use phpMyAdmin to import the file into your CS-Cart database.
> * Copy and paste the content and run it directly in your MySQL shell.
> 4. Upload the rest of the plugin's contents to your CS-Cart Installation directory.
> 1. The app folder's content goes into your CS-Cart Installation directory.
> 2. The content of the design folder goes into the design folder in your CS-Cart Installation directory.
> [accordion] 2 Configuration
>
> 1. Log in to CS-Cart as administrator.
> 2. Navigate to **Administration** โ **Payment Methods**.
> 3. Add a new payment method.
> 4. Select **Razorpay** from the list and then click **Save**. Select `cc_outside.tpl` for the template.
> 5. Navigate to the **Configure** tab.
> 6. Add your \[KEY\_ID] and \[KEY\_SECRET] generated from the Razorpay Dashboard.
> [!NOTE]
>
> **Handy Tips**
>
> Webhook is auto-configured when you enter and save the API key ID and secret on the plugin settings page. You need to verify that webhooks are enabled on your Razorpay [Dashboard](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/troubleshooting-faqs#how-can-i-verify-if-webhooks-are-enabled). However, for versions lower than 1.4.0, you need to [manually configure webhooks](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/troubleshooting-faqs#my-webhooks-are-not-auto-configured-since-i-am-not-using-the-upgraded-version-of-cs-cart-how-do-i-manually-configure-webhooks).
## 2. Test Integration
After the integration, Razorpay is added as a payment option on your web page/app. You need to click the button and make a test transaction to ensure the integration works as expected. You can start accepting actual customer payments once the test is successful.

You can make test payments using one of the payment methods configured at the Checkout.
* No money is deducted from the customer's account as this is a simulated transaction.
* Ensure you have entered the API keys generated in the test mode in the Checkout code.
> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> You can track the payment status from the Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/troubleshooting-faqs
Troubleshoot common errors and find answers to frequently asked questions about CS-Cart Ecommerce Plugin integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [accordion] My Webhooks are not auto-configured since I am not using the upgraded version of CS-Cart. How do I manually configure webhooks?
>
> To set up webhooks:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Account & Settings**.
>
> 2. In the **Website and app settings** section, click **Webhooks**.
>
> 
>
> 3. Click **+ Add New Webhook**.
>
> 
>
> 4. In the **Webhook Setup** pop-up page:
>
> 5. Enter the **URL** where you want to receive the webhook payload when an event is triggered. We recommended using an HTTPS URL.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can set up to **10 URLs** to receive Webhook notifications. Webhooks can only be delivered to public URLs. If you attempt to save a localhost endpoint as part of a webhook setup, you will notice an error. Know more about [testing Webhooks on an application running on localhost](/docs/webhooks/validate-test#application-running-on-localhost).
>
> 6. Enter a **Secret** for the webhook endpoint. The secret is used to validate that the webhook is from Razorpay. Do not expose the secret publicly. Know more about [how to validate webhooks](/docs/webhooks/validate-test).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * When setting up the webhook, you will be asked to specify a secret. Using this secret, you can validate that the webhook is from Razorpay. Entering the secret is optional but recommended. The secret should never be exposed publicly.
> > * The webhook secret does not need to be the merchant secret key provided by Razorpay.
>
> 7. In the **Alert Email** field, enter the email address to which the notifications should be sent in case of webhook failure. You will receive webhook deactivation notifications to this email address.
> 8. Select the required events from the list of **Active Events**.
>
> 
> 9. Click **Create Webhook**.
> 10. After you set up a webhook, it appears on the list of webhooks.
> [accordion] How can I verify if webhooks are enabled?
>
> To verify if webhooks are enabled:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Account & Settings**.
> 2. In the **Website and app settings**, click **Webhooks**.
>
> 
> 3. Select the relevant webhook **URL**.
> 4. On the right panel, check if the status for `payment.authorized`, `refund.created` and `virtual_account.credited` is enabled.
>
> 
> [accordion] What troubleshooting procedures should be carried out prior to initiating a support ticket?
>
> Follow the troubleshooting steps given below:
>
> 1. Reinstall the Razorpay CS-Cart plugin and ensure that your system meets all the requirements mentioned [here](/docs/payments/payment-gateway/ecommerce-plugins/cs-cart/integration-steps).
> 2. We recommend you to keep your Razorpay CS-Cart plugin up to date. You can find the latest versions [here](https://github.com/razorpay/razorpay-cscart/releases).
> 3. If the issue persists after following these steps, contact our [Support team](https://razorpay.com/support/). Provide the following information while creating a ticket:
> * Razorpay CS-Cart plugin version
> * Steps to reproduce the issue (Screen recording/Screenshots)
> * Error logs, if any
> * Staging website credentials (login URL, login id, and password)
> [accordion] Does the CS-Cart plugin support 3 or 0 decimal unit currencies?
>
> The CS-Cart plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
# Drupal Commerce Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce
Check the prerequisites before you integrate your Drupal Commerce website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay Drupal Commerce plugin.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
* Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
## Supported Versions
* Drupal v10 or higher.
* Drupal commerce v2.33 or higher.
* PHP v8.10 or higher.
[Video Tutorial](https://www.youtube.com/embed/37CjF-XNT70?si=e5cWAGO70V49zRHA)
Video Tutorial
Watch the video before you start integrating the Drupal Commerce plugin with Payment Gateway.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce/integration-steps)
>
> Check the steps to integrate the Drupal Commerce plugin with Payment Gateway.
## Supported Products
Razorpay Drupal Commerce Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions |
| - | - | - |
| โ | x | x |
## Support
If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce/integration-steps
Steps to integrate your Drupal Commerce website with the Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow the steps given below to integrate Razorpay Payment Gateway with your Drupal Commerce website.\
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce/integration-steps#1-build-integration)
>
> Install and configure the Drupal Commerce plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with Drupal Commerce Website](https://www.youtube.com/embed/37CjF-XNT70?si=e5cWAGO70V49zRHA)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Download and Upload Plugin
>
> To upload the plugin:
>
> 1. [Download](https://github.com/razorpay/drupal_commerce_razorpay/releases) the `drupal_commerce_razorpay.zip`.
> 2. Log in to your [Drupal Commerce account](https://drupal.plugin.razorpay.in/) and navigate to **Extend**.
>
> 
> 3. Click **+ Add new module**.
> 4. Add the module from **URL** or click **Choose file** and select the .zip file downloaded previously.
> 5. Click **Continue**.
>
> 
>
> You have successfully uploaded the plugin.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Alternatively, you can skip this step and simply run `composer require 'drupal/drupal_commerce_razorpay:^1.0'` in your drupal directory to download the plugin. You can view the downloaded file in the `contrib` folder.
> [accordion] 2 Install Plugin
>
> To install the plugin:
>
> 1. On your Drupal Commerce Dashboard, navigate to **Extend**.
> 2. Search for **Razorpay** in the **Filter** section.
> 3. Select **Commerce Razorpay** and click **Install**.
>
> 
> [accordion] 3 Configure Plugin
>
> To configure the plugin:
>
> 1. On your Drupal Commerce Dashboard, navigate to **Commerce**.
>
> 2. Click **Configuration**.
>
> 
>
> 3. In the **Payment** section, select **Payment gateways**.
>
> 
>
> 4. Click **+ Add payment gateway**.
>
> 
>
> 5. In the **Name** section, enter **Razorpay** and select **Razorpay** as the **Plugin**.
>
> 6. Select **Test** Mode to test the integration and enter the test **Key ID** and **Secret** generated from the Razorpay [Dashboard](/docs/api/authentication#generate-api-keys).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > To go live with the integration and start accepting real payments:
> >
> > * Select **Live** Mode.
> > * Generate [Live Mode API Keys](/docs/api/authentication#live-mode-api-keys) and replace the test keys with the live keys in the integration. Click **Save**.
> >
> > 
>
> 7. Select the **Payment Action** based on your requirement. Set the Payment Action to **Authorize and Capture** to auto-capture payments. If you want to capture payments manually, set the Payment Method to **Authorize**.
>
> 8. Select **Enabled** in the **Status** section.
>
> 9. Click **Save**.
>
> 
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > If you want to edit any fields, navigate to **Commerce** โ **Configuration**. Select **Payment Gateway** and click **Edit**.
>
> You have successfully integrated the Razorpay Payment Gateway with your Drupal Commerce website.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * Webhooks are auto-configured when you enter and submit the API key ID during the installation. You can verify if webhooks are enabled on your Razorpay Dashboard.
> > * The `payment.authorized`, `payment.failed` and `refund.created` events are auto-configured. You do not have to configure it on the Razorpay Dashboard.
## 2. Test Integration
After the integration is complete, a payment button will appear on your web page/app. You need to click the button and make a test transaction to ensure the integration works as expected. You can start accepting actual payments from your customers once the test is successful.
> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/api/authentication#generate-api-keys) in the **Configuration** section of the Drupal Commerce Dashboard.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.

> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> You can track the payment status from the Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Accept Live Payments
>
> You can perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. On your [Drupal Commerce Dashboard](https://drupal.plugin.razorpay.in/), navigate to **Commerce**.
> 5. Click **Configuration**.
>
> 
> 6. In the **Payment** section, select **Payment gateways**.
>
> 
> 7. Click **Edit**.
>
> 
> 8. In the **Mode** section, select **Live**.
> 9. Replace the Test Key ID and Secret with the Live Keys and accept actual payments.
>
> 
> [accordion] 2 Payment Capture
>
> After a payment is `authorized`, you must capture it to settle the amount to your bank account as per the settlement schedule.
>
> Follow the steps given below to set a payment action:
>
> 1. On the [Drupal Commerce Dashboard](https://drupal.plugin.razorpay.in/), navigate to **Commerce**.
> 2. Click **Configuration**.
>
> 
> 3. In the **Payment** section, select **Payment gateways**.
>
> 
> 4. Click **Edit**.
>
> 
> 5. In the **Payment Action** section, you can choose to:
>
> 
>
> 1. **Authorize and Capture**: This setting captures all authorized payments automatically. This eliminates the time and effort spent manually capturing payments.
> 2. **Authorize**: Each authorized payment can also be captured individually.
> 1. Once a payment is completed, navigate to **Commerce** โ **Orders**.
> 2. Identify the order you want to capture the payment and click **View**.
>
> 
> 3. Navigate to **Payments**.
> 4. In the **Operations** section, click **Capture**.
>
> 
#### Refunds
To initiate refunds using the Drupal Commerce Dashboard:
1. Log in to the [Drupal Commerce Dashboard](https://drupal.plugin.razorpay.in/).
2. After a payment is completed, navigate to **Commerce** โ **Orders**.
3. Identify the order you want to initiate a refund and click **View**.

4. Navigate to **Payments**.
5. In the **Operations** section, click **Refund**.

6. You can either issue a full refund or a partial refund.
* For a **full refund**, enter the entire payment amount.
* For a **partial refund**, enter a value lesser than the payment amount.
7. Click **Refund**.
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/drupal-commerce/troubleshooting-faqs
Find answers to frequently asked questions about Drupal Commerce plugin.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [accordion] How can I verify if webhooks are auto-configured?
>
> To verify if webhooks are enabled:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Account & Settings**.
> 2. In the **Website and app settings** section, click **Webhooks**.
>
> 
> 3. Select the relevant webhook **URL**.
> 4. On the right panel, check if the status for `payment.authorized`, `payment.failed` and `refund.created` is enabled.
> [accordion] What is the difference between an Order Id and Order Number?
>
> **Order Id**: When a customer clicks the pay button on your app, an Order is created and a corresponding "order\_id" is generated in the response. \\
>
> **Order Number**: It simply acts like a serial number. You can search a particular order with the help of the Order Number.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > To reconcile the payments, you can verify the Order Id from the Drupal Commerce Dashboard with **Order Id** mentioned on the Razorpay Dashboard. Navigate to **Transactions** โ **Orders** or **Payments** on the Razorpay Dashboard to view the **Order Id**.
> [accordion] How can I uninstall the plugin?
>
> Follow the step given below to uninstall the plugin:
>
> 1. Log in to your [Drupal Commerce Dashboard](https://drupal.plugin.razorpay.in/).
> 2. Navigate to **Extend** โ **Uninstall**.
> 3. Search for **Razorpay** in the **Filter** section.
> 4. Select the check box and click **Uninstall**.
>
> 
> [accordion] Does the Drupal Commerce plugin support 3 or 0 decimal unit currencies?
>
> The Drupal Commerce plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
# Easy Digital Downloads Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads
Check the prerequisites before you integrate your Easy Digital Downloads website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay Easy Digital Downloads plugin.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
* Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
[Video Tutorial](https://www.youtube.com/embed/lsvPOgbHiV8?si=c57FAnd0OzgjKlfJ)
Video Tutorial
Watch the video before you start integrating the Easy Digital Downloads website with Payment Gateway.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads/integration-steps)
>
> Check the steps to integrate the Easy Digital Downloads website with Payment Gateway.
## Supported Products
Razorpay Easy Digital Downloads Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions |
| - | - | - |
| โ | x | x |
## Support
* Queries: If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
* Feature Request: If you have a feature request, create an issue on [GitHub](https://github.com/razorpay/razorpay-edd).
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads/integration-steps
Steps to integrate your Easy Digital Downloads website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow the steps given below to integrate Razorpay Payment Gateway with your Easy Digital Downloads website.\
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads/integration-steps#1-build-integration)
>
> Install and configure the Easy Digital Downloads plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with your Easy Digital Downloads based website using our payment extension.](https://www.youtube.com/embed/lsvPOgbHiV8)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Installation and Configuration
>
> 1. Download and install the latest version of the Easy Digital Downloads extension from the [WordPress plugin page](https://wordpress.org/plugins/easy-digital-downloads/).
>
> 2. Download the latest [razorpay-edd zip file](https://github.com/razorpay/razorpay-edd/releases) from the Releases section in GitHub.
>
> 3. Unzip and upload the extension contents to your `/wp-content/plugins/` directory.
>
> 4. Activate the extension via the WordPress **Plugins** menu.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > If you have downloaded the extension from GitHub or elsewhere, ensure that the directory is named `edd-razorpay`.
>
> 5. Log in to your [WordPress account](https://wordpress.com/log-in) and activate the extension in the **WordPress Plugin Manager**.
> 6. Log in to your [Easy Digital Downloads account](https://easydigitaldownloads.com).
> 7. Navigate to the **Settings** page and click the **Checkout/Payment Gateways** tab.
> 8. Click **Razorpay** to edit the settings.
> 9. Enable the Payment Method and name it Credit Card/Debit Card/Internet Banking (this will show up on the payment page your customer sees).
> 10. Enter your `[KEY_ID]` and `[KEY_SECRET]`. Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Razorpay Dashboard.
> 11. Click **Save** to save the changes.
## 2. Test Integration
After the integration, a **Pay** button will appear on your web page/app. You need to click the button and make a test transaction to ensure the integration works as expected. You can start accepting actual customer payments once the test is successful.

You can make test payments using one of the payment methods configured at the Checkout.
* No money is deducted from the customer's account as this is a simulated transaction.
* Ensure you have entered the API keys generated in the test mode in the Checkout code.
> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> You can track the payment status from the Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/easy-digital-downloads/troubleshooting-faqs
Troubleshoot common errors and find answers to frequently asked questions about Easy Digital Downloads Plugin integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [accordion] What troubleshooting procedures should be carried out prior to initiating a support ticket?
>
> Follow the troubleshooting steps given below:
>
> 1. Reinstall the Razorpay for Easy Digital Downloads plugin.
>
> 2. We recommend you to keep your WordPress and Razorpay for Easy Digital Downloads plugins up to date. You can find the latest versions [here](https://github.com/razorpay/razorpay-edd/releases).
>
> 3. Ensure your current theme is compatible with the Razorpay for Easy Digital Downloads plugin. If not, switch to the default WordPress theme and provide us with the name of your current theme.
>
> 4. If the issue persists after following these steps, contact our [Support team](https://razorpay.com/support/). Provide the following information while creating a ticket:
> * WordPress version
> * Easy Digital Downloads version
> * Razorpay for Easy Digital Downloads plugin version
> * PHP version
> * WordPress theme
> * Steps to reproduce the issue (Screen recording/Screenshots)
> * Error logs, if any
> * Staging website credentials (login URL, login id, and password)
> [accordion] Does the Easy Digital Downloads plugin support 3 or 0 decimal unit currencies?
>
> The Easy Digital Downloads plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
# Gravity Forms Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms
Check the prerequisites before you integrate your Gravity Forms website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [Gravity Forms Changelog](/docs/payments/changelog#gravity-forms)
>
> Discover new features, updates and deprecations related to the Razorpay Gravity Forms plugin (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay Gravity Forms plugin.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Download and install the base Gravity Forms Plugin.
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
* Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
[Video Tutorial](https://www.youtube.com/embed/89GKc3z2JEc?si=o1kO0mbb-xDy7Xhe)
Video Tutorial
Watch the video before you start integrating the Gravity Forms plugin with Payment Gateway.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms/integration-steps)
>
> Check the steps to integrate the Gravity Forms plugin with Payment Gateway.
## Supported Products
Razorpay Gravity Forms Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions |
| - | - | - |
| โ | x | x |
## Support
* Queries: If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
* Feature Request: If you have a feature request, create an issue on [GitHub](https://github.com/razorpay/razorpay-gravity-forms/issues/new).
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms/integration-steps
Steps to integrate your WordPress website using the Gravity Forms plugin.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow the steps given below to integrate Razorpay Payment Gateway with your Gravity Forms website.\
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms/integration-steps#1-build-integration)
>
> Install and configure the WordPress plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway on your WordPress website using our Gravity Form plugin.](https://www.youtube.com/embed/89GKc3z2JEc)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Download Razorpay Gravity Forms Plugin and Configure Settings
>
> Follow the steps given below:
>
> 1. Download and install the Razorpay Gravity Forms Plugin. You can do this using either of these methods:
> * [Download the latest version of the plugin from the WordPress Plugin Directory](https://github.com/razorpay/razorpay-gravity-forms/releases/latest) and add the zip file to your WordPress website's **Plugins** folder.
> * Add the plugin directly on your WordPress website from the **Plugin** page.
>
> 
> 2. On your WordPress site, activate the plugin in the **WordPress Plugin Manager**. \\
>
> 
> 3. Click **Settings**. \\
>
> 
> 4. Configure the following information and click **Update Settings**:
> * Add in your \[KEY\_ID] and \[KEY\_SECRET] generated from the Razorpay Dashboard.
> * **Payment Action**: Set this to **Authorize and Capture**.
> 5. Select the currency in which the payment must be accepted.
> 1. Navigate to **Forms** โ **Settings**.
> 2. Under **General Settings**, go to the **Currency** field and choose the relevant currency. For this example, we will select **Indian Rupee**.
> 
> [accordion] 2 Create a Gravity Form
>
> To create a Gravity Form:
>
> 1. Navigate to **Forms** โ **New Form** and click **Add New**.
> 2. Enter the form title and description in the **Create a New Form** dialog box.
> 3. Click **Create Form**.
> 4. Before entering the product details, you must select whether you are selling a subscription or a product/service. Navigate to **Settings** โ **Razorpay** and configure the **Razorpay Feed**.
> 1. In the **Razorpay Feed** settings, click **Add New**.
> 2. Add a name for the feed. For example, `Ooty Green Tea`.
> 3. Select `Products and Services` as the **Transaction Type**.
> 4. Click **Update Settings**.
>
> 
> 5. Click **Edit** to start adding product details:
>
> 
>
> 1. Click **Pricing Fields** and select **Product**.
>
> 
> 2. Click the form to enter the product details and click **Update**.
> 1. **Field Label**: Enter the product name. For example, `Ooty Green Tea`.
> 2. **Description**: Enter a description for the product.
> 3. **Field Type**: Select the field type as required.
> 4. **Price**: Enter the product price in INR. For example, `399.99`.
> 5. **Disable Quantity Field**: Do not select this option if your customer wants to choose a quantity.
> 6. **Rules**: Enable the **Required** check box to make the quantity field mandatory.
> 
>
> The form is now ready to be added to your web pages.
> [accordion] 3 Add the Form to a Webpage
>
> To add the form on a webpage:
>
> 1. Click **Pages** to navigate to the relevant page.
> 2. Add a block and click the form icon.
>
> 
> 3. Select the form to be added to the page.
>
> 
> 4. Once the form is added, you can choose to hide the form title and description.
> 5. Click **Publish** or **Update**.
> [!NOTE]
>
> **Handy Tips**
>
> Webhook is auto-configured when you enter and save the API key ID and secret on the plugin settings page. You need to [verify if webhooks are enabled](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms/troubleshooting-faqs#how-can-i-verify-if-webhooks-are-enabled) on your Razorpay Dashboard. However, for versions lower than 1.3.2, you need to [configure webhooks manually](/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms/troubleshooting-faqs#my-webhooks-are-not-auto-configured-since-i-am-not-using-the-upgraded-version-of-gravity-forms-how-do-i-manually-configure-webhooks).
## 2. Test Integration
After the integration, Razorpay will appear as a payment option on your web page/app. You need to click the button and make a test transaction to ensure the integration works as expected. You can start accepting actual payments from your customers once the test is successful.

You can make test payments using one of the payment methods configured at the Checkout.
* No money is deducted from the customer's account as this is a simulated transaction.
* Ensure you have entered the API keys generated in the test mode in the Checkout code.
> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> You can track the payment status from the Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/gravity-forms/troubleshooting-faqs
Troubleshoot common errors and find answers to frequently asked questions about Gravity Forms Ecommerce Plugin integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [accordion] My Webhooks are not auto-configured since I am not using the upgraded version of Gravity Forms. How do I manually configure webhooks?
>
> To set up webhooks:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Account & Settings**.
> 2. In the **Website and app settings** section, click **Webhooks**.
>
> 
> 3. Click **+ Add New Webhook**.
>
> 
> 4. In the **Webhook Setup** pop-up page:
> 1. Enter the **URL** where you want to receive the webhook payload when an event is triggered. We recommended using an HTTPS URL.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can set up to **10 URLs** to receive Webhook notifications. Webhooks can only be delivered to public URLs. If you attempt to save a localhost endpoint as part of a webhook setup, you will notice an error. Know more about [testing Webhooks on an application running on localhost](/docs/webhooks/validate-test#application-running-on-localhost).
>
> 1. Enter a **Secret** for the webhook endpoint. The secret is used to validate that the webhook is from Razorpay. Do not expose the secret publicly. Know more about [how to validate webhooks](/docs/webhooks/validate-test).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * When setting up the webhook, you will be asked to specify a secret. Using this secret, you can validate that the webhook is from Razorpay. Entering the secret is optional but recommended. The secret should never be exposed publicly.
> > * The webhook secret does not need to be the merchant secret key provided by Razorpay.
>
> 1. In the **Alert Email** field, enter the email address to which the notifications should be sent in case of webhook failure. You will receive webhook deactivation notifications to this email address.
> 2. Select the required events from the list of **Active Events**.
>
> 
> 3. Click **Create Webhook**.
> 4. After you set up a webhook, it appears on the list of webhooks. \\
> [accordion] How can I verify if webhooks are enabled?
>
> To verify if webhooks are enabled:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Account & Settings**.
> 2. In the **Website and app settings**, click **Webhooks**.
>
> 
> 3. Select the relevant webhook **URL**.
> 4. On the right panel, check if the status for `payment.authorized`, `refund.created` and `virtual_account.credited` is enabled.
>
> 
> [accordion] What troubleshooting procedures should be carried out prior to initiating a support ticket?
>
> Follow the troubleshooting steps given below:
>
> 1. Reinstall the Razorpay for Gravity Forms plugin.
> 2. We recommend you to keep your WordPress and Razorpay for Gravity Forms plugins up to date. You can find the latest versions [here](https://github.com/razorpay/razorpay-gravity-forms/releases).
> 3. Ensure your current theme is compatible with the Razorpay for Gravity Forms plugin. If not, switch to the default WordPress theme and provide us with the name of your current theme.
> 4. If the issue persists after following these steps, contact our [Support team](https://razorpay.com/support/). Provide the following information while creating a ticket:
> * WordPress version
> * Gravity Forms version
> * Razorpay for Gravity Forms plugin version
> * PHP version
> * WordPress theme
> * Steps to reproduce the issue (Screen recording/Screenshots)
> * Error logs, if any
> * Staging website credentials (login URL, login id, and password)
> [accordion] Does the Gravity Forms plugin support 3 or 0 decimal unit currencies?
>
> The Gravity Forms plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
# Magento Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/magento
Check the prerequisites before you integrate your Magento website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [Magento Changelog](/docs/payments/changelog#magento)
>
> Discover new features, updates and deprecations related to the Razorpay Magento plugin (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/magento/troubleshooting)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay Magento plugin.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
We support the following versions of Magento:
* [Magento 1.x extension](/docs/payments/payment-gateway/ecommerce-plugins/magento/integration-steps#integration-steps-for-magento-1-x-extension)
* [Magento 2.x extension](/docs/payments/payment-gateway/ecommerce-plugins/magento/integration-steps#integration-steps-for-magento-2-x-extension)
Our extensions are supported on all operating systems, such as Windows, Mac OS, and Linux.
> [!NOTE]
>
> **Handy Tips**
>
> As Magento 1.x is a legacy plugin, it is recommended that you use the Magento 2.x plugin.
### Upgrade Magento Extension
If you are an existing user, you can upgrade the Magento extension using the composer. Enter the command given below:
```bash Upgrade theme={null}
composer update razorpay/magento
bin/magento setup:upgrade
```
> [!WARNING]
>
> **Watch Out!**
>
> If you have installed the plugin using the `code.zip` steps, you must install the [latest code.zip](https://github.com/razorpay/razorpay-magento/releases/latest) file again.
[Video Tutorial](https://www.youtube.com/embed/22bvT3z1_98?si=d77Zzohb2ULRowVc)
Video Tutorial
Watch the video before you start integrating the Magento plugin with Payment Gateway.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/magento/integration-steps)
>
> Check the steps to integrate the Magento plugin with Payment Gateway.
## Supported Products
Razorpay Magento Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions |
| - | - | - |
| โ | x | โ |
## Support
* Queries: If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
* Feature Request: If you have a feature request, create an issue on [GitHub](https://github.com/razorpay/razorpay-magento/issues).
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/magento/integration-steps
Steps to integrate your Magento Extensions with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow the steps given below to integrate Razorpay Payment Gateway with your Magento website.\
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/magento/integration-steps#1-build-integration)
>
> Install the Magento plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/magento/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/magento/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with Magento Website](https://www.youtube.com/embed/22bvT3z1_98?si=e5cWAGO70V49zRHA)
## 1. Build Integration
Follow the steps given below to integrate Razorpay Payment Gateway with your Magento 1.x and 2.x Extensions.
> [accordion] Integration Steps for Magento 1.x Extension
>
> > [accordion] Step 1: Download and Install via Repository
> >
> > Follow the steps given below to download and install Magento 1.x Extension.
> >
> > #### Download Repository
> >
> > 1. [Download](https://github.com/razorpay/razorpay-magento-v1/releases/latest) the `Razorpay-1.2.1.tgz` file from the latest release.
> > 2. If you have **Onepage Checkout (IWD or Fire Checkout)**, [download](https://github.com/razorpay/razorpay-magento-v1/releases/latest) the Source Code zip from the latest release. With Onepage Checkout you can gather the required information from the shopper and complete the checkout process quickly. When Onepage Checkout is enabled, the entire checkout process takes place on a single page.
> >
> > ### Install Repository
> >
> > You can install the repository in two ways:
> >
> > > [tab] Install via Magento Connect
> > >
> > > 1. Go to Magento Connect Manager.
> > > 2. Go to `Direct package file upload`.
> > > 3. Click `Choose File` and select the TGZ file from Step 1.
> > > 4. Click `upload`.
> >
> > > [tab] Install Without Magento Connect
> > >
> > > 1. Unzip and open the downloaded folder.
> > > 2. Copy the **app** folder.
> > > 3. Paste and merge it into the Magento root folder.
> > > 4. Copy the **js** folder.
> > > 5. Paste and merge it into the Magento root folder.
> >
> > Once installed, navigate to **Configuration** and then to **Payment Gateways** and [configure the extension](#step-2-configure-magento-store-1-x) to suit your needs.
>
> > [accordion] Step 2: Configure Magento Store 1.x
> >
> > To configure your Magento store for Razorpay:
> >
> > 1. Log in to your [Magento store](https://business.adobe.com/products/magento/magento-commerce.html/).
> >
> > 2. Click on the **System** tab and then select **Configuration** option from the drop-down list.
> >
> > 
> >
> > 3. Click **Payment Methods** in the menu panel.
> >
> > 4. Scroll down. Click **Razorpay** and enter your test mode `[KEY_ID]` and `[KEY_SECRET]`.
> >
> > 
> >
> > 5. Select **Yes** for the **Enabled** option.
> >
> > 6. Click **Save Config** button. This activates your account in the Test Mode. You can use this account to make a few test payments to ensure a successful workflow.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > In test mode, no real money is deducted from your account.
> [accordion] Integration Steps for Magento 2.x Extension
>
> > [accordion] Step 1: Download and Install Extension
> >
> > You can install the extension through two ways:
> >
> > > [tab] Install Using Composer
> > >
> > > 1. Install the extension on your Magento store using the Composer Package Manager. Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries.
> > > 2. Go to your installation root directory of Magento and execute the following command:
> > >
> > > ```bash Command theme={null}
> > > composer require razorpay/magento
> > > bin/magento module:enable Razorpay_Magento
> > > ```
> > >
> > > 3. You can check if the installation was successful by executing the following command in the Magento root directory.
> > >
> > > ```bash Command theme={null}
> > > bin/magento module:status
> > > ```
> > >
> > > > [!NOTE]
> > > >
> > > > **Handy Tips**
> > > >
> > > > You should see `Razorpay_Magento` in the status. It might appear on the disabled modules list.
> > >
> > > 4. Enable and deploy the Razorpay module using commands:
> > >
> > > ```bash Command theme={null}
> > > bin/magento module:enable Razorpay_Magento
> > > bin/magento setup:di:compile
> > > bin/magento setup:upgrade
> > > bin/magento cache:flush
> > > bin/magento setup:static-content:deploy
> > > ```
> > >
> > > > [!NOTE]
> > > >
> > > > **Upgrade Magento Extension**
> > > >
> > > > If you are an existing extension user, you can [upgrade](/docs/payments/payment-gateway/ecommerce-plugins/magento#upgrade-magento-extension) to the latest version using the composer.
> >
> > > [tab] Install Without Composer
> > >
> > > 1. Download the `code.zip` file from the [latest release](https://github.com/razorpay/razorpay-magento/releases/latest). Extract the zip.
> > > 2. Place the `code` folder from Step 1 in your `app` folder. If you're performing an update, replace/overwrite the existing `code` folder.
> > > 3. Enable and deploy the Razorpay module using commands:
> > >
> > > ```bash Command theme={null}
> > > bin/magento module:enable Razorpay_Magento
> > > bin/magento setup:upgrade
> > > ```
> > >
> > > 4. Install Magento cron jobs using the command:
> > >
> > > ```bash Command theme={null}
> > > bin/magento cron:install
> > > ```
> > >
> > > 5. Enter the following command to compile the dependency code:
> > >
> > > ```bash Command theme={null}
> > > bin/magento setup:di:compile
> > > ```
> > >
> > > 6. Enter the following command to upgrade the Razorpay Magento module from the Magento installation folder:
> > >
> > > ```bash Command theme={null}
> > > bin/magento setup:di:upgrade
> > > ```
> > >
> > > 7. On the Magento Admin Dashboard, open Razorpay payment method settings and click **Save Config**.
> > >
> > > > [!WARNING]
> > > >
> > > > **Watch Out!**
> > > >
> > > > If you see the message `One or more of the Cache Types are invalidated: Page Cache.` highlighted in yellow on the Admin page, go to **Cache Management** and refresh cache types.
> > >
> > > 8. Run the following command:
> > >
> > > ```bash Command theme={null}
> > > bin/magento cache:flush
> > > ```
>
> > [accordion] Step 2: Configure Magento Store 2.x
> >
> > To configure your Magento store for Razorpay:
> >
> > 1. Log in to your [Magento store](https://business.adobe.com/products/magento/magento-commerce.html/).
> >
> > 2. Choose **Stores** on the Admin sidebar to the left. Now go to **Settings** โ **Configuration**.
> >
> > 
> >
> > 3. In the **Configuration** page, click on **Sales** on the left and choose **Payment Methods**.
> >
> > 
> >
> > 4. In the **Payment Methods** page, navigate to Razorpay.
> >
> > 
> >
> > 5. Enter your test mode \[KEY\_ID] and \[KEY\_SECRET]. These can be [generated from the Razorpay Dashboard](/docs/api/authentication#generate-api-keys).
> >
> > 6. Select **Yes** for the option **Enabled**.
> >
> > 7. Click **Save Config**. This activates your account in the test mode. You can use this account to make a few test payments and ensure a successful workflow.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > In test mode, no real money is deducted from your account.
>
> > [accordion] Step 3: Set Up Webhooks
> >
> > Webhooks are triggered when certain events occur. Subscribe to webhook events to receive notification (in the form of a webhook payload) when these events occur.
> >
> > Setting up webhooks makes your integration more robust, and guards against issues arising from poor connectivity. The webhook URL is available on the plugin's settings page. You must copy it from there and use it to set up webhook on the Razorpay Dashboard.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > * If you are using Magento plugin version 3.4.1, ensure the webhook delay is set to a minimum of 300 seconds.
> > > * Webhook is auto-configured on Magento plugin version 3.8.1-beta and above. For versions lower than 3.8.1-beta, you should [configure webhooks manually](/docs/payments/payment-gateway/ecommerce-plugins/magento/integration-steps#step-3-set-up-webhooks).
> >
> > To set up webhooks in the Razorpay Dashboard:
> >
> > 1. Log in to the Razorpay Dashboard.
> > 2. Navigate to **Accounts & Settings** โ **Webhooks**.
> > 3. Click + Add New Webhook.
> > 4. In the Webhook Setup modal:
> > * Paste the URL copied from the Magento site.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Webhooks can only be delivered to public URLs. If you attempt to save a localhost endpoint as part of a webhook set-up, you will notice an error. Please refer to the [test webhooks](/docs/webhooks/validate-test) section for alternatives to localhost.
> >
> > * Enter the Secret you had provided on the Magento site. The secret is used to validate that the webhook is from Razorpay. Do not expose the secret publicly. Know more about [webhooks validation](/docs/webhooks/validate-test#validate-webhooks).
> >
> > * In the **Alert Email field**, enter the email address to which notifications must be sent in case of webhook failure.
> >
> > * Select only the `order.paid` event from the list of **Active Events**.
> >
> > 5. Click **Create Webhook**.
> >
> > Know more about [webhooks](/docs/webhooks).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > If the notification says Razorpay table is not set up correctly, please contact our [Support team](https://razorpay.com/support/).
>
> > [accordion] Step 4: Set Up Cron With Magento
> >
> > Setup cron with Magento to execute Razorpay cronjobs for the following actions:
> >
> > **Cancel Pending Orders** \\
> >
> > It will cancel the order created by Razorpay according to the timeout saved in the configuration if Cancel Pending Order is enabled.
> >
> > **Update Order to Processing** \\
> >
> > Accepts response from Razorpay Webhook for events `payment.authorized` and `order.paid` and updates pending order to processing.
> >
> > Install Magento cron jobs using the command:
> >
> > ```bash Command theme={null}
> > bin/magento cron:install
> > ```
## 2. Test Integration
After the integration, a **Pay** button will appear on your web page/app. You need to click the button and make a test transaction to ensure the integration works as expected. You can start accepting actual payments from your customers once the test is successful.

You can make test payments using one of the payment methods configured at the Checkout.
* No money is deducted from the customer's account as this is a simulated transaction.
* Ensure you have entered the API keys generated in the test mode in the Checkout code.
> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> You can track the payment status from the Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/magento/troubleshooting
Know how to troubleshoot some of the common error messages and find answers to frequently asked questions for Magento extensions.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Know how to troubleshoot some of the common error messages for Magento 1.x and 2.x extensions.
## Troubleshooting for Magento 1.x Extension
Below are some common error messages and the possible reasons and fixes:
| Error | Cause | Fix |
| - | - | - |
| Bad request error | The API keys (\[KEY\_ID] and \[KEY\_SECRET]) are not configured correctly. | Make sure that the API Keys are active and entered correctly on the Magento Settings page. |
| Bad request error | You might be using a custom checkout theme like IWD and Firecheckout. | Make sure that you are using the GitHub/master branch. |
| cURL error | You do not have PHP-cURL installed on your server. | Ensure that you have PHP-cURL installed on your server. |
| cURL error | Port 443 is blocked. | Contact your hosting service to unblock the port. |
## Troubleshooting for Magento 2.x Extension
Below are some common error messages and the possible reasons and fixes:
| Error | Cause | Fix |
| - | - | - |
| Bad request error | The API Keys (\[KEY\_ID] and \[KEY\_SECRET]) are not configured correctly. | Make sure that the API Keys are active and entered correctly on the Magento Settings page. |
| Bad request error | You may be using a custom checkout theme like IWD and Firecheckout. | Make sure that you are using the GitHub/master branch. |
| cURL error | You do not have PHP-cURL installed on your server. | Ensure that you have PHP-cURL installed on your server. |
| cURL error | Port 443 is blocked. | Contact your hosting service to unblock the port. |
| Undefined index: Razorpay in /app/code/Razorpay/Magento/ Observer/AfterConfigSaveObserver.php | This issue is due to an error in module compilation. | Run `run bin/magento setup:di:compile` to recompile. |
| The following modules are outdated: โข Razorpay\_Magento schema: Current Version - None, Required Version - 3.6.2 โข Razorpay\_Magento data: Current Version - None, Required Version - 3.6.2 | The Razorpay Magento plugin version is outdated. | [Download](https://github.com/razorpay/razorpay-magento) and install the latest Razorpay Magento Plugin. |
| Column not found: 1054 Unknown column "'main\_table.rzp\_webhook\_notified\_at' in 'field list', query was: SELECT main\_table.entity\_id, main\_table.rzp\_webhook\_notified\_at FROM sales\_order AS main\_table." | The Razorpay Magento plugin version is outdated. | Make sure that you update the plugin to the latest version. |
## FAQs
> [accordion] What troubleshooting procedures should be carried out prior to initiating a support ticket?
>
> Follow the troubleshooting steps given below:
>
> 1. Ensure that your system meets all the requirements mentioned [here](/docs/payments/payment-gateway/ecommerce-plugins/magento).
> 2. We recommend you to keep your Magento and Razorpay plugins up to date. You can find the latest versions [here](https://github.com/razorpay/razorpay-magento/releases).
> 3. If the issue persists after following these steps, contact our [Support team](https://razorpay.com/support/). Provide the following information while creating a ticket:
> * Magento version (1.x/2.x)
> * Razorpay Magento plugin version
> * PHP version
> * Steps to reproduce the issue (Screen recording/Screenshots)
> * Error logs, if any
> * Magento staging website credentials (login URL, login id, and password)
> * SSH/FTP access to the staging server
> [accordion] Is PWA (Progressive Web Apps) supported for Magento Plugin?
>
> Yes, Magento Plugin supports Progressive Web Apps (PWA) through GraphQL.
> [accordion] If you initiate a refund on the AxisHDFC VAS Dashboard, will the same status reflect on the Magento Dashboard?
>
> Initiating a refund on the Razorpay Dashboard does not automatically update the status on Magento. The refund process is typically managed through the Magento Dashboard. The status changes made on the Magento Dashboard are then reflected on the Razorpay Dashboard.
> [accordion] How can I create a Custom Order Status in Magento?
>
> Below are the steps to create a Custom Order Status in Razorpay Magento:
>
> **Step 1: Create a customer order status.**
>
> 1. Go to **Stores** โ **Order Status** (under Settings) on the Magento Admin Dashboard.
>
> 
> 2. On **Order Status** page, click **Create New Status**.
>
> 
> 3. On the **Create New Order Status** page:
> * Insert a **Status Code** under the **Order Status Information** section for internal reference.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > This field must contain letters (a-z), numbers (0-9), and the underscore. You must use letters at the first character. The rest can be a combination of letters and numbers.
>
> * Set the **Status Label** for Admin and storefront.
> * Set the **Default Store View** under **Store View Specific Labels** for each store view.
>
> 
>
> 4. Click **Save Status** to complete.
>
> 
>
> **Step 2: Un-assign existing status.**\\
>
> 1. Un-assign the existing status code that is in use.
> * If State Code and Title is `processing[Processing]`, the `processing` status is already in use for state `processing`.
>
> * Un-assign this status from the existing state code `processing`, so the state will be available for your custom status code.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > If you get the following error "The status can't be unassigned because the status is currently used by an order.", directly move to step 3.
>
> **Step 3: Assign an order status to a state.**
>
> 1. Go to the **Order Status** page, and click **Assign Status to State**.
>
> 
> 2. On the **Assign Order Status to State** page:
> * Select the **Order Status** to assign from the existing order status list.
> * Select the **Order State** as `processing` to include the order status you have just assigned.
> * Select the **Use Order Status As Default** checkbox to accept the Order Status as a default.
> * Select the **Visible On Storefront** checkbox to enable the order status on the storefront.
>
> 
>
> 3. Click **Save Status Assignment** to complete.
>
> 
>
> **Step 4: Using custom order status for Razorpay Magento.**
>
> 1. On the Magento Admin Dashboard, open Razorpay payment method settings.
> 2. On the **Configuration** page:
> * At **Enable Custom Paid Order Status** field, select **Yes** to enable custom order status, and select **No** to disable custom order status.
> * Insert **Custom Paid Order Status** value in the input field, providing the same value as the Status Code while creating custom status.
>
> 
>
> 3. Click **Save Config** and refresh the cache.
>
> 
> [accordion] I am getting the following error message "Column not found: 1054 Unknown column 'main\_table.rzp\_webhook\_notified\_at' in 'field list', query was: SELECT main\_table.entity\_id, main\_table.rzp\_webhook\_notified\_at FROM sales\_order AS main\_table."
>
> If you encounter this error message, [update](/docs/payments/payment-gateway/ecommerce-plugins/magento/integration-steps#step-1-download-and-install-extension) the plugin to the latest version to resolve the issue.
> [accordion] Does the Magento plugin support 3 or 0 decimal unit currencies?
>
> The Magento plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
# OpenCart Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/open-cart
Check the prerequisites before you integrate your OpenCart website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [OpenCart Changelog](/docs/payments/changelog#opencart)
>
> Discover new features, updates and deprecations related to the Razorpay OpenCart plugin (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/open-cart/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay OpenCart plugin.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
* Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
## Supported Versions
We support the following versions of OpenCart with separate extensions: OpenCart 4, OpenCart 3, OpenCart 2 and OpenCart 1.5.
[Video Tutorial](https://www.youtube.com/embed/lVzskQnl170?si=8oFLvYKsLJY8vZSN)
Video Tutorial
Watch the video before you start integrating the OpenCart plugin with Payment Gateway.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/open-cart/integration-steps)
>
> Check the steps to integrate the OpenCart plugin with Payment Gateway.
## Supported Products
Razorpay OpenCart Plugin is only supported on Web Standard Checkout and the following products:
| Plugin | Payment Gateway | Route | Subscriptions |
| - | - | - | - |
| OpenCart 1.5 | โ | x | x |
| OpenCart 2 | โ | x | x |
| OpenCart 3 | โ | x | โ |
| OpenCart 4 | โ | x | โ |
## Support
* Queries: If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
* Feature Request: If you have a feature request, create an issue on [GitHub](https://github.com/razorpay/razorpay-opencart/issues/new).
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/open-cart/integration-steps
Steps to integrate your OpenCart Extension with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow the steps given below to integrate Razorpay Payment Gateway with your OpenCart Extension.
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/open-cart/integration-steps#1-build-integration)
>
> Install and configure the OpenCart plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/open-cart/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/open-cart/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with OpenCart Website](https://www.youtube.com/embed/lVzskQnl170)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Install Plugin
>
> 1. Download the latest Source code zip file of the required version of the plugin.
>
> 2. Download the latest release of the OpenCart 4 plugin from the [Releases section](https://github.com/razorpay/razorpay-opencart/releases) in GitHub. Tags for OpenCart 4 are opencart4-6.x.y.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > When installing the Razorpay plugin for Opencart 4, ensure that your zip folder only contains the following folders and file, with no hidden files:
> >
> > * `admin/`
> > * `catalog/`
> > * `system/`
> > * `install.json`
>
> 1. Download the latest release of the OpenCart 3 plugin from the [Releases section](https://github.com/razorpay/razorpay-opencart/releases) in GitHub. Tags for OpenCart 3 are opencart3-1.x.y.
> 2. For OpenCart 2, [download this release](https://github.com/razorpay/razorpay-opencart/releases/tag/opencart2-3.0.0) from GitHub. Tags for OpenCart 2 are opencart2-3.x.y.
> 3. For OpenCart 1.5, [download this release](https://github.com/razorpay/razorpay-opencart/releases/tag/opencart1.5-1.0.0) from GitHub. Tags for OpenCart 1.5 are opencart1.5-1.x.y.
> 4. Navigate to **Extensions** โ **Installer** and click **Upload**. Choose the zip file.
> [accordion] 2 Configure OpenCart
>
> Configure OpenCart as given below:
>
> 1. Log in to [OpenCart](https://www.opencart.com/).
> 2. Navigate to the **Admin Panel** โ **Extensions** โ **Payments** to install the Razorpay Payment Gateway extension.
> 3. Click **Edit**. Complete the following steps:
> 1. Add in your Key\_ID and Key\_Secret generated from the Razorpay Dashboard.
>
> 2. Change extension status to **Enabled**.
>
> 3. Click **Save** to save the extension settings.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Webhook is auto-configured on OpenCart 3 (versions 5.0.0 and above) and OpenCart 4 when you enter and save the API key ID and secret on the plugin settings page. You need to verify if webhooks are enabled on your Razorpay [Dashboard](/docs/payments/payment-gateway/ecommerce-plugins/open-cart/troubleshooting-faqs#how-can-i-verify-if-webhooks-are-enabled). \\
> >
> > However, for versions lower than 5.0.0, you must [configure webhooks manually](/docs/payments/payment-gateway/ecommerce-plugins/open-cart/troubleshooting-faqs#my-webhooks-are-not-auto-configured-since-i-am-not-using-the-upgraded-version-of-opencart-how-do-i-manually-configure-webhooks).
>
> #### Create Cron for OpenCart 3
>
> Create a Cron for Webhook using cpanel, follow the steps given below:
>
> 1. Log on to your cPanel Interface.
> 2. Go to **Advanced** section.
> 3. Click **Cron Jobs**.
> 4. Select the specific time from the lists provided (every 5 minutes).
> 5. Enter `https:///index.php?route=extension/payment/razorpay/rzpWebhookCron/` in the **Command** field.
>
> For more information about Cron, refer to [OpenCart Crons](https://docs.opencart.com/developer-guide/cron-jobs).
## 2. Test Integration
After the integration, Razorpay will appear as a payment option on your webpage/app. You need to click the button and make a test transaction to ensure the integration works as expected. You can start accepting actual payments from your customers once the test is successful.

You can make test payments using one of the payment methods configured at the Checkout.
* No money is deducted from the customer's account as this is a simulated transaction.
* Ensure you have entered the API keys generated in the test mode in the Checkout code.
> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> You can track the payment status from the Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
# Shopify Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/shopify
Know how to integrate Razorpay Payment Gateway with your Shopify store. Complete guide for Shopify payment integration with Razorpay Secure app.
Available in
๐ฎ๐ณ India
> [!WARNING]
>
> **Plugin Renamed**
>
> In your Shopify admin, the Razorpay plugin is listed as **01 Cards, UPI, NB, Wallets by Razorpay**. To install it, go to **Settings** โ **Payments** โ **Add payment method**, click **Search by provider** and search for **01 Cards, UPI, NB, Wallets by Razorpay**. Your customers see it at checkout as **Razorpay Secure (UPI, Card, Int'l Card, Apple Pay)**. The plugin was earlier listed as **1Razorpay - UPI, Cards, Wallets, NB** and **All-in-one Razorpay Payment Gateway**.
> [card] [Shopify Changelog](/docs/payments/changelog#shopify)
>
> Discover new features, updates and deprecations related to the Razorpay Shopify integration (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/shopify/faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay Shopify integration.
Razorpay Shopify integration allows you to accept payments on your Shopify store using the Razorpay Secure app. This guide covers how to integrate Razorpay with Shopify, enabling UPI, Cards, Wallets and Netbanking payments.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Sign up for a [Shopify account](https://www.shopify.in).
* [Ensure that your website](/docs/payments/dashboard/account-settings/business-website-details#add-and-edit-website/app/additional-websites) is reviewed before initiating integration with Shopify.
* A Razorpay Account with access to the account ownerโs credentials. (Only owners can connect Razorpay with Shopify, and API keys are not required for integration.)
[Video Tutorial](https://www.youtube.com/embed/eFVzIr1lsdA?si=PovdZ0Xi8jWyj0EJ)
Video Tutorial
Watch the video before you start integrating Razorpay Payment Gateway with your Shopify website using the Razorpay Secure app.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps)
>
> Check the steps to integrate your Shopify website with the Razorpay Payment Gateway.
> [!WARNING]
>
> **Watch Out!**
>
> Follow the [migration steps](/docs/payments/payment-gateway/ecommerce-plugins/shopify/migration-steps#migration-steps) and upgrade to the **Razorpay Secure** App if you integrated with the Shopify store before 28th April 2022. This is to prevent payment failures.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps)
>
> Check the steps to integrate your Shopify website with the Razorpay Payment Gateway.
> [!WARNING]
>
> **Watch Out!**
>
> Only Razorpay account owners can connect their Shopify account with Razorpay.
## Supported Products
Razorpay Shopify Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions |
| - | - | - |
| โ | x | x |
### Demo Link
* To experience the Shopify integration with Razorpay Payment Gateway, you can make a payment on our [Shopify Test Store](https://razorpay-live-store.myshopify.com/).
* To test the international currency support on the Razorpay-Shopify integration, you can make test purchases (without paying) on our [Shopify International Test Store](https://razorpay-test-store-international.myshopify.com/).
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/shopify/faqs
Troubleshoot common errors and find answers to frequently asked questions about Shopify.
Available in
๐ฎ๐ณ India
## Integration & Setup
> [accordion] Why can't I find the Razorpay plugin on the Shopify App Store?
>
> In your Shopify admin, the Razorpay plugin is listed as **01 Cards, UPI, NB, Wallets by Razorpay**. Your customers see it at checkout as **Razorpay Secure (UPI, Card, Int'l Card, Apple Pay)**. The plugin was earlier listed as **1Razorpay - UPI, Cards, Wallets, NB** and **All-in-one Razorpay Payment Gateway**. If you are unable to find the plugin, search for **01 Cards, UPI, NB, Wallets by Razorpay** under **Search by provider** in your Shopify payment settings or use the [direct link](https://accounts.shopify.com/store-login?redirect=settings%2Fpayments%2Falternative-providers%2F1058839) to access the app on your Shopify store.
> [accordion] How do I integrate Razorpay Secure with my Shopify store?
>
> Follow the [build integration](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps#1-build-integration) steps to integrate Razorpay Secure with your Shopify store.
> [accordion] Do I need API keys to integrate a payment app with Shopify?
>
> No, API keys are not required to integrate a payment app with Shopify. OAuth is used to handle the authentication process.
> [accordion] I tried connecting Razorpay Secure to my AxisRazorpay account but was unsuccessful. When I try to reconnect, the screen appears different. How should I proceed?
>
> Follow the steps given below to connect Razorpay Secure with your Razorpay account:
>
> 1. When you try to reconnect, you will get the following screen. Click **Manage**.
>
> 
>
> 2. You will be redirected to a landing page. Click **I am an existing user**.
>
> 
>
> 3. Scroll down and click **Login**.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Make sure you log in with **owner** credentials to connect Razorpay with Shopify successfully.
>
> 
>
> 4. Click **Activate** on the activation screen on your Shopify Dashboard. \\
>
> 
>
> **Razorpay Secure (UPI, Card, Int'l Card, Apple Pay)** now appears as a Payment Gateway on your Shopify Store checkout.\\
>
> 
>
> This completes your integration.
> [accordion] Why is the Activate button disabled?
>
> The Activate button may be disabled due to the plugin being integrated into another account or keyless authentication not being enabled. To enable the Activate button:\\
>
> * **Check for Integration with Another Account:** Verify if you have integrated your Shopify Store with a different Razorpay MID. If yes, revoke access under applications and retry the Razorpay Secure [integration steps](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps#1-build-integration). \\
>
> * **Enable Keyless Authentication:** Ensure keyless authentication is enabled from Razorpay's end. To enable keyless authentication contact our [Support team](https://razorpay.com/support/).
> [accordion] I am getting the following error message, "Email ID Mismatch." Why?
>
> This error occurs when there is a discrepancy between the email IDs used in Shopify and Razorpay.\\
>
> You can [update the email ID](/docs/payments/dashboard/account-settings/account-details#update-login-email) on Razorpay to match the one used in Shopify. Verify that the email ID associated with owner access on Razorpay matches the one used in Shopify.
> [accordion] I get a blank screen when I try to log in to the account while integrating/migrating Razorpay Secure, and I am unable to proceed further. How to proceed further?
>
> A blank screen appears when the email id used to log in to Razorpay doesn't match the email ID registered with owner access on Razorpay. Make sure that you log in using the correct email ID.
> [accordion] How do I uninstall Razorpay payment apps from Shopify?
>
> To uninstall any Razorpay payment app from your Shopify store, follow these steps:
>
> 1. Log in to your Shopify admin panel and navigate to **Settings**โ**Payments**.
> 2. Click **Add payment methods**.
> 3. Click Search by provider and type **Razorpay**. This will show all the Razorpay payment apps installed on your Shopify store. Click the Razorpay app that you wish to uninstall.
>
> 
> 4. Scroll down to the bottom and click the **Uninstall** button to remove the app from your Shopify store.
>
> 
>
> This will successfully uninstall the selected Razorpay payment app from your Shopify store.
> [accordion] What should I do if I am confused between legacy and current plugin versions?
>
> To avoid confusion, uninstall the legacy version of the plugin and [re-install](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps#1-build-integration) the current plugin version (Razorpay Secure).
> [accordion] Our Payment Gateway stopped displaying after migrating to Shopify. How can we reactivate it?
>
> After migrating your website to Shopify, you need to integrate with the official Shopify Razorpay Secure plugin, as your previous Payment Gateway integration from the old platform will not be carried over. Follow the [integration steps](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps) and once activated, your payment gateway will be displayed at checkout, allowing you to accept payments.
## Migration to Razorpay Secure
> [accordion] Why do I need to upgrade to Razorpay Secure?
>
> Shopify has launched a new payment platform, which requires existing and new payment apps to meet a new set of secure guidelines. Razorpay has built a new app, Razorpay Secure, that complies with these new rules.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Your customers' payments will fail if you do not upgrade to the Razorpay Secure app at the earliest. So, you must upgrade to Razorpay Secure to provide an uninterrupted payment experience to your customers.
> [accordion] How do I upgrade to Razorpay Secure?
>
> You can upgrade to Razorpay Secure by following a simple migration process. Know more about [how to migrate to Razorpay Secure](/docs/payments/payment-gateway/ecommerce-plugins/shopify/migration-steps).
> [accordion] Who all need to migrate to Razorpay Secure app?
>
> All Shopify and Shopify Plus merchants must migrate to the Razorpay Secure payments app to continue accepting payments without service disruptions.
> [accordion] Who can perform the migration process for Razorpay Secure app?
>
> Only a Shopify Store Owner or Administrator can complete the migration for a Shopify account. They will need Razorpay account credentials to connect the two applications.
> [accordion] What changes for me as a merchant after I upgrade to Razorpay Secure?
>
> Nothing will change for you or your customers if you upgrade to the Razorpay Secure app. If you do not migrate, Razorpay will not appear as a payment option for your customers once the old Razorpay app is deprecated.
> [accordion] What if I do not deactivate the older Razorpay plugin?
>
> If you do not deactivate the older Razorpay plugin, two Razorpay payment gateways will be visible to your customers on your store checkout, which may lead to confusion.
## Checkout and Payment Issues
> [accordion] My customer is getting the following error when they make payments on my Shopify store, "There was an issue processing your payment. Try again or use a different payment method." What should I do?
>
> Your customers may get the following error when making payments.
>
> 
>
> Uninstall and reinstall the Razorpay Secure app from your Shopify store to resolve the error.
>
> To uninstall the app:
>
> 1. Open your Shopify store in incognito mode.
> 2. Navigate to **Settings** โ **Payments**. Click **Manage** on **01 Cards, UPI, NB, Wallets by Razorpay**.
> 3. Go to **Deactivate 01 Cards, UPI, NB, Wallets by Razorpay** and click **Uninstall 01 Cards, UPI, NB, Wallets by Razorpay**. This uninstalls the app.
>
> Follow the [build integration](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps#1-build-integration) steps to install the plugin again.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you uninstall and reinstall the app instead of only deactivating it.
>
> If your plugin still does not accept payments, contact [Support team](https://razorpay.com/support/).
> [accordion] Why is my Shopify checkout showing only Razorpay Direct (cards) instead of all payment methods?
>
> You might have only integrated with Razorpay Direct - Credit Card Plugin, which supports card payments only. To accept UPI, Netbanking, Wallets and Cards at checkout, you need to [integrate with Razorpay Secure](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps), which is Razorpay's full payment gateway app for Shopify.
> [accordion] The Razorpay payment option has disappeared from my Shopify checkout after I added another payment provider. Even after removing it, Razorpay does not show up and I see the error "This store can't accept payments right now." What should I do?
>
> Active payment method customisations typically cause this issue in your Shopify admin. When adding multiple payment providers, these customisations may conflict and prevent Razorpay from appearing at checkout.
>
> To fix this, follow the steps below:
>
> 1. Navigate to **Shopify Admin** โ **Settings** โ **Payments** โ **Payment Method Customizations**.
> 2. **Disable or remove all customizations** listed under this section.
> 3. Save the changes and refresh the checkout page.
>
> Once the payment customizations are removed, the Razorpay payment option should reappear at checkout.
>
> If the issue persists, contact our [Support team](https://razorpay.com/support/).
> [accordion] How can I test a payment for Razorpay Secure on the Shopify store?
>
> You can test a payment for Razorpay Secure on the Shopify store by switching to test mode. Know more about [how to test a transaction in test mode.](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps#1-make-a-test-transaction-in-test-mode)
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Once you successfully make a test transaction, ensure you uncheck the **Enable test mode** option to accept live payments.
> [accordion] After migrating to Razorpay Secure, the checkout option for Razorpay Secure appears at the bottom of the list of gateways. Is it possible to move the checkout option to the top of the list of gateways?
>
> No. It is not possible to rearrange the order payment options via the store settings of the Shopify Dashboard as it is a limitation from Shopify's end.
> [accordion] How can I enable automated payment receipts with GST split?
>
> Razorpay facilitates only payment collection. The partner is solely responsible for sending invoices or payment receipts with GST details to customers. To provide GST-compliant receipts, partners can use [Razorpay Invoice](/docs/payments/invoices) product when collecting payments.
## Account Management
> [accordion] Can I connect two merchant ids (MIDs) to the same Shopify Store?
>
> No, currently you can connect only one MID to your Shopify Store.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Make sure you log in using the correct Razorpay merchant id (MID) credentials via the Shopify Dashboard.
> [accordion] Can I integrate a second Razorpay account with my Shopify store?
>
> A Shopify store can be linked to only one Razorpay account (MID) at a time. You cannot run two Razorpay accounts on the same store simultaneously, but you can switch the store to a different account. See [how to relink your Shopify store to a different Razorpay account (MID)](#how-do-i-relink-my-shopify-store-to-a-different-razorpay-account-mid).
> [accordion] How do I relink my Shopify store to a different Razorpay account (MID)?
>
> You can relink your Shopify store to a different Razorpay account (MID) yourself; you do not need to contact Razorpay to delink the old MID. Follow the same steps you used for your first-time installation:
>
> 1. On the **old** Razorpay account, navigate to **Account & Settings** โ **Applications** and revoke Shopify access.
> 2. [Uninstall](#how-do-i-uninstall-razorpay-payment-apps-from-shopify) the **01 Cards, UPI, NB, Wallets by Razorpay** app from your Shopify store.
> 3. Reinstall the app and activate it by logging in with your **new** Razorpay account, following the [integration steps](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps#1-build-integration).
>
> Once you activate the app with the new account, your Shopify store is linked to the new MID.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Make sure you log in with **store owner** credentials and the correct Razorpay merchant id (MID) to connect the new account successfully.
> [accordion] I have two ecommerce websites owned by my company. If I connect both websites to my Razorpay account, will the customers be redirected to the correct webpage after payment?
>
> Yes, when customers pay through Razorpay on either of your connected websites, they will be redirected to the website they purchased from.
## Pricing and Settlements
> [accordion] Will I be charged extra for integrating/migrating to Razorpay Secure app?
>
> No, there will be no additional charges. Your pricing plan will remain the same as earlier.
> [accordion] When will my funds be settled?
>
> Funds will be settled as per the existing settlement schedule. There will be no change to it.
## Verification and Order Processing
> [accordion] Should I verify a payment on Razorpay before processing an order on Shopify?
>
> Yes. The Razorpay Shopify integration works on payment auto-capture mode, so most Razorpay authorised payments get auto-captured. However, there is a 0.5% chance that an authorised payment encounters a gateway capture failure and gets auto-refunded. Before processing an order, verify the payment status on the [Razorpay Dashboard](/docs/payments/dashboard) or reconcile it from the [reports](/docs/payments/dashboard/reports).
## Features and Limitations
> [accordion] Can I enable Subscriptions on my Shopify store?
>
> No, Shopify does not support Subscriptions. The Ecommerce platforms that support Subscriptions are Woocommerce, Magento, and Open Cart.
> [accordion] Does the Shopify Razorpay Secure plugin support 3 or 0 decimal unit currencies?
>
> The Shopify Razorpay Secure plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
> [accordion] How do I integrate Meta Pixel to accept payments through Meta Ads?
>
> Razorpay does not provide a direct plugin integration for accepting payments through Meta Ads. However, you can use Razorpay Payment Pages with [Facebook Pixel and Google Tracking ID](/docs/payments/payment-pages/plugins-add-ons) to track payments and conversions from your Ad campaigns.
> [accordion] Can I use Razorpay Route API with my Shopify store?
>
> No, Razorpay Route API is not supported for Shopify integration. Only the [Razorpay Secure plugin](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps) is supported for Shopify stores.
# Initiate Refunds
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/shopify/initiate-refunds
Know how to initiate refunds from the Shopify Dashboard.
Available in
๐ฎ๐ณ India
You can initiate refunds to customers from the Shopify Dashboard.
Follow these steps:
1. Log in to the Shopify Dashboard.
2. Navigate to Orders and select the order for which you want to refund.
3. Click **Refund**.

4. Enter the amount to be refunded. You can initiate:
* **Full Refund**: Enter the full order amount.
* **Partial Refund**: Enter an amount less than the full amount.
5. Enter a reason for the refund.
6. Click **Refund**.

## Refund a Discounted Payment
If the customer has selected an offer during checkout, ensure you refund only the discounted cost (Actual Cost minus Discount Amount) of the product/service.
> [!WARNING]
>
> **Watch Out!**
>
> Do not refund the actual cost of the product/service received from the customer.
| Particulars | Amount |
| - | - |
| Actual Cost | โน4.72 |
| Discount Amount | โน0.28 |
| Discounted Cost (Actual Cost minus Discount Amount) | โน4.44 |
| Amount Refundable to Customer | โน4.44 |
The Order displays the refund details:

# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps
Step-by-step guide to integrate Razorpay Payment Gateway with Shopify. Install Razorpay Secure app and start accepting payments on your Shopify store.
Available in
๐ฎ๐ณ India
> [!WARNING]
>
> **Plugin Renamed**
>
> In your Shopify admin, the Razorpay plugin is listed as **01 Cards, UPI, NB, Wallets by Razorpay**. To install it, go to **Settings** โ **Payments** โ **Add payment method**, click **Search by provider** and search for **01 Cards, UPI, NB, Wallets by Razorpay**. Your customers see it at checkout as **Razorpay Secure (UPI, Card, Int'l Card, Apple Pay)**. The plugin was earlier listed as **1Razorpay - UPI, Cards, Wallets, NB** and **All-in-one Razorpay Payment Gateway**.
Follow the steps given below to integrate the Razorpay Secure App on your Shopify store.
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps#1-build-integration)
>
> Install the Razorpay Secure app.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/shopify/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with your Shopify website using the Razorpay Secure app.](https://www.youtube.com/embed/eFVzIr1lsdA)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Installation
>
> **Step 1: Sign up for a Razorpay account**.
>
> 1. [Sign up](https://dashboard.razorpay.com/signup?) for a Razorpay account. If you already have an account, skip to Step 2.
> 2. Submit your KYC, and if we need any further clarification, we will reach out to you on WhatsApp, SMS and email.
> 3. Once our team completes KYC verification and you are enabled to accept payments, we will send a confirmation on WhatsApp, SMS and email.
>
> **Step 2: Access the Razorpay Secure App on Shopify**.
>
> Once your Razorpay account is activated, you can install the app using either of these methods:
>
> > [tab] Method A: Direct Link Installation
> >
> > Click on [this link](https://accounts.shopify.com/store-login?redirect=settings%2Fpayments%2Falternative-providers%2F1058839) to access the **01 Cards, UPI, NB, Wallets by Razorpay** app directly on your Shopify store.
>
> > [tab] Method B: Manual Installation
> >
> > 1. Login to your Shopify store.
> > 2. Navigate to **Settings** โ **Payments**.
> > 3. Click **Add payment method** under Additional payment methods.
> >
> > 
> > 4. Click **Search by provider**, search for **01 Cards, UPI, NB, Wallets by Razorpay** and select it from the results.
> >
> > 
>
> **Step 3: Install and Activate the App**.
>
> 1. Click **Install** on the app installation page.
>
> 
> 2. Review the data access permissions and click **Install** in the Install app dialog.
>
> 
> 3. You will be redirected to a landing page. Click **I am an existing user**.
>
> 
> 4. Scroll down and click **Login**.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Make sure you log in with **store owner** credentials to connect Razorpay with Shopify successfully.
> 5. Click **Activate** on the activation screen on your Shopify Dashboard.
>
> 
>
> **Razorpay Secure (UPI, Card, Int'l Card, Apple Pay)** now appears as a Payment Gateway on your Shopify Store checkout.
>
> 
>
> This completes your integration. For more information, see [Shopify FAQs](/docs/payments/payment-gateway/ecommerce-plugins/shopify/faqs).
## 2. Test Integration
After the integration of **Shopify - Razorpay Secure** on your Shopify store is complete, follow the steps given below:
> [accordion] 1 Make a Test Transaction in Test Mode
>
> After completing the integration, you must ensure it is working as expected. You can start accepting actual payments from your customers once the test mode transaction is successful.\\
>
> Follow the steps given below to test a transaction in test mode:
>
> 1. Log in to your [Shopify store](https://accounts.shopify.com/lookup?rid=f19e1541-cd24-4856-a398-156d2ed5d56f).
> 2. Navigate to **Settings** โ **Payments**.
> 3. Under **Additional payment methods** section, click **01 Cards, UPI, NB, Wallets by Razorpay** app.
>
> 
> 4. At the bottom of the page, toggle the **Test mode** option and click **Save**.
>
> 
> 5. On your Shopify store, add an item to your cart and click **Buy it now**.
>
> 
> 6. Fill in your **contact** and **shipping** details and click **Continue to shipping**.
>
> 
> 7. Select **Razorpay Secure (UPI, Card, Int'l Card, Apple Pay)** and click **Complete order**.
>
> 
> 8. On the checkout screen, enter your **phone number**, click **PROCEED**, and complete the payment.
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> * No money is deducted from the customer's account as this is a simulated transaction.
>
> * Ensure you have entered the API keys generated in the test mode in the Checkout code.
>
> > [accordion] Supported Payment Methods
> >
> > After the integration is complete, a **Pay** button appears on your webpage/app.
> >
> > 
> >
> > Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > This is a mock payment page that uses your test API keys, test card and payment details.
> > >
> > > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
> >
> > Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
> >
> > | Payment Method | Code | Availability |
> > | - | - | - |
> > | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> > | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> > | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> > | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> > | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> > | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> > | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> > | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> > | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> > | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
> >
> > You can make test payments using one of the payment methods configured at the Checkout.
> >
> > > [accordion] Netbanking
> > >
> > > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> > >
> > > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
> >
> > > [accordion] UPI
> > >
> > > You can enter one of the following UPI IDs:
> > >
> > > * `success@razorpay`: To make the payment successful.
> > > * `failure@razorpay`: To fail the payment.
> > >
> > > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> > >
> > > > [!NOTE]
> > > >
> > > > **Handy Tips**
> > > >
> > > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
> >
> > > [accordion] Cards
> > >
> > > You can use the following test cards to test transactions for your integration in Test Mode.
> > >
> > > ### Domestic Cards
> > >
> > > Use the following test cards for Indian payments:
> > >
> > > | Network | Card Number | CVV & Expiry Date |
> > > | - | - | - |
> > > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > > | Mastercard | 5500 6700 0000 1002 | |
> > > | RuPay | 6527 6589 0000 1005 | |
> > > | Diners | 3608 280009 1007 | |
> > > | Amex | 3402 560004 01007 | |
> > >
> > > #### Error Scenarios
> > >
> > > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > > Check the following lists:
> > >
> > > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > > * [Cards Error Codes](/docs/errors/payments/cards).
> > >
> > > ### International Cards
> > >
> > > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> > >
> > > | Card Network | Card Number | CVV & Expiry Date |
> > > | - | - | - |
> > > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > > | Visa | 4012 8888 8888 1881 | |
> > >
> > > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
> >
> > > [accordion] Wallet
> > >
> > > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> > >
> > > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] 2 Update Checkout Settings
>
> Follow the steps given below for a smooth checkout experience:
>
> 1. Log in to your [Shopify store](https://accounts.shopify.com/lookup?rid=f19e1541-cd24-4856-a398-156d2ed5d56f).
>
> 2. Navigate to **Settings** โ **Checkout**.
>
> 3. On the **Customer contact method** section, click **Phone number or email** and click **Save**.
>
> 
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Your customer's email ID is prefilled during checkout, but the `phone number` must be entered manually.
> [accordion] 3 Verify Payment Status
>
> You can track the payment status from the Razorpay Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Switch from Test mode to Live mode
>
> You can perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the installation and integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> Watch this short animation to know how to switch from **Test Mode** to **Live Mode** on your Shopify store.
>
> 
>
> To switch from **Test Mode** to **Live Mode**:
>
> 1. Log in to your [Shopify store](https://accounts.shopify.com/lookup?rid=f19e1541-cd24-4856-a398-156d2ed5d56f).
> 2. Navigate to **Settings** โ **Payments**.
> 3. On the **Supported payment methods** section, click **Manage** on the **01 Cards, UPI, NB, Wallets by Razorpay** app.
>
> 
> 4. At the bottom of the page, select the **Enable test mode** option and click **Save**.
>
> 
>
> You can now start accepting actual payments on your Shopify store.
# Accept International Payments
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/shopify/international-payments
Accept payments in international currency on your Shopify store.
Available in
๐ฎ๐ณ India
Razorpay helps businesses to accept payments in international currencies.
You can accept payments in any of the [supported international currencies](https://razorpay.com/docs/payments/international-payments/#supported-currencies) natively.
To accept payments in international currencies:
* Raise a request with [Razorpay Support](https://razorpay.com/support/#request) to enable support for international currency on your account.
* Set your shop's base currency to any of the [supported international currencies](/docs/payments/international-payments#supported-currencies).
* Ensure all your products are priced correctly in the currency of your choice.
# Migration Steps for Existing Users
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/shopify/migration-steps
Follow the step-by-step guide on migrating from the existing Razorpay App to Razorpay Secure on your Shopify store.
Available in
๐ฎ๐ณ India
If you are using Razorpay to accept payments, you can now upgrade to the **Razorpay Secure** app on your Shopify store. Watch the [video tutorial](#video-tutorial) or follow the [migration steps](#migration-steps) to migrate to Razorpay Secure. Know more about why you need to [upgrade to Razorpay Secure](/docs/payments/payment-gateway/ecommerce-plugins/shopify/faqs#why-do-i-need-to-upgrade-to-razorpay-secure).
## Video Tutorial
Watch this video to know how to migrate from the existing Razorpay App to Razorpay Secure on your Shopify store.
[How to migrate from existing Razorpay App to Razorpay Secure App on Shopify Store](https://www.youtube.com/embed/3mUfBE9WkCo)
## Migration Steps
Follow the steps given below to migrate from the existing Razorpay App to Razorpay Secure.
> [accordion] Migration
>
> 1. Click on [this link](https://accounts.shopify.com/store-login?redirect=settings%2Fpayments%2Falternative-providers%2F1058839) to access the **01 Cards, UPI, NB, Wallets by Razorpay** app on your Shopify store.
>
> 2. Click **Install**.
>
> 
>
> 3. You will be redirected to a landing page. Click **I am an existing user**.
>
> 
>
> 4. Scroll down and click **Login**.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Make sure you log in with **owner** credentials to connect Razorpay with Shopify successfully.
>
> 
>
> 5. Click **Activate** on the activation screen on your Shopify Dashboard. \\
>
> 
>
> **Razorpay Secure (UPI, Card, Int'l Card, Apple Pay)** now appears as a Payment Gateway on your Shopify Store checkout.\\
>
> 
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you deactivate the existing Razorpay App after activating the new **Razorpay Secure** App.
> [accordion] Deactivation
>
> To deactivate the existing Razorpay App:
>
> 1. Click on [this link](https://accounts.shopify.com/store-login?redirect=settings/payments/alternative-providers/1030400) to access the existing Razorpay App on your Shopify store.
> 2. Click **Deactivate Razorpay** to deactivate the existing Razorpay App on your Shopify store.
>
> 
>
> For more information, see [Shopify FAQs](/docs/payments/payment-gateway/ecommerce-plugins/shopify/faqs).
## Reconcile Payments on Razorpay Secure
You can reconcile payments for Razorpay Secure using the **Payment Id** provided at the Shopify checkout.
Know more about how to [reconcile Shopify orders on the Dashboard](/docs/payments/payment-gateway/ecommerce-plugins/shopify/reconcile-payments).
## Difference in Order Information Between Old Razorpay App and Razorpay Secure
Check the table below to understand the difference in data about the gateway provided by the Old Razorpay App and Razorpay Secure.
| **Old Razorpay App** | **Razorpay Secure** |
| - | - |
|
Razorpay account details.
Razorpay reference number.
Currency
Amount
Gateway reference Id
Timestamp
Signature
|
Payment Id
|
The image below shows the difference in data provided by the old Razorpay App and Razorpay Secure.

> [!NOTE]
>
> **Handy Tips**
>
> In the case of the old Razorpay app, multiple data were available to track payments, whereas, in the case of the Razorpay Secure app, only a single piece of data, the `Payment Id`, is provided by Shopify. Know more about [how to process a payment](https://shopify.dev/apps/payments/processing-a-payment#resolve-a-payment) on Shopify.
# Reconcile Shopify Orders on Dashboard
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/shopify/reconcile-payments
Reconcile payments made on your Shopify store via Dashboard.
Available in
๐ฎ๐ณ India
Reconciling payments made on your Shopify store with the data available on your Dashboard is a simple process.

> [accordion] Reconcile a Payment
>
> Follow the steps below to reconcile a payment:
>
> 1. Log in to the [Shopify Dashboard](https://accounts.shopify.com/) and open the **Orders** tab. Click the drop-down to view the Razorpay Secure payment details.
>
> 
> 2. Make a note of the payment id.
>
> 
> 3. Log in to the Dashboard and navigate to **Transactions** โ **Payments**. The payment appears on the list of payments. The payment id appears under the **Order Id** column.
>
> 
> 4. Match the payment id (on the Shopify Dashboard) with the Order id (on the Razorpay Dashboard) to map the payments.
> [accordion] Reconcile Multiple Payments
>
> Follow the steps below to reconcile multiple payments:
>
> 1. Log in to the [Shopify Dashboard](https://accounts.shopify.com/) and open the **Orders** tab.
> 2. Select the required orders or time period.
> 3. Click **Export** to export the data. The **Payment References** column in the file contains the payment ids.
>
> 
> 4. Log in to the Dashboard and navigate to **Reports**.
> 5. Select **Shopify Payments Report** in the **Select Report Type** drop-down.
> 6. Select the period and format.
> 7. Click **Generate Report**.
>
> 
> 8. Once the report is generated, click **Download**. The **Order ID** column in the file contains the payment ids.
> 9. Match the **Payment References** column in the Shopify export with the **Order ID** column in the **Shopify Payments Report** to map the payments.
### Related Information
* [Integrate with Shopify Plugin](/docs/payments/payment-gateway/ecommerce-plugins/shopify)
* [Shopify FAQs](/docs/payments/payment-gateway/ecommerce-plugins/shopify/faqs)
# Wix Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/wix
Check the prerequisites before you integrate your Wix website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/wix/faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay Wix Extension.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
* Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
[Video Tutorial](https://www.youtube.com/embed/4v6gBuOJQgI?si=o1kO0mbb-xDy7Xhe)
Video Tutorial
Watch the video before you start integrating the Wix extension with Payment Gateway.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/wix/integration-steps)
>
> Check the steps to integrate the Wix extension with Payment Gateway.
## Supported Products
Razorpay Wix Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions |
| - | - | - |
| โ | x | x |
## Support
If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/wix/faqs
Find answers to frequently asked questions about Wix plugin.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
> [accordion] I am unable to connect to my account even after providing the API key and the secret on the Wix Dashboard. What could be the reason?
>
> **Cause**: Before connecting your account with the Wix platform, you need to set up Webhooks on the Dashboard. If you do not set up Webhooks, there may be connection errors.
>
> **Resolution**: Set up webhooks.
>
> To set up Webhooks:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Account & Settings**.
> 2. In the **Website and app settings** section, click **Webhooks**.
>
> 
> 3. Click **+ Add New Webhook**.
>
> 
> 4. In the **Webhook Setup** pop-up page:
> 1. Enter the **Website URL** as `https://express.razorpay.com/wix/v1/webhook-handler`.
>
> 2. Enter a **Secret** for the Webhook endpoint. The secret is used for validation purposes.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > The secret that you enter here can validate that the Webhooks are from Razorpay. Do not expose the secret publicly.
>
> 3. Select the following events from the list of **Active Events**:
>
> * `order.paid`
>
> * `refund.processed`
>
> * `payment.failed`
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > If you use this Razorpay account to accept payments on your Wix site, **you can set up only one Webhook** on the Dashboard.
>
> 5. Click **Save** to enable Webhooks.
> [accordion] I am getting the following error during Wix plugin integration, "We are not able to connect your account. Please try again later."
>
> **Cause**: This error message is displayed if the Webhook is not configured correctly on the Dashboard.
>
> **Resolution**: To fix this error, check the reasons and their solutions as mentioned below:
>
> | Issue | Solution |
> | - | - |
> | You have provided your own Webhook URL. | You must provide `"https://express.razorpay.com/wix/v1/webhook-handler"` as the Webhook URL. |
> | You have provided the correct URL but have subscribed to all the Webhook events. | You must subscribe to only the `order.paid`, `refund.processed` and `payment.failed` events. |
> | You have provided the correct URL and subscribed to the correct events but have not entered the secret. | You must enter the secret for the Webhook. |
> [accordion] Does Wix support Subscriptions?
>
> No. Wix does not support Subscriptions. The plugins that support subscriptions are Woocommerce, Magento and OpenCart.
> [accordion] What troubleshooting procedures should be carried out prior to initiating a support ticket?
>
> Follow the troubleshooting steps given below:
>
> 1. Reinstall the Razorpay Wix plugin and ensure that your system meets all the requirements mentioned [here](/docs/payments/payment-gateway/ecommerce-plugins/wix/integration-steps).
> 2. If the issue persists after following these steps, contact our [Support team](https://razorpay.com/support/). Provide the following information while creating a ticket:
> * Wix version
> * Razorpay for Wix plugin version
> * PHP version
> * Steps to reproduce the issue (Screen recording/Screenshots)
> * Error logs, if any
> * Staging website credentials (login URL, login id, and password)
> [accordion] Does the Wix plugin support 3 or 0 decimal unit currencies?
>
> The Wix plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
> [accordion] How can I verify if webhooks are auto-configured?
>
> To verify if webhooks are enabled:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Accounts and Settings**.
> 2. Go to **Webhooks** (Under Website and app settings).
>
> 
> 3. Select the relevant webhook **URL**.
> 4. On the right panel, check if the status for `order.paid`, `refund.processed` and `payment.failed` is enabled.
>
> 
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/wix/integration-steps
Steps to integrate your Wix website with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
Follow the steps given below to integrate Razorpay Payment Gateway with your Wix website.\
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/wix/integration-steps#1-build-integration)
>
> Install the Wix plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/wix/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/wix/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with your Wix website using our payment extension.](https://www.youtube.com/embed/4v6gBuOJQgI)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Add as a Payment Gateway
>
> 1. Log in to your [Wix website](https://users.wix.com/signin).
> 2. Navigate to **Settings** โ **Accept payments**.
>
> 
> 3. Click **Connect** beside **Razorpay**.
>
> 
> 4. Enter your **API Key Id**, **Key Secret** and **Site URL**. Click **Connect**.
>
> 
> 5. You have successfully connected your Wix website with Razorpay.
>
> 
## 2. Test Integration
After the integration, a **Pay** button will appear on your webpage. Click the button and make a test transaction to ensure the integration works as expected. You can start accepting actual payments from your customers once the test is successful.

You can make test payments using one of the payment methods configured at the Checkout.
* No money is deducted from the customer's account as this is a simulated transaction.
* Ensure you have entered the API keys generated in the test mode in the Checkout code.
> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> You can track the payment status from the Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
# WooCommerce Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/woocommerce
Integrate Razorpay Payment Gateway with WooCommerce. Complete prerequisites, setup guide and installation steps for WooCommerce Razorpay plugin.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [card] [WooCommerce Changelog](/docs/payments/changelog#woocommerce)
>
> Discover new features, updates and deprecations related to the Razorpay WooCommerce plugin (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about the Razorpay WooCommerce plugin.
Razorpay WooCommerce integration allows you to accept payments on your WordPress WooCommerce store using the Razorpay Payment Gateway plugin. This guide covers the prerequisites and setup steps to integrate Razorpay with WooCommerce, enabling UPI, Cards, Netbanking and Wallets payments.
**Before you proceed:**
* Create a [Razorpay account](https://dashboard.razorpay.com/signup).
* Understand the [payment flow](/docs/payments/payment-gateway/how-it-works) process.
* Generate the [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
* Before installing the Razorpay WooCommerce subscription plugin, it is essential to have WooCommerce for subscriptions already installed.
> [!NOTE]
>
> **Handy Tips**
>
> * If you are not using WooCommerce, you can use our [native plugin for WordPress](/docs/payments/payment-gateway/ecommerce-plugins/wordpress).
> * Razorpay WooCommerce subscription plugin is available only in the paid versions of WooCommerce.
> * For Subscriptions on a WooCommerce-based website, you can use our [Subscriptions plugin for WooCommerce](/docs/payments/subscriptions/plugins/woocommerce).
## Supported Versions
* Wordpress v3.9.2 or higher
* WooCommerce v4.0 or higher
* PHP v7.0 or higher
* php-cURL
> [!NOTE]
>
> **Handy Tips**
>
> * Ensure you have the php-cURL extension installed to make the network calls required to use this plugin.
> * The plugin is tested using WooCommerce v8.6.1
[Video Tutorial](https://www.youtube.com/embed/p2YMdxZMyxQ?si=o1kO0mbb-xDy7Xhe)
Video Tutorial
Watch the video before you start integrating the WooCommerce plugin with Payment Gateway.
> [card] [Integration Steps](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/integration-steps)
>
> Check the steps to integrate the WooCommerce plugin with Payment Gateway.
## Supported Products
Razorpay WooCommerce Plugin is only supported on Web Standard Checkout and the following products:
| Payment Gateway | Route | Subscriptions | [Razorpay Trusted Business](/docs/payments/widgets/trusted-business/rtb-widget-woocommerce) |
| - | - | - | - |
| โ | โ | โ | โ |
## Support
* Queries: If you have any queries, raise a ticket on the Razorpay [Support Portal](https://razorpay.com/support/).
* Feature Request: If you have a feature request, create an issue on [GitHub](https://github.com/razorpay/razorpay-woocommerce).
### Related Information
[Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/integration-steps
Step-by-step guide to integrate Razorpay Payment Gateway with WooCommerce. Install Razorpay WooCommerce plugin and start accepting payments on WordPress.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Integrate Razorpay Payment Gateway with your WooCommerce website using our official WooCommerce plugin. This step-by-step guide covers installation, configuration, testing and going live with Razorpay on WordPress WooCommerce stores.
Follow the steps given below to integrate Razorpay Payment Gateway with your WooCommerce website.
> [card] [1. Build Integration](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/integration-steps#1-build-integration)
>
> Install and configure the WordPress plugin.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-Live Checklist](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to integrate Razorpay Payment Gateway with WooCommerce Website](https://www.youtube.com/embed/p2YMdxZMyxQ)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Install Plugin
>
> There are two methods to install our WooCommerce plugin:
>
> > [tab] Using WordPress Plugin Directory
> >
> > 1. [Download the plugin](https://wordpress.org/plugins/woo-razorpay/).
> > 2. Install it from the WordPress Plugin Directory.
>
> > [tab] Manual Installation
> >
> > 1. Download the [latest Source code zip file](https://github.com/razorpay/razorpay-woocommerce/releases/latest) from the Releases section in GitHub.
> > 2. Unzip and upload the contents of the extension to your `/wp-content/plugins/` directory.
> [accordion] 2 Configure WooCommerce
>
> Before you start:
>
> * Ensure you have created a Razorpay account and your KYC is approved.
> * You must have activated your business after the business activation email from Razorpay.
> * You have [generated the API keys](/docs/api/authentication#generate-api-keys) from the Dashboard (Under Account & Settings โ API Keys).
>
> To configure WooCommerce:
>
> 1. Log in to your [WordPress account](https://wordpress.com/log-in) and activate the Razorpay plugin in the **WordPress Plugin Manager**.
>
> 2. Log in to your [WooCommerce account](https://woocommerce.com/), navigate to **Settings** and click the **Checkout/Payment Gateways** tab.
>
> 3. Click **Razorpay** to edit the settings.
>
> 4. Enable the Payment Method, name it Credit Card/Debit Card/Internet Banking. This is shown on the Payment page your customer sees.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > If you cannot see the Razorpay payment option during WooCommerce checkout, update the plugin to the [latest](https://github.com/razorpay/razorpay-woocommerce/releases/latest) version.
> >
> > 
>
> 5. Add in your \[KEY\_ID] and \[KEY\_SECRET] generated from the Razorpay Dashboard.
>
> 6. Set the **Payment Action** to **Authorize and Capture** to auto-capture payments. If you want to capture payments manually from the Dashboard after manual verification, set the Payment Method to **Authorize**.
>
> > [!WARNING]
> >
> > **Watch Out: Uncaptured payments are automatically refunded after 5 days**
> >
> > If you set **Payment Action** to `Authorize`, payments are held but not settled. Any payment that is not captured within **5 days** of authorisation is automatically refunded to the customer โ the merchant receives nothing.
> >
> > To prevent this, set **Payment Action** to **Authorize and Capture** for automatic capture, or manually capture payments from the Dashboard before the 5-day window closes. Review your capture settings in Dashboard โ **Account & Settings** โ **Payment Capture**.
> [!NOTE]
>
> **Configure Webhooks**
>
> Webhook is [auto-configured](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/troubleshooting-faqs#how-are-webhooks-auto-configured) when you enter and save the API key ID and secret on the plugin settings page. You need to verify if webhooks are enabled on your Razorpay [Dashboard](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/troubleshooting-faqs#how-can-i-verify-if-webhooks-are-auto-configured). However, for versions lower than 3.5.0, you need to [configure webhooks manually](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/troubleshooting-faqs#my-webhooks-are-not-auto-configured-since-i-am-not-using-the-upgraded-version-of-the-woocommerce-plugin-how-do-i-manually-configure-webhooks).
>
> If you regenerate your API keys, re-enter and save the new keys in the plugin settings page to re-trigger webhook auto-configuration.
The following webhook events are auto-configured when you save your API keys:
* `payment.authorized`
* `payment.captured`
* `payment.failed`
* `order.paid`
Verify these are enabled in your Razorpay Dashboard under **Account & Settings** โ **Webhooks**.
## 2. Test Integration
After the integration is complete, a **Pay** button will appear on your web page/app. You need to click the button and make a test transaction to ensure that the integration is working as expected. You can start accepting actual payments from your customers once the test is successful.
You can make test payments using one of the payment methods configured at the Checkout.
* No money is deducted from the customer's account as this is a simulated transaction.
* Ensure you have entered the API keys generated in the test mode in the Checkout code.
> [accordion] Supported Payment Methods
>
> After the integration is complete, a **Pay** button appears on your webpage/app.
>
> 
>
> Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > This is a mock payment page that uses your test API keys, test card and payment details.
> >
> > * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> > * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> > * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
>
> Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
>
> | Payment Method | Code | Availability |
> | - | - | - |
> | [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
> | [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
> | [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
> | [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
> | EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
> | [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
> | [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
> | [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
> | [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
>
> You can make test payments using one of the payment methods configured at the Checkout.
>
> > [accordion] Netbanking
> >
> > You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
> >
> > Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
>
> > [accordion] UPI
> >
> > You can enter one of the following UPI IDs:
> >
> > * `success@razorpay`: To make the payment successful.
> > * `failure@razorpay`: To fail the payment.
> >
> > Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
>
> > [accordion] Cards
> >
> > You can use the following test cards to test transactions for your integration in Test Mode.
> >
> > ### Domestic Cards
> >
> > Use the following test cards for Indian payments:
> >
> > | Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> > | Mastercard | 5500 6700 0000 1002 | |
> > | RuPay | 6527 6589 0000 1005 | |
> > | Diners | 3608 280009 1007 | |
> > | Amex | 3402 560004 01007 | |
> >
> > #### Error Scenarios
> >
> > Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> > Check the following lists:
> >
> > * [Supported Card Networks](/docs/payments/payment-methods/cards).
> > * [Cards Error Codes](/docs/errors/payments/cards).
> >
> > ### International Cards
> >
> > Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
> >
> > | Card Network | Card Number | CVV & Expiry Date |
> > | - | - | - |
> > | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> > | Visa | 4012 8888 8888 1881 | |
> >
> > Check the list of [supported card networks](/docs/payments/payment-methods/cards).
>
> > [accordion] Wallet
> >
> > You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
> >
> > Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
> [accordion] Verify Payment Status
>
> You can track the payment status from the Dashboard or by polling APIs.
>
> > [tab] Verify Payment Status From Dashboard
> >
> > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > 2. Check if a `payment_ID` has been generated and note the status. In case of a successful payment, the status is marked as `captured`.
> >
> > 
>
> > [tab] Poll APIs
> >
> > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
You can also test your **WooCommerce** Integration in the Test Mode using your Test Mode API keys:
1. Go to WooCommerce โ Settings โ Payments โ Razorpay.
2. Replace your Live API keys with Test Mode keys from the Razorpay Dashboard (Test Mode).
3. Complete a test transaction.
4. Switch back to Live keys before going live.
## 3. Go-live Checklist
Follow these steps before taking the integration live:
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/troubleshooting-faqs
Troubleshoot common errors and find answers to frequently asked questions about WooCommerce Ecommerce Plugin integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [accordion] How are webhooks auto-configured?
>
> * Auto-webhook support is available for Razorpay Woocommerce Plugin from v3.5.0 onwards.
> * Once you save the changes on the Woocommerce Dashboard, webhooks are auto configured for events: `payment.authorized` and `refund.created`. You do not have to configure it on the Dashboard.
>
> To set up webhooks:
>
> 1. In the WordPress Dashboard, click **WooCommerce** and navigate to **Settings**.
> 2. In the **Payments** tab, enter the **Key ID** and **Key Secret**.
>
> 
> 3. Click **Save Changes**.
>
> 
> [accordion] My webhooks are not auto-configured since I am not using the upgraded version of the WooCommerce plugin. How do I manually configure webhooks?
>
> If you are not using the upgraded version of Razorpay WooCommerce plugin, you can manually configure the following events:
>
> * `payment.authorized`
> * `payment.pending`
> * `refund.created`
> * `virtual_account.credited`
> * `subscription.cancelled`
> * `subscription.paused`
> * `subscription.resumed`
>
> To set up webhooks manually:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Account & Settings**.
> 2. In the **Website and app settings** section, click **Webhooks**.
>
> 
> 3. Click **+ Add New Webhook**.
>
> 
> 4. In the **Webhook Setup** pop-up page:
> 1. Enter the **URL** where you want to receive the webhook payload when an event is triggered. We recommend using an HTTPS URL.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can set up to **30 URLs** to receive Webhook notifications. Webhooks can only be delivered to public URLs. If you attempt to save a localhost endpoint as part of a webhook setup, you will notice an error. Know more about [testing Webhooks on an application running on localhost](/docs/webhooks/validate-test#application-running-on-localhost).
>
> 2. Enter a **Secret** for the webhook endpoint. The secret is used to validate that the webhook is from Razorpay. Do not expose the secret publicly. Know more about [how to validate webhooks](/docs/webhooks/validate-test).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > * When setting up the webhook, you will be asked to specify a secret. Using this secret, you can validate that the webhook is from Razorpay. Entering the secret is optional but recommended. The secret should never be exposed publicly.
> > * The webhook secret does not need to be the merchant secret key provided by Razorpay.
>
> 3. In the **Alert Email** field, enter the email address to which the notifications should be sent in case of webhook failure. You will receive webhook deactivation notifications to this email address.
> 4. Select the required events from the list of **Active Events**.
>
> 
> 5. Click **Create Webhook**. After you set a webhook, it appears on the list of webhooks.
>
> 
> 6. You can select the webhook and click **Edit** to make more changes.
> [accordion] How can I verify if webhooks are auto-configured?
>
> To verify if webhooks are enabled:
>
> 1. Log in to the Razorpay Dashboard and navigate to **Account & Settings**.
> 2. In the **Website and app settings** section, click **Webhooks**.
>
> 
> 3. Select the relevant webhook **URL**.
> 4. On the right panel, check if the status for `payment.authorized` and `refund.created` is enabled.
>
> 
> [accordion] Can I make partial payments using WooCommerce?
>
> No, partial payments are not supported on WooCommerce. You can either choose to deduct the full amount or make two separate orders and the customer will have to pay twice for it.
> [accordion] I am getting the following error message "RAZORPAY ERROR: Order creation failed with the message: The API key provided is invalid". Why?
>
> Verify and confirm that the API keys you have provided within WordPress are accurate. If the issue persists, contact our [Support team](https://razorpay.com/support/).
> [accordion] I am getting the following php error in the plugin:"PHP message: ORDER NUMBER 57999:webhook conflict over for razorpay order: order\_LWVB71vGYh7nEr". Why?
>
> The message in the logs is not an error, it is a logged message. This message appears only when a webhook callback takes longer than 5 minutes to process. Our webhook mechanism includes a 5-minute waiting period to prevent the occurrence of duplicate orders.
> [accordion] Why am I getting the error message: "RAZORPAY ERROR: Order creation failed with the message "Authentication failed"."?
>
> "Authentication failed" error occurs when there is a discrepancy between the API keys. Verify the API key provided for your website and ensure that it matches with the key generated via Dashboard.
> [accordion] I am getting the following error in WordPress: "Required parameter $razorpayPaymentId follows optional parameter $amount in /home/xxxcustom/public\_html/wp-content/plugins/woo-razorpay/woo-razorpay.php on line 1353". Why?
>
> Follow the steps given below to resolve the issue:
>
> 1. Deactivate and delete the Razorpay WooCommerce plugin from your [WordPress Dashboard](https://wordpress.com/log-in).
> 2. Reinstall the [Razorpay WooCommerce plugin](https://wordpress.org/plugins/woo-razorpay/).
> 3. For easy integration journey, watch the [Razorpay WooCommerce Integration tutorial](https://www.youtube.com/watch?v=p2YMdxZMyxQ).
> [accordion] I am getting the following error: "Plugin could not be activated because it triggered a fatal error.
> Parse error: syntax error, unexpected 'int' (T\_STRING), expecting function (T\_FUNCTION) or const (T\_CONST) in /home4/yutihbjy/public\_html/wp-content/plugins/woo-razorpay/includes/cron/one-click-checkout/one-cc-address-sync.php on line 12"
>
> If you encounter this error message while trying to activate the Razorpay for WooCommerce plugin, follow the steps given below to resolve the issue:
>
> 1. Uninstall the Razorpay for WooCommerce plugin from your WordPress Dashboard. Ensure you delete the plugin entirely, not just deactivate it.
> 2. Remove the WooCommerce webhook associated with Razorpay from the Dashboard. Know how to [delete a webhook](/docs/webhooks/setup-edit-payments#delete-a-webhook).
> 3. After removing both the plugin and the webhook, install the latest version of the [Razorpay for WooCommerce plugin](https://wordpress.org/plugins/woo-razorpay/).
>
> If the issue persists even after following these steps, contact our [Support team](https://razorpay.com/support/) with the following information:
>
> * WooCommerce version
> * WordPress version
> * Razorpay for WooCommerce plugin version
> * A screen recording of the checkout flow (if possible)
> * Staging site credentials (if applicable)
> * Test Key and Secret from your Razorpay account
> [accordion] Why am I getting a "404 Page Not Found" error on the checkout when I select Razorpay as a payment option?
>
> If you encounter this error, follow the steps given below to resolve the issue:
>
> 1. Log in to WordPress Dashboard, click **WooCommerce** and navigate to **Settings**.
>
> 2. In the **Advanced** tab, look for the **Page Setup** section. Ensure that you have correctly linked the **Cart page** and **Checkout page**.
>
> 
>
> 3. Validate the **Checkout Endpoints** settings:
>
> * For the **Pay** endpoint, set it to **order-pay**.
> * For the **Order Received** endpoint, set it to **order-received**.
>
> 
>
> If the issue persists even after following these steps, contact our [Support team](https://razorpay.com/support/).
> [accordion] What troubleshooting procedures should be carried out before initiating a support ticket?
>
> Follow the troubleshooting steps given below:
>
> 1. Ensure that your system meets all the requirements mentioned [here](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce#supported-versions).
> 2. We recommend you to keep your WordPress, WooCommerce, and Razorpay for WooCommerce plugins up to date. You can find the latest versions [here](https://github.com/razorpay/razorpay-woocommerce/releases).
> 3. You can perform initial debugging. Follow the steps given below to debug:
> 1. Deactivate all plugins except for Razorpay and WooCommerce.
> 2. If you are using a paid theme, switch to a default WordPress theme and check if the issue persists.
> 3. Verify if the Razorpay checkout is rendering correctly. If not, try reinstalling the Razorpay for WooCommerce plugin.
> 4. If the issue persists after following these steps, contact our [Support team](https://razorpay.com/support/). Provide the following information while creating a ticket:
> * WordPress version
> * WooCommerce version
> * Razorpay for WooCommerce plugin version
> * PHP version
> * WordPress theme
> * Steps to reproduce the issue (Screen recording/Screenshots)
> * Error logs, if any
> * Staging website credentials (login URL, login id, and password)
> [accordion] How do I reconfigure webhooks for in WooCommerce?
>
> To reconfigure webhooks for Razorpay in WooCommerce, follow the steps given below:
>
> 1. Deactivate and delete the Razorpay WooCommerce plugin from your [WordPress Dashboard](https://wordpress.com/log-in).
> 2. Remove the WooCommerce webhook associated with Razorpay from the Dashboard. Know how to [delete a webhook](/docs/webhooks/setup-edit-payments#delete-a-webhook).
> 3. After removing both the plugin and the webhook, install the latest version of the [Razorpay for WooCommerce plugin](https://wordpress.org/plugins/woo-razorpay/).
> [accordion] How can I revert to the legacy order confirmation page on WooCommerce?
>
> Follow the steps given below to revert to the legacy order confirmation page:
>
> 1. Open the Order Confirmation template in theย Site Editorย by navigating toย **Appearance** โ **Editor** โ **Templates** โ **Order Confirmation**.
>
> 2. Open the **List View** and delete all the special Order Confirmation blocks.
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > Hold shift to select multiple blocks between the current selection and the block you click.
>
> 3. Open the **Block Inserter**, search for **Order Confirmation Block** and add it.
>
> 
> 4. Click **Save**.
> [accordion] Does WooCommerce support High-Performance Order Storage(HPOS)?
>
> Yes, Razorpay WooCommerce supports High-Performance Order Storage(HPOS). It is recommended to enable this feature when there is minimal traffic in the store.
> [accordion] I am getting the error: "Invalid signature passed" when I trigger the webhook. What should I do?
>
> If you encounter this error message, follow the below steps to troubleshoot this issue:
>
> 1. Uninstall the Razorpay for WooCommerce plugin from your WordPress Dashboard. Ensure you delete the plugin entirely, not just deactivate it.
> 2. Remove the WooCommerce webhook associated with Razorpay from the Dashboard. Know how to [delete a webhook](/docs/webhooks/setup-edit-payments#delete-a-webhook).
> 3. After removing both the plugin and the webhook, install the latest version of the [Razorpay for WooCommerce plugin](https://wordpress.org/plugins/woo-razorpay/).
>
> If the issue persists even after following these steps, contact our [Support team](https://razorpay.com/support/).
> [accordion] Does WooCommerce support Checkout Blocks?
>
> Yes, Razorpay WooCommerce supports Checkout Blocks.
> [accordion] Is the WooCommerce subscription plugin free?
>
> No, the WooCommerce subscription plugin is only available in the paid version of WooCommerce.
> [accordion] Is it mandatory to set an expiry date for a subscription?
>
> Yes, it is mandatory. We do not support subscriptions with no expiry date on the WooCommerce plugin.
> [accordion] Does the WooCommerce plugin support 3 or 0 decimal unit currencies?
>
> The WooCommerce plugin currently supports only currencies that use 2 decimal units. For example: USD, EUR, INR. It does not support currencies with 0 decimal (for example, JPY) or 3 decimal units (for example, BHD).
> [accordion] How and where can I check the logs in WooCommerce?
>
> To check the Razorpay logs on WooCommerce, follow these steps:
>
> 1. Go to WordPress Admin and navigate to **WooCommerce**. Click **Status**.
>
> 
>
> 2. Select **Logs**. Locate and open **razorpay-logs** to view the logs.
>
> 
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > A new log file is created every day, so be sure to check the most recent file for the latest logs.
> [accordion] Why is the payment captured on but not updated on WooCommerce for some orders?
>
> This issue may arise due to incorrect webhook configuration or domain allowlisting. To resolve this:
>
> 1. Ensure that the [webhook is configured correctly](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/troubleshooting-faqs#my-webhooks-are-not-auto-configured-since-i-am-not-using-the-upgraded-version-of-the-woocommerce-plugin-how-do-i-manually-configure-webhooks) in your Razorpay Dashboard.
> 2. After placing an order, check the [WooCommerce site logs](/docs/payments/payment-gateway/ecommerce-plugins/woocommerce/troubleshooting-faqs#how-and-where-can-i-check-the-logs-in-woocommerce) for entries such as:
> * `Webhook conflict due to early execution for razorpay order`
>
> * `Webhook conflict over for razorpay order`
>
> * `Webhook process finished the updateOrder function` \\
>
> If these logs are missing, the issue might occur due to domain allowlisting. To resolve this, list [Razorpay's IPs](/docs/security/whitelists#webhook-ips) in your server settings.
> [accordion] My Razorpay Payment Gateway is not working properly on WooCommerce. How do I fix integration issues?
>
> Follow the steps given below to resolve the issue:
>
> 1. Deactivate and delete the Razorpay WooCommerce plugin from your [WordPress Dashboard](https://wordpress.com/log-in).
> 2. Reinstall the [Razorpay WooCommerce plugin](https://wordpress.org/plugins/woo-razorpay/).
> 3. For easy integration journey, watch the [Razorpay WooCommerce Integration video tutorial](https://www.youtube.com/watch?v=p2YMdxZMyxQ).
# Flutter Standard Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/flutter-integration/standard
Check the prerequisites before you integrate Razorpay Flutter Standard plugin with our native Android and iOS SDKs.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [Flutter Standard SDK Changelog](/docs/payments/changelog#mobile-sdks)
>
> Discover new features, updates and deprecations related to the Razorpay Flutter Standard SDK (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/flutter-integration/standard/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about Flutter Standard integration.
The Razorpay Flutter plugin acts as a wrapper around our native Android and iOS SDKs.
> [!TIP]
>
> **Update SDK**
>
> Check your [current SDK version](/docs/payments/payment-gateway/flutter-integration/standard/troubleshooting-faqs#how-can-i-check-the-razorpay-flutter-standard-sdk-version). If it is outdated, please [update the SDK](/docs/payments/payment-gateway/flutter-integration/standard/troubleshooting-faqs#how-can-i-update-the-razorpay-flutter-standard-sdk-version) to ensure uninterrupted settlements of your funds.
## Integration Steps
**Before you proceed:**
Create a [Razorpay account](https://dashboard.razorpay.com/signup).
Generate the [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
Know about the [Payment Flow](/docs/payments/payment-gateway/how-it-works).
Follow these integration steps:
> [card] [1. Build Integration](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps#1-build-integration)
>
> Integrate Flutter Standard SDK.
> [card] [2. Test Integration](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
> [card] [Sample App](https://github.com/razorpay/razorpay-flutter/blob/master/example/lib/main.dart)
>
> Check the sample app to integrate on GitHub.
### Related Information
* [Troubleshooting and FAQs](/docs/payments/payment-gateway/flutter-integration/standard/troubleshooting-faqs)
* [Address Verification System](/docs/payments/international-payments/address-verification-system)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/flutter-integration/standard/integration-steps
Steps to integrate the Flutter application with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow these steps to integrate your Flutter application:
> [card] [1. Build Integration](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps#1-build-integration)
>
> Integrate Flutter Standard Checkout.
> [card] [2. Test Integration](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to Integrate Razorpay Payment Gateway on Flutter App](https://www.youtube.com/embed/pakLL37M6KI)
> [!NOTE]
>
> **Handy Tips**
>
> After you complete the integration:
>
> * Set up webhooks
> * Make test payments
> * Replace Test API keys with Live API keys
> * Integrate with other APIs\\
>
> Refer to the [post-integration steps](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps#2-test-integration).
> [!WARNING]
>
> **Watch Out!**
>
> If you use M1 MacBook, you need to make [these changes](#m1-macbook-changes) in your `podfile`.
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Install Razorpay Flutter Plugin
>
> [Download the plugin](https://pub.dev/packages/razorpay_flutter) from Pub.dev.
>
> Add the below code to `dependencies` in your app's `pubspec.yaml`
>
> ```yml Add Dependencies theme={null}
> razorpay_flutter: 1.4.0
> ```
>
> > [accordion] Add Proguard Rules (Android Only)
> >
> > If you are using Proguard for your builds, you need to add the following lines to the Proguard files:
> >
> > ```java Add Proguard Rules theme={null}
> > -keepattributes *Annotation*
> > -dontwarn com.razorpay.**
> > -keep class com.razorpay.** {*;}
> > -optimizations !method/inlining/
> > -keepclasseswithmembers class * {
> > public void onPayment*(...);
> > }
> > ```
> >
> > Know more about [Proguard rules](https://github.com/razorpay/razorpay-flutter/issues/42#issuecomment-550161626).
>
> > [accordion] Get Packages
> >
> > Run `flutter packages get` in the root directory of your app.
> >
> > > [!NOTE]
> > >
> > > **Minimum Version Requirement**
> > >
> > > * For **Android**, ensure that the minimum API level for your app is 19 or higher.
> > > * For **iOS**, ensure that the minimum deployment target for your app is iOS 10.0 or higher. Also, do not forget to enable bitcode for your project.
> [accordion] 2 Import Package and Create Razorpay Instance
>
> Use the below code to import the `razorpay_flutter.dart` file to your project.
>
> ```yml Import Package theme={null}
> import 'package:razorpay_flutter/razorpay_flutter.dart';
> ```
>
> Use the below code to create a Razorpay instance.
>
> ```yml Instantiate theme={null}
> _razorpay = Razorpay();
> ```
> [accordion] 3 Attach Event Listeners
>
> The plugin uses event-based communication and emits events when payments fail or succeed.
>
> The event names are exposed via the constants `EVENT_PAYMENT_SUCCESS`, `EVENT_PAYMENT_ERROR` and `EVENT_EXTERNAL_WALLET` from the `Razorpay` class.
>
> Use the `on(String event, Function handler)` method on the `Razorpay` instance to attach event listeners.
>
> ```yml Attach Event Listeners theme={null}
> _razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS, _handlePaymentSuccess);
> _razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, _handlePaymentError);
> _razorpay.on(Razorpay.EVENT_EXTERNAL_WALLET, _handleExternalWallet);
> ```
>
> The handlers would be defined in the class as:
>
> ```yml Handlers theme={null}
> void _handlePaymentSuccess(PaymentSuccessResponse response) {
> // Do something when payment succeeds
> }
>
> void _handlePaymentError(PaymentFailureResponse response) {
> // Do something when payment fails
> }
>
> void _handleExternalWallet(ExternalWalletResponse response) {
> // Do something when an external wallet is selected
> }
> ```
>
> To clear event listeners, use the `clear` method on the `Razorpay` instance.
>
> ```yml Clear Event Listeners theme={null}
> _razorpay.clear(); // Removes all listeners
> ```
> [accordion] 4 Create an Order in Server
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order using:
>
> > [tab] API Sample Code
> >
> > Use this endpoint to create an order using the Orders API.
> >
> > `POST /orders`
> >
> > ```bash Curl theme={null}
> > curl -X POST https://api.razorpay.com/v1/orders
> > -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> > -H 'content-type:application/json'
> > -d '{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "qwsaq1",
> > "partial_payment": true,
> > "first_payment_min_amount": 230
> > }'
> > ```
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > JSONObject orderRequest = new JSONObject();
> > orderRequest.put("amount", 50000); // amount in the smallest currency unit
> > orderRequest.put("currency", "INR");
> > orderRequest.put("receipt", "order_rcptid_11");
> >
> > Order order = razorpay.Orders.create(orderRequest);
> > } catch (RazorpayException e) {
> > // Handle Exception
> > System.out.println(e.getMessage());
> > }
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > DATA = {
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "receipt#1",
> > "notes": {
> > "key1": "value3",
> > "key2": "value2"
> > }
> > }
> > client.order.create(data=DATA)
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->order->create(array('receipt' => '123', 'amount' => 50000, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> > ```
> >
> > ```csharp .NET theme={null}
> > RazorpayClient client = new RazorpayClient(your_key_id, your_secret);
> >
> > Dictionary options = new Dictionary();
> > options.Add("amount", 50000); // amount in the smallest currency unit
> > options.add("receipt", "order_rcptid_11");
> > options.add("currency", "INR");
> > Order order = client.Order.Create(options);
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > options = amount: 50000, currency: 'INR', receipt: ''
> > order = Razorpay::Order.create
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > instance.orders.create({
> > amount: 50000,
> > currency: "INR",
> > receipt: "receipt#1",
> > notes: {
> > key1: "value3",
> > key2: "value2"
> > }
> > })
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > data := map[string]interface{}{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "some_receipt_id"
> > }
> > body, err := client.Order.Create(data)
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id": "order_IluGWxBm9U8zJ8",
> > "entity": "order",
> > "amount": 50000,
> > "amount_paid": 0,
> > "amount_due": 50000,
> > "currency": "INR",
> > "receipt": "rcptid_11",
> > "offer_id": null,
> > "status": "created",
> > "attempts": 0,
> > "notes": [],
> > "created_at": 1642662092
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Order amount less than minimum amount allowed",
> > "source": "business",
> > "step": "payment_initiation",
> > "reason": "input_validation_failed",
> > "metadata": {},
> > "field": "amount"
> > }
> > }
> > ```
>
> > [tab] Razorpay Postman Public Workspace
> >
> > You can use the Postman workspace below to create an order:
> >
> > [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
> >
> > You can create an order manually by integrating the API sample codes on your server.
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount, expressed in the currency subunit. For example, for an actual amount of , the value of this field should be `22225`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be of 3 characters.
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7,000 is to be received from the customer in two installments of #1 - โน5,000, #2 - โน2,000, then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] 5 Add Checkout Options
>
> Pass the Checkout options. Ensure that you pass the `order_id` that you received in the response of the previous step.
>
> ```yml Checkout Options theme={null}
> var options = {
> 'key': '',
> 'amount': 50000,
> 'currency': 'INR',
> 'name': 'Acme Corp.',
> 'order_id': 'order_EMBFqjDHEEn80l', // Generate order_id using Orders API
> 'description': 'Fine T-Shirt',
> 'timeout': 60, // in seconds
> 'prefill': {
> 'contact': '',
> 'email': ''
> }
> };
> ```
>
> > [accordion] Checkout Options
> >
> > You must pass these parameters in Checkout to initiate the payment.
> >
> > `key` *mandatory*
> > : `string` API Key ID generated from the Dashboard.
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is , enter `222250` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the payment should be made by the customer. See the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY, and three decimal currencies, such as KWD, BHD, and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `name` *mandatory*
> > : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
> >
> > `description` *optional*
> > : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
> >
> > `image` *optional*
> > : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
> >
> > `order_id` *mandatory*
> > : `string` Order ID generated via [Orders API](/docs/api/orders).
> >
> > `prefill`
> > : `object` You can prefill the following details at Checkout.
> >
> > > [!NOTE]
> > >
> > > **Boost Conversions and Minimise Drop-offs**
> > >
> > > * Autofill customer contact details, especially phone number to ease form completion. Include customerโs phone number in the `contact` parameter of the JSON request's `prefill` object. Format: +(country code)(phone number). Example: "contact": "+919000090000".
> > > * This is not applicable if you do not collect customer contact details on your website before checkout, have Shopify stores or use any of the no-code apps.
> >
> > `name` *optional*
> > : `string` Cardholder's name to be prefilled if customer is to make card payments on Checkout. For example, **Gaurav Kumar**.
> >
> > `email` *optional*
> > : `string` Email address of the customer.
> >
> > `contact` *optional*
> > : `string` Phone number of the customer. The expected format of the phone number is `+ {country code}{phone number}`. If the country code is not specified, `91` will be used as the default value. This is particularly important while prefilling `contact` of customers with phone numbers issued outside India. **Examples**:
> >
> > * +14155552671 (a valid non-Indian number)
> > * +919977665544 (a valid Indian number). \
> > If 9977665544 is entered, `+91` is added to it as +919977665544.
> >
> > `method` *optional*
> > : `string` Pre-selection of the payment method for the customer. Will only work if `contact` and `email` are also prefilled. Possible values:
> >
> >
> >
`card`
> >
`netbanking`
> >
`wallet`
> >
`upi`
> >
`emi`
> >
> >
> > `notes` *optional*
> > : `object` Set of key-value pairs that can be used to store additional information about the payment. It can hold a maximum of 15 key-value pairs, each 256 characters long (maximum).
> >
> > `theme`
> > : `object` Thematic options to modify the appearance of Checkout.
> >
> > `color` *optional*
> > : `string` Enter your brand colour's HEX code to alter the text, payment method icons and CTA (call-to-action) button colour of the Checkout form.
> >
> > `backdrop_color` *optional*
> > : `string` Enter a HEX code to change the Checkout's backdrop colour.
> >
> > `modal`
> > : `object` Options to handle the Checkout modal.
> >
> > `backdropclose` *optional*
> > : `boolean` Indicates whether clicking the translucent blank space outside the Checkout form should close the form. Possible values:
> >
> > * `true`: Closes the form when your customer clicks outside the checkout form.
> > * `false` (default): Does not close the form when customer clicks outside the checkout form.
> >
> > `escape` *optional*
> > : `boolean` Indicates whether pressing the **escape** key should close the Checkout form. Possible values:
> >
> > * `true` (default): Closes the form when the customer presses the **escape** key.
> > * `false`: Does not close the form when the customer presses the **escape** key.
> >
> > `handleback` *optional*
> > : `boolean` Determines whether Checkout must behave similar to the browser when back button is pressed. Possible values:
> >
> > * `true` (default): Checkout behaves similarly to the browser. That is, when the browser's back button is pressed, the Checkout also simulates a back press. This happens as long as the Checkout modal is open.
> > * `false`: Checkout does not simulate a back press when browser's back button is pressed.
> >
> > `confirm_close` *optional*
> > : `boolean` Determines whether a confirmation dialog box should be shown if customers attempts to close Checkout. Possible values:
> >
> > * `true`: Confirmation dialog box is shown.
> > * `false` (default): Confirmation dialog box is not shown.
> >
> > `ondismiss` *optional*
> > : `function` Used to track the status of Checkout. You can pass a modal object with `ondismiss: function()\{\}` as options. This function is called when the modal is closed by the user. If `retry` is `false`, the `ondismiss` function is triggered when checkout closes, even after a failure.
> >
> > `animation` *optional*
> > : `boolean` Shows an animation before loading of Checkout. Possible values:
> >
> > * `true`(default): Animation appears.
> > * `false`: Animation does not appear.
> >
> > `subscription_id` *optional*
> > : `string` If you are accepting recurring payments using Razorpay Checkout, you should pass the relevant `subscription_id` to the Checkout. Know more about [Subscriptions on Checkout](/docs/api/payments/subscriptions-custom#checkout-integration).
> >
> > `subscription_card_change` *optional*
> > : `boolean` Permit or restrict customer from changing the card linked to the subscription. You can also do this from the [hosted page](/docs/payments/subscriptions/payment-retries#update-payment-method-on-our-hosted-page). Possible values:
> >
> > * `true`: Allow the customer to change the card from Checkout.
> > * `false` (default): Do not allow the customer to change the card from Checkout.
> >
> > `recurring` *optional*
> > : `boolean` Determines if you are accepting [recurring (charge-at-will) payments on Checkout](/docs/api/payments/recurring-payments) via instruments such as emandate, paper NACH and so on. Possible values:
> >
> > * `true`: You are accepting recurring payments.
> > * `false` (default): You are not accepting recurring payments.
> >
> > `callback_url` *optional*
> > : `string` Customers will be redirected to this URL on successful payment. Ensure that the domain of the Callback URL is allowlisted.
> >
> > `redirect` *optional*
> > : `boolean` Determines whether to post a response to the event handler post payment completion or redirect to Callback URL. `callback_url` must be passed while using this parameter. Possible values:
> >
> > * `true`: Customer is redirected to the specified callback URL in case of payment failure.
> > * `false` (default): Customer is shown the Checkout popup to retry the payment with the suggested next best option.
> >
> > `customer_id` *optional*
> > : `string` Unique identifier of customer. Used for:
> >
> > * [Local saved cards feature](/docs/payments/payment-methods/cards/features/saved-cards#manage-saved-cards).
> > * Static bank account details on Checkout in case of [Bank Transfer payment method](/docs/payments/payment-methods/bank-transfer).
> >
> > `remember_customer` *optional*
> > : `boolean` Determines whether to allow saving of cards. Can also be configured via the [Dashboard](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout). Possible values:
> >
> > * `true`: Enables card saving feature.
> > * `false` (default): Disables card saving feature.
> >
> > `timeout` *optional*
> > : `integer` Sets a timeout on Checkout, in seconds. After the specified time limit, the customer will not be able to use Checkout.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Some browsers may pause `JavaScript` timers when the user switches tabs, especially in power saver mode. This can cause the checkout session to stay active beyond the set timeout duration.
> >
> > `readonly`
> > : `object` Marks fields as read-only.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `name` *optional*
> > : `boolean` Used to set the `name` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `hidden`
> > : `object` Hides the contact details.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `send_sms_hash` *optional*
> > : `boolean` Used to auto-read OTP for cards and netbanking pages. Applicable from Android SDK version 1.5.9 and above. Possible values:
> >
> > * `true`: OTP is auto-read.
> > * `false` (default): OTP is not auto-read.
> >
> > `allow_rotation` *optional*
> > : `boolean` Used to rotate payment page as per screen orientation. Applicable from Android SDK version 1.6.4 and above. Possible values:
> >
> > * `true`: Payment page can be rotated.
> > * `false` (default): Payment page cannot be rotated.
> >
> > `retry` *optional*
> > : `object` Parameters that enable retry of payment on the checkout.
> >
> > `enabled`
> > : `boolean` Determines whether the customers can retry payments on the checkout. Possible values:
> >
> > * `true` (default): Enables customers to retry payments.
> > * `false`: Disables customers from retrying the payment.
> >
> > `max_count`
> > : `integer` The number of times the customer can retry the payment. We recommend you to set this to 4. Having a larger number here can cause loops to occur.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Web Integration does not support the `max_count` parameter. It is applicable only in Android and iOS SDKs.
> >
> > `config` *optional*
> > : `object` Parameters that enable checkout configuration. Know more about how to [configure payment methods on Razorpay standard checkout](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
> >
> > `display`
> > : `object` Child parameter that enables configuration of checkout display language.
> >
> > `language`
> > : `string` The language in which checkout should be displayed. Possible values:
> >
> > * `en`: English
> > * `ben`: Bengali
> > * `hi`: Hindi
> > * `mar`: Marathi
> > * `guj`: Gujarati
> > * `tam`: Tamil
> > * `tel`: Telugu
>
> > [accordion] 5.1 Enable UPI Intent on iOS *(Optional)*
> >
> > Provide your customers with a better payment experience by enabling UPI Intent on your app's Checkout form. In the UPI Intent flow:
> >
> > 1. Customer selects UPI as the payment method in your iOS app. A list of UPI apps supporting the intent flow is displayed. For example, PhonePe, Google Pay and Paytm.
> > 2. Customer selects the preferred app. The UPI app opens with pre-populated payment details.
> > 3. Customer enters their UPI PIN to complete their transactions.
> > 4. Once the payment is successful, the customer is redirected to your app or website.
> >
> > To enable this in your iOS integration, you must make the following changes in your app's info.plist file.
> >
> > ```xml info.plist theme={null}
> > LSApplicationQueriesSchemes
> >
> > tez
> > phonepe
> > paytmmp
> > credpay
> > mobikwik
> > in.fampay.app
> > bhim
> > amazonpay
> > navi
> > kiwi
> > payzapp
> > jupiter
> > omnicard
> > icici
> > popclubapp
> > sbiyono
> > myjio
> > slice-upi
> > bobupi
> > shriramone
> > indusmobile
> > kotakbank
> > snapmint
> > freecharge
> > navipay
> > whatsapp-consumer
> > postpe
> > super
> > lxme
> > scapia
> > curieapp
> >
> > ```
> >
> > Know more about [UPI Intent and its benefits](/docs/payments/payment-methods/upi/upi-intent).
> >
> > ### UPI Intent on Recurring Payments
> >
> > Configure and initiate a recurring payment transaction on UPI Intent:
> >
> > ```swift ViewController.swift theme={null}
> > let options: [String:Any] = [
> > "key": "YOUR_KEY_ID",
> > "order_id": "order_DBJOWzybfXXXX",
> > "customer_id": "cust_BtQNqzmBlXXXX",
> > "prefill": [
> > "contact": "+919000090000",
> > "email": "gaurav.kumar@example.com"
> > ],
> > "image": "https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> > "amount": 10000, // Amount should match the order amount
> > "currency": "INR",
> > "recurring": 1 // This key value pair is mandatory for Intent Recurring Payment.
> > ]
> > ```
> >
> > ```objectivec ViewController.m theme={null}
> > NSDictionary *options = @{
> > @"key": @"YOUR_KEY_ID",
> > @"order_id": @"order_DBJOWzybfXXXX",
> > @"customer_id": @"cust_BtQNqzmBlXXXX",
> > @"prefill": @{
> > @"contact": @"+919000090000",
> > @"email": @"gaurav.kumar@example.com"
> > },
> > @"image": @"https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> > @"amount": @(10000), // Amount should match the order amount
> > @"currency": @"INR",
> > @"recurring": @(1) // This key value pair is mandatory for Intent Recurring Payment.
> > };
> > ```
> [accordion] 6 Open Checkout
>
> Use the below code to open the Razorpay checkout.
>
> ```yml Open Razorpay Checkout theme={null}
> _razorpay.open(options);
> ```
> [accordion] 7 Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> > [accordion] Success Callback
> >
> > * You need to store these fields in your server.
> > * You can confirm the authenticity of these details by verifying the signature in the next step.
> >
> > ```json Success Callback theme={null}
> > {
> > "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> > "razorpay_order_id": "order_9A33XWu170gUtm",
> > "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> > }
> > ```
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] 8 Verify Payment Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> > [accordion] To verify the `razorpay_signature` returned to you by the Checkout form:
> >
> > 1. Create a signature in your server using the following attributes:
> > * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> > * `razorpay_payment_id`: Returned by Checkout.
> > * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
> > 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
> >
> > ```html HMAC Hex Digest theme={null}
> > generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
> >
> > if (generated_signature == razorpay_signature) {
> > payment is successful
> > }
> > ```
> >
> > 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
>
> > [accordion] Generate Signature on Your Server
> >
> > Given below is the sample code for payment signature verification:
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > String secret = "EnLs21M47BllR3X8PSFtjtbd";
> >
> > JSONObject options = new JSONObject();
> > options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > boolean status = Utils.verifyPaymentSignature(options, secret);
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->utility->verifyPaymentSignature(array('razorpay_order_id' => $razorpayOrderId, 'razorpay_payment_id' => $razorpayPaymentId, 'razorpay_signature' => $razorpaySignature));
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > payment_response = {
> > razorpay_order_id: 'order_IEIaMR65cu6nz3',
> > razorpay_payment_id: 'pay_IH4NVgf4Dreq1l',
> > razorpay_signature: '0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f'
> > }
> > Razorpay::Utility.verify_payment_signature(payment_response)
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > client.utility.verify_payment_signature({
> > 'razorpay_order_id': razorpay_order_id,
> > 'razorpay_payment_id': razorpay_payment_id,
> > 'razorpay_signature': razorpay_signature
> > })
> > ```
> >
> > ```c .NET theme={null}
> > RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > Dictionary options = new Dictionary();
> > options.Add("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.Add("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.Add("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > Utils.verifyPaymentSignature(options);
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > var { validatePaymentVerification, validateWebhookSignature } = require('./dist/utils/razorpay-utils');
> > validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > params := map[string]interface{}{
> > "razorpay_order_id": "order_IEIaMR65cu6nz3",
> > "razorpay_payment_id": "pay_IH4NVgf4Dreq1l",
> > }
> >
> > signature := "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f";
> > secret := "EnLs21M47BllR3X8PSFtjtbd";
> > utils.VerifyPaymentSignature(params, signature, secret)
> > ```
>
> > [accordion] Post Signature Verification
> >
> > After you have completed the integration, you can [set up webhooks](/docs/webhooks/setup-edit-payments), make test payments, replace the test key with the live key and integrate with other [APIs](/docs/api).
>
> > [accordion] M1 MacBook Changes
> >
> > If you use M1 MacBook, you need to make the following changes in your podfile.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Add the following code inside `post_install do |installer|`.
> >
> > ```javascript podfile theme={null}
> > installer.pods_project.build_configurations.each do |config|
> > config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
> > end
> > ```
> [accordion] 9 Verify Payment Status
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > On the Razorpay Dashboard, ensure that the payment status is `captured`. Refer to the payment capture settings page to know how to [capture payments automatically](/docs/payments/payments/capture-settings).
>
> > [accordion] You can track the payment status in three ways:
> >
> > > [tab] Verify Status from Dashboard
> > >
> > > To verify the payment status from the Razorpay Dashboard:
> > >
> > > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > > 2. Check if a **Payment Id** has been generated and note the status. In case of a successful payment, the status is marked as **Captured**.
> > >
> > > 
> >
> > > [tab] Subscribe to Webhook Events
> > >
> > > You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to [set up webhooks.](/docs/webhooks/setup-edit-payments)
> > >
> > > #### Example
> > >
> > > If you have subscribed to the `order.paid` webhook event, you will receive a notification every time a customer pays you for an order.
> >
> > > [tab] Poll APIs
> > >
> > > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 2. Test Integration
After the integration is complete, a **Pay** button appears on your webpage/app.

Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
| Payment Method | Code | Availability |
| - | - | - |
| [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
| [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
| [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
| [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
| EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
| [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
| [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
You can make test payments using one of the payment methods configured at the Checkout.
> [accordion] Netbanking
>
> You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
>
> Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
> [accordion] UPI
>
> You can enter one of the following UPI IDs:
>
> * `success@razorpay`: To make the payment successful.
> * `failure@razorpay`: To fail the payment.
>
> Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
> [accordion] Cards
>
> You can use the following test cards to test transactions for your integration in Test Mode.
>
> ### Domestic Cards
>
> Use the following test cards for Indian payments:
>
> | Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> | Mastercard | 5500 6700 0000 1002 | |
> | RuPay | 6527 6589 0000 1005 | |
> | Diners | 3608 280009 1007 | |
> | Amex | 3402 560004 01007 | |
>
> #### Error Scenarios
>
> Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> Check the following lists:
>
> * [Supported Card Networks](/docs/payments/payment-methods/cards).
> * [Cards Error Codes](/docs/errors/payments/cards).
>
> ### International Cards
>
> Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
>
> | Card Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> | Visa | 4012 8888 8888 1881 | |
>
> Check the list of [supported card networks](/docs/payments/payment-methods/cards).
> [accordion] Wallet
>
> You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
>
> Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
## 3. Go-live Checklist
Check the go-live checklist for Razorpay Flutter integration. Consider these steps before taking the integration live.
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> [accordion] 3 Set Up Webhooks
>
> Ensure you have [set up webhooks](/docs/webhooks/setup-edit-payments) in the live mode and configured the events for which you want to receive notifications.
>
> > [!WARNING]
> >
> > **Implementation Considerations**
> >
> > Webhooks are the primary and most efficient method for event notifications. They are delivered asynchronously in near real-time. For critical user-facing flows that need instant confirmation (like showing "Payment Successful" immediately), supplement webhooks with API verification.
> >
> > **Recommended approach** \\
> >
> > * Rely on webhooks for all automation, which can be asynchronous.
> > * If a critical user-facing flow requires instant status, but the webhook notification has not arrived within the time mandated by your business needs, perform an immediate API Fetch call ([Payments](/docs/api/payments/fetch-with-id), [Orders](/docs/api/orders/fetch-with-id) and [Refunds](/docs/api/refunds/fetch-specific-refund-payment)) to verify the status.
# API Classes and Methods
Source: https://razorpay.com/docs/payments/payment-gateway/flutter-integration/standard/payment-methods/api
API classes and methods available for the Flutter plugin.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Documented below is the API package for the plugin.
## Razorpay Class
### Method
`open(map options)`
: Opens the checkout.
`on(String eventName, Function listener)`
: Registers event listeners for payment events.
`eventName`: The name of the event.
`listener`: The function to be called. The listener should accept a single argument of the following type:
[PaymentSuccessResponse](#paymentsuccessresponse) for EVENT\_PAYMENT\_SUCCESS.
[PaymentFailureResponse](#paymentfailureresponse) for EVENT\_PAYMENT\_FAILURE.
[ExternalWalletResponse](#externalwalletresponse) for EVENT\_EXTERNAL\_WALLET.
`clear()`
: Clears all listeners.
> [!NOTE]
>
> **Handy Tips**
>
> The `options` map has `key` as a required property in the open checkout method. All other properties are optional. Know about all the [options available on checkout form](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps#5-add-checkout-options).
### Event Names
The event names have been exposed as `strings` by the `Razorpay` class.
| Event Name | Description |
| - | - |
| EVENT\_PAYMENT\_SUCCESS | The payment was successful. |
| EVENT\_PAYMENT\_ERROR | The payment was not successful. |
| EVENT\_EXTERNAL\_WALLET | An external wallet was selected. |
#### PaymentSuccessResponse
| Field Name | Data Type | Description |
| - | - | - |
| `paymentId` | `string` | The ID for the payment. |
| `orderId` | `string` | The order ID if the payment was for an order, otherwise `null`. |
| `signature` | `string` | The signature to be used for payment verification. Only valid for orders, otherwise `null`. |
#### PaymentFailureResponse
| Field Name | Data Type | Description |
| - | - | - |
| `code` | `integer` | The [error code](#error-codes). |
| `message` | `string` | The [error message](#error-codes). |
#### ExternalWalletResponse
| Field Name | Data Type | Description |
| - | - | - |
| `walletName` | `string` | The name of the external wallet selected. |
## Error Codes
The error codes are exposed as integers by the `Razorpay` class. The error code is available as the code field of the `PaymentFailureResponse` instance passed to the callback.
| Error Code | Description |
| - | - |
| NETWORK\_ERROR | There was a network error. For example, loss of internet connectivity. |
| INVALID\_OPTIONS | An issue with options passed in `Razorpay.open`. |
| PAYMENT\_CANCELLED | User cancelled the payment. |
| TLS\_ERROR | Device does not support TLS v1.1 or TLS v1.2. |
| UNKNOWN\_ERROR | An unknown error occurred. |
# Integrate Turbo UPI TPV
Source: https://razorpay.com/docs/payments/payment-gateway/flutter-integration/standard/payment-methods/integration-tpv
Know how Razorpay performs Third-Party Validation (TPV) of investor bank accounts in real-time using Razorpay Turbo UPI.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
Third-party validation (TPV) of bank accounts is mandatory for businesses in the BFSI (Banking, Financial Services and Insurance) sector dealing with Securities, Broking and Mutual Funds. You can accept customer payments by integrating with the Turbo UPI - TPV SDK.
> [!WARNING]
>
> **Watch Out!**
>
> Currently, Flutter SDK is supported only for Android.
> [accordion] Prerequisites
>
> 1. Contact our [integrations team](mailto:integrations@razorpay.com) to get your mobile number, app, and GitHub account whitelisted to get access to the `https://github.com/upi-turbo/android-turbo-sample-app` - sample app repository. You will find the AAR files (libraries for Turbo) in this repository. The AARs on the main branch are for the UAT environment, and the ones on the prod branch are for the production environment.\\
>
> These are the important files in the sample app repo:
>
> * `android/app/libs`: All libraries (Bank, SecureComponent and Turbo) common for headless SDK. Know more about [Library Dependencies](#library-dependencies).
> * `android/app/uiLibrary`: Library for Turbo UI SDK.
> * `android/app/build.gradle`: All transitive dependencies needed to integrate the Turbo SDK.
>
> 2. Integrate with [Razorpay Flutter Standard Integration](/docs/payments/payment-gateway/flutter-integration/standard/integration-steps).
>
> 3. Import the following frameworks:
> * Razorpay Android Standard SDK
> * Razorpay Turbo Wrapper Plugin SDK (maven)
> * Razorpay Turbo Core SDK
> * Razorpay Turbo UI SDK
> * Razorpay SecureComponent SDK
> * Bank SDK
>
> 4. Add the following lines to your Android project's `gradle.properties` file:
> * `android.enableJetifier=true`
>
> * `android.useAndroidX=true`
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > * `minSDKversion` for using Turbo UPI is currently 19 and cannot be overwritten.
> > * Use the `rzp_test_0wFRWIZnH65uny` API key id for testing on the UAT environment and the [Razorpay live keys](/docs/api/authentication#live-mode-api-keys) for prod testing.
> > * As a compliance requirement, you should get approval from Google for **READ\_SMS** permission. Refer [to the Google article](https://support.google.com/googleplay/android-developer/answer/10208820?hl=en) for more details.
> [accordion] Library Dependencies
>
> Integrating library files is necessary to proceed with Turbo integration. Follow these steps to integrate library dependencies:
>
> 1. Navigate to your Flutter project's directory and locate the `android` folder. Find the `src` folder inside `android` and create a new `libs` folder.
>
> 2. Copy all your library files into the newly created `libs` folder.
>
> 3. Open the `build.gradle` file in the **app** directory of your Flutter project. Add an implementation reference to the library files you added in the `libs` folder.
>
> ```java Java theme={null}
> implementation fileTree(include: ['*.aar'], dir: 'libs')
> ```
>
> 4. Update the dependencies section in your project's `pubspec.yaml` file to include the libraries you added. Ensure the references point to the correct location, usually `master`.
>
> ```yml theme={null}
> razorpay_flutter:
> git:
> url: https://github.com/razorpay/razorpay-flutter.git
> ref: master # branch name
> ```
>
> 5. Run `flutter pub get` in your terminal to ensure the dependencies are properly resolved and downloaded.
>
> 6. Navigate to the `build.gradle` file in the `android` directory of the `razorpay-flutter` plugin module. Add a `compile only` statement to include the necessary libraries for compilation.
>
> ```yml theme={null}
> compileOnly fileTree(include: ['*.aar'], dir: '/.../razorpay-turbo-flutter/android/app/libs') // Add absolute path of libs folder
> ```
## 1. Integration Steps
Given below are the steps:
> [accordion] Step 1: Whitelist Customer Bank Accounts *(Optional)*
>
> You can whitelist (also known as allowlist) your customer's bank accounts to ensure that only those accounts are considered during customer onboarding. By whitelisting the accounts at the start, you can avoid the bank account linking during payment. Use the Customer APIs to create customers and add their bank account details.
>
> For example, if a customer, Gaurav, has two bank accounts ABC and XYZ, you can use the APIs to create a customer id and link the bank accounts to that id. You can then pass this customer id at the time of payment.
>
> Follow these steps.
>
> > [accordion] Step 1.1: Create a Customer
> >
> > Use this endpoint to create or add a customer with basic details such as name and contact details.
> >
> > ```bash Request theme={null}
> > curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> > -X POST https://api.razorpay.com/v1/customers \
> > -H "Content-Type: application/json" \
> > -d '{
> > "name": "Gaurav Kumar",
> > "contact": "9123456780",
> > "email": "gaurav.kumar@example.com",
> > "fail_existing": "0",
> > "notes": {
> > "notes_key_1": "Tea, Earl Grey, Hot",
> > "notes_key_2": "Tea, Earl Greyโฆ decaf."
> > }
> > }'
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id" : "cust_1Aa00000000004",
> > "entity": "customer",
> > "name" : "Gaurav Kumar",
> > "email" : "gaurav.kumar@example.com",
> > "contact" : "9123456780",
> > "gstin": null,
> > "notes": {
> > "notes_key_1":"Tea, Earl Grey, Hot",
> > "notes_key_2":"Tea, Earl Greyโฆ decaf."
> > },
> > "created_at ": 1234567890
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Contact number should be at least 8 digits, including country code",
> > "source": "business",
> > "step": "NA",
> > "reason": "invalid_contact_number",
> > "metadata": {},
> > "field": "contact"
> > }
> > }
> > ```
> >
> > > [accordion] Request Parameters
> > >
> > > `name` *optional*
> > > : `string` Customer's name. Alphanumeric value with period (.), apostrophe ('), forward slash (/), at (@) and parentheses are allowed. The name must be between 3-50 characters in length. For example, `Gaurav Kumar`.
> > >
> > > `contact ` *optional*
> > > : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919876543210`.
> > >
> > > `email ` *optional*
> > > : `string` The customer's email address. A maximum length of 64 characters. For example, `gaurav.kumar@example.com`.
> > >
> > > `fail_existing` *optional*
> > > : `string` Possible values:
> > >
> > > * `1` (default): If a customer with the same details already exists, throws an error.
> > > * `0`: If a customer with the same details already exists, fetches details of the existing customer.
> > >
> > > `gstin` *optional*
> > > : `string` Customer's GST number, if available. For example, `29XAbbA4369J1PA`.
> > >
> > > `notes` *optional*
> > > : `object` This is a key-value pair that can be used to store additional information about the entity. It can hold a maximum of 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > > [accordion] Response Parameters
> > >
> > > `id`
> > > : `string` Unique identifier of the customer. For example, `cust_1Aa00000000004`.
> > >
> > > `name`
> > > : `string` Customer's name. Alphanumeric, with period (.), apostrophe ('), forward slash (/), at (@) and parentheses allowed. The name must be between 3-50 characters in length. For example, `Gaurav Kumar`.
> > >
> > > `contact`
> > > : `string` The customer's phone number. A maximum length of 15 characters including country code. For example, `+919876543210`.
> > >
> > > `email`
> > > : `string` The customer's email address. A maximum length of 64 characters. For example, `gaurav.kumar@example.com`.
> > >
> > > `gstin`
> > > : `string` GST number linked to the customer. For example, `29XAbbA4369J1PA`.
> > >
> > > `notes`
> > > : `json object` This is a key-value pair that can be used to store additional information about the entity. It can hold a maximum of 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> > >
> > > `created_at`
> > > : `integer` UNIX timestamp, when the customer was created. For example, `1234567890`.
>
> > [accordion] Step 1.2: Add Customer's Bank Account
> >
> > The following endpoint adds the customer's bank accounts.
> >
> > ```bash Request theme={null}
> > curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
> > -X POST https://api.razorpay.com/v1/customers/:customer_id/bank_account \
> > -H "Content-Type: application/json" \
> > -d '{
> > "ifsc_code": "UTIB0000194",
> > "account_number": "11214311215411",
> > "beneficiary_name": "Gaurav",
> > "beneficiary_address1": "address 1",
> > "beneficiary_address2": "address 2",
> > "beneficiary_address3": "address 3",
> > "beneficiary_address4": "address 4",
> > "beneficiary_email": "gaurav.kumar@example.com",
> > "beneficiary_mobile": "9900990099",
> > "beneficiary_city": "Bangalore",
> > "beneficiary_state": "KA",
> > "beneficiary_country": "IN"
> > }'
> > ```
> >
> > ```json Response theme={null}
> > {
> > "id": "ba_LSZht1Cm7xFTwF",
> > "entity": "bank_account",
> > "ifsc": "ICIC0001207",
> > "bank_name": "ICICI Bank",
> > "name": "Gaurav Kumar",
> > "notes": [],
> > "account_number": "XXXXXXXXXXXXXXX0434"
> > }
> > ```
> >
> > > [accordion] Path Parameter
> > >
> > > `customer_id` *mandatory*
> > > : `string` Customer id of the customer whose bank account is to be added.
> >
> > > [accordion] Request Parameters
> > >
> > > `account_number` *mandatory*
> > > : `string` Customer's bank account number. For example, `11214311215411`.
> > >
> > > `beneficiary_name` *mandatory*
> > > : `string` The name of the beneficiary associated with the bank account.
> > >
> > > `beneficiary_address1` *optional*
> > > : `string` The virtual payment address.
> > >
> > > `beneficiary_email` *optional*
> > > : `string` Email address of the beneficiary. For example, `gaurav.kumar@example.com`.
> > >
> > > `beneficiary_mobile` *optional*
> > > : `string` Mobile number of the beneficiary.
> > >
> > > `beneficiary_city` *optional*
> > > : `string` The city of the beneficiary.
> > >
> > > `beneficiary_state` *optional*
> > > : `string` The state of the beneficiary.
> > >
> > > `beneficiary_country` *optional*
> > > : `string` The country of the beneficiary.
> > >
> > > `beneficiary_pin` *optional*
> > > : `integer` The pin code of the beneficiary's address.
> > >
> > > `ifsc_code` *mandatory*
> > > : `string` The IFSC of the bank branch associated with the account.
> >
> > > [accordion] Response Parameters
> > >
> > > `bank_accounts`
> > > : `array` An array containing bank account details.
> > >
> > > `id`
> > > : `string` Unique identifier of the bank account.
> > >
> > > `entity`
> > > : `string` The type of entity, which in this case is `bank_account`.
> > >
> > > `ifsc`
> > > : `string` The IFSC of the bank branch associated with the account.
> > >
> > > `bank_name`
> > > : `string` The name of the bank.
> > >
> > > `name`
> > > : `string` The name associated with the bank account.
> > >
> > > `notes`
> > > : `object` Set of key-value pairs that can be used to store additional information about the payment.
> > >
> > > `account_number`
> > > : `integer` Customer's bank account number. For example, `11214311215411`.
> [accordion] Step 2: Create an Order *(Mandatory)*
>
> Pass the investor bank account details to the `bank_account` array of the Orders API. Given below is the sample code when the `method` is `upi`.
>
> ```bash Request theme={null}
> curl -u : \
> -X POST https://api.razorpay.com/v1/orders \
> -H "Content-Type: application/json" \
> -d '{
> "amount": 500,
> "method": "upi",
> "receipt": "BILL13375649",
> "currency": "INR",
> "bank_account": {
> "account_number": "765432123456789",
> "name": "Gaurav Kumar",
> "ifsc": "HDFC0000053"
> }
> }'
> ```
>
> ```json Response theme={null}
> {
> "id": "order_GAWRjlWkVcRh0V",
> "entity": "order",
> "amount": 500,
> "amount_paid": 0,
> "amount_due": 500,
> "currency": "INR",
> "receipt": "BILL13375649",
> "offer_id": null,
> "status": "created",
> "attempts": 0,
> "notes": [],
> "created_at": 1573044206
> }
> ```
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount expressed in paise (currency supported is INR). For example, for an actual amount of โน1, the value of this field should be `100`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. You can create orders in **INR** only.
> >
> > `receipt` *optional*
> > : `string` Receipt number that corresponds to this order, set for your internal reference. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `method` *mandatory*
> > : `string` The payment method used to make the payment. If this parameter is not passed, investors will be able to make payments using both netbanking and UPI payment methods. Possible values:
> >
> > * `netbanking`: Investors can make payments only using netbanking.
> > * `card`: Investors can make payments using debit card.
> > * `upi`: Investors can make payments only using UPI.
> >
> > `bank_account` *mandatory*
> > : `object` Details of the bank account that the investor has provided at the time of registration.
> >
> > `account_number` *mandatory*
> > : `string` The bank account number from which the investor should make the payment. For example, `765432123456789` Payments will not be processed for an incorrect account number.
> >
> > `name` *mandatory*
> > : `string` The name linked to the bank account. For example, `Gaurav Kumar`.
> >
> > `ifsc` *mandatory*
> > : `string` The bank IFSC. For example, `HDFC0000053`.
>
> > [accordion] Response Parameters
> >
> > `id`
> > : `string` Unique identifier of the order.
> >
> > `entity`
> > : `string` Indicates the type of entity. Here, it is `order`.
> >
> > `amount`
> > : `integer` The order amount represented in the smallest unit of the currency passed. For example, amount = 100 translates to 100 paise, that is โน1 (default currency is INR).
> >
> > `amount_paid`
> > : `integer` The amount that has been paid.
> >
> > `amount_due`
> > : `integer` The amount that is yet to be paid.
> >
> > `currency`
> > : `string` The 3-letter ISO currency code for the payment. Currently, we support INR only.
> >
> > `receipt`
> > : `string` A unique identifier of the order entered by the user. For example, `BILL13375649`.
> >
> > `status`
> > : `string` The status of the order.
> >
> > `notes`
> > : `object` Key-value pair you can use to store additional information about the entity. Maximum of 15 key-value pairs, 256 characters each. For example, "note\_key": "Beam me up Scottyโ.
> >
> > `created_at`
> > : `integer` The Unix timestamp at which the order was created.
> >
> > `offer_id`
> > : `string` Unique identifier of the offer.
> >
> > `attempts`
> > : `integer` The number of payment attempts, successful and failed, that have been made against this order.
> [accordion] Step 3: Turbo UPI SDK Action
>
> You need to link the customer's UPI account with your app. Use the code samples given below to [fetch the UPI account](#2-link-new-upi-account).
>
> > [accordion] 1 Initialise the SDK
> >
> > Use the code given below to initialise the SDK.
> >
> > ```yml Import Package theme={null}
> > import 'package:razorpay_flutter/razorpay_flutter.dart';
> > // Create a Razorpay instance
> > razorpay = Razorpay("YOUR_KEY_ID").initUpiTurbo();
> > ```
>
> > [accordion] 2 Link New UPI Account
> >
> > Use the following code to link the newly created UPI account with your app. This function can be called from anywhere in the application, providing multiple entry points for customers to link their UPI account with your app.
> >
> > ```java Link New UPI Account theme={null}
> > razorpay.upiTurbo.linkNewUpiAccount(
> > customerMobile: mobileNumber,
> > color: "#ffffff",
> > onSuccess: (List upiAccounts) {
> > // Success callback body
> > },
> > onFailure: (Error error) {
> > // Failure callback body
> > },
> > );
> > ```
> >
> > > [accordion] Request Parameters
> > >
> > > `mobileNumber` *mandatory*
> > > : `string` Mobile number of the customer.
> > >
> > > `color` *optional*
> > > : `string` Colour in hex format
> >
> > * Initialise the instance to handle the event using the code given below:
> >
> > ```java Instantiate theme={null}
> > razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, handlePaymentErrorResponse);
> > razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS, handlePaymentSuccessResponse);
> > ```
> >
> > * Handle payment failure responses, displaying important details such as error codes, error descriptions, and metadata. This function is responsible for handling and logging information in the event of a payment error.
> >
> > ```yml Payment Failure Response Handling theme={null}
> > void handlePaymentErrorResponse(PaymentFailureResponse response) {
> >
> > /**
> > * PaymentFailureResponse contains three values:
> > * 1. Error Code
> > * 2. Error Description
> > * 3. Metadata
> > **/
> > print('Payment Error Response : $response');
> > }
> > ```
> >
> > * Handle successful payment responses, displaying key information like order ID, payment ID, and signature. This code manages and logs details when a payment transaction is successful.
> >
> > ```yml Payment Success Response Handling theme={null}
> > void handlePaymentSuccessResponse(PaymentSuccessResponse response) {
> >
> > /**
> > * Payment Success Response contains three values:
> > * 1. Order ID
> > * 2. Payment ID
> > * 3. Signature
> > **/
> > print('Payment Success Response : $response');
> > }
> > ```
>
> > [accordion] 3 Submit Method
> >
> > To accept payments, call Custom Checkoutโs `submit` method with the following payload:
> >
> > ```java Submit Payment Details theme={null}
> > Map payload = {
> > 'amount': 100,
> > 'currency': 'INR',
> > 'prefill': {
> > 'contact': '8888888888',
> > 'email': 'test@razorpay.com',
> > },
> > 'theme': {
> > 'color': '#0CA72F',
> > },
> > 'send_sms_hash': true,
> > 'retry': {
> > 'enabled': false,
> > 'max_count': 4,
> > },
> > 'key': '$merchantKey',
> > 'order_id': 'order_GAWRjlWkVcRh0V',
> > 'disable_redesign_v15': false,
> > 'experiments.upi_turbo': true,
> > };
> >
> > razorpay.open(payload);
> > ```
> >
> > > [accordion] Request Parameter
> > >
> > > `payload` *mandatory*
> > > : `Map` Payload for initiating the transaction.
> >
> > > [accordion] Response Parameters
> > >
> > > | Parameter | Description |
> > > | - | - |
> > > | `onSuccess` | This function is triggered if the list is fetched successfully. `accList` can be empty to indicate that no accounts have been linked yet. |
> > > | `onFailure` | This function is triggered in case an error is thrown during the retrieval process, either by the Razorpay SDK or the Bank SDK. |
> [accordion] Step 4: Handle Payment Success and Failure
>
> The way you handle payment success and failure scenarios depends on the Checkout sample code you opted for in the previous step. Know how to [handle payment success and failure](/docs/payments/third-party-validation/standard-integration#4-handle-payment-success-and-failure).
> [accordion] Steps 5: Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> * You need to store these fields in your server.
> * You can confirm the authenticity of these details by verifying the signature in the next step.
>
> ```json Success Callback theme={null}
> {
> "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> "razorpay_order_id": "order_GAWRjlWkVcRh0V",
> "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> }
> ```
>
> > [accordion] Parameters
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by the Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by the Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] Step 6: Verify Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> To verify the `razorpay_signature` returned to you by the Checkout form:
>
> 1. Create a signature in your server using the following attributes:
> * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> * `razorpay_payment_id`: Returned by Checkout.
> * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/api/authentication#generate-api-keys).
> 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
>
> ```html HMAC Hex Digest theme={null}
> generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
>
> if (generated_signature == razorpay_signature) {
> payment is successful
> }
> ```
>
> 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
### Non-Transactional Flow
Razorpay provides a single exposed function that allows you to manage linked UPI accounts and access all non-transactional flows seamlessly.

> [accordion] Manage UPI Accounts
>
> The SDK manages the linked `UpiAccounts` on the application by triggering `manageUpiAccounts()`. The sequence of steps is as given below:
>
> * **Fetch balance**: Check the customer's account balance.
> * **Change UPI PIN**: Provide the customer the ability to change their UPI PIN.
> * **Reset UPI PIN**: Let your customers reset the PIN for their account.
> * **Delete the account from the application**: Let your customers delink, that is, remove a selected UPI account from your application.
>
> ```java Java theme={null}
> razorpay.upiTurbo.manageUpiAccounts(customerMobile: mobileNumberValue,
> color: "#ffffff",
> onFailure:(Error error) {
> }
> );
> ```
>
> > [accordion] Request Parameters
> >
> > `customerMobile` *mandatory*
> > : `string` Mobile number of the customer.
> >
> > `color` *optional*
> > : `string` Colour in hex format.
>
> > [accordion] Response Parameter
> >
> > | Parameters | Description |
> > | - | - |
> > | `onFailure` | This function is triggered in case of an error, and the error object will be received. |
### Models Exposed from the SDKs
The SDKs given below provide access to exposed models for seamless integration.
> [accordion] Error
>
> | Error | Description |
> | - | - |
> | `errorCode` | Types of error codes
`BAD_REQUEST_ERROR`: Failure from the client's end (SDK).
`GATEWAY_ERROR`: Failure either from the Secure Component or the Bank.
`SERVER_ERROR`: Failure at PSP.
|
> | `errorDescription` | Brief description of the error. |
> | `errorReason` | Specifies the specific reason for the error. |
> | `errorSource` | Indicates the origin of the error. |
> | `errorStep` | Highlights the stage where the error occurred. |
>
> [Refer to the list of possible error reasons](/docs/payments/payment-gateway/flutter-integration/standard/payment-methods/turbo-upi/error-codes).
> [accordion] UpiAccount
>
> | Fields | Return Type | Description |
> | - | - | - |
> | `accountNumber` | String | Masked account number. |
> | `ifsc` | String | IFSC of the bank. |
> | `bankLogoUrl` | String | Image URL of the bank logo. |
> | `bankName` | String | Name of the bank. |
> | `bankPlaceholderUrl` | String | Image URL of the bank logo placeholder. |
## 2. Test Integration
We recommend the following:
* Complete the integration on UAT before using the prod builds.
* Perform the UAT using the Razorpay-provided API keys.
## 3. Go-live Checklist
Complete these steps to take your integration live:
* You should get your app id whitelisted by Razorpay to test on prod.
> [!NOTE]
>
> **Handy Tips**
>
> Contact our [integrations team](mailto:integrations@razorpay.com) to get your mobile number and app whitelisted.
* Import the prod library from the GitHub repository โ `https://github.com/upi-turbo/android-turbo-sample-app/tree/prod/app/libs` prod branch.
* Add Proguard rules:
* `keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName ;
}`
* `keepclassmembers enum * { *; }`
* `keepclassmembers class * {
@android.webkit.JavascriptInterface ;
}`
* `dontwarn com.razorpay.**`
* `keep class com.razorpay.** {*;}`
* `keep class com.olivelib.** {*;}`
* `keep class com.olive.** {*;}`
* `keep class org.apache.xml.security.** {*;}`
* `keep interface org.apache.xml.security.** {*;}`
* `keep class org.npci.** {*;}`
* `keep interface org.npci.** {*;}`
* `keep class retrofit2.** { *; }`
* `keep class okhttp3.** { *; }`
* Replace the UAT credential with the [Razorpay live keys](/docs/api/authentication#live-mode-api-keys) for prod testing.
# Integrate with Turbo UPI
Source: https://razorpay.com/docs/payments/payment-gateway/flutter-integration/standard/payment-methods/turbo-upi
Steps to integrate Razorpay Turbo UPI with your app.
Available in
๐ฎ๐ณ India
> [card] [Turbo UPI Flutter Standard SDK](/docs/payments/changelog#products)
>
> Discover new features, updates and deprecations related to Turbo UPI on Flutter Standard Checkout (since Jan 2024).
Razorpay Turbo UPI enables businesses to offer faster and simpler payments by reducing the payment process from 5 steps to just 1, eliminating app redirections. This provides a seamless in-app payment experience, reduce dependencies on third-party UPI apps, and offers complete visibility into the payment journey.
You can easily integrate Turbo UPI with the Razorpay Flutter Standard SDK. Explore the full potential of [Razorpay Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi) and learn how it works.

> [accordion] Prerequisites
>
> 1. Contact our [integrations team](mailto:integrations@razorpay.com) to get your mobile number, app, and GitHub account whitelisted for access to the `https://github.com/upi-turbo/razorpay-turbo-flutter` sample app repository.
>
> 2. Review the [Razorpay Flutter Standard SDK](/docs/payments/payment-gateway/flutter-integration/standard) documentation for integration guidelines.
>
> 3. Add Location Dependency: The SDK requires location permission to complete device onboarding. Ensure you have added the necessary location dependencies as described below.
>
> * For iOS:\
> Update your `Info.plist` file with the following keys to request location permissions:
>
> ```yml plist theme={null}
> NSLocationWhenInUseUsageDescription
>
> Your app needs access to your location while using the app.
> ```
>
> Make sure these permissions are clearly communicated to your users to ensure a smooth onboarding experience.
>
> 4. For Android-specific integrations, add the following dependencies to your `build.gradle` file:
>
> **Getting the Turbo Dependencies:**
>
> ```java gradle theme={null}
> implementation("com.razorpay:checkout:")
> implementation("com.razorpay:razorpay-turbo:")
> implementation("com.razorpay:turbo-ui:")
> ```
>
> Replace ``, ``, and `` with the latest versions available.
>
> You can find the latest versions here:
>
> * [Razorpay Checkout](https://central.sonatype.com/artifact/com.razorpay/checkout)
> * [Razorpay Turbo](https://central.sonatype.com/artifact/com.razorpay/razorpay-turbo)
> * [Turbo UI](https://central.sonatype.com/artifact/com.razorpay/turbo-ui)
>
> **Enable `viewBinding` and `dataBinding`:**
>
> ```java gradle theme={null}
> buildFeatures {
> viewBinding = true
> dataBinding = true
> }
> ```
>
> Ensure you sync your project after adding these dependencies.
> [accordion] Library Dependencies
>
> To integrate Turbo UPI, you must add the required library dependencies to your Flutter project:
>
> 1. Add the following entry to the `dependencies` section of your `pubspec.yaml` file:
>
> ```yaml theme={null}
> razorpay_turbo_standard: 1.0.0
> ```
>
> 2. Run the following command in your terminal to fetch and install the new dependency:
>
> ```
> ```
## Onboarding Flow
Ensure your customers [onboard with Razorpay Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi#onboarding-flow) to get started.
## 1. Integration Steps
Follow these steps to integrate with Razorpay Turbo UPI:
### 1.1 Import Razorpay Package
To integrate Turbo UPI with your Flutter app, start by importing the required packages.
This sets up the SDK and enables your app to handle UPI payments. Use the code snippet below to import the package:
```yml dart theme={null}
import 'package:razorpay_flutter/razorpay_flutter.dart';
```
### 1.2 Initialise Razorpay and Register Event Listeners
Set up the Razorpay instance and register event listeners to handle payment success, failure, and session token refresh.
This ensures your app can respond appropriately to payment outcomes and keep session tokens up to date for a smooth user experience.
Add the following method during initialisation:
```java dart theme={null}
void initializeRazorpayWithEvents() {
// Create a Razorpay instance
razorpay = Razorpay("YOUR_KEY_ID");
//Session token event
razorpay.on(Razorpay.EVENT_FETCH_SESSION_TOKEN, _handleRefreshToken);
//Payment Events
razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, handlePaymentErrorResponse);
razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS, handlePaymentSuccessResponse);
}
```
### 1.3. Create a Session Token
To enhance security, you must create a session token via a server-to-server (S2S) call between your backend and Razorpay's backend. This session token ensures secure communication between the Turbo SDK and Razorpay's systems.
#### How to Create a Session Token
1. Trigger the S2S API from your Backend. Use the following API to generate a session token:
```bash Curl theme={null}
curl -X POST 'https://api.razorpay.com/v1/upi/turbo/customer/session' \
-u [YOUR_KEY_ID]:[YOUR_SECRET] \
-H "Content-type: application/json" \
-d '{
"customer_reference": "9000090000"
}'
```
```bash Success theme={null}
{
"token": "session_token",
"expire_at": 1730097636
}
```
```bash Failure theme={null}
{
"error": {
"code": "BAD_REQUEST_ERROR",
"description": "customer_reference is required",
"source": "customer",
"step": "CreateSession",
"reason": "customer_reference_field_is_missing",
"metadata": {}
}
}
```
> [accordion] Request Parameter
>
> `customer_reference` *mandatory*
> : `string` A unique identifier for the customer provided by the business. The recommended value is mobile number. For example, `9000090000`.
> [accordion] Response Parameters
>
> `token`
> : `string` A session token to be used in subsequent session-protected APIs.
>
> `expire_at`
> : `long` Expiry time (in seconds) for the session token, used to optimise session handling and reduce unnecessary reinitialisations.
>
> `error`
> : `object` The request failure due to business or technical failure.
> [accordion] Errors
>
> Given below is a list of errors you may face during session token.
>
> | Error | Description |
> | - | - |
> | `code` | Types of error codes
`BAD_REQUEST_ERROR`: Failure from the client's end (SDK).
`GATEWAY_ERROR`: Failure either from the Secure Component or the Bank.
`SERVER_ERROR`: Failure at PSP.
|
> | `description` | Brief description of the error. |
> | `field` | Indicates which field is missing. |
> | `reason` | Specifies the specific reason for the error. |
> | `source` | Highlights the source where the error occurred. |
> | `step` | Highlights the stage where the error occurred. |
2. Create/Retry Session Token Mechanism
To ensure a smooth experience during token expiry, the Turbo SDK provides the `updateSessionToken` method. This method dynamically fetches and updates the session token without reinitialising the session.
This allows you to seamlessly refresh the session by retrieving a new token via a server-to-server (S2S) call.
Below is an example of using `updateSessionToken`.
* Handle the event using the code given below:
```java dart theme={null}
void _handleRefreshToken(dynamic response) async {
// API Call to generate token
razorpay.upiTurbo.updateSessionToken(token: โโ);
};
```
### 1.4. Handle UPI Account Linking and Payment Flow
You can link a customer's UPI account and initiate payments using the methods described below.
#### 1.4.1 Link Customer's UPI Account
To link a customer's UPI account with your app, use the following code sample. This will prompt the customer to add and link their UPI account.
```java dart theme={null}
razorpay.upiTurbo.linkNewUpiAccount(
customerMobile: mobileNumber,
color: "#ffffff",
onSuccess: (List upiAccounts) {
// Handle successful linking. upiAccounts may be empty if no accounts are linked yet.
},
onFailure: (Error error) {
// Handle error during linking.
}
);
```
> [accordion] Request Parameters
>
> `customerMobile` *mandatory*
> : `string` Mobile number of the customer.
>
> `color` *optional*
> : `string` Colour in HEX format.
> [accordion] Response Parameters
>
> | Parameters | Description |
> | - | - |
> | `onSuccess` | Triggered if the UPI accounts are fetched successfully. The `upiAccounts` list may be empty if no accounts are linked. |
> | `onFailure` | Triggered in case of an error. The error object will be received. |
#### 1.4.2 Initiate Payment Using Standard Checkout
To initiate a payment, call the Standard Checkoutโs `open` method with the required payload:
```java dart theme={null}
Map payload = {
'amount': 100, // Amount in the smallest currency unit (e.g., paise)
'currency': 'INR',
'prefill': {
'contact': 'YOUR_MOBILE_NUMBER',
'email': 'YOUR_EMAIL'
},
'theme': {'color': '#0CA72F'},
'key': 'YOUR_KEY_ID',
'image': 'https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg'
};
razorpay.open(payload);
```
> [accordion] Request Parameters
>
> `payload` *mandatory*
> : `Map` Payload for initiating the transaction.
#### 1.4.3 Handle Payment Events
Handle payment success and failure responses:
* **Handle Payment Failure:**
Log and display error details such as error code, description, and metadata.
```java dart theme={null}
void handlePaymentErrorResponse(PaymentFailureResponse response) {
/**
* PaymentFailureResponse contains:
* 1. Error Code
* 2. Error Description
* 3. Metadata
**/
print('Payment Error Response: $response');
}
```
* **Handle Payment Success:**
Log and display key information like order ID, payment ID, and signature.
```java dart theme={null}
void handlePaymentSuccessResponse(PaymentSuccessResponse response) {
/**
* PaymentSuccessResponse contains:
* 1. Order ID
* 2. Payment ID
* 3. Signature
**/
print('Payment Success Response: $response');
}
```
By following these steps, you can seamlessly link customer UPI accounts and handle payments using Razorpay Turbo UPI in your Flutter app.
### Non-Transactional Flow
Razorpay provides a single exposed function that allows you to manage linked UPI accounts and access all non-transactional flows seamlessly.

> [accordion] Manage UPI Accounts
>
> The SDK manages the linked `UpiAccounts` on the application by triggering `manageUpiAccounts()`. The sequence of steps is as given below:
>
> * **Fetch balance**: Check the customer's account balance.
> * **Change UPI PIN**: Provide the customer the ability to change their UPI PIN.
> * **Reset UPI PIN**: Let your customers reset the PIN for their account.
> * **Delete the account from the application**: Let your customers delink, that is, remove a selected UPI account from your application.
>
> ```java dart theme={null}
> razorpay.upiTurbo.manageUpiAccounts(
> customerMobile: "MOBILE_NUMBER",
> color: "#ffffff",
> onFailure:(Error error) {
>
> }
> );
> ```
>
> > [accordion] Request Parameters
> >
> > `customerMobile` *mandatory*
> > : `string` Mobile number of the customer.
> >
> > `color` *optional*
> > : `string` Colour in HEX format.
>
> > [accordion] Response Parameter
> >
> > | Parameters | Description |
> > | - | - |
> > | `onFailure` | This function is triggered in case of an error, and the error object will be received. |
### Models Exposed from the SDKs
The SDKs given below provide access to exposed models for seamless integration.
> [accordion] Error
>
> | Error | Description |
> | - | - |
> | `errorCode` | Types of error codes
`BAD_REQUEST_ERROR`: Failure from the client's end (SDK).
`GATEWAY_ERROR`: Failure either from the Secure Component or the Bank.
`SERVER_ERROR`: Failure at PSP.
|
> | `errorDescription` | Brief description of the error. |
> | `errorReason` | Specifies the specific reason for the error. |
> | `errorSource` | Indicates the origin of the error. |
> | `errorStep` | Highlights the stage where the error occurred. |
>
> [Refer to the list of possible error reasons](/docs/payments/payment-gateway/flutter-integration/standard/payment-methods/turbo-upi/error-codes).
> [accordion] UpiAccount
>
> | Fields | Return Type | Description |
> | - | - | - |
> | `accountNumber` | String | Masked account number. |
> | `ifsc` | String | IFSC of the bank. |
> | `bankLogoUrl` | String | Image URL of the bank logo. |
> | `bankName` | String | Name of the bank. |
> | `bankPlaceholderUrl` | String | Image URL of the bank logo placeholder. |
# Turbo UPI SDK - Error Codes
Source: https://razorpay.com/docs/payments/payment-gateway/flutter-integration/standard/payment-methods/turbo-upi/error-codes
List of error codes for Turbo UPI SDK.
Available in
๐ฎ๐ณ India
Given below is the list of error codes categorised by error reasons, with relevant descriptions, source and step.
### Bad Request Errors
Given below is the list of Bad Request errors.
> [accordion] bank\_not\_live\_on\_upi
>
> * **Description**: The selected bank is not enabled on UPI. Please try using another bank.
> * **Source**: gateway
> * **Step**: customer\_onboarding
> [accordion] account\_does\_not\_exist
>
> > [accordion] Payment Debit Request
> >
> > * **Description**: No accounts found for the selected bank. Please try using another bank.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Payment Credit Request
> >
> > * **Description**: Payment was unsuccessful as the receiver's bank account is not valid. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_credit\_request
> [accordion] transaction\_not\_allowed
>
> > [accordion] Payment Debit Request
> >
> > * **Description**: Transaction not permitted to the account as per your bank policy. Please contact your bank for more details or try with another bank account.
> > * **Source**: customer
> > * **Step**: payment\_debit\_request
>
> > [accordion] Payment Credit Request
> >
> > * **Description**: Payment not allowed as it got declined by the receiver's bank. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_credit\_request
> [accordion] upi\_pin\_registration\_card\_expired
>
> * **Description**: Card used while setting UPI PIN has expired. Please use another debit card or use another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_not\_found
>
> * **Description**: Card details used while setting UPI PIN are incorrect. Please re-check and try again.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_restricted
>
> * **Description**: Card used while setting UPI PIN has been blocked by your bank. Please reach out to your bank for more information or try using another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] bank\_technical\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: beneficiary\_bank
> * **Step**: payment\_status\_request
> [accordion] pin\_not\_set
>
> * **Description**: Payment was unsuccessful as you have not set the UPI PIN on the app. Try using another method.
> * **Source**: customer\_psp
> * **Step**: payment\_authentication
> [accordion] customer\_not\_registered
>
> * **Description**: No bank account is associated with this mobile number. Please try again by adding your account.
> * **Source**: gateway
> * **Step**: customer\_onboarding
> [accordion] server\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: gateway
> * **Step**: payment\_authentication
> [accordion] payment\_cancelled\_by\_user
>
> * **Description**: Flow was aborted as you pressed back from the PIN screen. Please try again.
> * **Source**: customer
> * **Step**: payment\_authorization
### Gateway Errors
Given below is the list of gateway errors.
> [accordion] incorrect\_otp
>
> * **Description**: You have entered an incorrect OTP. Try again.
> * **Source**: customer
> * **Step**: customer\_onboarding
> [accordion] otp\_expired
>
> * **Description**: You have entered an expired OTP. Please regenerate OTP and try again.
> * **Source**: customer
> * **Step**: customer\_onboarding
> [accordion] insufficient\_funds
>
> * **Description**: Payment was unsuccessful due to insufficient funds. Kindly check your balance and try again.
> * **Source**: customer
> * **Step**: payment\_debit\_request
> [accordion] insufficient\_funds\_mandate\_block
>
> * **Description**: Payment was unsuccessful as the amount in your account is blocked for another payment. Try using another account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] otp\_attempts\_exceeded
>
> * **Description**: You have entered an incorrect OTP too many times. Try again in some time.
> * **Source**: customer\_psp
> * **Step**: customer\_onboarding
> [accordion] account\_dormant
>
> * **Description**: Payment was unsuccessful as the receiver's bank account is inactive. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: beneficiary\_bank
> * **Step**: payment\_credit\_request
> [accordion] bank\_not\_live\_on\_upi
>
> * **Description**: Selected bank is not available on UPI. Please try using another bank.
> * **Source**: issuer\_bank
> * **Step**: customer\_onboarding
> [accordion] payment\_timed\_out
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_response
>
> > [accordion] UPI ID Not Reachable
> >
> > * **Description**: Payment was unsuccessful as the bank linked to this UPI ID is not reachable at this time.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
> [accordion] first\_transaction\_limit\_exceeded
>
> * **Description**: Payment was unsuccessful as you exceeded the first-time transaction limit set by your bank. You can use another bank account or retry after 24 hours.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] transaction\_limit\_exceeded
>
> > [accordion] Limit Set By Bank Exceeded
> >
> > * **Description**: Payment was unsuccessful as you exceeded the transaction limit set by your bank. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
>
> > [accordion] Daily Amount Limit Exceeded
> >
> > * **Description**: Payment was unsuccessful as you exceeded the amount limit for the day with this bank account. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
> [accordion] first\_time\_transaction\_freeze\_period
>
> * **Description**: Payment was unsuccessful due to the cooling period set by your bank for first-time user. Please try again after some time.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] transaction\_frequency\_limit\_exceeded
>
> * **Description**: Payment was unsuccessful as the number of transactions exceeds the max limit set by the bank. You can use another bank account or retry after some time.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] bank\_account\_inactive
>
> > [accordion] Issuer Bank Account Inactive
> >
> > * **Description**: Payment was unsuccessful as your account is not active. Please try using another bank account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Receiver Bank Account Inactive
> >
> > * **Description**: Payment was unsuccessful as the receiver's bank account is not active. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_debit\_request
> [accordion] server\_error
>
> > [accordion] Temporary Issue - Issuer Bank
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_request
>
> > [accordion] Temporary Issue - Beneficiary Bank
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_request
> [accordion] invalid\_ifsc
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> * **Source**: gateway
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_blocked
>
> * **Description**: Card used while setting UPI PIN has been blocked by your bank. Please reach out to your bank for more information or try using another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] bank\_technical\_error
>
> > [accordion] UPI ID Temporarily Unavailable
> >
> > * **Description**: Payment was unsuccessful as the bank linked to this UPI ID is temporarily unavailable. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_credit\_response
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_credit\_response
> [accordion] payment\_declined
>
> > [accordion] Declined by Bank
> >
> > * **Description**: Payment was unsuccessful as it was declined by your bank. Reach out to your bank for more details. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_debit\_request
> [accordion] pin\_attempts\_exceeded
>
> * **Description**: You have exceeded the incorrect UPI PIN attempts. You can use another bank account or retry after 24 hours.
> * **Source**: customer
> * **Step**: payment\_authentication
> [accordion] incorrect\_pin
>
> * **Description**: You have entered incorrect UPI PIN. Please try again with the correct UPI PIN.
> * **Source**: customer
> * **Step**: payment\_authentication
> [accordion] linked\_account\_removal\_failed
>
> * **Description**: Unable to remove the account. Please try again.
> * **Source**: customer\_psp
> * **Step**: account\_management
> [accordion] sms\_text\_not\_received
>
> * **Description**: Something went wrong while sending SMS. Please try again.
> * **Source**: gateway
> * **Step**: customer\_onboarding
### Server Errors
Given below is the list of server errors.
> [accordion] server\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: issuer\_bank
> * **Step**: customer\_onboarding
> [accordion] server\_error
>
> * **Description**: We are facing some trouble completing your request at the moment. Please try again shortly.
> * **Source**: internal
> * **Step**: payment\_authorization
# Troubleshooting and FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/flutter-integration/standard/troubleshooting-faqs
Troubleshoot common error scenarios and find answers to frequently asked questions about Standard Flutter integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [accordion] What is order id and how to generate it?
>
> Order creation is the primary step of the Razorpay payment flow. When customer clicks the pay button on your app, an Order is created and a corresponding order\_id is generated in the response. This order\_id must be passed to the Razorpay Checkout options added in your Flutter app. Know more about [Orders](/docs/api/orders).
> [accordion] What is the process for raising a request for a new feature?
>
> To raise a request for a new feature, go to **New Issue** โ **Feature Request** on our [GitHub repository](https://github.com/razorpay/razorpay-cordova/issues/new/choose).
> [accordion] How can I update the existing 'razorpay-pod'?
>
> * Go to **iOS** folder in your project and run **'pod update'** to update all the pods.
> * If you do not want to update all pods, run **'pod update razorpay-pod'**.
> [accordion] I have integrated with the Payment Gateway to accept payments on my mobile app. However, when I try to publish my app on the Apple App Store, it is getting rejected. The following message is displayed, "We noticed that your app offers a subscription with a mechanism other than the in-app purchase API." How to resolve this?
>
> * **Cause**: As per Apple's policy, if you use a subscription model in your iOS app, you must use Apple's in-app purchase APIs. Apple does not redirect out of the app for digital product purchases.
>
> * **Resolution**: Use Apple's in-app purchase APIs.
> [accordion] In the new M1 MacBook, why am I not able to compile the Flutter Razorpay plugin for release mode?
>
> This issue is caused by the new changes introduced in Xcode 12.
>
> To resolve this:
>
> 1. Use [Rosetta 2](https://support.apple.com/en-us/HT211861) for launching the app on your Mac.
> 2. Add the following lines to Podfile within `post_install do |installer|`.
>
> ```javascript podfile theme={null}
> installer.pods_project.build_configurations.each do |config|
> config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
> end
> ```
>
> Know more about [compilation errors](https://khushwanttanwar.medium.com/xcode-12-compilation-errors-while-running-with-ios-14-simulators-5731c91326e9).
> [accordion] How can I check the Razorpay Flutter Standard SDK version?
>
> To check the SDK version:
>
> 1. Open your Flutter project in your preferred code editor.
> 2. Open the `pubspec.yaml` file in the root directory of your project.
> 3. In the `dependencies` section, look for the Razorpay entry. The version number is specified next to the package name in the format `x.y.z`.
> [accordion] How can I update the Razorpay Flutter Standard SDK version?
>
> To update the SDK version, follow these steps:
>
> 1. Open the terminal or command prompt and navigate to your project directory where the `package.json` file resides.
> 2. Use the following command to update the dependencies listed in your pubspec.yaml file to their latest compatible versions.
>
> ```java Update SDK theme={null}
> dart pub upgrade
> ```
>
> 3. If you are using a Flutter iOS application, run `cd ios && pod repo update && pod update` to ensure the internal iOS dependencies are updated to the versions set by the Razorpay package. This is because cocoapods may not automatically update the internal trunk spec to fetch the latest versions.
> 4. After running the update command, review the updates fetched by npm to ensure they do not introduce any breaking changes.
> 5. Conduct thorough testing to ensure that the updated packages do not adversely affect the application functionality and commit the changes.
# iOS Standard Checkout Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/ios-integration/standard
Check the prerequisites before you integrate with Razorpay iOS Standard Checkout.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [card] [iOS Standard SDK Changelog](/docs/payments/changelog#mobile-sdks)
>
> Discover new features, updates and deprecations related to the Razorpay iOS Standard SDK (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/ios-integration/standard/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about iOS Standard integration.
Integrate the Razorpay Payment Gateway with your iOS app and start accepting payments from your customers.
> [!WARNING]
>
> **Watch Out!**
>
> You cannot use an external payment gateway to accept payments by selling digital products or content. You must use Appleโs In-App Purchase to avoid app rejection. Know more about the [list of restricted payment modes](/docs/payments/payment-gateway/ios-integration/standard/troubleshooting-faqs#list-of-restricted-payment-modes).
> [!TIP]
>
> **Update SDK**
>
> Check your [current SDK version](/docs/payments/payment-gateway/ios-integration/standard/troubleshooting-faqs#how-can-i-check-the-razorpay-ios-standard-sdk-version). If it is outdated, please [update the SDK](/docs/payments/payment-gateway/ios-integration/standard/troubleshooting-faqs#how-can-i-update-the-razorpay-ios-standard-sdk-version) to ensure uninterrupted settlements of your funds.
## Integration Steps
**Before you proceed:**
Create a [Razorpay account](https://dashboard.razorpay.com/signup).
Generate the [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
Know about the [Payment Flow](/docs/payments/payment-gateway/how-it-works).
Follow these integration steps:
> [card] [1. Build Integration](/docs/payments/payment-gateway/ios-integration/standard/integration-steps#1-build-integration)
>
> Integrate iOS Standard SDK.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ios-integration/standard/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/ios-integration/standard/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
> [card] [Sample App](https://github.com/razorpay/razorpay-ios-sample-app)
>
> Check the sample app to integrate on GitHub.
### Related Information
[Troubleshooting and FAQs](/docs/payments/payment-gateway/ios-integration/standard/troubleshooting-faqs)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/ios-integration/standard/integration-steps
Steps to integrate your iOS application with Razorpay iOS Standard SDK.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
Follow these steps to integrate your iOS application:
> [card] [1. Build Integration](/docs/payments/payment-gateway/ios-integration/standard/integration-steps#1-build-integration)
>
> Integrate iOS Standard Checkout.
> [card] [2. Test Integration](/docs/payments/payment-gateway/ios-integration/standard/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/ios-integration/standard/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
[How to Integrate Razorpay Payment Gateway on iOS Apps](https://www.youtube.com/embed/5HTQX-AokIk)
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Import Razorpay iOS Standard SDK Library
>
> You can import the Razorpay iOS Standard SDK library using any of these ways:
>
> > [tab] Cocoapod
> >
> > Refer to our [Cocoapod](https://cocoapods.org/pods/razorpay-pod) (bitcode enabled) pod.
>
> > [tab] Manual
> >
> > 1. Download the SDK and unzip it.
> > 2. Open your project in XCode and go to **file** under **Menu**. Select **Add files to "yourproject"**.
> > 3. Select **Razorpay.xcframework** in the directory you just unzipped.
> > 4. Select the **Copy items if needed** checkbox.
> > 5. Click **Add**.
> > 6. Navigate to **Target settings โ General** and add the **Razorpay.xcframework** in both **Embedded Binaries** and **Linked Frameworks and Libraries**.
>
> > [tab] Objective-C
> >
> > If you are building an **Objective-C** project, follow the steps given for Swift and the additional steps given below:
> >
> > 1. Go to **Project Settings** and select **Build Settings - All and Combined**.
> > 2. Set the **Always Embed Swift Standard Libraries** option to **TRUE**.
> >
> > Ensure that you have the framework added in both **Embedded Binaries** and **Linked Frameworks and Libraries** under **Target settings - General**.
>
> > [accordion] Xcode 11
> >
> > Ensure that you have the framework added in **Frameworks, Libraries, and Embed Content** under **Target settings - General**. Change `Embed status` from - `Do not Embed` to `Embed & Sign`. \\
> >
> > Watch the GIF to see how to add Frameworks, Libraries and Embed Content.
> >
> > 
> [accordion] 2 Initialize Razorpay iOS Standard SDK
>
> To initialize Razorpay iOS Standard SDK, you need the following:
>
> * API keys. You can generate this from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > API keys should not be hardcoded in the app. Must be sent from your backend as app-related metadata fetch.
>
> * A delegate that implements `RazorpayPaymentCompletionProtocol` or `RazorpayPaymentCompletionProtocolWithData`.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > * For Swift version 5.1+, ensure that you declare `var razorpay: RazorpayCheckout!`.
> >
> > * For versions lower than 5.1, use `var razorpay: Razorpay!`.
> >
> > * Alternatively, you can use the following alias and retain the variable as Razorpay. \\
> >
> > `typealias Razorpay = RazorpayCheckout`
>
> ```swift ViewController.swift theme={null}
> import Razorpay
>
> class ViewController: UIViewController, RazorpayPaymentCompletionProtocol {
>
> // typealias Razorpay = RazorpayCheckout
>
> var razorpay: RazorpayCheckout!
> override func viewDidLoad() {
> super.viewDidLoad()
> razorpay = RazorpayCheckout.initWithKey(razorpayTestKey, andDelegate: self)
> }
> override func viewWillAppear(_ animated: Bool) {
> super.viewWillAppear(animated)
> self.showPaymentForm()
> }
> }
> ```
>
> ```objectivec ViewController.m theme={null}
> #import
> //- typedef RazorpayCheckout Razorpay;
>
> @interface ViewController () {
> RazorpayCheckout *razorpay;
> .
> .
> - (void)viewDidLoad {
> [super viewDidLoad];
> .
> .
> razorpay = [RazorpayCheckout initWithKey:@"YOUR_PUBLIC_KEY" andDelegate:self];
> }
> }
> ```
> [accordion] 3 Create an Order in Server
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order using:
>
> > [tab] API Sample Code
> >
> > Use this endpoint to create an order using the Orders API.
> >
> > `POST /orders`
> >
> > ```bash Curl theme={null}
> > curl -X POST https://api.razorpay.com/v1/orders
> > -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> > -H 'content-type:application/json'
> > -d '{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "qwsaq1",
> > "partial_payment": true,
> > "first_payment_min_amount": 230
> > }'
> > ```
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > JSONObject orderRequest = new JSONObject();
> > orderRequest.put("amount", 50000); // amount in the smallest currency unit
> > orderRequest.put("currency", "INR");
> > orderRequest.put("receipt", "order_rcptid_11");
> >
> > Order order = razorpay.Orders.create(orderRequest);
> > } catch (RazorpayException e) {
> > // Handle Exception
> > System.out.println(e.getMessage());
> > }
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > DATA = {
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "receipt#1",
> > "notes": {
> > "key1": "value3",
> > "key2": "value2"
> > }
> > }
> > client.order.create(data=DATA)
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->order->create(array('receipt' => '123', 'amount' => 50000, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> > ```
> >
> > ```csharp .NET theme={null}
> > RazorpayClient client = new RazorpayClient(your_key_id, your_secret);
> >
> > Dictionary options = new Dictionary();
> > options.Add("amount", 50000); // amount in the smallest currency unit
> > options.add("receipt", "order_rcptid_11");
> > options.add("currency", "INR");
> > Order order = client.Order.Create(options);
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > options = amount: 50000, currency: 'INR', receipt: ''
> > order = Razorpay::Order.create
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > instance.orders.create({
> > amount: 50000,
> > currency: "INR",
> > receipt: "receipt#1",
> > notes: {
> > key1: "value3",
> > key2: "value2"
> > }
> > })
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > data := map[string]interface{}{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "some_receipt_id"
> > }
> > body, err := client.Order.Create(data)
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id": "order_IluGWxBm9U8zJ8",
> > "entity": "order",
> > "amount": 50000,
> > "amount_paid": 0,
> > "amount_due": 50000,
> > "currency": "INR",
> > "receipt": "rcptid_11",
> > "offer_id": null,
> > "status": "created",
> > "attempts": 0,
> > "notes": [],
> > "created_at": 1642662092
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Order amount less than minimum amount allowed",
> > "source": "business",
> > "step": "payment_initiation",
> > "reason": "input_validation_failed",
> > "metadata": {},
> > "field": "amount"
> > }
> > }
> > ```
>
> > [tab] Razorpay Postman Public Workspace
> >
> > You can use the Postman workspace below to create an order:
> >
> > [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
> >
> > You can create an order manually by integrating the API sample codes on your server.
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount, expressed in the currency subunit. For example, for an actual amount of , the value of this field should be `22225`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be of 3 characters.
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7,000 is to be received from the customer in two installments of #1 - โน5,000, #2 - โน2,000, then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] 4 Pass Payment Options and Display Checkout Form
>
> Call `RazorpayCheckout.checkIntegration(withMerchantKey: )` to check the health of integration. This will also let you know if the SDK version is outdated. The opinionated alerting is displayed only when it is running on simulators. Add the following code to your `ViewController` or wherever you want to initialize payments:
>
> ```swift ViewController.swift theme={null}
> internal func showPaymentForm(){
> let options: [String:Any] = [
> "key": "YOUR_KEY_ID",
> "amount": "100", // This is in currency subunits.
> "currency": "INR",// We support more that 92 international currencies.
> "description": "purchase description",
> "order_id": "order_DBJOWzybf0sJbb",
> "image": "https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> "name": "business or product name",
> "prefill": [
> "contact": "",
> "email": ""
> ],
> "theme": [
> "color": "#F37254"
> ]
> ]
> razorpay.open(options)
> }
> ```
>
> ```objectivec ViewController.m theme={null}
> - (void)showPaymentForm { // called by your app
> NSDictionary *options = @{
> @"key": @"YOUR_KEY_ID",
> @"amount": @"1000", // This is in currency subunits.
> // all optional other than amount.
> @"currency": @"INR", // We support more that 92 international currencies.
> @"image": @"https://url-to-image.jpg",
> @"name": @"business or product name",
> @"description": @"purchase description",
> @"order_id": @"order_4xbQrmEoA5WJ0G",
> @"prefill" : @{
> @"email": @"",
> @"contact": @""
> },
> @"theme": @{
> @"color": @"#F37254"
> }
> };
> [razorpay open:options];
> }
> ```
>
> > [!NOTE]
> >
> > **Optional Parameter - displayController**
> >
> > When the optional parameter- displayController, is specified, the Razorpay controller is pushed onto this controller's navigation controller if present or presented on this controller if absent.
> >
> > ```
> > razorpay.open(options, displayController: self)
> > ```
>
> > [accordion] Checkout Options
> >
> > You must pass these parameters in Checkout to initiate the payment.
> >
> > `key` *mandatory*
> > : `string` API Key ID generated from the Dashboard.
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is , enter `222250` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the payment should be made by the customer. See the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY, and three decimal currencies, such as KWD, BHD, and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `name` *mandatory*
> > : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
> >
> > `description` *optional*
> > : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
> >
> > `image` *optional*
> > : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
> >
> > `order_id` *mandatory*
> > : `string` Order ID generated via [Orders API](/docs/api/orders).
> >
> > `prefill`
> > : `object` You can prefill the following details at Checkout.
> >
> > > [!NOTE]
> > >
> > > **Boost Conversions and Minimise Drop-offs**
> > >
> > > * Autofill customer contact details, especially phone number to ease form completion. Include customerโs phone number in the `contact` parameter of the JSON request's `prefill` object. Format: +(country code)(phone number). Example: "contact": "+919000090000".
> > > * This is not applicable if you do not collect customer contact details on your website before checkout, have Shopify stores or use any of the no-code apps.
> >
> > `name` *optional*
> > : `string` Cardholder's name to be prefilled if customer is to make card payments on Checkout. For example, **Gaurav Kumar**.
> >
> > `email` *optional*
> > : `string` Email address of the customer.
> >
> > `contact` *optional*
> > : `string` Phone number of the customer. The expected format of the phone number is `+ {country code}{phone number}`. If the country code is not specified, `91` will be used as the default value. This is particularly important while prefilling `contact` of customers with phone numbers issued outside India. **Examples**:
> >
> > * +14155552671 (a valid non-Indian number)
> > * +919977665544 (a valid Indian number). \
> > If 9977665544 is entered, `+91` is added to it as +919977665544.
> >
> > `method` *optional*
> > : `string` Pre-selection of the payment method for the customer. Will only work if `contact` and `email` are also prefilled. Possible values:
> >
> >
> >
`card`
> >
`netbanking`
> >
`wallet`
> >
`upi`
> >
`emi`
> >
> >
> > `notes` *optional*
> > : `object` Set of key-value pairs that can be used to store additional information about the payment. It can hold a maximum of 15 key-value pairs, each 256 characters long (maximum).
> >
> > `theme`
> > : `object` Thematic options to modify the appearance of Checkout.
> >
> > `color` *optional*
> > : `string` Enter your brand colour's HEX code to alter the text, payment method icons and CTA (call-to-action) button colour of the Checkout form.
> >
> > `backdrop_color` *optional*
> > : `string` Enter a HEX code to change the Checkout's backdrop colour.
> >
> > `modal`
> > : `object` Options to handle the Checkout modal.
> >
> > `backdropclose` *optional*
> > : `boolean` Indicates whether clicking the translucent blank space outside the Checkout form should close the form. Possible values:
> >
> > * `true`: Closes the form when your customer clicks outside the checkout form.
> > * `false` (default): Does not close the form when customer clicks outside the checkout form.
> >
> > `escape` *optional*
> > : `boolean` Indicates whether pressing the **escape** key should close the Checkout form. Possible values:
> >
> > * `true` (default): Closes the form when the customer presses the **escape** key.
> > * `false`: Does not close the form when the customer presses the **escape** key.
> >
> > `handleback` *optional*
> > : `boolean` Determines whether Checkout must behave similar to the browser when back button is pressed. Possible values:
> >
> > * `true` (default): Checkout behaves similarly to the browser. That is, when the browser's back button is pressed, the Checkout also simulates a back press. This happens as long as the Checkout modal is open.
> > * `false`: Checkout does not simulate a back press when browser's back button is pressed.
> >
> > `confirm_close` *optional*
> > : `boolean` Determines whether a confirmation dialog box should be shown if customers attempts to close Checkout. Possible values:
> >
> > * `true`: Confirmation dialog box is shown.
> > * `false` (default): Confirmation dialog box is not shown.
> >
> > `ondismiss` *optional*
> > : `function` Used to track the status of Checkout. You can pass a modal object with `ondismiss: function()\{\}` as options. This function is called when the modal is closed by the user. If `retry` is `false`, the `ondismiss` function is triggered when checkout closes, even after a failure.
> >
> > `animation` *optional*
> > : `boolean` Shows an animation before loading of Checkout. Possible values:
> >
> > * `true`(default): Animation appears.
> > * `false`: Animation does not appear.
> >
> > `subscription_id` *optional*
> > : `string` If you are accepting recurring payments using Razorpay Checkout, you should pass the relevant `subscription_id` to the Checkout. Know more about [Subscriptions on Checkout](/docs/api/payments/subscriptions-custom#checkout-integration).
> >
> > `subscription_card_change` *optional*
> > : `boolean` Permit or restrict customer from changing the card linked to the subscription. You can also do this from the [hosted page](/docs/payments/subscriptions/payment-retries#update-payment-method-on-our-hosted-page). Possible values:
> >
> > * `true`: Allow the customer to change the card from Checkout.
> > * `false` (default): Do not allow the customer to change the card from Checkout.
> >
> > `recurring` *optional*
> > : `boolean` Determines if you are accepting [recurring (charge-at-will) payments on Checkout](/docs/api/payments/recurring-payments) via instruments such as emandate, paper NACH and so on. Possible values:
> >
> > * `true`: You are accepting recurring payments.
> > * `false` (default): You are not accepting recurring payments.
> >
> > `callback_url` *optional*
> > : `string` Customers will be redirected to this URL on successful payment. Ensure that the domain of the Callback URL is allowlisted.
> >
> > `redirect` *optional*
> > : `boolean` Determines whether to post a response to the event handler post payment completion or redirect to Callback URL. `callback_url` must be passed while using this parameter. Possible values:
> >
> > * `true`: Customer is redirected to the specified callback URL in case of payment failure.
> > * `false` (default): Customer is shown the Checkout popup to retry the payment with the suggested next best option.
> >
> > `customer_id` *optional*
> > : `string` Unique identifier of customer. Used for:
> >
> > * [Local saved cards feature](/docs/payments/payment-methods/cards/features/saved-cards#manage-saved-cards).
> > * Static bank account details on Checkout in case of [Bank Transfer payment method](/docs/payments/payment-methods/bank-transfer).
> >
> > `remember_customer` *optional*
> > : `boolean` Determines whether to allow saving of cards. Can also be configured via the [Dashboard](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout). Possible values:
> >
> > * `true`: Enables card saving feature.
> > * `false` (default): Disables card saving feature.
> >
> > `timeout` *optional*
> > : `integer` Sets a timeout on Checkout, in seconds. After the specified time limit, the customer will not be able to use Checkout.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Some browsers may pause `JavaScript` timers when the user switches tabs, especially in power saver mode. This can cause the checkout session to stay active beyond the set timeout duration.
> >
> > `readonly`
> > : `object` Marks fields as read-only.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `name` *optional*
> > : `boolean` Used to set the `name` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `hidden`
> > : `object` Hides the contact details.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `send_sms_hash` *optional*
> > : `boolean` Used to auto-read OTP for cards and netbanking pages. Applicable from Android SDK version 1.5.9 and above. Possible values:
> >
> > * `true`: OTP is auto-read.
> > * `false` (default): OTP is not auto-read.
> >
> > `allow_rotation` *optional*
> > : `boolean` Used to rotate payment page as per screen orientation. Applicable from Android SDK version 1.6.4 and above. Possible values:
> >
> > * `true`: Payment page can be rotated.
> > * `false` (default): Payment page cannot be rotated.
> >
> > `retry` *optional*
> > : `object` Parameters that enable retry of payment on the checkout.
> >
> > `enabled`
> > : `boolean` Determines whether the customers can retry payments on the checkout. Possible values:
> >
> > * `true` (default): Enables customers to retry payments.
> > * `false`: Disables customers from retrying the payment.
> >
> > `max_count`
> > : `integer` The number of times the customer can retry the payment. We recommend you to set this to 4. Having a larger number here can cause loops to occur.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Web Integration does not support the `max_count` parameter. It is applicable only in Android and iOS SDKs.
> >
> > `config` *optional*
> > : `object` Parameters that enable checkout configuration. Know more about how to [configure payment methods on Razorpay standard checkout](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
> >
> > `display`
> > : `object` Child parameter that enables configuration of checkout display language.
> >
> > `language`
> > : `string` The language in which checkout should be displayed. Possible values:
> >
> > * `en`: English
> >
> > * `ben`: Bengali
> >
> > * `hi`: Hindi
> >
> > * `mar`: Marathi
> >
> > * `guj`: Gujarati
> >
> > * `tam`: Tamil
> >
> > * `tel`: Telugu
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > To support theme colour in the progress bar, please pass HEX colour values only.
>
> > [accordion] 4.1 Enable UPI Intent on iOS *(Optional)*
> >
> > Provide your customers with a better payment experience by enabling UPI Intent on your app's Checkout form. In the UPI Intent flow:
> >
> > 1. Customer selects UPI as the payment method in your iOS app. A list of UPI apps supporting the intent flow is displayed. For example, PhonePe, Google Pay and Paytm.
> > 2. Customer selects the preferred app. The UPI app opens with pre-populated payment details.
> > 3. Customer enters their UPI PIN to complete their transactions.
> > 4. Once the payment is successful, the customer is redirected to your app or website.
> >
> > To enable this in your iOS integration, you must make the following changes in your app's info.plist file.
> >
> > ```xml info.plist theme={null}
> > LSApplicationQueriesSchemes
> >
> > tez
> > phonepe
> > paytmmp
> > credpay
> > mobikwik
> > in.fampay.app
> > bhim
> > amazonpay
> > navi
> > kiwi
> > payzapp
> > jupiter
> > omnicard
> > icici
> > popclubapp
> > sbiyono
> > myjio
> > slice-upi
> > bobupi
> > shriramone
> > indusmobile
> > kotakbank
> > snapmint
> > freecharge
> > navipay
> > whatsapp-consumer
> > postpe
> > super
> > lxme
> > scapia
> > curieapp
> >
> > ```
> >
> > Know more about [UPI Intent and its benefits](/docs/payments/payment-methods/upi/upi-intent).
> >
> > ### UPI Intent on Recurring Payments
> >
> > Configure and initiate a recurring payment transaction on UPI Intent:
> >
> > ```swift ViewController.swift theme={null}
> > let options: [String:Any] = [
> > "key": "YOUR_KEY_ID",
> > "order_id": "order_DBJOWzybfXXXX",
> > "customer_id": "cust_BtQNqzmBlXXXX",
> > "prefill": [
> > "contact": "+919000090000",
> > "email": "gaurav.kumar@example.com"
> > ],
> > "image": "https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> > "amount": 10000, // Amount should match the order amount
> > "currency": "INR",
> > "recurring": 1 // This key value pair is mandatory for Intent Recurring Payment.
> > ]
> > ```
> >
> > ```objectivec ViewController.m theme={null}
> > NSDictionary *options = @{
> > @"key": @"YOUR_KEY_ID",
> > @"order_id": @"order_DBJOWzybfXXXX",
> > @"customer_id": @"cust_BtQNqzmBlXXXX",
> > @"prefill": @{
> > @"contact": @"+919000090000",
> > @"email": @"gaurav.kumar@example.com"
> > },
> > @"image": @"https://cdn.razorpay.com/logos/F9Yhfb7ZXjXmIQ_medium.jpg",
> > @"amount": @(10000), // Amount should match the order amount
> > @"currency": @"INR",
> > @"recurring": @(1) // This key value pair is mandatory for Intent Recurring Payment.
> > };
> > ```
> [accordion] 5 Handle Success and Errors Events
>
> After completing payment, you can handle success or error events by implementing `onPaymentSuccess` and `onPaymentError` methods of the `RazorpayPaymentCompletionProtocol`.
>
> Alternatively, you can implement `onPaymentSuccess` and `onPaymentError` methods of `RazorpayPaymentCompletionProtocolWithData`.
>
> > [tab] RazorpayPaymentCompletionProtocol
> >
> > ```swift ViewController.swift theme={null}
> > extension CheckoutViewController : RazorpayPaymentCompletionProtocol {
> >
> > func onPaymentError(_ code: Int32, description str: String) {
> > print("error: ", code, str)
> > self.presentAlert(withTitle: "Alert", message: str)
> > }
> >
> > func onPaymentSuccess(_ payment_id: String) {
> > print("success: ", payment_id)
> > self.presentAlert(withTitle: "Success", message: "Payment Succeeded")
> > }
> > }
> > ```
> >
> > ```objectivec ViewController.m theme={null}
> > - (void)onPaymentSuccess:(NSString *)payment_id {
> > [self showAlertWithTitle:SUCCESS_TITLE
> > andMessage:[NSString
> > stringWithFormat:SUCCESS_MESSAGE, payment_id]];
> > }
> >
> > - (void)onPaymentError:(int)code description:(NSString *)str {
> > [self showAlertWithTitle:FAILURE_TITLE
> > andMessage:[NSString
> > stringWithFormat:FAILURE_MESSAGE, code, str]];
> > }
> > ```
>
> > [tab] RazorpayPaymentCompletionProtocolWithData
> >
> > ```swift ViewController.swift theme={null}
> > extension CheckoutViewController: RazorpayPaymentCompletionProtocolWithData {
> >
> > func onPaymentError(_ code: Int32, description str: String, andData response: [AnyHashable : Any]?) {
> > print("error: ", code)
> > self.presentAlert(withTitle: "Alert", message: str)
> > }
> >
> > func onPaymentSuccess(_ payment_id: String, andData response: [AnyHashable : Any]?) {
> > print("success: ", payment_id)
> > self.presentAlert(withTitle: "Success", message: "Payment Succeeded")
> > }
> > }
> > ```
> >
> > ```objectivec ViewController.m theme={null}
> > - (void)onPaymentError:(int32_t)code description:(NSString * _Nonnull)str andData:(NSDictionary * _Nullable)response {
> > NSLog(@"%@ %@",str, response);
> > }
> > - (void)onPaymentSuccess:(NSString * _Nonnull)payment_id andData:(NSDictionary * _Nullable)response {
> > NSLog(@"%@ %@",payment_id, response);
> > }
> > ```
> >
> > After completing the payment, add necessary actions based on success or error events.
>
> > [accordion] Failure Codes
> >
> > * 0: Network error
> > * 1: Initialization failure / Unexpected behaviour
> > * 2: Payment cancelled by the user
> >
> > Success handler receives `payment_id` that you can use later for capturing the payment.
> [accordion] 6 Store the Fields in Database
>
> A successful payment returns the following fields to the Checkout form.
>
> > [accordion] Success Callback
> >
> > * You need to store these fields in your server.
> > * You can confirm the authenticity of these details by verifying the signature in the next step.
> >
> > ```json Success Callback theme={null}
> > {
> > "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> > "razorpay_order_id": "order_9A33XWu170gUtm",
> > "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> > }
> > ```
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] 7 Verify Payment Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> > [accordion] To verify the `razorpay_signature` returned to you by the Checkout form:
> >
> > 1. Create a signature in your server using the following attributes:
> > * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> > * `razorpay_payment_id`: Returned by Checkout.
> > * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
> > 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
> >
> > ```html HMAC Hex Digest theme={null}
> > generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
> >
> > if (generated_signature == razorpay_signature) {
> > payment is successful
> > }
> > ```
> >
> > 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
>
> > [accordion] Generate Signature on Your Server
> >
> > Given below is the sample code for payment signature verification:
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > String secret = "EnLs21M47BllR3X8PSFtjtbd";
> >
> > JSONObject options = new JSONObject();
> > options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > boolean status = Utils.verifyPaymentSignature(options, secret);
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->utility->verifyPaymentSignature(array('razorpay_order_id' => $razorpayOrderId, 'razorpay_payment_id' => $razorpayPaymentId, 'razorpay_signature' => $razorpaySignature));
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > payment_response = {
> > razorpay_order_id: 'order_IEIaMR65cu6nz3',
> > razorpay_payment_id: 'pay_IH4NVgf4Dreq1l',
> > razorpay_signature: '0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f'
> > }
> > Razorpay::Utility.verify_payment_signature(payment_response)
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > client.utility.verify_payment_signature({
> > 'razorpay_order_id': razorpay_order_id,
> > 'razorpay_payment_id': razorpay_payment_id,
> > 'razorpay_signature': razorpay_signature
> > })
> > ```
> >
> > ```c .NET theme={null}
> > RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > Dictionary options = new Dictionary();
> > options.Add("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.Add("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.Add("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > Utils.verifyPaymentSignature(options);
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > var { validatePaymentVerification, validateWebhookSignature } = require('./dist/utils/razorpay-utils');
> > validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > params := map[string]interface{}{
> > "razorpay_order_id": "order_IEIaMR65cu6nz3",
> > "razorpay_payment_id": "pay_IH4NVgf4Dreq1l",
> > }
> >
> > signature := "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f";
> > secret := "EnLs21M47BllR3X8PSFtjtbd";
> > utils.VerifyPaymentSignature(params, signature, secret)
> > ```
>
> > [accordion] Post Signature Verification
> >
> > After you have completed the integration, you can [set up webhooks](/docs/webhooks/setup-edit-payments), make test payments, replace the test key with the live key and integrate with other [APIs](/docs/api).
> [accordion] 8 Verify Payment Status
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > On the Razorpay Dashboard, ensure that the payment status is `captured`. Refer to the payment capture settings page to know how to [capture payments automatically](/docs/payments/payments/capture-settings).
>
> > [accordion] You can track the payment status in three ways:
> >
> > > [tab] Verify Status from Dashboard
> > >
> > > To verify the payment status from the Razorpay Dashboard:
> > >
> > > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > > 2. Check if a **Payment Id** has been generated and note the status. In case of a successful payment, the status is marked as **Captured**.
> > >
> > > 
> >
> > > [tab] Subscribe to Webhook Events
> > >
> > > You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to [set up webhooks.](/docs/webhooks/setup-edit-payments)
> > >
> > > #### Example
> > >
> > > If you have subscribed to the `order.paid` webhook event, you will receive a notification every time a customer pays you for an order.
> >
> > > [tab] Poll APIs
> > >
> > > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 2. Test Integration
After the integration is complete, a **Pay** button appears on your webpage/app.

Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
| Payment Method | Code | Availability |
| - | - | - |
| [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
| [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
| [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
| [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
| EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
| [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
| [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
You can make test payments using one of the payment methods configured at the Checkout.
> [accordion] Netbanking
>
> You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
>
> Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
> [accordion] UPI
>
> You can enter one of the following UPI IDs:
>
> * `success@razorpay`: To make the payment successful.
> * `failure@razorpay`: To fail the payment.
>
> Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
> [accordion] Cards
>
> You can use the following test cards to test transactions for your integration in Test Mode.
>
> ### Domestic Cards
>
> Use the following test cards for Indian payments:
>
> | Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> | Mastercard | 5500 6700 0000 1002 | |
> | RuPay | 6527 6589 0000 1005 | |
> | Diners | 3608 280009 1007 | |
> | Amex | 3402 560004 01007 | |
>
> #### Error Scenarios
>
> Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> Check the following lists:
>
> * [Supported Card Networks](/docs/payments/payment-methods/cards).
> * [Cards Error Codes](/docs/errors/payments/cards).
>
> ### International Cards
>
> Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
>
> | Card Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> | Visa | 4012 8888 8888 1881 | |
>
> Check the list of [supported card networks](/docs/payments/payment-methods/cards).
> [accordion] Wallet
>
> You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
>
> Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
## 3. Go-live Checklist
Check the go-live checklist for Razorpay iOS integration. Consider these steps before taking the integration live.
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> [accordion] 3 Set Up Webhooks
>
> Ensure you have [set up webhooks](/docs/webhooks/setup-edit-payments) in the live mode and configured the events for which you want to receive notifications.
>
> > [!WARNING]
> >
> > **Implementation Considerations**
> >
> > Webhooks are the primary and most efficient method for event notifications. They are delivered asynchronously in near real-time. For critical user-facing flows that need instant confirmation (like showing "Payment Successful" immediately), supplement webhooks with API verification.
> >
> > **Recommended approach** \\
> >
> > * Rely on webhooks for all automation, which can be asynchronous.
> > * If a critical user-facing flow requires instant status, but the webhook notification has not arrived within the time mandated by your business needs, perform an immediate API Fetch call ([Payments](/docs/api/payments/fetch-with-id), [Orders](/docs/api/orders/fetch-with-id) and [Refunds](/docs/api/refunds/fetch-specific-refund-payment)) to verify the status.
# Integrate with Turbo UPI
Source: https://razorpay.com/docs/payments/payment-gateway/ios-integration/standard/payment-methods/turbo-upi
Steps to integrate Razorpay Turbo UPI with your app.
Available in
๐ฎ๐ณ India
With Razorpay Turbo UPI, businesses experience faster and simpler payments. It condenses the payment process from 5 steps to just 1, eliminating app redirections. Enjoy a seamless in-app payment experience, reduce dependencies on third-party UPI apps, and gain complete visibility of the payment journey.
You can seamlessly integrate Turbo UPI with Razorpay iOS Standard SDK. Explore the full potential of [Razorpay Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi) and know How it Works.

## Prerequisites
* Integrate with [Razorpay iOS Standard SDK](/docs/payments/payment-gateway/ios-integration/standard/integration-steps). Ensure that you integrate with SDK version 1.0.0 or higher.
* Import the following frameworks:
* Common library/NPCI framework
* Axis olive framework
* Razorpay Turbo UPI framework
> [!WARNING]
>
> **Watch Out!**
>
> The minimum supported iOS version for Turbo UPI is 11 and above.
## Onboarding Flow
Ensure your customers [onboard with Razorpay Turbo UPI](/docs/payments/payment-methods/upi/turbo-upi#onboarding-flow) to get started.
## Installation
Turbo UPI wrapper plugin is available as a cocoapod, which can be integrated with any iOS application with a minimum deployment target of iOS 11 later. Add the code given below in the projectโs `podfile` to get this cocoapod:
```json theme={null}
pod razorpay-turbo-pod
```
## Turbo UI SDK Integration
Follow these steps to integrate with Razorpay Turbo UPI:
1. Initialise the Checkout object to enable the Turbo UPI functionality.
```swift Swift theme={null}
// The `razorpay` variable can be declared a Global Variable in the ViewController.
var razorpay: RazorpayCheckout?
self.razorpay = RazorpayCheckout.initWithKey(checkoutKey ?? "", andDelegateWithData: self, plugin: RazorpayTurboUPI.turboUIPlugin())
```
```objectivec Objective C theme={null}
razorpay = [RazorpayCheckout initWithKey:@"Your_Key_ID" andDelegate: self withPaymentWebView: webView plugin: [RazorpayTurboUPI turboUIPlugin]];
```
2. Use the following code to link the newly created UPI account with your app. This function can be called from any application section, offering multiple entry points for customers to link their UPI account with your app. Linking it in advance allows customers to pay directly with the linked `UpiAccount` without repeating the linking process.
```swift Swift theme={null}
self.razorpay?.upiTurbo?.linkNewUpiAccount(mobileNumber: , color: , completionHandler: { response, error in
// Handle the onboarded accounts Response
})
```
```objectivec Objective C theme={null}
[razorpay.upiTurbo linkNewUpiAccountWithMobileNumber:@"919000000000" color:@"0xFF1234" completionHandler:^(id _Nullable upiAccounts, NSError * _Nullable error) {
}];
```
> [!NOTE]
>
> **Payment Flow**
>
> Razorpay SDK will handle all the changes related to `UpiTurbo` internally. To integrate with the payment flow, [pass payment option and display the checkout form](/docs/payments/payment-gateway/ios-integration/standard/integration-steps#4-pass-payment-options-and-display-checkout-form).
## Non-Transactional Flow
Razorpay provides a single exposed function that allows you to manage linked UPI accounts and access all non-transactional flows seamlessly.

> [accordion] Manage UPI Accounts
>
> The SDK manages the linked `UpiAccounts` on the application by triggering `manageUpiAccounts()`, which follows the following internal non-transaction flows for `UpiAccounts`:
>
> * **Fetch balance**: Check the customer's account balance.
> * **Change UPI pin**: Provide the customer the ability to change their UPI PIN.
> * **Reset UPI pin**: Let your customers reset the pin for their account.
> * **Delete the account from the application**: Let your customers delink, that is, remove a selected UPI account from your application.
>
> ```swift Swift theme={null}
> self.razorpay?.upiTurbo?.manageUpiAccount(mobileNumber: , color: "")
> ```
>
> ```objectivec Objective C theme={null}
> [razorpay.upiTurbo manageUpiAccountWithMobileNumber:@"919000000000" color:@"0xFF1234"];
> ```
## Models Exposed from the SDKs
The SDKs given below provide access to exposed models for seamless integration.
> [accordion] TurboError
>
> | Error | Description |
> | - | - |
> | `errorCode` | Types of error codes
`BAD_REQUEST_ERROR`: Failure from the client's end (SDK).
`GATEWAY_ERROR`: Failure either from the Secure Component or the Bank.
`SERVER_ERROR`: Failure at PSP.
|
> | `errorDescription` | Brief description of the error. |
> | `errorReason` | Specifies the specific reason for the error. |
> | `errorSource` | Indicates the origin of the error. Possible values:
`gateway`
`issuer_bank`
`beneficiary_bank`
`customer_psp`
`customer`
`internal`
|
> | `errorStep` | Highlights the stage where the error occurred. |
>
> [Refer to the list of possible error reasons](/docs/payments/payment-gateway/ios-integration/standard/payment-methods/turbo-upi/error-codes).
## Go-Live Checklist
For iOS users, outgoing device binding SMS is editable by default. To ensure these SMS messages are non-editable, you must complete the following steps:
### Requesting UPI Device Validation Entitlement
> [accordion] Submit a Request on the Apple Developer Portal
>
> * Log in to the [Apple Developer Portal](https://developer.apple.com/contact/request/upi-device-validation).
> * Fill out the necessary details to request permission for the `setUPIVerificationCodeSendCompletion` API, which allows secure, non-editable content for device registration SMS.
> * Await approval from Apple.
> [accordion] Submit Details to NPCI
>
> Once Apple approves the entitlement, share the request details with NPCI for their approval. Use the format given below for submitting the details:
>
> * Name of the App:
> * Functionality (UPI or CBDC App): UPI
> * App ID:
> * Team ID:
> * Request ID:
> * Bundle ID:
> [accordion] Follow the Guidelines for Implementation
>
> * Ensure your app supports iOS 17 and above.
> * Use the `setUPIVerificationCodeSendCompletion` API to comply with NPCI requirements.
# Turbo UPI SDK - Error Codes
Source: https://razorpay.com/docs/payments/payment-gateway/ios-integration/standard/payment-methods/turbo-upi/error-codes
List of error codes for Turbo UPI SDK.
Available in
๐ฎ๐ณ India
Given below is the list of error codes categorised by error reasons, with relevant descriptions, source and step.
### Bad Request Errors
Given below is the list of Bad Request errors.
> [accordion] bank\_not\_live\_on\_upi
>
> * **Description**: The selected bank is not enabled on UPI. Please try using another bank.
> * **Source**: gateway
> * **Step**: customer\_onboarding
> [accordion] account\_does\_not\_exist
>
> > [accordion] Payment Debit Request
> >
> > * **Description**: No accounts found for the selected bank. Please try using another bank.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Payment Credit Request
> >
> > * **Description**: Payment was unsuccessful as the receiver's bank account is not valid. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_credit\_request
> [accordion] transaction\_not\_allowed
>
> > [accordion] Payment Debit Request
> >
> > * **Description**: Transaction not permitted to the account as per your bank policy. Please contact your bank for more details or try with another bank account.
> > * **Source**: customer
> > * **Step**: payment\_debit\_request
>
> > [accordion] Payment Credit Request
> >
> > * **Description**: Payment not allowed as it got declined by the receiver's bank. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_credit\_request
> [accordion] upi\_pin\_registration\_card\_expired
>
> * **Description**: Card used while setting UPI PIN has expired. Please use another debit card or use another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_not\_found
>
> * **Description**: Card details used while setting UPI PIN are incorrect. Please re-check and try again.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_restricted
>
> * **Description**: Card used while setting UPI PIN has been blocked by your bank. Please reach out to your bank for more information or try using another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] bank\_technical\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: beneficiary\_bank
> * **Step**: payment\_status\_request
> [accordion] pin\_not\_set
>
> * **Description**: Payment was unsuccessful as you have not set the UPI PIN on the app. Try using another method.
> * **Source**: customer\_psp
> * **Step**: payment\_authentication
> [accordion] customer\_not\_registered
>
> * **Description**: No bank account is associated with this mobile number. Please try again by adding your account.
> * **Source**: gateway
> * **Step**: customer\_onboarding
> [accordion] server\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: gateway
> * **Step**: payment\_authentication
> [accordion] payment\_cancelled\_by\_user
>
> * **Description**: Flow was aborted as you pressed back from the PIN screen. Please try again.
> * **Source**: customer
> * **Step**: payment\_authorization
### Gateway Errors
Given below is the list of gateway errors.
> [accordion] incorrect\_otp
>
> * **Description**: You have entered an incorrect OTP. Try again.
> * **Source**: customer
> * **Step**: customer\_onboarding
> [accordion] otp\_expired
>
> * **Description**: You have entered an expired OTP. Please regenerate OTP and try again.
> * **Source**: customer
> * **Step**: customer\_onboarding
> [accordion] insufficient\_funds
>
> * **Description**: Payment was unsuccessful due to insufficient funds. Kindly check your balance and try again.
> * **Source**: customer
> * **Step**: payment\_debit\_request
> [accordion] insufficient\_funds\_mandate\_block
>
> * **Description**: Payment was unsuccessful as the amount in your account is blocked for another payment. Try using another account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] otp\_attempts\_exceeded
>
> * **Description**: You have entered an incorrect OTP too many times. Try again in some time.
> * **Source**: customer\_psp
> * **Step**: customer\_onboarding
> [accordion] account\_dormant
>
> * **Description**: Payment was unsuccessful as the receiver's bank account is inactive. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: beneficiary\_bank
> * **Step**: payment\_credit\_request
> [accordion] bank\_not\_live\_on\_upi
>
> * **Description**: Selected bank is not available on UPI. Please try using another bank.
> * **Source**: issuer\_bank
> * **Step**: customer\_onboarding
> [accordion] payment\_timed\_out
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_response
>
> > [accordion] UPI ID Not Reachable
> >
> > * **Description**: Payment was unsuccessful as the bank linked to this UPI ID is not reachable at this time.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
> [accordion] first\_transaction\_limit\_exceeded
>
> * **Description**: Payment was unsuccessful as you exceeded the first-time transaction limit set by your bank. You can use another bank account or retry after 24 hours.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] transaction\_limit\_exceeded
>
> > [accordion] Limit Set By Bank Exceeded
> >
> > * **Description**: Payment was unsuccessful as you exceeded the transaction limit set by your bank. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
>
> > [accordion] Daily Amount Limit Exceeded
> >
> > * **Description**: Payment was unsuccessful as you exceeded the amount limit for the day with this bank account. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_response
> [accordion] first\_time\_transaction\_freeze\_period
>
> * **Description**: Payment was unsuccessful due to the cooling period set by your bank for first-time user. Please try again after some time.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] transaction\_frequency\_limit\_exceeded
>
> * **Description**: Payment was unsuccessful as the number of transactions exceeds the max limit set by the bank. You can use another bank account or retry after some time.
> * **Source**: issuer\_bank
> * **Step**: payment\_debit\_response
> [accordion] bank\_account\_inactive
>
> > [accordion] Issuer Bank Account Inactive
> >
> > * **Description**: Payment was unsuccessful as your account is not active. Please try using another bank account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Receiver Bank Account Inactive
> >
> > * **Description**: Payment was unsuccessful as the receiver's bank account is not active. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_debit\_request
> [accordion] server\_error
>
> > [accordion] Temporary Issue - Issuer Bank
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_request
>
> > [accordion] Temporary Issue - Beneficiary Bank
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_request
> [accordion] invalid\_ifsc
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Please retry in some time.
> * **Source**: gateway
> * **Step**: payment\_authentication
> [accordion] upi\_pin\_registration\_card\_blocked
>
> * **Description**: Card used while setting UPI PIN has been blocked by your bank. Please reach out to your bank for more information or try using another bank account.
> * **Source**: issuer\_bank
> * **Step**: payment\_authentication
> [accordion] bank\_technical\_error
>
> > [accordion] UPI ID Temporarily Unavailable
> >
> > * **Description**: Payment was unsuccessful as the bank linked to this UPI ID is temporarily unavailable. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_credit\_response
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_credit\_response
> [accordion] payment\_declined
>
> > [accordion] Declined by Bank
> >
> > * **Description**: Payment was unsuccessful as it was declined by your bank. Reach out to your bank for more details. Try using another account.
> > * **Source**: issuer\_bank
> > * **Step**: payment\_debit\_request
>
> > [accordion] Temporary Issue
> >
> > * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> > * **Source**: beneficiary\_bank
> > * **Step**: payment\_debit\_request
> [accordion] pin\_attempts\_exceeded
>
> * **Description**: You have exceeded the incorrect UPI PIN attempts. You can use another bank account or retry after 24 hours.
> * **Source**: customer
> * **Step**: payment\_authentication
> [accordion] incorrect\_pin
>
> * **Description**: You have entered incorrect UPI PIN. Please try again with the correct UPI PIN.
> * **Source**: customer
> * **Step**: payment\_authentication
> [accordion] linked\_account\_removal\_failed
>
> * **Description**: Unable to remove the account. Please try again.
> * **Source**: customer\_psp
> * **Step**: account\_management
> [accordion] sms\_text\_not\_received
>
> * **Description**: Something went wrong while sending SMS. Please try again.
> * **Source**: gateway
> * **Step**: customer\_onboarding
### Server Errors
Given below is the list of server errors.
> [accordion] server\_error
>
> * **Description**: Payment was unsuccessful due to a temporary issue. Any amount deducted will be refunded within 5-7 working days.
> * **Source**: issuer\_bank
> * **Step**: customer\_onboarding
> [accordion] server\_error
>
> * **Description**: We are facing some trouble completing your request at the moment. Please try again shortly.
> * **Source**: internal
> * **Step**: payment\_authorization
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/ios-integration/standard/troubleshooting-faqs
Troubleshoot common error scenarios and find answers to frequently asked questions about standard iOS integration.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
๐บ๐ธ United States
> [accordion] I am getting an error " contains unsupported Architecture x86\_64" while submitting the archive to the app store. What should I do?
>
> When a framework is distributed, it contains architectures of the simulators so that the consumer of the framework can build it on a simulator. However, when uploading the archive on iTunes, you have to strip these architectures. If you use Cocoapods, it strips the simulator architectures on its own.
>
> Since you are not using it, please follow the below-mentioned steps:
>
> 1. Download the [script](https://s3.ap-south-1.amazonaws.com/rzp-1415-prod-mobile/ios/CustomLinks/StripInvalidArchitectures.sh).
> 2. Locate the directory in which Razorpay.framework is present in the archive that you are trying to upload.
> 3. Move the attached script to the above directory and run it.
> 4. Remove the script file.
> [accordion] I see a message on the screen to update my SDK. Will my customers also see the message?
>
> No. You see the update SDK alert because a newer version of our SDK is available. We recommend you use the latest SDK. This message shows up only when running the app on a simulator or using a test key to initialise the SDK.
> [accordion] I am getting an error `Image not loaded: .dyld`. What should I do?
>
> * Ensure that Razorpay.framework is present in your project settings in both the Embedded Binaries and Linked Frameworks.
> * Set Always Embed Swift Libraries to "yes" in the project settings. It can happen because of the incompatibility between the developed Swift version with Razorpay.framework and the Swift version of your project.
> * We recommend using the framework compiled with the required Swift language from our iOS documentation.
> [accordion] Razorpay's framework is bitcode enabled. Do I also have to enable bitcode in my project?
>
> Razorpay's bitcode enabled framework works even if you do not enable bitcode in your project.
> [accordion] I am getting an error "Module compiled with Swift X version cannot be imported in the Swift Y version." What should I do?
>
> There are multiple Swift versions available, but unfortunately, Apple does not make all the versions compatible, so we release frameworks compiled in multiple Swift versions.
>
> * Download the framework that is compatible with your project.
> * If you run into a compatibility issue, ensure that you try both frameworks.
> [accordion] I am getting an error saying "Could not find module RazorpayCommonCrypto." What should I do?
>
> A module map is used to define the header files that should be converted into modules and used by your project. Razorpay handles this internally.
>
> * **Cause**: By default, the Xcode's name is assumed to be Xcode.app. For example, your default Xcode appears as Xcode9.3.
> * **Resolution**: Insert [this](https://s3.ap-south-1.amazonaws.com/rzp-1415-prod-mobile/ios/CustomLinks/StripInvalidArchitectures.sh) script in the directory that contains `Razorpay.framework` file and run it from your terminal.
> [accordion] My builds are failing and I am getting an error "Cannot find protocol declaration for RazorpayPaymentCompletionProtocol." What should I do?
>
> Add the following code in the `ViewController.m` file:
>
> ```objectivec Add code theme={null}
> include instead of in your ViewController.m file
> ```
>
> This will improve the iOS sample app experience and reduce the build failure.
> [accordion] Does support Xamarin for SDK integration?
>
> No, we do not support Xamarin. However, since Xamarin is essentially a wrapper around Android and iOS, you can create your own Xamarin wrapper using our [Android](/docs/payments/payment-gateway/android-integration/standard) and [iOS](/docs/payments/payment-gateway/ios-integration/standard) SDKs.
>
> You can refer to Xamarin for integrating native [Android](https://docs.microsoft.com/en-us/xamarin/android/platform/binding-java-library/) and [iOS](https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/) libraries. Alternatively, you can use web integration to open the checkout form in a web view.
> [accordion] How can I check the Razorpay iOS Standard SDK version?
>
> To check the SDK version:
>
> 1. Open your iOS project in Xcode.
> 2. In the project navigator, locate the `Podfile` in the root directory of your project.
> 3. Open the `Podfile` and look for the line that specifies the Razorpay SDK pod. The version number is represented by `x.y.z`.
> [accordion] How can I update the Razorpay iOS Standard SDK version?
>
> To update the iOS Standard SDK, follow these steps:
>
> 1. In your projectโs Podfile, specify the [latest SDK version](https://github.com/razorpay/razorpay-pod/releases/). If you do not mention any version, it automatically picks the latest version from Cocoapods.
> 2. Run `pod repo update` to fetch the latest release versions of the pods.
> 3. After updating, ensure that the integration is successful and there are no issues with the updated SDK.
> [accordion] How to generate privacy report with Razorpay's SDKs PrivacyManifest file?
>
> After installing the `razorpay-pod` cocoapod in the project, once the application is archived, privacy report can be generated from the context menu for the created archive.
> The data used by the Razorpay SDK will be listed under Razorpay.framework along with the reasons for the usage of the data.
> For more information, you can refer to [Apple's documentation for generating the privacy report](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests#4239187).
> For more information about PrivacyManifests and Required Reason API please refer to [Apple's documentation](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests).
> [accordion] How can I verify the signature used for razorpay-pod's xcframework?
>
> After the installation of the `razorpay-pod` cocoapod, inside the pods folder, expand the folder Development `Pods/razorpay-pod/Frameworks`. Inside this folder, you will find the Razorpay.xcframework file. On selecting this file, XCode's File inspector shows you the XCFrameworkโs code signing status. If the framework is signed with an Apple Developer certificate, the inspector also shows which Apple Developer team signed the framework.
>
> You can find more about verification of the signature [here](https://developer.apple.com/documentation/xcode/verifying-the-origin-of-your-xcframeworks).
> [accordion] How can I accept payments on my Android or iOS apps without integrating with the native SDKs?
>
> If you want to accept payments on your Android or iOS apps without integrating with our native SDKs, you can reuse your Standard Integration code. This approach opens the checkout form in a WebView within your mobile app. Know more about [Webview for Mobile Apps](/docs/payments/payment-gateway/web-integration/standard/webview).
> [accordion] I have integrated with the Razorpay Payment Gateway to accept payments on my mobile app. However, it gets rejected when I try to publish my app on the Apple App Store. The following message is displayed, "We noticed that your app offers a subscription with a mechanism other than the in-app purchase API." How to resolve this?
>
> * **Cause**: As per Apple's policy, if you use a subscription model in your iOS app, you must use Apple's in-app purchase APIs. Apple does not redirect out of the app for digital product purchases.
> * **Resolution**: Use Apple's in-app purchase APIs.
> [accordion] Why did my App get rejected by the iOS team as per the guideline 3.1.1?
>
> An application involving a subscription model could be rejected because of the guideline **3.1.1 - Business - Payments - In-App Purchase**. This is due to the fact that subscription comes under the **Auto-renewable subscriptions to a service** section of the [Apple guidelines.](https://developer.apple.com/design/human-interface-guidelines/in-app-purchase)\\
>
> You cannot use an external payment gateway to accept payments by selling digital products or content. You must use Appleโs In-App Purchase to avoid app rejection.
>
> ### List of Restricted Payment Modes
>
> * **Consumable content** like lives or gems in a game.
> * **Non-consumable content** like premium features in an app.
> * **Auto-renewable subscriptions** to a service, like cloud storage or a magazine.
> * **Non-renewing subscriptions** to a service or content that lasts for a limited time, like access to an in-game battle pass.
> [accordion] Can I enable UPI Intent on my Android or iOS app?
>
> Yes, you can enable UPI Intent on your [Android](/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-android) or [iOS](/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-ios) app.
# Quick Integration Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/quick-integration
Check the prerequisites before you integrate with Razorpay Quick Integration.
Available in
๐ฎ๐ณ India
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/quick-integration/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about Quick Integration.
Quick integration is the fastest way to integrate Razorpay Checkout on your website and accept domestic and international payments from customers.
## Quick Integration vs Standard Integration
> [!NOTE]
>
> **Handy Tips**
>
> The Quick Integration (previously known as Automatic integration method) is simple and fast. However, in case you would like more control over your integration and checkout, we recommend the [Standard Integration](/docs/payments/payment-gateway/web-integration/standard).
Given below is a comparison between the Standard and Quick integrations:
| Particulars | Quick Integration | Standard Integration |
| - | - | - |
| **Pay Button** | The pay button is auto-created and cannot be customised. For example, you cannot change its font or background colour. | You can create and customise the pay button as per your business requirements. |
| **Checkout Functions** | This is an HTML-based form action method, which does not support any JavaScript customisations. | This is a JavaScript method, allowing you to use additional functions to automatically open and close Checkout as required. |
## Integration Steps
**Before you proceed:**
* Create a [Razorpay Account](https://dashboard.razorpay.com/signup)
* Generate [API Keys](/docs/api/authentication#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
* Know about the [Razorpay Payment Flow](/docs/payments/payment-gateway/how-it-works).
Follow these integration steps:
> [card] [1. Build Integration](/docs/payments/payment-gateway/quick-integration/integration-steps#1-build-integration)
>
> Integrate Standard Checkout form on website.
> [card] [2. Test Integration](/docs/payments/payment-gateway/quick-integration/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/quick-integration/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
> [!NOTE]
>
> **Other Solutions**
>
> Looking to integrate Razorpay with your mobile app or at a server-level? Check the list of [integration types](/docs/payments/payment-gateway#integrate-payment-gateway-web-mobile-ecommerce-plugins).
### Related Information
* [Webhooks](/docs/webhooks) (Recommended)
* [Error Codes](/docs/errors) (Recommended)
* [How Payment Gateway Works](/docs/payments/payment-gateway/how-it-works)
* [Payment States](/docs/payments/payments)
* [Settlements](/docs/payments/settlements)
* [Refunds](/docs/payments/refunds)
* [Address Verification System](/docs/payments/international-payments/address-verification-system)
* [Troubleshooting and FAQs](/docs/payments/payment-gateway/quick-integration/troubleshooting-faqs)
# Integration Steps
Source: https://razorpay.com/docs/payments/payment-gateway/quick-integration/integration-steps
Steps to integrate with Razorpay Quick Integration.
Available in
๐ฎ๐ณ India
Follow these steps to integrate the standard checkout form on your website:
> [card] [1. Build Integration](/docs/payments/payment-gateway/quick-integration/integration-steps#1-build-integration)
>
> Integrate Standard Checkout form on website.
> [card] [2. Test Integration](/docs/payments/payment-gateway/quick-integration/integration-steps#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/quick-integration/integration-steps#3-go-live-checklist)
>
> Check the go-live checklist.
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Create an Order in Server
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order using:
>
> > [tab] API Sample Code
> >
> > Use this endpoint to create an order using the Orders API.
> >
> > `POST /orders`
> >
> > ```bash Curl theme={null}
> > curl -X POST https://api.razorpay.com/v1/orders
> > -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> > -H 'content-type:application/json'
> > -d '{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "qwsaq1",
> > "partial_payment": true,
> > "first_payment_min_amount": 230
> > }'
> > ```
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > JSONObject orderRequest = new JSONObject();
> > orderRequest.put("amount", 50000); // amount in the smallest currency unit
> > orderRequest.put("currency", "INR");
> > orderRequest.put("receipt", "order_rcptid_11");
> >
> > Order order = razorpay.Orders.create(orderRequest);
> > } catch (RazorpayException e) {
> > // Handle Exception
> > System.out.println(e.getMessage());
> > }
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > DATA = {
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "receipt#1",
> > "notes": {
> > "key1": "value3",
> > "key2": "value2"
> > }
> > }
> > client.order.create(data=DATA)
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->order->create(array('receipt' => '123', 'amount' => 50000, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> > ```
> >
> > ```csharp .NET theme={null}
> > RazorpayClient client = new RazorpayClient(your_key_id, your_secret);
> >
> > Dictionary options = new Dictionary();
> > options.Add("amount", 50000); // amount in the smallest currency unit
> > options.add("receipt", "order_rcptid_11");
> > options.add("currency", "INR");
> > Order order = client.Order.Create(options);
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > options = amount: 50000, currency: 'INR', receipt: ''
> > order = Razorpay::Order.create
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > instance.orders.create({
> > amount: 50000,
> > currency: "INR",
> > receipt: "receipt#1",
> > notes: {
> > key1: "value3",
> > key2: "value2"
> > }
> > })
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > data := map[string]interface{}{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "some_receipt_id"
> > }
> > body, err := client.Order.Create(data)
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id": "order_IluGWxBm9U8zJ8",
> > "entity": "order",
> > "amount": 50000,
> > "amount_paid": 0,
> > "amount_due": 50000,
> > "currency": "INR",
> > "receipt": "rcptid_11",
> > "offer_id": null,
> > "status": "created",
> > "attempts": 0,
> > "notes": [],
> > "created_at": 1642662092
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Order amount less than minimum amount allowed",
> > "source": "business",
> > "step": "payment_initiation",
> > "reason": "input_validation_failed",
> > "metadata": {},
> > "field": "amount"
> > }
> > }
> > ```
>
> > [tab] Razorpay Postman Public Workspace
> >
> > You can use the Postman workspace below to create an order:
> >
> > [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
> >
> > You can create an order manually by integrating the API sample codes on your server.
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount, expressed in the currency subunit. For example, for an actual amount of , the value of this field should be `22225`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be of 3 characters.
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7,000 is to be received from the customer in two installments of #1 - โน5,000, #2 - โน2,000, then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] 2 Pass Order ID and Other Options to Checkout
>
> * This integration method provides a default **Pay with Razorpay** button that invokes the Checkout form.
>
> * Pass Checkout form options as data attributes inside a `
> >
> >
> > ```
>
> > [accordion] 2.2 Handle Payment Success and Failure
> >
> > The way the payment success and failure scenarios are handled depends on the [Checkout Sample Code](#2-1-code-to-add-pay-button) you used in the previous step.
> >
> > > [tab] Payment Success
> > >
> > > #### On Payment Success
> > >
> > > Razorpay makes a POST call to the callback URL with the **razorpay\_payment\_id**, **razorpay\_order\_id** and **razorpay\_signature** in the response object of the successful payment. Only successful authorisations are auto-submitted.
> >
> > > [tab] Payment Failure
> > >
> > > #### On Payment Failure
> > >
> > > In case of failed payments, the checkout is displayed again to facilitate payment retry.
>
> > [accordion] 2.3 Checkout Options
> >
> > `data-key` *mandatory*
> > : `string` API Key ID generated from the Razorpay Dashboard.
> >
> > `data-amount` *mandatory*
> > : `integer` The amount to be paid by the customer in cents. For example, if the amount is โน500, enter `50000`.
> >
> > `data-currency` *mandatory*
> > : `string` The currency in which the payment should be made by the customer. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies)
> >
> > `data-order_id` *mandatory*
> > : `string` Unique identifier of the Order generated in [Step 1: Create an Order in your Server](#1-create-an-order-in-server).
> >
> > `data-buttontext` *mandatory*
> > : `string` The text you want to display on the button. For example, `Buy Now!`.
> >
> > `data-name` *mandatory*
> > : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
> >
> > `data-description` *optional*
> > : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
> >
> > `data-image` *mandatory*
> > : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
> >
> > `data-prefill.name` *optional*
> > : `string` Cardholder's name to be pre-filled when the Checkout opens.
> >
> > `data-prefill.email` *optional*
> > : `string` Customer's email to be pre-filled when the Checkout opens.
> >
> > `data-prefill.contact` *optional*
> > : `string` Customer's phone number to be pre-filled when the Checkout opens.
> >
> > `data-theme.color` *optional*
> > : `string` Brand color to alter the appearance of Checkout form. For example, `#F37254`.
> >
> > Know more about the complete [list of available Checkout options](/docs/payments/payment-gateway/web-integration/standard/integration-steps#2-3-checkout-options).
> [accordion] 3 Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> > [accordion] Success Callback
> >
> > * You need to store these fields in your server.
> > * You can confirm the authenticity of these details by verifying the signature in the next step.
> >
> > ```json Success Callback theme={null}
> > {
> > "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> > "razorpay_order_id": "order_9A33XWu170gUtm",
> > "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> > }
> > ```
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] 4 Verify Payment Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> > [accordion] To verify the `razorpay_signature` returned to you by the Checkout form:
> >
> > 1. Create a signature in your server using the following attributes:
> > * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> > * `razorpay_payment_id`: Returned by Checkout.
> > * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
> > 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
> >
> > ```html HMAC Hex Digest theme={null}
> > generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
> >
> > if (generated_signature == razorpay_signature) {
> > payment is successful
> > }
> > ```
> >
> > 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
>
> > [accordion] Generate Signature on Your Server
> >
> > Given below is the sample code for payment signature verification:
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > String secret = "EnLs21M47BllR3X8PSFtjtbd";
> >
> > JSONObject options = new JSONObject();
> > options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > boolean status = Utils.verifyPaymentSignature(options, secret);
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->utility->verifyPaymentSignature(array('razorpay_order_id' => $razorpayOrderId, 'razorpay_payment_id' => $razorpayPaymentId, 'razorpay_signature' => $razorpaySignature));
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > payment_response = {
> > razorpay_order_id: 'order_IEIaMR65cu6nz3',
> > razorpay_payment_id: 'pay_IH4NVgf4Dreq1l',
> > razorpay_signature: '0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f'
> > }
> > Razorpay::Utility.verify_payment_signature(payment_response)
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > client.utility.verify_payment_signature({
> > 'razorpay_order_id': razorpay_order_id,
> > 'razorpay_payment_id': razorpay_payment_id,
> > 'razorpay_signature': razorpay_signature
> > })
> > ```
> >
> > ```c .NET theme={null}
> > RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > Dictionary options = new Dictionary();
> > options.Add("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.Add("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.Add("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > Utils.verifyPaymentSignature(options);
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > var { validatePaymentVerification, validateWebhookSignature } = require('./dist/utils/razorpay-utils');
> > validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > params := map[string]interface{}{
> > "razorpay_order_id": "order_IEIaMR65cu6nz3",
> > "razorpay_payment_id": "pay_IH4NVgf4Dreq1l",
> > }
> >
> > signature := "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f";
> > secret := "EnLs21M47BllR3X8PSFtjtbd";
> > utils.VerifyPaymentSignature(params, signature, secret)
> > ```
>
> > [accordion] Post Signature Verification
> >
> > After you have completed the integration, you can [set up webhooks](/docs/webhooks/setup-edit-payments), make test payments, replace the test key with the live key and integrate with other [APIs](/docs/api).
>
> Here are the links to our [SDKs](/docs/payments/payment-gateway/web-integration/standard#client-libraries) for the supported platforms.
> [accordion] 6 Verify Payment Status
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > On the Razorpay Dashboard, ensure that the payment status is `captured`. Refer to the payment capture settings page to know how to [capture payments automatically](/docs/payments/payments/capture-settings).
>
> > [accordion] You can track the payment status in three ways:
> >
> > > [tab] Verify Status from Dashboard
> > >
> > > To verify the payment status from the Razorpay Dashboard:
> > >
> > > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > > 2. Check if a **Payment Id** has been generated and note the status. In case of a successful payment, the status is marked as **Captured**.
> > >
> > > 
> >
> > > [tab] Subscribe to Webhook Events
> > >
> > > You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to [set up webhooks.](/docs/webhooks/setup-edit-payments)
> > >
> > > #### Example
> > >
> > > If you have subscribed to the `order.paid` webhook event, you will receive a notification every time a customer pays you for an order.
> >
> > > [tab] Poll APIs
> > >
> > > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 2. Test Integration
After the integration is complete, a **Pay** button appears on your webpage/app.

Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
| Payment Method | Code | Availability |
| - | - | - |
| [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
| [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
| [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
| [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
| EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
| [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
| [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
You can make test payments using one of the payment methods configured at the Checkout.
> [accordion] Netbanking
>
> You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
>
> Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
> [accordion] UPI
>
> You can enter one of the following UPI IDs:
>
> * `success@razorpay`: To make the payment successful.
> * `failure@razorpay`: To fail the payment.
>
> Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
> [accordion] Cards
>
> You can use the following test cards to test transactions for your integration in Test Mode.
>
> ### Domestic Cards
>
> Use the following test cards for Indian payments:
>
> | Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> | Mastercard | 5500 6700 0000 1002 | |
> | RuPay | 6527 6589 0000 1005 | |
> | Diners | 3608 280009 1007 | |
> | Amex | 3402 560004 01007 | |
>
> #### Error Scenarios
>
> Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> Check the following lists:
>
> * [Supported Card Networks](/docs/payments/payment-methods/cards).
> * [Cards Error Codes](/docs/errors/payments/cards).
>
> ### International Cards
>
> Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
>
> | Card Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> | Visa | 4012 8888 8888 1881 | |
>
> Check the list of [supported card networks](/docs/payments/payment-methods/cards).
> [accordion] Wallet
>
> You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
>
> Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
## 3. Go-live Checklist
Check the go-live checklist for Razorpay Web Standard Checkout integration. Consider these steps before taking the integration live.
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> [accordion] 3 Set Up Webhooks
>
> Ensure you have [set up webhooks](/docs/webhooks/setup-edit-payments) in the live mode and configured the events for which you want to receive notifications.
>
> > [!WARNING]
> >
> > **Implementation Considerations**
> >
> > Webhooks are the primary and most efficient method for event notifications. They are delivered asynchronously in near real-time. For critical user-facing flows that need instant confirmation (like showing "Payment Successful" immediately), supplement webhooks with API verification.
> >
> > **Recommended approach** \\
> >
> > * Rely on webhooks for all automation, which can be asynchronous.
> > * If a critical user-facing flow requires instant status, but the webhook notification has not arrived within the time mandated by your business needs, perform an immediate API Fetch call ([Payments](/docs/api/payments/fetch-with-id), [Orders](/docs/api/orders/fetch-with-id) and [Refunds](/docs/api/refunds/fetch-specific-refund-payment)) to verify the status.
# Troubleshooting & FAQs
Source: https://razorpay.com/docs/payments/payment-gateway/quick-integration/troubleshooting-faqs
Troubleshoot common errors and find answers to frequently asked questions related to Razorpay Quick Integration.
Available in
๐ฎ๐ณ India
> [accordion] What is Razorpay Quick Integration?
>
> Razorpay Quick integration is the fastest way to integrate Razorpay Checkout on your website and accept domestic and international payments from customers.
> [accordion] What is the difference between Quick Integration and Standard Integration?
>
> The main difference lies in the customisation options and the methods used. Quick Integration features an auto-created pay button that cannot be customised (like font or background color) and uses an HTML-based form action method, making customisation via JavaScript functions impossible.
>
> In contrast, Standard Integration allows you to create and customise the pay button to fit your business requirements and utilises a JavaScript method, enabling the use of additional functions to automatically open and close checkout as needed.
> [accordion] Can I use Quick Integration to integrate Razorpay Checkout on a mobile app or at a server level?
>
> No, Quick Integration is not supported for mobile apps or server-level integration. If you want to integrate Razorpay with your mobile app or at a server level, check the list of [other integration methods](/docs/payments/payment-gateway#integrate-payment-gateway-web-mobile-ecommerce-plugins) available.
> [accordion] What payment methods are supported by Razorpay Quick Integration?
>
> Razorpay Quick Integration supports a wide range of payment methods including netbanking, credit and debit cards, wallets, UPI and more. Check the list of [support payment methods](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods/supported-methods).
# React Native Standard Plugin Prerequisites
Source: https://razorpay.com/docs/payments/payment-gateway/react-native-integration/standard
Check the prerequisites before you integrate Razorpay React Native Standard plugin with our native Android and iOS SDKs.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
> [card] [React Native Standard SDK Changelog](/docs/payments/changelog#mobile-sdks)
>
> Discover new features, updates and deprecations related to the Razorpay React Native Standard SDK (since Jan 2024).
> [card] [Troubleshooting & FAQs](/docs/payments/payment-gateway/react-native-integration/standard/troubleshooting-faqs)
>
> Troubleshoot common error scenarios and find answers to frequently asked questions about React Native Standard integration.
Integrate with Razorpay React Native Standard SDK to accept payments from customers on your app built using React Native. The React Native Standard SDK acts as a wrapper around the Razorpay Standard SDK to build a dynamic and responsive Checkout interface for your iOS or Android application.
> [!TIP]
>
> **Update SDK**
>
> Check your current SDK version. If it is outdated, please [update the SDK](/docs/payments/payment-gateway/react-native-integration/standard/troubleshooting-faqs#how-can-i-update-the-razorpay-react-native-standard-sdk-version) to ensure uninterrupted settlements of your funds.
> [!NOTE]
>
> **Handy Tips**
>
> This document elaborates the SDK integration steps for apps running on React Native version 0.60+. You can find the SDK integration steps for apps with [React Native version 0.59 and lower on GitHub](https://github.com/razorpay/react-native-razorpay#for-react-native-059-and-lower).
## Integration Steps
**Before you proceed:**
Create a [Razorpay account](https://dashboard.razorpay.com/signup).
Generate the [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
Know about the [Payment Flow](/docs/payments/payment-gateway/how-it-works).
Choose your platform to begin integration:
> [card] [React Native Android Integration](/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-android)
>
> Integrate React Native Android Standard SDK.
> [card] [React Native iOS Integration](/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-ios)
>
> Integrate React Native iOS Standard SDK.
> [card] [Sample App](https://github.com/razorpay/react-native-razorpay/tree/master/sampleApps)
>
> Check the sample app to integrate on GitHub.
### Related Information
[Troubleshooting and FAQs](/docs/payments/payment-gateway/ios-integration/standard/troubleshooting-faqs)
# Integration Steps (Android)
Source: https://razorpay.com/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-android
Steps to integrate your React Native Android application with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow these steps to integrate your React Native Android application:
> [card] [1. Build Integration](/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-android#1-build-integration)
>
> Integrate React Android Standard Checkout.
> [card] [2. Test Integration](/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-android#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-android#3-go-live-checklist)
>
> Check the go-live checklist.
[How to Integrate Razorpay Payment Gateway on React Native Android App](https://www.youtube.com/embed/TCRHqz4Hh5Q)
> [!NOTE]
>
> **Handy Tips**
>
> The **compileSdkVersion** is the version of Android. Increase the value of **minSdkVersion** to at least 19 in the build.gradle file in the Android folder to work with the latest Android SDK Build Tools version. Using it with a lower **minSdkVersion** version will lead to errors.
> [!WARNING]
>
> **Watch Out!**
>
> If you use M1 MacBook, you need to make [these changes](#m1-macbook-changes) in your `podfile`.
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Install Razorpay React Native SDK
>
> Install the SDK using the following `npm` command in the **Terminal** window. If you are using Windows, please use **Git Bash** instead of the **Command Prompt** window. Ensure that you run this code within your React Native project folder in the **Terminal** window.
>
> ```javascript Installation Code theme={null}
> //using npm
> $ npm install react-native-razorpay --save
> ```
>
> Additionally, run the code given below if you are using `yarn` or `expo`:
>
> ```javascript Installation Code using yarn theme={null}
> // using yarn
> $ yarn add react-native-razorpay
> ```
>
> ```javascript Installation Code using expo theme={null}
> // for expo
> $ npx expo install react-native-razorpay
> ```
> [accordion] 2 Run React Native App
>
> Run the React Native app.\\
>
> ```javascript Run theme={null}
> npx react-native run-android
> ```
>
> This links the SDK with your React Native project.
>
> > [accordion] Expo Application
> >
> > After adding the `react-native-razorpay` package, use the option to prebuild the app. This generates the **android** platform folders in the project to use native-modules.
> >
> > ```javascript Run theme={null}
> > npx expo prebuild
> > ```
> >
> > The application is installed on the device/emulator.
> >
> > ```javascript theme={null}
> > npx expo run:[android] --device
> > ```
> [accordion] 3 Create an Order in Server
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order using:
>
> > [tab] API Sample Code
> >
> > Use this endpoint to create an order using the Orders API.
> >
> > `POST /orders`
> >
> > ```bash Curl theme={null}
> > curl -X POST https://api.razorpay.com/v1/orders
> > -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> > -H 'content-type:application/json'
> > -d '{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "qwsaq1",
> > "partial_payment": true,
> > "first_payment_min_amount": 230
> > }'
> > ```
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > JSONObject orderRequest = new JSONObject();
> > orderRequest.put("amount", 50000); // amount in the smallest currency unit
> > orderRequest.put("currency", "INR");
> > orderRequest.put("receipt", "order_rcptid_11");
> >
> > Order order = razorpay.Orders.create(orderRequest);
> > } catch (RazorpayException e) {
> > // Handle Exception
> > System.out.println(e.getMessage());
> > }
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > DATA = {
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "receipt#1",
> > "notes": {
> > "key1": "value3",
> > "key2": "value2"
> > }
> > }
> > client.order.create(data=DATA)
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->order->create(array('receipt' => '123', 'amount' => 50000, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> > ```
> >
> > ```csharp .NET theme={null}
> > RazorpayClient client = new RazorpayClient(your_key_id, your_secret);
> >
> > Dictionary options = new Dictionary();
> > options.Add("amount", 50000); // amount in the smallest currency unit
> > options.add("receipt", "order_rcptid_11");
> > options.add("currency", "INR");
> > Order order = client.Order.Create(options);
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > options = amount: 50000, currency: 'INR', receipt: ''
> > order = Razorpay::Order.create
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > instance.orders.create({
> > amount: 50000,
> > currency: "INR",
> > receipt: "receipt#1",
> > notes: {
> > key1: "value3",
> > key2: "value2"
> > }
> > })
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > data := map[string]interface{}{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "some_receipt_id"
> > }
> > body, err := client.Order.Create(data)
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id": "order_IluGWxBm9U8zJ8",
> > "entity": "order",
> > "amount": 50000,
> > "amount_paid": 0,
> > "amount_due": 50000,
> > "currency": "INR",
> > "receipt": "rcptid_11",
> > "offer_id": null,
> > "status": "created",
> > "attempts": 0,
> > "notes": [],
> > "created_at": 1642662092
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Order amount less than minimum amount allowed",
> > "source": "business",
> > "step": "payment_initiation",
> > "reason": "input_validation_failed",
> > "metadata": {},
> > "field": "amount"
> > }
> > }
> > ```
>
> > [tab] Razorpay Postman Public Workspace
> >
> > You can use the Postman workspace below to create an order:
> >
> > [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
> >
> > You can create an order manually by integrating the API sample codes on your server.
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount, expressed in the currency subunit. For example, for an actual amount of , the value of this field should be `22225`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be of 3 characters.
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7,000 is to be received from the customer in two installments of #1 - โน5,000, #2 - โน2,000, then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] 4 Add Razorpay Checkout Options to .js File
>
> To integrate the Razorpay Checkout with your React Native app, you must add the Checkout Display Options in the **.js** file.
>
> Open the **.js** file in your project folder and perform the following:
>
> 1. Import the `RazorpayCheckout` module to your component.
>
> ```javascript Import Razorpay Checkout Module theme={null}
> import RazorpayCheckout from 'react-native-razorpay';
> ```
>
> 2. Call the `RazorpayCheckout.open` method with the payment options. The method returns a JS Promise where the `then` part corresponds to a successful payment and the `catch` part corresponds to payment failure.
>
> ```javascript Checkout Options theme={null}
> {
> var options = {
> description: 'Credits towards consultation',
> image: 'https://i.imgur.com/3g7nmJC.jpg',
> currency: 'INR',
> key: '',
> amount: '50000',
> name: 'Acme Corp',
> order_id: 'order_DslnoIgkIDL8Zt',//Replace this with an order_id created using Orders API.
> prefill: {
> email: '',
> contact: '',
> name: ''
> },
> theme: {color: '#53a20e'}
> }
> RazorpayCheckout.open(options).then((data) => {
> // handle success
> alert(`Success: ${data.razorpay_payment_id}`);
> }).catch((error) => {
> // handle failure
> alert(`Error: ${error.code} | ${error.description}`);
> });
> }}>
> ```
>
> > [accordion] Checkout Options
> >
> > You must pass these parameters in Checkout to initiate the payment.
> >
> > `key` *mandatory*
> > : `string` API Key ID generated from the Dashboard.
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is , enter `222250` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the payment should be made by the customer. See the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY, and three decimal currencies, such as KWD, BHD, and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `name` *mandatory*
> > : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
> >
> > `description` *optional*
> > : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
> >
> > `image` *optional*
> > : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
> >
> > `order_id` *mandatory*
> > : `string` Order ID generated via [Orders API](/docs/api/orders).
> >
> > `prefill`
> > : `object` You can prefill the following details at Checkout.
> >
> > > [!NOTE]
> > >
> > > **Boost Conversions and Minimise Drop-offs**
> > >
> > > * Autofill customer contact details, especially phone number to ease form completion. Include customerโs phone number in the `contact` parameter of the JSON request's `prefill` object. Format: +(country code)(phone number). Example: "contact": "+919000090000".
> > > * This is not applicable if you do not collect customer contact details on your website before checkout, have Shopify stores or use any of the no-code apps.
> >
> > `name` *optional*
> > : `string` Cardholder's name to be prefilled if customer is to make card payments on Checkout. For example, **Gaurav Kumar**.
> >
> > `email` *optional*
> > : `string` Email address of the customer.
> >
> > `contact` *optional*
> > : `string` Phone number of the customer. The expected format of the phone number is `+ {country code}{phone number}`. If the country code is not specified, `91` will be used as the default value. This is particularly important while prefilling `contact` of customers with phone numbers issued outside India. **Examples**:
> >
> > * +14155552671 (a valid non-Indian number)
> > * +919977665544 (a valid Indian number). \
> > If 9977665544 is entered, `+91` is added to it as +919977665544.
> >
> > `method` *optional*
> > : `string` Pre-selection of the payment method for the customer. Will only work if `contact` and `email` are also prefilled. Possible values:
> >
> >
> >
`card`
> >
`netbanking`
> >
`wallet`
> >
`upi`
> >
`emi`
> >
> >
> > `notes` *optional*
> > : `object` Set of key-value pairs that can be used to store additional information about the payment. It can hold a maximum of 15 key-value pairs, each 256 characters long (maximum).
> >
> > `theme`
> > : `object` Thematic options to modify the appearance of Checkout.
> >
> > `color` *optional*
> > : `string` Enter your brand colour's HEX code to alter the text, payment method icons and CTA (call-to-action) button colour of the Checkout form.
> >
> > `backdrop_color` *optional*
> > : `string` Enter a HEX code to change the Checkout's backdrop colour.
> >
> > `modal`
> > : `object` Options to handle the Checkout modal.
> >
> > `backdropclose` *optional*
> > : `boolean` Indicates whether clicking the translucent blank space outside the Checkout form should close the form. Possible values:
> >
> > * `true`: Closes the form when your customer clicks outside the checkout form.
> > * `false` (default): Does not close the form when customer clicks outside the checkout form.
> >
> > `escape` *optional*
> > : `boolean` Indicates whether pressing the **escape** key should close the Checkout form. Possible values:
> >
> > * `true` (default): Closes the form when the customer presses the **escape** key.
> > * `false`: Does not close the form when the customer presses the **escape** key.
> >
> > `handleback` *optional*
> > : `boolean` Determines whether Checkout must behave similar to the browser when back button is pressed. Possible values:
> >
> > * `true` (default): Checkout behaves similarly to the browser. That is, when the browser's back button is pressed, the Checkout also simulates a back press. This happens as long as the Checkout modal is open.
> > * `false`: Checkout does not simulate a back press when browser's back button is pressed.
> >
> > `confirm_close` *optional*
> > : `boolean` Determines whether a confirmation dialog box should be shown if customers attempts to close Checkout. Possible values:
> >
> > * `true`: Confirmation dialog box is shown.
> > * `false` (default): Confirmation dialog box is not shown.
> >
> > `ondismiss` *optional*
> > : `function` Used to track the status of Checkout. You can pass a modal object with `ondismiss: function()\{\}` as options. This function is called when the modal is closed by the user. If `retry` is `false`, the `ondismiss` function is triggered when checkout closes, even after a failure.
> >
> > `animation` *optional*
> > : `boolean` Shows an animation before loading of Checkout. Possible values:
> >
> > * `true`(default): Animation appears.
> > * `false`: Animation does not appear.
> >
> > `subscription_id` *optional*
> > : `string` If you are accepting recurring payments using Razorpay Checkout, you should pass the relevant `subscription_id` to the Checkout. Know more about [Subscriptions on Checkout](/docs/api/payments/subscriptions-custom#checkout-integration).
> >
> > `subscription_card_change` *optional*
> > : `boolean` Permit or restrict customer from changing the card linked to the subscription. You can also do this from the [hosted page](/docs/payments/subscriptions/payment-retries#update-payment-method-on-our-hosted-page). Possible values:
> >
> > * `true`: Allow the customer to change the card from Checkout.
> > * `false` (default): Do not allow the customer to change the card from Checkout.
> >
> > `recurring` *optional*
> > : `boolean` Determines if you are accepting [recurring (charge-at-will) payments on Checkout](/docs/api/payments/recurring-payments) via instruments such as emandate, paper NACH and so on. Possible values:
> >
> > * `true`: You are accepting recurring payments.
> > * `false` (default): You are not accepting recurring payments.
> >
> > `callback_url` *optional*
> > : `string` Customers will be redirected to this URL on successful payment. Ensure that the domain of the Callback URL is allowlisted.
> >
> > `redirect` *optional*
> > : `boolean` Determines whether to post a response to the event handler post payment completion or redirect to Callback URL. `callback_url` must be passed while using this parameter. Possible values:
> >
> > * `true`: Customer is redirected to the specified callback URL in case of payment failure.
> > * `false` (default): Customer is shown the Checkout popup to retry the payment with the suggested next best option.
> >
> > `customer_id` *optional*
> > : `string` Unique identifier of customer. Used for:
> >
> > * [Local saved cards feature](/docs/payments/payment-methods/cards/features/saved-cards#manage-saved-cards).
> > * Static bank account details on Checkout in case of [Bank Transfer payment method](/docs/payments/payment-methods/bank-transfer).
> >
> > `remember_customer` *optional*
> > : `boolean` Determines whether to allow saving of cards. Can also be configured via the [Dashboard](/docs/payments/dashboard/account-settings/checkout-features#flash-checkout). Possible values:
> >
> > * `true`: Enables card saving feature.
> > * `false` (default): Disables card saving feature.
> >
> > `timeout` *optional*
> > : `integer` Sets a timeout on Checkout, in seconds. After the specified time limit, the customer will not be able to use Checkout.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Some browsers may pause `JavaScript` timers when the user switches tabs, especially in power saver mode. This can cause the checkout session to stay active beyond the set timeout duration.
> >
> > `readonly`
> > : `object` Marks fields as read-only.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `name` *optional*
> > : `boolean` Used to set the `name` field as readonly. Possible values:
> >
> > * `true`: Customer will not be able to edit this field.
> > * `false` (default): Customer will be able to edit this field.
> >
> > `hidden`
> > : `object` Hides the contact details.
> >
> > `contact` *optional*
> > : `boolean` Used to set the `contact` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `email` *optional*
> > : `boolean` Used to set the `email` field as optional. Possible values:
> >
> > * `true`: Customer will not be able to view this field.
> > * `false` (default): Customer will be able to view this field.
> >
> > `send_sms_hash` *optional*
> > : `boolean` Used to auto-read OTP for cards and netbanking pages. Applicable from Android SDK version 1.5.9 and above. Possible values:
> >
> > * `true`: OTP is auto-read.
> > * `false` (default): OTP is not auto-read.
> >
> > `allow_rotation` *optional*
> > : `boolean` Used to rotate payment page as per screen orientation. Applicable from Android SDK version 1.6.4 and above. Possible values:
> >
> > * `true`: Payment page can be rotated.
> > * `false` (default): Payment page cannot be rotated.
> >
> > `retry` *optional*
> > : `object` Parameters that enable retry of payment on the checkout.
> >
> > `enabled`
> > : `boolean` Determines whether the customers can retry payments on the checkout. Possible values:
> >
> > * `true` (default): Enables customers to retry payments.
> > * `false`: Disables customers from retrying the payment.
> >
> > `max_count`
> > : `integer` The number of times the customer can retry the payment. We recommend you to set this to 4. Having a larger number here can cause loops to occur.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Web Integration does not support the `max_count` parameter. It is applicable only in Android and iOS SDKs.
> >
> > `config` *optional*
> > : `object` Parameters that enable checkout configuration. Know more about how to [configure payment methods on Razorpay standard checkout](/docs/payments/payment-gateway/web-integration/standard/configure-payment-methods).
> >
> > `display`
> > : `object` Child parameter that enables configuration of checkout display language.
> >
> > `language`
> > : `string` The language in which checkout should be displayed. Possible values:
> >
> > * `en`: English
> > * `ben`: Bengali
> > * `hi`: Hindi
> > * `mar`: Marathi
> > * `guj`: Gujarati
> > * `tam`: Tamil
> > * `tel`: Telugu
> [accordion] 5 Store Fields in Your Server
>
> A successful payment returns the following fields to the Checkout form.
>
> > [accordion] Success Callback
> >
> > * You need to store these fields in your server.
> > * You can confirm the authenticity of these details by verifying the signature in the next step.
> >
> > ```json Success Callback theme={null}
> > {
> > "razorpay_payment_id": "pay_29QQoUBi66xm2f",
> > "razorpay_order_id": "order_9A33XWu170gUtm",
> > "razorpay_signature": "9ef4dffbfd84f1318f6739a3ce19f9d85851857ae648f114332d8401e0949a3d"
> > }
> > ```
> >
> > `razorpay_payment_id`
> > : `string` Unique identifier for the payment returned by Checkout **only** for successful payments.
> >
> > `razorpay_order_id`
> > : `string` Unique identifier for the order returned by Checkout.
> >
> > `razorpay_signature`
> > : `string` Signature returned by the Checkout. This is used to verify the payment.
> [accordion] 6 Verify Payment Signature
>
> This is a mandatory step to confirm the authenticity of the details returned to the Checkout form for successful payments.
>
> > [accordion] To verify the `razorpay_signature` returned to you by the Checkout form:
> >
> > 1. Create a signature in your server using the following attributes:
> > * `order_id`: Retrieve the `order_id` from your server. Do not use the `razorpay_order_id` returned by Checkout.
> > * `razorpay_payment_id`: Returned by Checkout.
> > * `key_secret`: Available in your server. The `key_secret` that was generated from the [Dashboard](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys).
> > 2. Use the SHA256 algorithm, the `razorpay_payment_id` and the `order_id` to construct a HMAC hex digest as shown below:
> >
> > ```html HMAC Hex Digest theme={null}
> > generated_signature = hmac_sha256(order_id + "|" + razorpay_payment_id, secret);
> >
> > if (generated_signature == razorpay_signature) {
> > payment is successful
> > }
> > ```
> >
> > 3. If the signature you generate on your server matches the `razorpay_signature` returned to you by the Checkout form, the payment received is from an authentic source.
>
> > [accordion] Generate Signature on Your Server
> >
> > Given below is the sample code for payment signature verification:
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > String secret = "EnLs21M47BllR3X8PSFtjtbd";
> >
> > JSONObject options = new JSONObject();
> > options.put("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.put("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.put("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > boolean status = Utils.verifyPaymentSignature(options, secret);
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->utility->verifyPaymentSignature(array('razorpay_order_id' => $razorpayOrderId, 'razorpay_payment_id' => $razorpayPaymentId, 'razorpay_signature' => $razorpaySignature));
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > payment_response = {
> > razorpay_order_id: 'order_IEIaMR65cu6nz3',
> > razorpay_payment_id: 'pay_IH4NVgf4Dreq1l',
> > razorpay_signature: '0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f'
> > }
> > Razorpay::Utility.verify_payment_signature(payment_response)
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > client.utility.verify_payment_signature({
> > 'razorpay_order_id': razorpay_order_id,
> > 'razorpay_payment_id': razorpay_payment_id,
> > 'razorpay_signature': razorpay_signature
> > })
> > ```
> >
> > ```c .NET theme={null}
> > RazorpayClient client = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > Dictionary options = new Dictionary();
> > options.Add("razorpay_order_id", "order_IEIaMR65cu6nz3");
> > options.Add("razorpay_payment_id", "pay_IH4NVgf4Dreq1l");
> > options.Add("razorpay_signature", "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f");
> >
> > Utils.verifyPaymentSignature(options);
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > var { validatePaymentVerification, validateWebhookSignature } = require('./dist/utils/razorpay-utils');
> > validatePaymentVerification({"order_id": razorpayOrderId, "payment_id": razorpayPaymentId }, signature, secret);
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > params := map[string]interface{}{
> > "razorpay_order_id": "order_IEIaMR65cu6nz3",
> > "razorpay_payment_id": "pay_IH4NVgf4Dreq1l",
> > }
> >
> > signature := "0d4e745a1838664ad6c9c9902212a32d627d68e917290b0ad5f08ff4561bc50f";
> > secret := "EnLs21M47BllR3X8PSFtjtbd";
> > utils.VerifyPaymentSignature(params, signature, secret)
> > ```
>
> > [accordion] Post Signature Verification
> >
> > After you have completed the integration, you can [set up webhooks](/docs/webhooks/setup-edit-payments), make test payments, replace the test key with the live key and integrate with other [APIs](/docs/api).
>
> > [accordion] M1 MacBook Changes
> >
> > If you use M1 MacBook, you need to make the following changes in your podfile.
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Add the following code inside `post_install do |installer|`.
> >
> > ```javascript podfile theme={null}
> > installer.pods_project.build_configurations.each do |config|
> > config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
> > end
> > ```
> [accordion] 7 Verify Payment Status
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > On the Razorpay Dashboard, ensure that the payment status is `captured`. Refer to the payment capture settings page to know how to [capture payments automatically](/docs/payments/payments/capture-settings).
>
> > [accordion] You can track the payment status in three ways:
> >
> > > [tab] Verify Status from Dashboard
> > >
> > > To verify the payment status from the Razorpay Dashboard:
> > >
> > > 1. Log in to the Razorpay Dashboard and navigate to **Transactions** โ **Payments**.
> > > 2. Check if a **Payment Id** has been generated and note the status. In case of a successful payment, the status is marked as **Captured**.
> > >
> > > 
> >
> > > [tab] Subscribe to Webhook Events
> > >
> > > You can use Razorpay webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to [set up webhooks.](/docs/webhooks/setup-edit-payments)
> > >
> > > #### Example
> > >
> > > If you have subscribed to the `order.paid` webhook event, you will receive a notification every time a customer pays you for an order.
> >
> > > [tab] Poll APIs
> > >
> > > [Poll Payment APIs](/docs/api/payments/fetch-all-payments) to check the payment status.
## 2. Test Integration
After the integration is complete, a **Pay** button appears on your webpage/app.

Click the button and make a test transaction to ensure the integration is working as expected. You can start accepting actual payments from your customers once the test transaction is successful.
> [!WARNING]
>
> **Watch Out!**
>
> This is a mock payment page that uses your test API keys, test card and payment details.
>
> * Ensure you have entered only your [Test Mode API keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) in the Checkout code.
> * Test mode features a mock bank page with **Success** and **Failure** buttons to replicate the live payment experience.
> * No real money is deducted due to the usage of test API keys. This is a simulated transaction.
Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others may require approval from us. Raise a request from the Dashboard to enable such payment methods.
| Payment Method | Code | Availability |
| - | - | - |
| [Debit Card](/docs/payments/payment-methods/cards) | `debit` | โ |
| [Credit Card](/docs/payments/payment-methods/cards) | `credit` | โ |
| [Netbanking](/docs/payments/payment-methods/netbanking) | `netbanking` | โ |
| [UPI](/docs/payments/payment-methods/upi) | `upi` | โ |
| EMI - [Credit Card EMI](/docs/payments/payment-methods/emi/credit-card-emi), [Debit Card EMI](/docs/payments/payment-methods/emi/debit-card-emi) and [No Cost EMI](/docs/payments/payment-methods/emi/no-cost-emi) | `emi` | โ |
| [Wallet](/docs/payments/payment-methods/wallets) | `wallet` | โ |
| [Cardless EMI](/docs/payments/payment-methods/emi/cardless-emi) | `cardless_emi` | Requires [Approval](https://razorpay.com/support). |
| [Bank Transfer](/docs/payments/payment-methods/bank-transfer) | `bank_transfer` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Emandate](/docs/payments/recurring-payments/emandate/integrate) | `emandate` | Requires [Approval](https://razorpay.com/support) and Integration. |
| [Pay Later](/docs/payments/payment-methods/pay-later) | `paylater` | Requires [Approval](https://razorpay.com/support). |
You can make test payments using one of the payment methods configured at the Checkout.
> [accordion] Netbanking
>
> You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the bank login portals.
>
> Check the list of [supported banks](/docs/payments/payment-methods/netbanking#supported-banks).
> [accordion] UPI
>
> You can enter one of the following UPI IDs:
>
> * `success@razorpay`: To make the payment successful.
> * `failure@razorpay`: To fail the payment.
>
> Check the list of [supported UPI flows](/docs/payments/payment-methods/upi).
>
> > [!NOTE]
> >
> > **Handy Tips**
> >
> > You can use **Test Mode** to test UPI payments, and **Live Mode** for UPI Intent and QR payments.
> [accordion] Cards
>
> You can use the following test cards to test transactions for your integration in Test Mode.
>
> ### Domestic Cards
>
> Use the following test cards for Indian payments:
>
> | Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Visa | 4100 2800 0000 1007 | Use a random CVV and any future date ^^^^^ |
> | Mastercard | 5500 6700 0000 1002 | |
> | RuPay | 6527 6589 0000 1005 | |
> | Diners | 3608 280009 1007 | |
> | Amex | 3402 560004 01007 | |
>
> #### Error Scenarios
>
> Use these test cards to simulate payment errors. See the [complete list](/docs/payments/payments/test-card-details#error-scenarios) of error test cards with detailed scenarios.
> Check the following lists:
>
> * [Supported Card Networks](/docs/payments/payment-methods/cards).
> * [Cards Error Codes](/docs/errors/payments/cards).
>
> ### International Cards
>
> Use the following test cards to test international payments. Use any valid expiration date in the future in the MM/YY format and any random CVV to create a successful payment.
>
> | Card Network | Card Number | CVV & Expiry Date |
> | - | - | - |
> | Mastercard | 5555 5555 5555 4444 5105 1051 0510 5100 5104 0600 0000 0008 | Use a random CVV and any future date ^^ |
> | Visa | 4012 8888 8888 1881 | |
>
> Check the list of [supported card networks](/docs/payments/payment-methods/cards).
> [accordion] Wallet
>
> You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment `success` or a `failure`. Since this is Test Mode, we will not redirect you to the wallet login portals.
>
> Check the list of [supported wallets](/docs/payments/payment-methods/wallets#supported-wallets).
## 3. Go-live Checklist
Check the go-live checklist for Razorpay React Native Android integration. Consider these steps before taking the integration live.
> [accordion] 1 Accept Live Payments
>
> Perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Ensure you are switching your test API keys with API keys generated in Live Mode.
>
> To generate API Keys in Live Mode on your Razorpay Dashboard:
>
> 1. Log in to the Razorpay Dashboard and switch to **Live Mode** on the menu.
> 2. Navigate to **Account & Settings** โ **API Keys** โ **Generate Key** to generate the API Key for Live Mode.
> 3. Download the keys and save them securely.
> 4. Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.
> [accordion] 2 Payment Capture
>
> After payment is `authorized`, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
>
> > [!WARNING]
> >
> > **Watch Out**
> >
> > * You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
> > * You can track the payment status using our [Fetch a Payment API](/docs/api/payments/fetch-with-id) or webhooks.
>
> > [tab] Auto-capture Payments (Recommended)
> >
> > Authorized payments can be automatically captured. You can auto-capture all payments [using global settings](/docs/payments/payments/capture-settings#auto-capture-all-payments) on the Razorpay Dashboard. Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the [Orders API](/docs/api/orders/create).
>
> > [tab] Manually Capture Payments
> >
> > Each authorized payment can also be captured individually. You can manually capture payments using [Payment Capture API](/docs/api/payments/capture) or [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments). Know more about [capture settings for payments](/docs/payments/payments/capture-settings).
> [accordion] 3 Set Up Webhooks
>
> Ensure you have [set up webhooks](/docs/webhooks/setup-edit-payments) in the live mode and configured the events for which you want to receive notifications.
>
> > [!WARNING]
> >
> > **Implementation Considerations**
> >
> > Webhooks are the primary and most efficient method for event notifications. They are delivered asynchronously in near real-time. For critical user-facing flows that need instant confirmation (like showing "Payment Successful" immediately), supplement webhooks with API verification.
> >
> > **Recommended approach** \\
> >
> > * Rely on webhooks for all automation, which can be asynchronous.
> > * If a critical user-facing flow requires instant status, but the webhook notification has not arrived within the time mandated by your business needs, perform an immediate API Fetch call ([Payments](/docs/api/payments/fetch-with-id), [Orders](/docs/api/orders/fetch-with-id) and [Refunds](/docs/api/refunds/fetch-specific-refund-payment)) to verify the status.
# Integration Steps (iOS)
Source: https://razorpay.com/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-ios
Steps to integrate your React Native iOS application with Razorpay Payment Gateway.
Available in
๐ฎ๐ณ India
๐ฒ๐พ Malaysia
๐ธ๐ฌ Singapore
Follow these steps to integrate your React Native iOS application:
> [card] [1. Build Integration](/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-ios#1-build-integration)
>
> Integrate React iOS Standard Checkout.
> [card] [2. Test Integration](/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-ios#2-test-integration)
>
> Test the integration by making a test payment.
> [card] [3. Go-live Checklist](/docs/payments/payment-gateway/react-native-integration/standard/integration-steps-ios#3-go-live-checklist)
>
> Check the go-live checklist.
[How to Integrate Razorpay Payment Gateway on React Native iOS App](https://www.youtube.com/embed/cSkZo6Mzm1I)
> [!WARNING]
>
> **Watch Out!**
>
> If you use M1 MacBook, you need to make [these changes](#m1-macbook-changes) in your `podfile`.
## 1. Build Integration
Follow the steps given below:
> [accordion] 1 Install Razorpay React Native SDK
>
> Install the SDK using the following `npm` command in the **Terminal** window. If you are using Windows, please use **Git Bash** instead of the **Command Prompt** window. Ensure that you run this code within your React Native project folder in **Terminal** window.
>
> ```javascript Installation Code theme={null}
> //using npm
> $ npm install react-native-razorpay --save
> ```
>
> Additionally, run the code given below if you are using `yarn` or `expo`:
>
> ```javascript Installation Code using yarn theme={null}
> // using yarn
> $ yarn add react-native-razorpay
> ```
>
> ```javascript Installation Code using expo theme={null}
> // for expo
> $ npx expo install react-native-razorpay
> ```
> [accordion] 2 Open Podfile and Update Platform Version
>
> Install pods after updating the iOS platform. This will install all pods in the Podfile at the exact versions.\\
>
> ```javascript Cocoapod Step theme={null}
> pod install && cd ..
> ```
> [accordion] 3 Install Pods Using Cocoapods
>
> Navigate to the **ios** folder and open **Podfile**. You can do this using the following code.
>
> ```javascript Open Podfile theme={null}
> $ cd ios && open podfile
> ```
>
> Change the platform version from `9.0` to `10.0` in the Podfile.\
> \\
>
> 
> [accordion] 4 Run React Native App
>
> Run the React Native app.
>
> ```javascript Run App theme={null}
> npx react-native run-ios
> ```
>
> The SDK has automatically linked with React Native project. You do not need to perform any additional manual steps.
>
> > [accordion] Expo Application
> >
> > After adding the `react-native-razorpay` package, use the option to prebuild the app. This generates the **iOS** platform folders in the project to use native-modules.
> >
> > ```javascript Run theme={null}
> > npx expo prebuild
> > ```
> >
> > The application is installed on the device/emulator.
> >
> > ```javascript theme={null}
> > npx expo run:[ios] --device
> > ```
> [accordion] 5 Create an Order in Server
>
> **Order is an important step in the payment process.**
>
> * An order should be created for every payment.
>
> * You can create an order using the [Orders API](#api-sample-code). It is a server-side API call. Know how to [authenticate](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) Orders API.
>
> * The `order_id` received in the response should be passed to the checkout. This ties the order with the payment and secures the request from being tampered.
>
> > [!WARNING]
> >
> > **Watch Out!**
> >
> > Payments made without an `order_id` cannot be captured and will be automatically refunded. You must create an order before initiating payments to ensure proper payment processing.
>
> You can create an order using:
>
> > [tab] API Sample Code
> >
> > Use this endpoint to create an order using the Orders API.
> >
> > `POST /orders`
> >
> > ```bash Curl theme={null}
> > curl -X POST https://api.razorpay.com/v1/orders
> > -U [YOUR_KEY_ID]:[YOUR_KEY_SECRET]
> > -H 'content-type:application/json'
> > -d '{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "qwsaq1",
> > "partial_payment": true,
> > "first_payment_min_amount": 230
> > }'
> > ```
> >
> > ```java Java theme={null}
> > RazorpayClient razorpay = new RazorpayClient("[YOUR_KEY_ID]", "[YOUR_KEY_SECRET]");
> >
> > JSONObject orderRequest = new JSONObject();
> > orderRequest.put("amount", 50000); // amount in the smallest currency unit
> > orderRequest.put("currency", "INR");
> > orderRequest.put("receipt", "order_rcptid_11");
> >
> > Order order = razorpay.Orders.create(orderRequest);
> > } catch (RazorpayException e) {
> > // Handle Exception
> > System.out.println(e.getMessage());
> > }
> > ```
> >
> > ```python Python theme={null}
> > import razorpay
> > client = razorpay.Client(auth=("YOUR_ID", "YOUR_SECRET"))
> >
> > DATA = {
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "receipt#1",
> > "notes": {
> > "key1": "value3",
> > "key2": "value2"
> > }
> > }
> > client.order.create(data=DATA)
> > ```
> >
> > ```php PHP theme={null}
> > $api = new Api($key_id, $secret);
> >
> > $api->order->create(array('receipt' => '123', 'amount' => 50000, 'currency' => 'INR', 'notes'=> array('key1'=> 'value3','key2'=> 'value2')));
> > ```
> >
> > ```csharp .NET theme={null}
> > RazorpayClient client = new RazorpayClient(your_key_id, your_secret);
> >
> > Dictionary options = new Dictionary();
> > options.Add("amount", 50000); // amount in the smallest currency unit
> > options.add("receipt", "order_rcptid_11");
> > options.add("currency", "INR");
> > Order order = client.Order.Create(options);
> > ```
> >
> > ```ruby Ruby theme={null}
> > require "razorpay"
> > Razorpay.setup('YOUR_KEY_ID', 'YOUR_SECRET')
> >
> > options = amount: 50000, currency: 'INR', receipt: ''
> > order = Razorpay::Order.create
> > ```
> >
> > ```javascript Node.js theme={null}
> > var instance = new Razorpay({ key_id: 'YOUR_KEY_ID', key_secret: 'YOUR_SECRET' })
> >
> > instance.orders.create({
> > amount: 50000,
> > currency: "INR",
> > receipt: "receipt#1",
> > notes: {
> > key1: "value3",
> > key2: "value2"
> > }
> > })
> > ```
> >
> > ```go Go theme={null}
> > import ( razorpay "github.com/razorpay/razorpay-go" )
> > client := razorpay.NewClient("YOUR_KEY_ID", "YOUR_SECRET")
> >
> > data := map[string]interface{}{
> > "amount": 50000,
> > "currency": "INR",
> > "receipt": "some_receipt_id"
> > }
> > body, err := client.Order.Create(data)
> > ```
> >
> > ```json Success Response theme={null}
> > {
> > "id": "order_IluGWxBm9U8zJ8",
> > "entity": "order",
> > "amount": 50000,
> > "amount_paid": 0,
> > "amount_due": 50000,
> > "currency": "INR",
> > "receipt": "rcptid_11",
> > "offer_id": null,
> > "status": "created",
> > "attempts": 0,
> > "notes": [],
> > "created_at": 1642662092
> > }
> > ```
> >
> > ```json Failure Response theme={null}
> > {
> > "error": {
> > "code": "BAD_REQUEST_ERROR",
> > "description": "Order amount less than minimum amount allowed",
> > "source": "business",
> > "step": "payment_initiation",
> > "reason": "input_validation_failed",
> > "metadata": {},
> > "field": "amount"
> > }
> > }
> > ```
>
> > [tab] Razorpay Postman Public Workspace
> >
> > You can use the Postman workspace below to create an order:
> >
> > [](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/request/12492020-6f15a901-06ea-4224-b396-15cd94c6148d)
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Under the **Authorization** section in Postman, select **Basic Auth** and add the Key Id and secret as the Username and Password, respectively.
> >
> > You can create an order manually by integrating the API sample codes on your server.
>
> > [accordion] Request Parameters
> >
> > `amount` *mandatory*
> > : `integer` The transaction amount, expressed in the currency subunit. For example, for an actual amount of , the value of this field should be `22225`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the transaction should be made. See the [list of supported currencies](/docs/payments/international-payments#supported-currencies). Length must be of 3 characters.
> >
> > `receipt` *optional*
> > : `string` Your receipt id for this order should be passed here. Maximum length is 40 characters.
> >
> > `notes` *optional*
> > : `json object` Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, `"note_key": "Beam me up Scottyโ`.
> >
> > `partial_payment` *optional*
> > : `boolean` Indicates whether the customer can make a partial payment. Possible values:
> >
> > * `true`: The customer can make partial payments.
> > * `false` (default): The customer cannot make partial payments.
> >
> > `first_payment_min_amount` *optional*
> > : `integer` Minimum amount that must be paid by the customer as the first partial payment. For example, if an amount of โน7,000 is to be received from the customer in two installments of #1 - โน5,000, #2 - โน2,000, then you can set this value as `500000`. This parameter should be passed only if `partial_payment` is `true`.
>
> > [accordion] Response Parameters
> >
> > Descriptions for the response parameters are present in the [Orders Entity](/docs/api/orders/entity) parameters table.
>
> > [accordion] Error Response Parameters
> >
> > The error response parameters are available in the [API Reference Guide](/docs/api/orders/create).
> [accordion] 6 Add Razorpay Checkout Options to .js File
>
> To integrate the Razorpay Checkout with your React Native app, you must add the Checkout Display Options in the **.js** file.
>
> Open the **.js** file in your project folder and perform the following:
>
> 1. Import the `RazorpayCheckout` module to your component.
>
> ```javascript Import Razorpay Checkout Module theme={null}
> import RazorpayCheckout from 'react-native-razorpay';
> ```
>
> 2. Call the `RazorpayCheckout.open` method with the payment options. The method returns a JS Promise where the `then` part corresponds to a successful payment and the `catch` part corresponds to payment failure.
>
> ```javascript Checkout Options theme={null}
> {
> var options = {
> description: 'Credits towards consultation',
> image: 'https://i.imgur.com/3g7nmJC.jpg',
> currency: 'INR',
> key: '',
> amount: '50000',
> name: 'Acme Corp',
> order_id: 'order_DslnoIgkIDL8Zt',//Replace this with an order_id created using Orders API.
> prefill: {
> email: '',
> contact: '',
> name: ''
> },
> theme: {color: '#53a20e'}
> }
> RazorpayCheckout.open(options).then((data) => {
> // handle success
> alert(`Success: ${data.razorpay_payment_id}`);
> }).catch((error) => {
> // handle failure
> alert(`Error: ${error.code} | ${error.description}`);
> });
> }}>
> ```
>
> > [accordion] Checkout Options
> >
> > You must pass these parameters in Checkout to initiate the payment.
> >
> > `key` *mandatory*
> > : `string` API Key ID generated from the Dashboard.
> >
> > `amount` *mandatory*
> > : `integer` Payment amount in the smallest currency subunit. For example, if the amount to be charged is , enter `222250` in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to accept a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to accept a payment of 295, pass the value as 295.
> >
> > > [!WARNING]
> > >
> > > **Watch Out!**
> > >
> > > As per payment guidelines, you should pass the last decimal number as 0 for three decimal currency payments. For example, if you want to charge a customer 99.991 KD for a transaction, you should pass the value for the amount parameter as `99990` and not `99991`.
> >
> > `currency` *mandatory*
> > : `string` The currency in which the payment should be made by the customer. See the list of [supported currencies](/docs/payments/international-payments#supported-currencies).
> >
> > > [!NOTE]
> > >
> > > **Handy Tips**
> > >
> > > Razorpay has added support for zero decimal currencies, such as JPY, and three decimal currencies, such as KWD, BHD, and OMR, allowing businesses to accept international payments in these currencies. Know more about [Currency Conversion](/docs/payments/international-payments/currency-conversion) (May 2024).
> >
> > `name` *mandatory*
> > : `string` Your Business/Enterprise name shown on the Checkout form. For example, **Acme Corp**.
> >
> > `description` *optional*
> > : `string` Description of the purchase item shown on the Checkout form. It should start with an alphanumeric character.
> >
> > `image` *optional*
> > : `string` Link to an image (usually your business logo) shown on the Checkout form. Can also be a **base64** string if you are not loading the image from a network.
> >
> > `order_id` *mandatory*
> > : `string` Order ID generated via [Orders API](/docs/api/orders).
> >
> > `prefill`
> > : `object` You can prefill the following details at Checkout.
> >
> > > [!NOTE]
> > >
> > > **Boost Conversions and Minimise Drop-offs**
> > >
> > > * Autofill customer contact details, especially phone number to ease form completion. Include customerโs phone number in the `contact` parameter of the JSON request's `prefill` object. Format: +(country code)(phone number). Example: "contact": "+919000090000".
> > > * This is not applicable if you do not collect customer contact details on your website before checkout, have Shopify stores or use any of the no-code apps.
> >
> > `name` *optional*
> > : `string` Cardholder's name to be prefilled if customer is to make card payments on Checkout. For example, **Gaurav Kumar**.
> >
> > `email` *optional*
> > : `string` Email address of the customer.
> >
> > `contact` *optional*
> > : `string` Phone number of the customer. The expected format of the phone number is `+ {country code}{phone number}`. If the country code is not specified, `91` will be used as the default value. This is particularly important while prefilling `contact` of customers with phone numbers issued outside India. **Examples**:
> >
> > * +14155552671 (a valid non-Indian number)
> > * +919977665544 (a valid Indian number). \
> > If 9977665544 is entered, `+91` is added to it as +919977665544.
> >
> > `method` *optional*
> > : `string` Pre-selection of the payment method for the customer. Will only work if `contact` and `email` are also prefilled. Possible values:
> >
> >