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
PCI DSS Level 1JSON v3 · XML 2.9WebhooksSandbox
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.

  1. 01
    Create an invoicePOST /invoices with amount, order and customer data.
  2. 02
    Confirm paymentThe customer enters a PIN, completes 3-D Secure or pays on the page.
  3. 03
    Receive a webhookThe payment result arrives as a payment.updated event.
  4. 04
    Check the statusGET /invoices/{invoiceId} if the webhook did not arrive.
Open quick start
POST/api/v3/projects/YOUR_PROJECT_ID/invoicesPRODUCTIONReference ↗
Request
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.

InvoicesBindings (contracts)CustomersNotificationsSubscriptions
Open reference
03 / DOCUMENTATION

Documentation sections

Code examples

Examples use production endpoints and placeholders for tokens and IDs. Run requests in the Sandbox section.

Open the sandbox
OPENAPI · POSTMAN · MCP

Machine-readable resources

OpenAPI, Postman and MCP for agents and client generation.

View resources
GET ACCESS

Ready to integrate?

We will provide a test project, demo credentials and help with the first payment.