Webhooks

Learn how subscription status works within MYFUNDBOX

Masud khan avatar
Written by Masud khan
Updated over a week ago

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&subscriberId=test@myfundbox.com

Replace OrgId = "Your MYFUNDBOX Company ID" & subscriberId = "Your Subscriber MYFUNDBOX E-mail Address"

Output
JSON
{
"name":"Jerry",
"username":"Jerry.Mastermann@test.de",
"telephone":"132564641651321",
"amount":"10,00",
"currency":"GBP",
"start_date":"2020-01-22",
"end_date":"",
"lastpayment_date":"",
"created_date":"2020-01-22",
"status":"Inactive",
"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&subscriberId=test@abc.com

Replace OrgId = "Your MYFUNDBOX Company ID" & subscriberId = "Your Subscriber MYFUNDBOX E-mail Address"

Output
JSON
{
"status":"Inactive",
"description":"user does not exists"
}

Did this answer your question?