Payment.Create
Creates a payment through a terminal or an external payment system.
This method is deprecated. Use Payment.Start for new integrations. Payment.Create is retained for backward compatibility.
Payment.Systems.Get returns available payment systems and their required fields.
Input parameters
| Name | Data type | Required | Description |
|---|---|---|---|
| payment_system_id | int64 | Required | Payment system ID |
| amount | int64 | Required | Payment amount in tiyin |
| token | string | Depends on the payment system | Token or code from the customer application |
| external_id | string | Optional | External operation identifier if used by the selected payment system |
| card_type | int32 | Depends on the payment system | Card type: 1 — corporate, 2 — personal, 3 — social |
| description | string | Optional | Payment note |
Request example
{
"jsonrpc": "2.0",
"method": "Payment.Create",
"params": {
"payment_system_id": -1,
"card_type": 2,
"amount": 90000,
"description": "Ingenico"
},
"auth": "a2Fzc2E6a2FzMTIzNDU2",
"id": 1
}
Output parameters
The method returns a payment object in the Payment.Get format.
Response example
{
"jsonrpc": "2.0",
"result": {
"id": "9a361fa4-b6f2-4fc3-b145-0628dfdb9714",
"datetime": "2026-09-24 15:30:00",
"payment_system_id": -1,
"payment_id": "",
"status": 3,
"amount": 90000,
"receipt_id": "",
"phone": "",
"rrn": "012345678901",
"slip": "SLIP",
"card_type_id": 2,
"card_number": "8600********1234"
},
"ok": true,
"id": 1
}