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
The response is of type object.
object