Webhooks
5 min
Learn how subscription status works within MYFUNDBOX
Video tutorial to configure webhooks endpoint URL:
Succeeded
When the organization ID & subscriber E-mail address matches perfectly, the subscription is active and the status will be displayed as given below:
Input
https://subscription.myfundbox.com/webhook?orgid=1313&[email protected]
Replace Org Id = "Your MYFUNDBOX Company ID" & subscriber Id = "Your Subscriber MYFUNDBOX E-mail Address"
Output
{
"name":"Jerry",
"username":"[email protected]",
"telephone":"132564641651321",
"amount":"10,00",
"currency":"GBP",
"start_date":"2020-01-22",
"end_date":"",
"lastpayment_date":"",
"created_date":"2020-01-22",
"status":"active",
"description":"user exists With an active subscription"
}Failure
When there is no records or organization ID & subscriber E-mail address doesn't match, then the subscription is inactive and the status will be displayed as given below
Input
https://subscription.myfundbox.com/webhook?orgid=1313&[email protected]
Replace OrgId = "Your MYFUNDBOX Company ID" & subscriberId = "Your Subscriber MYFUNDBOX E-mail Address"
Output
{
"status":"Inactive",
"description":"user does not exists"
}