🎉 Lailaolab Payment Support is service now. Get Start

v1
Connect to Subscription
Debit subscription

1. Debit Subscription Success

When debit subscription successfully Phapay will return data to the webhook in (2.3) that configured above with method POST and when platform get this then return with status 200 for success.

1. Response data

FieldTypeDescription
messageStringMessage to tell that subscription connected successfully
statusStringStatus to tell that subscription is connected
transactionIdStringUnique identifier for the transaction
authCodeStringUser is connected subscription with this code
timeStringThe time when debit subscription successfully

2. Example Debit subscription response data

application/json
 
{
message: 'SUBSCRIPTION_SUCCESSFULLY',
status:'SUBSCRIPTION_SUCCESS',
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)