🎉 PhaJay is service now. Get Started

v1
Connect to Subscription
Setup subscription

1. Set Up Subscription Success

When the user scans QR code and accepts the condition from the bank for subscription, PhaJay 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.

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 that user connected successfully

2. Example subscription connected response data

application/json
{
message: 'SUBSCRIPTION_CONNECTED_SUCCESSFULLY',
status:'SUBSCRIPTION_CONNECTED',
transactionId: 'a8d014d4-6657-4c10-8314-39f2b59cf396'
authCode:'FOURDOLB9NAE',
time:"2025-02-12 14:54:45"
}
 

⚠️ Note:
if you setup subscriptionDate as the current date then this will not reponse. This will be responsed in case you setup subscriptionDate as the future date then this will reponse to tell that subscription connected successfully