- Open UPI accounts › Add UPI account; PhonePe is selected.
- Choose API v2 (Client ID, Client secret, Client version) or API v1 (Merchant ID, Salt key, Salt index).
- Choose Live or Staging to match your credentials.
- Save. The connection is tested straight away.
- Copy the webhook URL shown for the account into your PhonePe dashboard, with the same username and password you entered.