Supported workflows
The response redirects to an app deep link, so integrate PhonePe through the Payrails API and handle the redirect in your own checkout.Before you begin
Complete these steps before you send your first PhonePe payment through Unlimit:- Set up an Unlimit integration in your workspace. Contact your Payrails account team if Unlimit isn’t listed in your Payrails Portal yet.
- Ask Unlimit to enable PhonePe on your Unlimit terminal.
- In the Payrails Portal, go to Settings → Integrations, open your Unlimit integration, and turn on Processing payments in India. Select PhonePe under Payment methods, and save.
- Add PhonePe as a payment option in your workflow.
Request fields for Unlimit
Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.Authorize a PhonePe payment
Call authorize a payment withphonePe as the paymentMethodCode. The response includes the redirect to the PhonePe app or the Unlimit payment page.
Authorize request
How Unlimit handles PhonePe
- Unlimit charges PhonePe payments directly and reports only the completed payment. Payrails records the authorization and the capture from that single notification.
- To return funds after a successful payment, refund it.
- Unlimit doesn’t return acquirer reference, retrieval reference or authorization code values for PhonePe payments.
- Merchant-initiated transactions (MIT) through Unlimit work only with cards, Apple Pay, and Google Pay. Payrails returns an error for a PhonePe MIT.