9mobile Nigeria

HTTP Notifications

For 9mobile there is a slight difference from other Mobile Operators. Within the consent pages the customer can select a subscription as recurring or non-recurring. The notification will have an extra parameter "auto-renewal".

📘

auto-renewal

If the user's selection is non-recurring, SLA Digital will do a normal subscription and the subscription will not renew.

Sample response for autorenewal

{
    "success": {
        "type": "subscription",
        "auto-renewal": true,
        "uuid": "66acd359-5923-49e2-a84f-642d596c0127",
        "bill_id": "84888f0a57d9",
        "operator": "mobile-ng",
        "merchant": "partner:09336c03-6f13-4ec6-8711-3e83d9237ef1",
        "campaign": "campaign:99018241c532970e81b838cab15bdabf37ee7d98",
        "environment": "production",
        "msisdn": "2348094191142",
        "currency": "NGN",
        "amount": "1.0",
        "mode": "API",
        "frequency": "daily",
        "next_payment_timestamp": "2023-01-10T02:16:47Z",
        "correlator": "123914311131",
        "transaction": {
            "status": "CHARGED",
            "bill_id": "84888f0a57d9",
            "timestamp": "2023-01-09T02:16:44Z",
            "transaction_id": "584847944"
        }
    }
}

Sample response for non-autorenewal

{
    "success": {
        "type": "subscription",
        "auto-renewal": false,
        "uuid": "66acd359-5923-49e2-a84f-642d596c0127",
        "bill_id": "84888f0a57d9",
        "operator": "mobile-ng",
        "merchant": "partner:09336c03-6f13-4ec6-8711-3e83d9237ef1",
        "campaign": "campaign:99018241c532970e81b838cab15bdabf37ee7d98",
        "environment": "production",
        "msisdn": "2348094191142",
        "currency": "NGN",
        "amount": "1.0",
        "mode": "API",
        "frequency": "daily",
        "next_payment_timestamp": "2023-01-10T02:16:47Z",
        "correlator": "123914311131",
        "transaction": {
            "status": "CHARGED",
            "bill_id": "84888f0a57d9",
            "timestamp": "2023-01-09T02:16:44Z",
            "transaction_id": "584847944"
        }
    }
}