List program due dates
List a program's due dates with filtering options. If a value for the programDueDateId query parameter is provided, the request returns either a list with only one item or no items if there is no program due date with this ID.
Request
- Base URLhttps://sandbox.pismolabs.io
- URLhttps://sandbox.pismolabs.io/statements-v2/v1/programs/{programId}/due-dates
- AuthHTTP bearer
Path parameters
Program ID
Query parameters
Program due date ID
Due day (day of the month)
Number of grace period days. Maximum value is 20. This value overrides the value of the <b>Number of days before due date to set the closing date of the statement</b> program parameter for the specified account.
If hasGracePeriod is true, the request returns only program due dates that have a custom grace period configured. If false, it returns only those that don't. If hasGracePeriod is not provided, all program due dates are returned.
Page number
Items per page. Default is 10.
Response
Ok
Example response
{
"current_page": 2,
"per_page": 50,
"total_items": 100,
"items_on_page": 5,
"pages": 4,
"is_last_page": true,
"items": [
{
"program_due_date_id": 8287,
"program_id": 3002,
"day": 1,
"active": true,
"grace_period_days": 0,
"exists_account": true
},
{
"program_due_date_id": 8292,
"program_id": 3002,
"day": 2,
"active": false,
"grace_period_days": 0,
"exists_account": false
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.