curl --request POST \
--url https://api.treasuryprime.com/statement_config \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"account_id": null,
"apy": "1.50",
"email_address": "support@example.com",
"footnote": "In case of errors or questions about your electronic transfers...",
"logo_file_id": null,
"org_legal_name": "Example Company LLC",
"phone_number": "+1 555-1212",
"support_url": "support.example.com"
}'
{
"account_id": null,
"apy": "1.50",
"created_at": "2022-08-19T23:27:03Z",
"email_address": "support@example.com",
"footnote": "In case of errors or questions about your electronic transfers...",
"id": "stmtcfg_11hg0727cpmwzt",
"logo_file_id": null,
"org_legal_name": "Example Company LLC",
"phone_number": "+1 555-1212",
"support_url": "support.example.com",
"updated_at": "2022-08-19T23:27:03Z"
}
curl --request POST \
--url https://api.treasuryprime.com/statement_config \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"account_id": null,
"apy": "1.50",
"email_address": "support@example.com",
"footnote": "In case of errors or questions about your electronic transfers...",
"logo_file_id": null,
"org_legal_name": "Example Company LLC",
"phone_number": "+1 555-1212",
"support_url": "support.example.com"
}'
{
"account_id": null,
"apy": "1.50",
"created_at": "2022-08-19T23:27:03Z",
"email_address": "support@example.com",
"footnote": "In case of errors or questions about your electronic transfers...",
"id": "stmtcfg_11hg0727cpmwzt",
"logo_file_id": null,
"org_legal_name": "Example Company LLC",
"phone_number": "+1 555-1212",
"support_url": "support.example.com",
"updated_at": "2022-08-19T23:27:03Z"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The statement_config to create
The body is of type object
.
The statement_config created
The response is of type object
.
Was this page helpful?