v1

latestOpenAPI 3.1.0AGPLv32026-07-26168262527.5 KB
customers

Generate a Customer Payment Provider Checkout URL

This endpoint regenerates the Payment Provider Checkout URL of a Customer.

post/customers/{external_customer_id}/checkout_url

Path parameters

external_customer_idstring required
Example:5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba

The customer external unique identifier (provided by your own application).

Response

Customer Checkout URL

Example response

{
  "customer": {
    "lago_customer_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "external_customer_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba",
    "payment_provider": "stripe",
    "payment_provider_code": "Stripe Prod",
    "checkout_url": "https://foo.bar"
  }
}