---
title: "Remove um cartão de crédito armazenado no Adyen e o inativa na base. Regra: não é permitido remover o único cartão válido (não expirado) de um titular com assinatura ativa paga via cartão de crédito."
method: DELETE
path: "/api/v1/PaymentProfile/{clientId}/RemovePaymentProfile"
tags: ["PaymentProfile"]
---

# Remove um cartão de crédito armazenado no Adyen e o inativa na base. Regra: não é permitido remover o único cartão válido (não expirado) de um titular com assinatura ativa paga via cartão de crédito.

`DELETE /api/v1/PaymentProfile/{clientId}/RemovePaymentProfile`

## 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/PaymentProfile/{clientId}/RemovePaymentProfile`
- Auth: API key in header `Authorization`

## Path parameters

- `clientId` string, required

## Query parameters

- `externalProfileId` string
- `merchantAccount` string

## Response `200`

OK

- GetPaymentProfileDTOCustomReturn
  - `data` GetPaymentProfileDTO[], nullable
    - `externalProfileId` string, nullable
    - `holderName` string, nullable
    - `cardNumberLastFour` string, nullable
    - `cardExpiration` string, nullable
    - `paymentMethodCode` string, nullable
    - `paymentMethodName` string, nullable
    - `brand` string, nullable
    - `paymentCompany` PaymentCompany
      - `name` string, nullable
    - `merchantAccount` 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

---

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