Skip to main content

Subscription notice examples

These are examples of subscription notice event notifications. See Subscription notice for more information.

Deactivated account with a suspended status

  • JSON
{
"type": "SUBSCRIPTION_NOTICE",
"marketplace": {
"baseUrl": "https://origoinc.byappdirect.com",
"partner": "ORIGOINC"
},
"payload": {
"account": {
"accountIdentifier": "94d5c660-c36f-4c00-bf14-a5ee820d22bc_0",
"status": "SUSPENDED"
},
"configuration": [],
"notice": {
"type": "DEACTIVATED"
}
}
}
  • XML
<event>
<type>SUBSCRIPTION_NOTICE</type>
<marketplace>
<baseurl>https://origoinc.byappdirect.com</baseurl>
<partner>ORIGOINC</partner>
</marketplace>
<payload>
<account>
<accountidentifier>94d5c660-c36f-4c00-bf14-a5ee820d22bc_0</accountidentifier>
<status>SUSPENDED</status>
</account>
<configuration/>
<notice>
<type>DEACTIVATED</type>
</notice>
</payload>
</event>

Deactivated account with an expired free trial

  • JSON
{
"type": "SUBSCRIPTION_NOTICE",
"marketplace": {
"baseUrl": "https://origoinc.byappdirect.com",
"partner": "ORIGOINC"
},
"payload": {
"account": {
"accountIdentifier": "6aa53c5b-86bf-4640-8778-e56700089eeb",
"status": "FREE_TRIAL_EXPIRED"
},
"configuration": [],
"notice": {
"type": "DEACTIVATED"
}
}
}
  • XML
<event>
<type>SUBSCRIPTION_NOTICE</type>
<marketplace>
<baseurl>https://origoinc.byappdirect.com</baseurl>
<partner>ORIGOINC</partner>
</marketplace>
<payload>
<account>
<accountidentifier>6aa53c5b-86bf-4640-8778-e56700089eeb</accountidentifier>
<status>FREE_TRIAL_EXPIRED</status>
</account>
<configuration/>
<notice>
<type>DEACTIVATED</type>
</notice>
</payload>
</event>

A canceled account

  • JSON
{
"type": "SUBSCRIPTION_NOTICE",
"marketplace": {
"baseUrl": "https://origoinc.byappdirect.com",
"partner": "ORIGOINC"
},
"payload": {
"account": {
"accountIdentifier": "6aa53c5b-86bf-4640-8778-e56700089eeb",
"status": "CANCELLED"
},
"configuration": [],
"notice": {
"type": "CLOSED"
}
}
}
  • XML
<event>
<type>SUBSCRIPTION_NOTICE</type>
<marketplace>
<baseurl>https://origoinc.byappdirect.com</baseurl>
<partner>ORIGOINC</partner>
</marketplace>
<payload>
<account>
<accountidentifier>6aa53c5b-86bf-4640-8778-e56700089eeb</accountidentifier>
<status>CANCELLED</status>
</account>
<configuration/>
<notice>
<type>CLOSED</type>
</notice>
</payload>
</event>

Subscription notice for an upcoming invoice

  • JSON
{  
"type": "SUBSCRIPTION_NOTICE",
"marketplace": {
"baseUrl": "https://www.acme.com",
"partner": "APPDIRECT"
},
"payload": {
"account": {
"accountIdentifier": "a3f72246-5377-4d92-8bdc-b1b6b450c55c",
"status": "ACTIVE"
},
"notice": { "type": "UPCOMING_INVOICE" }
}
}
  • XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>  
<event>
<type>SUBSCRIPTION_NOTICE</type>
<marketplace>
<baseurl>https://www.acme.com</baseurl>
<partner>APPDIRECT</partner>
</marketplace>
<payload>
<account>
<accountidentifier>a3f72246-5377-4d92-8bdc-b1b6b450c55c</accountidentifier>
<status>ACTIVE</status>
</account>
<configuration/>
<notice>
<type>UPCOMING_INVOICE</type>
</notice>
</payload>
</event>

Reactivated account with an active status

  • JSON
{  
"event": {
"type": "SUBSCRIPTION_NOTICE",
"marketplace": {
"baseUrl": "https://od-p3w8vq9vt.od26.appdirectondemand.com",
"partner": "APPDIRECT"
},
"payload": {
"account": {
"accountIdentifier": "eeee9eed-8cc7-4434-ad20-8b7b5f8a7b3f",
"status": "ACTIVE"
},
"configuration": "".
"notice": { "type": "REACTIVATED" }
}, "_xmlns:atom": "http://www.w3.og/2005/Atom"
}
}
  • XML
<event xmlns:atom="http://www.w3.org/2005/Atom">  
<event>
<type>SUBSCRIPTION_NOTICE</type>
<marketplace>
<baseurl>https://od-p3w8vq9vt.od26.appdirectondemand.com</baseUrl>
<partner>APPDIRECT</partner>
</marketplace>
<payload>
<account>
<accountidentifier>eeee9eed-8cc7-4434-ad20-8b7b5f8a7b3f</accountidentifier>
<status>ACTIVE</status>
</account>
<configuration/>
<notice>
<type>REACTIVATED</type>
</notice>
</payload>
</event>

Was this page helpful?