Callisto — one-time payments: sandbox
Callisto is the one-time payments API of the iFree billing platform (XML or JSON). This reference describes the test environment (sandbox) for integration without touching production.
Test environment. No real payments are made.
| Protocol | Status |
|---|---|
| Merchant XML API v2.9 | the production protocol for partners |
| REST JSON v3 | the production protocol for partners |
Subscriptions (Subscription Service) are a separate service: switch the product to “Subscriptions” at the top of the page, or open the subscription sandbox reference.
Quick check — subscriber billing (XML)
CheckCustomerBillingSupport
Sandbox
curl
# NOW and SIG — see "Request signing"
curl -X POST \
https://pay-sandbox.digitalspb.com/API/XML/InvoiceManagementService.ashx \
-H "Content-Type: text/xml; charset=utf-8" \
--data-binary '<Request>
<Header><Authentication>
<Login>demo_login</Login>
<NowUtc>'"$NOW"'</NowUtc>
<Signature>'"$SIG"'</Signature>
</Authentication></Header>
<CheckCustomerBillingSupportRequest>
<ProjectID>1001</ProjectID>
<MobilePhoneCustomer><MSISDN>79600000000</MSISDN></MobilePhoneCustomer>
</CheckCustomerBillingSupportRequest>
</Request>'The same in JSON v3
POST /billing/check
Sandbox
curl
# TS and SIG — see "Request signing"
curl -X POST \
https://pay-sandbox.digitalspb.com/api/v3/projects/1001/billing/check \
-H "Content-Type: application/json" \
-H "X-Login: demo_login" \
-H "X-Timestamp: $TS" \
-H "X-Signature-Version: 3" \
-H "X-Signature: $SIG" \
-d '{"msisdn": "79600000000"}'