---
title: "Change due date"
method: PUT
path: "/statements/v1/accounts/{accountId}/statements/due-date"
tags: ["Due date"]
---

# Change due date

`PUT /statements/v1/accounts/{accountId}/statements/due-date`

## Request

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

Update the due date for all subsequent account statements.

To avoid inconsistencies in the platform:
- The new due date must always be greater than the current due date.
- The new due date must always be greater than the current cycle closing date. 

**Important:** The due date must be updated no later than two days before the cycle closes. If you try to update the due date within a day of the cycle closing date, the endpoint generates an error. This behavior is necessary to ensure accuracy on cycle closing and data consistency.

By default, you can only update the due date once per credit cycle. If you update the due date, and then try to update it again before the end of the same cycle, the endpoint returns an error. This behavior can be disabled by setting the [Due date exchange control](doc:program-parameters-reference-table) program parameter to `false`.

**Notes:**
- Due date is *required* for credit full balance program types.

- 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

## Headers

- `Authorization` string, required

## Request body

- UpdateStatementsDueDateV1Request
  - `id` integer, required: ID of desired program due date

## Response `200`

OK

- UpdateStatementsDueDateV1ResponseSuccess
  - `success` boolean, required: `true` if update operation was successful. `false` otherwise.

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `409`: Conflict
- `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)
