
Du Integration Guide (Infomedia-Hosted)
Cancellation Via API
If a customer requests cancellation from within the service, or via your own customer services, you will need to call the SubscriptionUnsubscribe API, passing the relevant details. Infomedia will send an Exit SMS to the customer via Du.
The example below shows the minimum fields required for cancellation of a Du subscriber. If you're experiencing errors, first validate that all required headers and parameters are present and in the correct format. Please refer to the documentation page for more detailed information about each parameter.
Example Request
POST https://api.infomedia.co.uk/dcb/SubscriptionUnsubscribeContent-Type: application/jsonX-Infomedia-Api-Key: {Your API Key}
{
"sid": 92000000,
"mx": "971500000000",
"mcc": "424",
"mnc": "03",
"u": "username",
"p": "password"
}
Example Response
{
"status": "Success",
"description": "00 - User has been unsubscribed",
"sid": "",
"mx": "971500000000",
"mcc": "424",
"mnc": "03"
}