{
"from_account_id": 6,
"to_account_id": 3,
"amount": 1,
"currency": "USD"
}
curl --location --request POST 'http://localhost:8080/transfer' \
--header 'Content-Type: application/json' \
--data-raw '{
"from_account_id": 6,
"to_account_id": 3,
"amount": 1,
"currency": "USD"
}'
{
"transfer": {
"id": 0,
"from_account_id": 0,
"to_account_id": 0,
"amount": 0,
"created_at": "string"
},
"from_account": {
"id": 0,
"owner": "string",
"currency": "string",
"created_at": "string",
"balance": 0
},
"to_account": {
"id": 0,
"owner": "string",
"currency": "string",
"created_at": "string",
"balance": 0
},
"from_entry": {
"id": 0,
"account_id": 0,
"amount": 0,
"created_at": "string"
},
"to_entry": {
"id": 0,
"account_id": 0,
"amount": 0,
"created_at": "string"
}
}