---
title: "List available due dates"
method: GET
path: "/statements/v1/accounts/{accountId}/available-due-dates"
tags: ["Due date"]
---

# List available due dates

`GET /statements/v1/accounts/{accountId}/available-due-dates`

## Request

- Base URL: `https://sandbox.pismolabs.io`
- URL: `https://sandbox.pismolabs.io/statements/v1/accounts/{accountId}/available-due-dates`
- Auth: HTTP bearer

List available due dates with filtering options.

**Note: This endpoint requires an account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a **401 Unauthorized** message.

## Path parameters

- `accountId` integer, required

## Query parameters

- `hasGracePeriod` boolean

## Headers

- `Authorization` string, required

## Response `200`

Ok

- object
  - `available_due_dates` object[]
    - `day` integer: Due date day index
    - `program_due_date_id` integer: Program due date ID
    - `due_date` string, date: Due date. Format = yyyy-mm-dd.
    - `cycle_closing_date` string, date: Cycle closing date. Format = yyyy-mm-dd.
    - `best_transaction_day` integer: Best transaction day. The first full day of a cycle.
    - `grace_period_days` integer: Number of grace period days. This value overrides the value of the program parameter <b>Number of days before due date to set the closing date of the statement</b> for the specified account. You can change the grace period days for a statement any time before its due date.

## Other responses

- `400`: Bad request
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/pismo/apis/revolving-credit-statements.md) - [All operations](https://skmtc.dev/pismo/apis/revolving-credit-statements/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/revolving-credit-statements/revisions/09f552b0f850?raw)
