OBP-API
OBP-API copied to clipboard
v210 Create Transaction SEPA mapped should not create account
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
@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 .....