GET
/
account
/
{id}
/
statement
Fetch a Statement
curl --request GET \
  --url https://api.treasuryprime.com/account/{id}/statement \
  --header 'Authorization: Basic <encoded-value>'
{
"type": "1099",
"url": "https://api.treasuryprime.com/account/acct_2074732992/statement/file_11jq1f6w3h58v",
"year": "2020"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Account ID

Response

200 - application/json

The account.statement

date
string

Statement date in YYYY-MM format. Required when type is monthly.

id
string

Account ID

type
string

Type of statement. One of: monthly, 1099

url
string

URL to download the statement

year
string

Statement year in YYYY format. Required when type is 1099.