POST
/
account
/
{account_id}
/
statement
curl --request POST \
  --url https://api.treasuryprime.com/account/{account_id}/statement \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "monthly",
  "year": "2024"
}'
{
  "account_id": "acct_2074732992",
  "date": "2024-03",
  "type": "monthly",
  "url": "https://api.treasuryprime.com/account/acct_2074732992/statement/file_11jq1f6w3h6jr"
}

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

account_id
string
required

Account ID

Body

application/json
The account.statement.create to create

The body is of type object.

Response

200 - application/json
The account.statement.create created

The response is of type object.