v1

latestOpenAPI 3.1.0AGPLv32026-07-26168262527.5 KB
payment_methods

Delete a payment method

This endpoint deletes a specific payment method for a customer.

delete/customers/{external_customer_id}/payment_methods/{lago_id}

Response

Payment method deleted

Example response

{
  "payment_method": {
    "lago_id": "4cf085a7-c196-4f07-a543-97c50ec6e8b2",
    "is_default": true,
    "payment_provider_code": "stripe_prod",
    "payment_provider_name": "Stripe",
    "payment_provider_type": "stripe",
    "provider_method_id": "pm_1N8ZQX2eZvKYlo2CkL9Y8XYZ",
    "created_at": "2025-01-21T00:10:29Z"
  }
}