Testing using Postman collection

STEPS TO TEST IN POSTMAN

  1. Download and install postman

  2. Downloads the file from the link or you can directly import the link using the URL https://docs.phonepe.com/public/external/online_integration/Postman_collection in your postman set up

  1. Get your Merchant ID (MID), Salt Keys from PhonePe Integration Team
  1. Update these values in the following fields of Pre-request Script under the Configure section.
    • URL - Host URL for staging https://mercury-uat.phonepe.com and for production https://mercury-t2.phonepe.com
    • MID - Merchant Id
    • Transaction ID - Transaction Id
    • SaltKey - Update the Salt Key
    • SaltIndex - Update the Salt Key Index