OBP-API icon indicating copy to clipboard operation
OBP-API copied to clipboard

v210 Create Transaction SEPA mapped should not create account

Open simonredfern opened this issue 8 years ago • 1 comments

APIMethods210.scala

We should not implicitly create account here. (we should throw error if the Counterparty does not exist.)

              //if the connector is mapped, we get the data from local mapper
              toAccount <- if(isMapped)
                // TODO should not create bank account here!!
                LocalMappedConnector.createOrUpdateMappedBankAccount(toBankId, toAccountId, fromAccount.currency)

Also see SEPA

simonredfern avatar Jun 19 '17 09:06 simonredfern

@constantine2nd We can not send to Money to Counterparty directly in OBP. We can only send money to a bankAccount.

So we need create a account for that Counterparty, to receive money, to finish the answerTransactionRequest .....

hongwei1 avatar Nov 24 '17 08:11 hongwei1