Transaction Check
Request parameters
| Name | Type | Description |
|---|---|---|
| account | dict | Merchant uchun belgilangan field’larni o‘z ichiga olgan lug‘at, masalan order_id |
| amount | int | To‘lov summasi |
| amount_tiyin | int | To‘lov summasi sent (tiyin) ko‘rinishida |
| currency | int | 860 yoki 840 (UZS yoki 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"
}
}Qo‘shimcha status code’lar uchun Status codes sahifasiga qarang.