Code examples for merchant API integrations with PhonePe.
- Make collect call
- Get payment status
- Cancel a payment request
- Trigger a refund for a payment
Full API Documentation: https://developer.phonepe.com/reference#api-objects-offline
- Get the Preprod (UAT) credentials here: https://developer.phonepe.com/docs/test-credentials
- Get the production credentials by signing up with PhonePe here: https://developer.phonepe.com/docs/merchant-onboarding
- Set the environment as
UAT
orPROD
- Python
- Node.js