POST
/
invoices
/
{lago_id}
/
payment_url
curl --request POST \
  --url https://api.getlago.com/api/v1/invoices/{lago_id}/payment_url \
  --header 'Authorization: Bearer <token>'
{
  "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"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

lago_id
string
required

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

200 - application/json
invoice_payment_details
object