Account Statements can be generated directly for a specific customer via API. The statement does not need to be manually generated first.
Use the following endpoint: (Example only)
POST: https://sandbox.ordwaylabs.com/api/v1/statements
Sample Payload
{
"statement": {
"statement_date": "2026-08-21",
"start_date": "2026-07-01",
"end_date": "2026-07-31",
"template_id": "TMPLT-00026",
"deliver_by_email": false
},
"customer_id": "C-00938"
}Important Notes
- Pass the
customer_idoutside thestatementobject to generate the statement for the specified customer. - The required
template_idcan be identified from the Audit Log of the associated Statement Template.
This allows Account Statements to be generated programmatically without manually triggering them in Ordway.
Comments
0 comments
Article is closed for comments.