---
title: "Desvincula um Método de pagamento de um Plano."
method: DELETE
path: "/api/v1/Plan/paymentMethod/{planPaymentMethod_Id}"
tags: ["Plan"]
---

# Desvincula um Método de pagamento de um Plano.

`DELETE /api/v1/Plan/paymentMethod/{planPaymentMethod_Id}`

## Request

- Base URL: `https://api.meucartaosim.com.br` (the document declares no server; this is the origin it was published from)
- URL: `https://api.meucartaosim.com.br/api/v1/Plan/paymentMethod/{planPaymentMethod_Id}`
- Auth: API key in header `Authorization`

## Path parameters

- `planPaymentMethod_Id` integer, required

## Response `200`

OK

- PlanCustomReturn
  - `data` Plan[], nullable
    - `id` integer
    - `name` string, nullable
    - `active` boolean
    - `observation` string, nullable
    - `startAt` string, date-time, nullable
    - `endAt` string, date-time, nullable
    - `periodInterval` integer
    - `periodType` string, nullable
    - `periodDuration` integer
    - `dueType` string, nullable
    - `dueDay` integer
    - `dueReference` string, nullable
    - `freeDependents` integer
    - `maxDependents` integer
    - `dependentValue` number, double
    - `trialDays` integer
    - `fidelity` integer
    - `cancelationFeeType` 'setted' | 'settedproportional' | 'productproportional'
    - `cancelationFee` number, double
    - `cancelationFeeProduct` integer, nullable
    - `allowCustomDue` boolean
    - `allowInstallment` boolean
    - `maxInstallment` integer
    - `planPaymentMethods` PlanPaymentMethod[], nullable
      - `id` integer
      - `planId` integer
      - `paymentMethodId` integer
      - `name` string, nullable
      - `allowPaymentLink` boolean
    - `planProducts` PlanProduct[], nullable
      - `id` integer
      - `planId` integer
      - `productId` integer
      - `cycles` integer
      - `value` number, double
      - `quantity` integer
      - `name` string, nullable
      - `optional` boolean
      - `addon` boolean
      - `addonCategory` integer, nullable
      - `allowPrepaidBilling` boolean
    - `planProfiles` PlanProfile[], nullable
      - `id` integer
      - `planId` integer
      - `profileId` integer
      - `name` string, nullable
    - `migrationRule` string, nullable
    - `uf` string, nullable
  - `total` integer
  - `responseTime` integer
  - `feedback` string, nullable
  - `status` 'Continue' | 'SwitchingProtocols' | 'Processing' | 'EarlyHints' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultiStatus' | 'AlreadyReported' | 'IMUsed' | 'MultipleChoices' | 'MovedPermanently' | 'Found' | 'SeeOther' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'PermanentRedirect' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'MisdirectedRequest' | 'UnprocessableEntity' | 'Locked' | 'FailedDependency' | 'UpgradeRequired' | 'PreconditionRequired' | 'TooManyRequests' | 'RequestHeaderFieldsTooLarge' | 'UnavailableForLegalReasons' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported' | 'VariantAlsoNegotiates' | 'InsufficientStorage' | 'LoopDetected' | 'NotExtended' | 'NetworkAuthenticationRequired'
  - `notifications` ReturnError[], nullable
    - `type` string, nullable
    - `message` string, nullable
    - `code` string, nullable
  - `warnings` ReturnError[], nullable
    - `type` string, nullable
    - `message` string, nullable
    - `code` string, nullable

## Other responses

- `400`: Bad Request

## Changes

- **2026-09-30** `d3c7d1b0898d`: 1 info
  - added the optional property `data/items/planProducts/items/allowPrepaidBilling` to the response with the `200` status

[Operation history](https://skmtc.dev/meucartaosim/apis/cartaosim-api/changes/api/v1/Plan/paymentMethod/:planPaymentMethod_Id/delete.md)

---

[API](https://skmtc.dev/meucartaosim/apis/cartaosim-api.md) - [All operations](https://skmtc.dev/meucartaosim/apis/cartaosim-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meucartaosim/apis/cartaosim-api/revisions/d17228159154?raw)
