---
title: "Cancel payment agreement"
method: DELETE
path: "/statements/v4/accounts/{accountId}/installment-payments/{id}"
tags: ["Refinancing"]
---

# Cancel payment agreement

`DELETE /statements/v4/accounts/{accountId}/installment-payments/{id}`

## Request

- Base URL: `https://sandbox.pismolabs.io`
- URL: `https://sandbox.pismolabs.io/statements/v4/accounts/{accountId}/installment-payments/{id}`
- Auth: HTTP bearer

Cancel a payment agreement by account ID and payment agreement ID.

**Note:** A payment agreement can only be canceled within 30 days of the creation date. If you try to cancel an agreement after 30 days, the endpoint returns a 400 error with the message: 'Payment Agreement cancellation period expired'.

## Path parameters

- `accountId` integer, required
- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Ok

- object
  - `message` string: Success's message

## 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)
