019f8fd211
git-subtree-dir: users/wpcarro git-subtree-mainline:464bbcb15c
git-subtree-split:24f5a642af
Change-Id: I6105b3762b79126b3488359c95978cadb3efa789
24 lines
487 B
Go
24 lines
487 B
Go
package client
|
|
|
|
import (
|
|
"serde"
|
|
)
|
|
|
|
// See requests.txt for more details.
|
|
func PostTransactions(accountID string, txs []serde.Transaction{}) error {
|
|
return map[string]string{
|
|
"transactions": [
|
|
{
|
|
"account_id": accountID,
|
|
"date": "2019-12-30",
|
|
"amount": 10000,
|
|
"payee_name": "Richard Stallman",
|
|
"memo": "Not so free software after all...",
|
|
"cleared": "cleared",
|
|
"approved": true,
|
|
"flag_color": "red",
|
|
"import_id": "xyz-123"
|
|
}
|
|
]
|
|
}
|
|
}
|