cURL
curl --request GET \ --url https://api.treasuryprime.com/account/{account_id}/tax_document/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "account_id": "acct_2074732992", "is_correction": false, "status": "pending", "type": "1099", "url": "https://api.treasuryprime.com/account/acct_2074732992/statement/file_11khr0vt3vrgb", "year": "2024" }
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
Tax document ID
The account.tax_document
The response is of type object.
object