From 5fb356c455f1bca1368c09389960b9100dde4632 Mon Sep 17 00:00:00 2001 From: MS Date: Wed, 8 Jul 2020 10:49:17 +0200 Subject: API that offers the list of initiated payments. --- libeufin/api-nexus.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'libeufin') diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst index 666fe1f3..ebb24533 100644 --- a/libeufin/api-nexus.rst +++ b/libeufin/api-nexus.rst @@ -138,6 +138,23 @@ manages payment initiations of the account and tracks the of payment initiations preparationDate: string; } +.. http:get:: {nexusBase}/bank-accounts/{my-acct}/payment-initiations + + Ask nexus the list of initiated payments. At this stage of the API, + **all** is returned: submitted and non submitted payments. + + **Response** + + .. ts:def:: InitiatedPayments + + interface InitiatedPayments { + + // list of all the initiated payments' UID. + initiatedPayments: string[]; + + } + + .. http:post:: {nexusBase}/bank-accounts/{my-acct}/payment-initiations Ask nexus to prepare instructions for a new payment. -- cgit v1.2.3