taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit ba8550a48d9d819f095910a67c66dab832370ff6
parent b7b223ea2595c0d12b7f2cc725b3310d633f73ce
Author: Antoine A <>
Date:   Mon, 27 Nov 2023 14:26:18 +0000

Update corebank API spec

Diffstat:
Mcore/api-corebank.rst | 13+++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/core/api-corebank.rst b/core/api-corebank.rst @@ -165,8 +165,8 @@ Account Management **Response:** - :http:statuscode:`201 Created`: - The account was successfully created. + :http:statuscode:`200 OK`: + Response is a `RegisterAccountResponse`. :http:statuscode:`400 Bad request`: Input data was invalid. For example, the client specified a invalid phone number or e-mail address. @@ -178,6 +178,15 @@ Account Management * ``TALER_EC_BANK_UNALLOWED_DEBIT`` : admin account does not have sufficient funds to grant bonus. * ``TALER_EC_BANK_RESERVED_USERNAME_CONFLICT`` : a reserved username was attempted, like ``admin`` or ``bank`` + **Details:** + + .. ts:def:: RegisterAccountResponse + + interface RegisterAccountResponse { + // Internal payto URI of this bank account. + internal_payto_uri: string; + } + .. _delete-account: .. http:delete:: /accounts/$USERNAME