Appearance
Transaction Check
Request parameters
| Name | Type | Description |
|---|---|---|
| account | account | A dictionary containing fields that are set for the merchant, e.g., order_id |
| amount | int | Payment amount |
| amount_tiyin | int | Payment amount in cent (tiyin) |
| currency | int | 860 or 840 (UZS or USD) |
Request Example
json
{
"jsonrpc": "2.0",
"id": 1234567,
"method": "transaction.check",
"params": {
"account": {
"order_id": 12
}
"amount": 500,
"amount_tiyin": 50000,
"currency": 860
}
}Response example
json
{
"jsonrpc": "2.0",
"id": 1234567,
"result": {
"status": "0",
"statusText": "OK"
}
}For more status codes see Status codes