# Cancel payment plan

Cancel payment plan

Endpoint: POST /payment-plans/{paymentPlanId}/cancel
Version: 2.6.0
Security: bearer, basic, apiKey

## Security:

  - `bearer` (unknown)
    http bearer JWT

  - `basic` (unknown)
    http basic

  - `apiKey` (unknown)
    apiKey in header X-API-Key

## Path parameters:

  - `paymentPlanId` (string, required)
    The Id of payment plan

## Response 200:

  - `200` (unknown)
    Success

## Response 200 fields (application/json):

  - `id` (string)
    Unique identifer of the payment plan.

  - `planStatus` (string)
    Indicates if the payment method record was cancelled.
    Enum: "ACTIVE", "CANCELLED", "INVALID", "COMPLETED", "RETRY"

  - `cancellationDate` (any)
    Indicates the date when the payment plan was cancelled.

## Response 500:

  - `500` (unknown)
    Internal Server Error

## Response 500 fields (application/json):

  - `type` (string)

  - `title` (string)

  - `status` (string)

  - `detail` (string)

  - `instance` (string)

