get-accounts-USERNAME-cashouts-CASHOUT_ID.rst (1014B)
1 .. http:get:: /accounts/$USERNAME/cashouts/$CASHOUT_ID 2 3 Returns information about the status of the ``$CASHOUT_ID`` operation. 4 The request is available to the administrator and the account owner. 5 6 **Response:** 7 8 :http:statuscode:`200 OK`: 9 Response is a `CashoutStatusResponse`. 10 :http:statuscode:`401 Unauthorized`: 11 Invalid or missing credentials. 12 :http:statuscode:`403 Forbidden`: 13 Missing rights. 14 :http:statuscode:`404 Not found`: 15 The cashout operation was not found. 16 :http:statuscode:`501 Not implemented`: 17 This server does not support conversion, client should check config response. 18 19 **Details:** 20 21 .. ts:def:: CashoutStatusResponse 22 23 interface CashoutStatusResponse { 24 // Amount debited to the regional bank account. 25 amount_debit: Amount; 26 27 // Amount credited to the fiat bank account. 28 amount_credit: Amount; 29 30 // Transaction subject. 31 subject: string; 32 33 // Time when the cashout was created. 34 creation_time: Timestamp; 35 }