1. Subscription Workflow
1.1 Set Up Subscription Flow
- Payer selects the package to subscription
- Platform requests to Phapay for generate QR
- Phapay response QR string to Platform
- Platform displays QR for scanning
- Payer scans and accepts the condition from the bank
- The bank will return data to Phapay with success to payer
- The bank will notify to Phapay with authCode
- Phapay will notify to Phapay with authCode as well

1.2 Debit Subscription Flow
- Phapay calculates the subscription date and requests a debit subscription to the bank
- The bank will notify a subscription success to Payer
- The bank will notify a subscription success to Phapay
- Phapay will notify a subscription success to Platform

1.3 Cancel Subscription Flow (Cancel Subscription through API)
- User need to cancel then requests to Platform
- Platform receive a request then send to Phapay with authCode
- Phapay will make a request to Bank for confirming cancel subscription
- After success bank will response to Phapay
- Phapay will response to Platform with success cancel
- Platform will show cancel success

1.4 Cancel Subscription Flow (Subscription through Bank App)
- Payer open app bank and cancel subscription
- The bank will notify to Phapay for confirming
- After confirming success bank will response cancel success to Payer
- Phapay will notify to Platform with success cancel subscription

Read More:
Explore the full Subscription Payment for detailed integration guidelines .
Click here to access:
Subscription Payment Documentation (PDF)