1. Debit Subscription Success
When debit subscription successfully PhaJay 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.
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 of subscription |
paymentTransactionId | String | Unique identifier for the payment transaction |
authCode | String | User is connected subscription with this code |
time | String | The time when debit subscription successfully |
application/json
{
message: 'SUBSCRIPTION_SUCCESSFULLY',
status:'SUBSCRIPTION_SUCCESS',
transactionId: 'a8d014d4-6657-4c10-8314-39f2b59cf396',
paymentTransactionId: '4cdd994e-629f-4f07-aef5-ae393bacbd3a',
authCode: 'FOURDOLB9NAE',
time: '2025-02-12 14:54:45'
}
⚠️ Note:
It will schedule the next payment based on your resubscriptionDays parameter or package plan (e.g., 30, 60, or 90 days).