Skip to content

Connect PhonePe

PhonePe covers UPI, Cards, Net Banking and Wallets. Connect it on the Addons → RelyPay → Providers page using the credentials from your PhonePe Business account.

The PhonePe configuration card in RelyPayAddons → RelyPay → Providers → PhonePe

Credentials you will need

On the PhonePe card, fill in these fields exactly:

FieldWhere to find it
Client IDFrom PhonePe Business Dashboard
Client SecretFrom PhonePe Business Dashboard
Client VersionAPI version (default: 1)

Leave Client Version at 1 unless PhonePe has asked you to use a different API version.

Options

  • Payment Mode — choose Redirect or Iframe. How the checkout is displayed. Redirect sends the customer to PhonePe; Iframe embeds the checkout on your site.
  • Sandbox Mode — toggle. Enable for testing. Turn this on to trial the integration against PhonePe's sandbox, and off for live payments.

Webhook authentication

PhonePe authenticates its webhook with a username and password that you set. Enter matching values in both places — the PhonePe dashboard and RelyPay:

FieldPurpose
Webhook UsernameFor webhook authentication
Webhook PasswordFor webhook authentication

Register the webhook

  1. On the PhonePe card in RelyPay, copy the webhook URL shown.
  2. In the PhonePe Business Dashboard, add that URL as your webhook endpoint and set the username and password to match the values you entered in RelyPay.
  3. Subscribe to these events:
EventRequired?
checkout.order.completedRequired
checkout.order.failedOptional

SSL required

The webhook URL must be HTTPS. PhonePe will not deliver events to an insecure endpoint, and RelyPay verifies each callback.

Test it

  1. Click Test Connection on the PhonePe card to confirm your credentials reach PhonePe.
  2. Enable PhonePe and save.
  3. Place a test payment through a RelyPay sub-gateway that PhonePe can serve, and confirm the result appears in the transaction log with PhonePe as the provider.

Documentation for the Relyweb app catalogue.