cURL
curl --request GET \ --url https://api.justpaid.io/api/v1/invoice/{invoice_uuid} \ --header 'Authorization: Bearer <token>'
{ "uuid": "123e4567-e89b-12d3-a456-426614174000", "invoice_status": "draft", "amount": 1000, "currency": "USD", "invoice_number": "INV-2024-001", "invoice_date": "2024-03-21", "due_date": "2024-04-21", "line_items": [ { "name": "Product A", "unit_price": 100, "quantity": 2, "amount": 200, "currency": "USD", "description": "Detailed description" } ], "customer": { "uuid": "456e4567-e89b-12d3-a456-426614174000", "name": "Customer Name" } }
Retrieves a specific invoice by UUID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Invoice retrieved successfully
The response is of type object.
object
Was this page helpful?