POST
/
payments
curl --request POST \
  --url https://api.getlago.com/api/v1/payments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payment": {
    "invoice_id": "486b147a-02a1-4ccf-8603-f3541fc25e7a",
    "amount_cents": 100,
    "reference": "ref1",
    "paid_at": "2025-02-20"
  }
}'
{
  "payment": {
    "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"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
Payment payload
payment
object
required

Response

200
application/json
Payment created
payment
object
required