Initiate payments using Payme
payment_id
that must be used later for fiscalization.
| Field | Type | Required | Description |
|---|---|---|---|
amount | integer | ✅ | Payment amount in sums |
qr_code | string | ✅ | Unique Payme transaction identifier |
200| Field | Type | Description |
|---|---|---|
data | object | Response payload |
data.amount | integer | Payment amount in sums |
data.transaction_id | string | Transaction UUID |
data.payment_id | string | Unique payment identifier |
data.inn | string | Client tax identifier |
data.qr_code | string | QR code of the transaction |
data.kkm_id | string | KKM (cash register) ID |
data.device_id | string | Device ID |
data.status | string | Payment status (successfully, failed, etc.) |
data.message | string | Optional message from provider |
data.client_phone_number | string | Client phone number |
error | null | Error object (always null on success) |
is_success | boolean | Always true |
400
Note: Even if there is a validation error, the server returns HTTP status 200.
| Field | Type | Description |
|---|---|---|
data | null | No data returned |
error | object | Error details |
error.code | integer | Internal error code |
error.message | string | Human-readable error message |
error.data | any | null | Additional error details |
is_success | boolean | Always false |