One-time payments · After payment

Webhooks

Protocol: JSON v3 · XML 2.9OpenAPI

Platform events, headers, signature and retries.

The platform sends a POST to the merchant URL on every payment, refund, binding or receipt change. The body contains only the event; delivery details live in headers.

Delivery headers

HeaderRequiredPurpose
X-Event-Idyes
X-Event-Typeyes
X-Signature-Versionyes
X-Loginyes
X-Timestampyes
X-Signatureyes
X-Request-Attemptyes

Event types

content.deliveredContent delivery state for the invoice changed
contract.authorizedThe contract is authorized and ready for charges
contract.closedThe contract is closed
payment.updatedThe payment transaction for the invoice reached a final state
receipt.issuedA fiscal receipt was issued
refund.updatedThe refund state for the invoice changed

Body example

{  "id": "bae26b7d-6f0b-4a8b-9c3f-2a1d5e7c9b10",  "type": "payment.updated",  "created_at": "2026-03-29T20:00:12Z",  "project_id": 1001,  "data": {    "customer": {      "type": "mobile_phone",      "msisdn": "79600000000",      "country": "RU",      "network": {        "id": 3,        "name": "Beeline"      },      "operator": {        "id": 42,        "name": "Beeline"      }    },    "invoice": {      "invoice_id": "1624505c-0031-00cf-7d54-4cf1ce08cb30",      "merchant_order_id": "order_123",      "status": "Processed",      "payment_status": "PAID",      "price": {        "amount": "25.00",        "currency": "RUB",        "vat_included": true      },      "created_at": "2026-03-29T20:00:10Z",      "expires_at": "2026-03-29T22:00:10Z",      "authorization": {        "type": "BY_CONTRACT",        "is_authorized": true      }    },    "transaction": {      "transaction_id": "4d9e95c6-0006-0062-6727-4ea756dba333",      "part_number": 1,      "sequence_number": 1,      "status": "Success",      "result_code": 0,      "result_description": "OK",      "paid_at": "2026-03-29T20:00:12Z",      "price": {        "amount": "25.00",        "currency": "RUB",        "vat_included": true      },      "billing_channel": "CPA"    }  }}

Idempotency

The event id is the same across all attempts. Store it and do not process it twice; acknowledge repeated requests with 2xx.

Response

Any 2xx is success. The body is optional. If there is no response, the platform retries on a schedule.