about summary refs log tree commit diff
path: root/users/wpcarro/tools/monzo_ynab/ynab/client.go
blob: b3e9930f621d182c135ff7351bdbea69302d8e11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"
// 			}
// 		]
// 	}
// }