libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit eab04b67dbe58a0a2ec784ba774276781c1a5223
parent 32c92d2da7a7f6f77be93293a1a531b0979e7a2b
Author: MS <ms@taler.net>
Date:   Sat, 16 Jan 2021 00:34:22 +0100

fix params names

Diffstat:
Mcli/bin/libeufin-cli | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli @@ -452,9 +452,9 @@ def show(obj): def prepare_payment( obj, account_name, - credit_iban, - credit_bic, - credit_name, + creditor_iban, + creditor_bic, + creditor_name, payment_amount, payment_subject, ): @@ -462,9 +462,9 @@ def prepare_payment( obj.nexus_base_url, "/bank-accounts/{}/payment-initiations".format(account_name) ) body = dict( - iban=credit_iban, - bic=credit_bic, - name=credit_name, + iban=creditor_iban, + bic=creditor_bic, + name=creditor_name, subject=payment_subject, amount=payment_amount, ) @@ -475,7 +475,7 @@ def prepare_payment( print("Could not reach nexus at " + url) exit(1) - tell_user(resp) + tell_user(resp, withsuccess=True) @accounts.command(help="submit a prepared payment")