cURL
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" } }
This endpoint is used to create a manual payment
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Payment payload
The body is of type object.
object
Payment created
The response is of type object.
Was this page helpful?