---
updatedAt: 2025-10-31T16:43:28.000Z
agentTools:
  projectIndex: https://dev.iugu.com/llms.txt
---

# Remover Forma de Pagamento

Remove permanentemente uma forma de pagamento de um cliente.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "formas-de-pagamento-do-cliente",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.iugu.com/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "api_token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/customers/{customer_id}/payment_methods/{id}": {
      "delete": {
        "summary": "Remover Forma de Pagamento",
        "description": "Remove permanentemente uma forma de pagamento de um cliente.",
        "operationId": "remover-forma-de-pagamento",
        "parameters": [
          {
            "name": "customer_id",
            "in": "path",
            "description": "ID do cliente",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "path",
            "description": "ID da forma de pagamento",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": \"2715312643B649D98830AAE0344A1A08\",\n  \"description\": \"Meu cartão do Banco Roxo\",\n  \"item_type\": \"credit_card\",\n  \"customer_id\": \"590259547ED341C78A6DC0D377B4BC92\",\n  \"data\": {\n    \"bin\": \"411111\",\n    \"year\": 2030,\n    \"month\": 12,\n    \"brand\": \"Visa\",\n    \"holder_name\": \"NOME SOBRENOME\",\n    \"display_number\": \"XXXX-XXXX-XXXX-1111\",\n    \"fingerprint\": \"39124eb1-9813-ee72-f5df-75725cd9a5c0\",\n    \"remote_ip\": null,\n    \"billing_address\": null,\n    \"issuer\": \"Informação não disponivel\",\n    \"issuer_code\": \"\",\n    \"card_type\": \"Multiplo\",\n    \"foreign_card\": \"t\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "2715312643B649D98830AAE0344A1A08"
                    },
                    "description": {
                      "type": "string",
                      "example": "Meu cartão do Banco Roxo"
                    },
                    "item_type": {
                      "type": "string",
                      "example": "credit_card"
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "590259547ED341C78A6DC0D377B4BC92"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "bin": {
                          "type": "string",
                          "example": "411111"
                        },
                        "year": {
                          "type": "integer",
                          "example": 2030,
                          "default": 0
                        },
                        "month": {
                          "type": "integer",
                          "example": 12,
                          "default": 0
                        },
                        "brand": {
                          "type": "string",
                          "example": "Visa"
                        },
                        "holder_name": {
                          "type": "string",
                          "example": "NOME SOBRENOME"
                        },
                        "display_number": {
                          "type": "string",
                          "example": "XXXX-XXXX-XXXX-1111"
                        },
                        "fingerprint": {
                          "type": "string",
                          "example": "39124eb1-9813-ee72-f5df-75725cd9a5c0"
                        },
                        "remote_ip": {},
                        "billing_address": {},
                        "issuer": {
                          "type": "string",
                          "example": "Informação não disponivel"
                        },
                        "issuer_code": {
                          "type": "string",
                          "example": ""
                        },
                        "card_type": {
                          "type": "string",
                          "example": "Multiplo"
                        },
                        "foreign_card": {
                          "type": "string",
                          "example": "t"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```