GET
/
invoices
/
{id}
curl --request GET \
  --url https://api.swervpay.co/api/v1/invoices/{id} \
  --header 'Authorization: Bearer <token>'
{
  "attachments": "<string>",
  "categories": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "currency": "<string>",
  "description": "<string>",
  "due_date": "<string>",
  "id": "<string>",
  "invoice_link": "<string>",
  "invoice_number": "<string>",
  "is_recurring": true,
  "issued_date": "<string>",
  "items": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "discount_amount": 123,
      "id": "<string>",
      "quantity": 123,
      "tax": "<string>",
      "tax_fee": 123,
      "total_price": 123,
      "unit_price": 123,
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "memo": "<string>",
  "recurring_end_date": "<string>",
  "recurring_frequency": "<string>",
  "status": "<string>",
  "tags": "<string>",
  "title": "<string>",
  "total_amount": 123,
  "total_discount_amount": 123,
  "total_tax_fee": 123,
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

200
application/json
OK

The response is of type object.