1. Set Up Subscription Success
When the user scans QR code and accepts the condition from the bank for subscription, Phapay will return data to the webhook in (2.2) that configured above with method POST and when platform get this then return with status 200 for success.
Field | Type | Description |
---|---|---|
message | String | Message to tell that subscription connected successfully |
status | String | Status to tell that subscription is connected |
transactionId | String | Unique identifier for the transaction |
authCode | String | User is connected subscription with this code |
time | String | The time that user connected successfully |
application/json
{
message: 'SUBSCRIPTION_CONNECTED_SUCCESSFULLY',
status:'SUBSCRIPTION_CONNECTED',
transactionId: 'a8d014d4-6657-4c10-8314-39f2b59cf396'
authCode:'FOURDOLB9NAE',
time:"2025-02-12 14:54:45"
}
Read More:
Explore the full Subscription Payment for detailed integration guidelines .
Click here to access:
Subscription Payment Documentation (PDF)