cURL
curl --request GET \ --url https://api.treasuryprime.com/account/{id}/statement \ --header 'Authorization: Basic <encoded-value>'
200
1099
{ "type": "1099", "url": "https://api.treasuryprime.com/account/acct_2074732992/statement/file_11jq1f6w3h58v", "year": "2020"}
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Account ID
The account.statement
Statement date in YYYY-MM format. Required when type is monthly.
YYYY-MM
type
monthly
Type of statement. One of: monthly, 1099
URL to download the statement
Statement year in YYYY format. Required when type is 1099.
YYYY