payment_methods
Set the payment method as default
Use the payment method as default when not selected a payment method
put/customers/{external_customer_id}/payment_methods/{lago_id}/set_as_default
Response
Return a 200 status to indicate that the data was received successfully
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"
}
}