Subscriptions — Subscription Service: sandbox
Subscription Service — the subscription management API of the iFree billing platform (XML, HMAC-SHA256 signature). This reference describes the test environment (sandbox) for integration without going to production.
Test environment. No real charges are made.
One-time payments (Callisto, XML / JSON) are a separate service: switch the product to “One-time payments” at the top of the page, or open the payments sandbox reference.
Quick check — CreateSubscription
CreateSubscription
Sandbox
curl
# NOW and SIG — see "Request signature"
# The method is passed in the path (case-insensitive)
curl -X POST \
https://subs-sandbox.digitalspb.com/Http/Services/CreateSubscription.aspx \
-H "Content-Type: text/xml; charset=utf-8" \
--data-binary '<Request>
<SubscriptionProjectID>2001</SubscriptionProjectID>
<Subscriber_MSISDN>79600000000</Subscriber_MSISDN>
<Now>'"$NOW"'</Now>
<Signature>'"$SIG"'</Signature>
</Request>'