mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 15:06:50 +00:00
Rearrange sandbox payment input json format
This commit is contained in:
parent
65de8dbcec
commit
4a4fe634e3
@ -120,9 +120,9 @@ object LocalConnector extends Connector with Loggable {
|
||||
import net.liftweb.json.JsonDSL._
|
||||
val sandboxInputFormat =
|
||||
("to" ->
|
||||
("account_id" -> "Id of the account to send the payment to (at bank_id specified below)") ~
|
||||
("bank_id" -> "Id of the bank of the account to send the payment to")) ~
|
||||
("amount" -> "The transaction amount as a string, e.g. 12.43")
|
||||
("bank_id" -> "Id of the bank of the account to send the payment to") ~
|
||||
("account_id" -> "Id of the account to send the payment to (at bank_id specified below)")) ~
|
||||
("amount" -> "The transaction amount as a string, e.g. 12.43")
|
||||
val sandbox = TransferMethod("sandbox", "Transfers for accounts of the Open Bank Project sandbox", sandboxInputFormat)
|
||||
Set(sandbox)
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user