---
updatedAt: 2026-06-06T07:52:57.000Z
agentTools:
  projectIndex: https://developers.paygreen.fr/llms.txt
---

# Delete Payment Config

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Payment API",
    "description": "This API processes PayGreen V3 payment",
    "version": "1.46.3"
  },
  "servers": [
    {
      "url": "https://api.paygreen.fr",
      "description": "Production environment"
    },
    {
      "url": "https://sb-api.paygreen.fr",
      "description": "Sandbox environment"
    }
  ],
  "paths": {
    "/payment/payment-configs/{id}": {
      "delete": {
        "tags": [
          "Payment Configs"
        ],
        "summary": "Delete Payment Config",
        "operationId": "delete_delete_payment_config",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/PaymentConfig/properties/id"
            },
            "example": "pc_4d83fc465b944b5ca78d01093896f5b4"
          }
        ],
        "responses": {
          "204": {
            "description": "Payment Config successfully deleted"
          },
          "401": {
            "description": "Unauthenticated"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Payment Config not found"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "PaymentConfig": {
        "required": [
          "id",
          "shop_id",
          "platform",
          "status",
          "created_at"
        ],
        "properties": {
          "id": {
            "description": "The unique identifier of this Payment Config",
            "type": "string",
            "pattern": "pc_[0-9a-f]{32}"
          },
          "object": {
            "type": "string",
            "default": "payment_config"
          },
          "shop_id": {
            "type": "string",
            "pattern": "sh_[0-9a-f]{32}"
          },
          "platform": {
            "type": "string",
            "enum": [
              "bank_card",
              "amex",
              "ancv",
              "swile",
              "mcv",
              "restoflash",
              "conecs",
              "apple_pay",
              "edenred",
              "google_pay",
              "bancontact",
              "klarna"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "created",
              "pending",
              "validated",
              "enabled",
              "disabled",
              "deleted",
              "invalid"
            ]
          },
          "currency": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Currency"
              }
            ]
          },
          "selling_contract": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SellingContract"
              }
            ]
          },
          "platform_options": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "bearerFormat": "JWT",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "tags": [
    {
      "name": "Payment Configs"
    }
  ]
}
```