Skip to content

Commit 5b8d85e

Browse files
committed
Add version parameter to /accounts requests
1 parent 933d43f commit 5b8d85e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

protocol.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ ROOT="https://bridge.simplefin.org/simplefin"
569569

570570
Used by Applications to find out what versions of the SimpleFIN Protocol the server supports. The strings returned must be in `MAJOR.MINOR.FIX` or `MAJOR.MINOR` format.
571571

572-
Note: as this specification is still in draft, most servers will report `1.0` but may not yet support all things from the draft specification.
572+
Note: as this specification is still in draft, most servers will report `1` but may not yet support all things from the draft specification.
573573

574574
### HTTP Request
575575

@@ -595,7 +595,7 @@ Response:
595595

596596
~~~{.json}
597597
{
598-
"versions": ["1.0"],
598+
"versions": ["1","2"],
599599
}
600600
~~~
601601
</div>
@@ -718,6 +718,7 @@ Retrieve account and transaction data.
718718
| pending | optional | If `pending=1` is provided, pending transactions will be included (if supported). By default, pending transaction are **NOT** included. |
719719
| account | optional | If given, only return information related to the given account id. May be specified multiple times. |
720720
| balances-only | optional | If `balances-only=1` is provided, no transaction data is returned. |
721+
| version | optional | Must be `2` for this version of the protocol. Can be `1` for earlier versions. The server chooses the default version if this is not specified. |
721722

722723
### Authentication
723724

0 commit comments

Comments
 (0)