get-account-check.rst (704B)
1 .. http:get:: /account/check 2 3 Check account existence. 4 5 Since protocol **v4**. 6 7 **Request:** 8 9 :query account: 10 Payto URI of the account. 11 12 **Response:** 13 14 :http:statuscode:`200 OK`: 15 JSON object of type `AccountInfo`. 16 :http:statuscode:`400 Bad request`: 17 Request malformed. The bank replies with an `ErrorDetail` object. 18 :http:statuscode:`401 Unauthorized`: 19 Authentication failed, likely the credentials are wrong. 20 :http:statuscode:`404 Not found`: 21 * ``TALER_EC_BANK_UNKNOWN_ACCOUNT``: unknown account. 22 :http:statuscode:`501 Not Implemented`: 23 This server does not support account check. 24 25 **Details:** 26 27 .. ts:def:: AccountInfo 28 29 interface AccountInfo { 30 }