SUMMARY
- Step 1: Customer initiate Payment from merchants app.
- Step 2: Merchant will trigger the fetch auth token API from their backend.
- Step 3: PhonePe will return Auth token.
- Step 4: Using the received Auth token merchant will call PhonePe’s Create Order API to get the order token, which will be used to initialize the SDK.
- Step 5: Merchant will initialize the SDK to initiate the transaction.
- Step 6: Once the redirection happens back to the merchant’s app then check for webhook response and check status API response to update the original status of transaction to users.