invoices
Generate a payment URL
This endpoint generates a checkout link for a specific invoice.
post/invoices/{lago_id}/payment_url
Path parameters
lago_idstring uuid required
Example:1a901a90-1a90-1a90-1a90-1a901a901a90
Unique identifier assigned to the invoice within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the invoice's record within the Lago system.
Response
Payment URL has been generated
Example response
{
"invoice_payment_details": {
"lago_customer_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"lago_invoice_id": "1e501a90-1a90-1a90-1a90-1a901a901a80",
"external_customer_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba",
"payment_provider": "stripe",
"payment_url": "https://foo.bar"
}
}