diff options
-rw-r--r-- | core/api-terminal.rst | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/core/api-terminal.rst b/core/api-terminal.rst index 13dca956..b5116361 100644 --- a/core/api-terminal.rst +++ b/core/api-terminal.rst @@ -170,7 +170,7 @@ Config :http:statuscode:`200 Ok`: The operation was created. The response will be - a `BankWithdrawalOperationStatus`. + a `TerminalWithdrawalSetupResponse`. :http:statuscode:`404 Not found`: A lock was specified but the lock is not known for the given user. @@ -211,8 +211,8 @@ Config // they are using to make this withdrawal. card_fees: Amount; - // ID identifying the withdrawal operation being created. - withdrawal_id: string; + // Unique request ID to make retried requests idempotent. + request_uid: string; // Unique user ID of the user. Optional // in case a user Id is not (yet) known. @@ -225,6 +225,15 @@ Config } + .. ts:def:: TerminalWithdrawalSetupResponse + + interface TerminalWithdrawalSetupResponse { + + // ID identifying the withdrawal operation being created. + withdrawal_id: string; + + } + .. http:post:: /withdrawals/$WITHDRAWAL_ID/confirm |