I-FREE MONEY · DEVELOPERS
Payments API documentation
One API for carrier billing, bank cards, SBP and digital wallets. Launch in 3–5 days.
PCI DSS Level 1Protocol: JSON v3 · XML 2.9OpenAPI 3.1Webhooks
01 / SCENARIOS
Choose a scenario
The payment method defines the flow and confirmations. Start with what you are integrating.
02 / QUICK START
First payment in four steps
Create an invoice, confirm payment, receive a webhook and check the status.
- 01Create an invoicePOST /invoices with amount, order and customer data.
- 02Confirm paymentThe customer enters a PIN, completes 3-D Secure or pays on the page.
- 03Receive a webhookThe payment result arrives as a payment.updated event.
- 04Check the statusGET /invoices/{invoiceId} if the webhook did not arrive.
curl -X POST "https://pay-api.digitalspb.com/api/v3/projects/YOUR_PROJECT_ID/invoices" \ -H "Content-Type: application/json" \ -H "X-Login: YOUR_LOGIN" \ -H "X-Timestamp: YOUR_TIMESTAMP" \ -H "X-Signature-Version: 3" \ -H "X-Signature: YOUR_SIGNATURE" \ -d '{ "client_ip": "10.20.30.40", "customer": { "type": "mobile_phone", "msisdn": "79600000000", "email": "test@test.com" }, "order": { "merchant_order_id": "order_123", "price": { "amount": "25.00", "currency": "RUB", "vat_included": true }, "description": "Premium subscription" }, "contract": { "create_if_not_exists": false, "merchant_contract_id": "1234567890" }, "application": { "name": "Game of Sultans" }, "product": { "name": "New Pack_1" }}'Read-only example. Runnable examples are available in the Sandbox section.
201
{ "success": true, "data": { "invoice_id": "1624505c-0031-00cf-7d54-4cf1ce08cb30", "status": "created", "payment_status": "NOT_PAID", "authorization": { "type": "BY_CONTRACT", "is_authorized": true }, "price": { "amount": "25.00", "currency": "RUB", "vat_included": true }, "merchant_order_id": "order_123", "created_at": "2025-03-29T20:00:10Z", "expires_at": "2025-03-29T22:00:10Z", "billing_channel": "CPA", "customer": { "type": "mobile_phone", "msisdn": "79600000000", "country": "RU", "network": { "id": 3, "name": "Beeline" }, "operator": { "id": 42, "name": "Beeline" } }, "contract": { "contract_id": "16449203-0000-009b-a125-351b7bfbd207", "authorization_type": "SMS_PIN", "expires_at": "2025-03-29T20:00:08Z", "merchant_contract_id": "1234567890" } }}API reference
All JSON v3 and XML 2.9 operations, fields, responses and examples from OpenAPI.
03 / DOCUMENTATION
Documentation sections
Code examples
Examples use production endpoints and placeholders for tokens and IDs. Run requests in the Sandbox section.
Open the sandboxOPENAPI · POSTMAN · MCP
Machine-readable resources
OpenAPI, Postman and MCP for agents and client generation.
View resourcesGET ACCESS
Ready to integrate?
We will provide a test project, demo credentials and help with the first payment.