GET
/
payments
curl --request GET \
  --url https://api.getlago.com/api/v1/payments \
  --header 'Authorization: Bearer <token>'
{
  "payments": [
    {
      "lago_id": "4cf085a7-c196-4f07-a543-97c50ec6e8b2",
      "invoice_ids": [
        "486b147a-02a1-4ccf-8603-f3541fc25e7a"
      ],
      "amount_cents": 100,
      "amount_currency": "USD",
      "payment_status": "succeeded",
      "type": "manual",
      "reference": "ref1",
      "external_payment_id": null,
      "created_at": "2025-02-20T00:00:00Z"
    }
  ],
  "meta": {
    "current_page": 2,
    "next_page": 3,
    "prev_page": 1,
    "total_pages": 4,
    "total_count": 70
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer

Page number.

Example:

1

per_page
integer

Number of records per page.

Example:

20

external_customer_id
string

Unique identifier assigned to the customer in your application.

Example:

"5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba"

lago_invoice_id
string

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.

Example:

"1a901a90-1a90-1a90-1a90-1a901a901a90"

Response

200
application/json
Payments
payments
object[]
required
meta
object
required