Subscriptions

Phone subscription (PIN)

XML 2.9 onlyOpenAPI

Create a subscription by MSISDN and approve it with a PIN.

A phone subscription is created with SubscriptionCreator and Subscriber_MSISDN. If a PIN is required, the response contains SubscriberAcceptanceChannel: SMS_PIN and SubscriptionID.

Create the subscription

POSThttps://subs.digitalspb.com/Http/Services/CreateSubscription.aspxPRODUCTIONReference ↗
This step is currently described in XML 2.9 only.
Request
curl -X POST "https://subs.digitalspb.com/Http/Services/CreateSubscription.aspx" \  -H "Content-Type: text/xml" \  -d '<?xml version="1.0" encoding="utf-8"?><Request>  <SubscriptionProjectID>2001</SubscriptionProjectID>  <Subscriber_MSISDN>79600000000</Subscriber_MSISDN>  <Now>YOUR_TIMESTAMP</Now>  <Signature>YOUR_SIGNATURE</Signature></Request>'
Read-only example. Runnable examples are available in the Sandbox section.
200
<?xml version="1.0" encoding="utf-8"?><Response>  <StatusName>REQUEST_ACCEPTED</StatusName>  <SubscriptionID>1000000001</SubscriptionID>  <SubscriberAcceptanceRequired>true</SubscriberAcceptanceRequired>  <SubscriberAcceptanceChannel>SMS_PIN</SubscriberAcceptanceChannel>  <OperatorID>22</OperatorID>  <PaidUntil>2026-09-21T12:00:00Z</PaidUntil></Response>

Approve the PIN

Send SubscriptionID and PinCode to ApproveSubscription. The PIN is delivered to the customer by SMS and is never stored on your side. The clean specification has no approval example yet — fields are in the reference.