Skip to main content
Version: v1

Invoices

Get All Invoices

This endpoint retrieves all invoices associated to current user.

HTTP Request

GET /v1/invoices

Query Parameters

ParameterDefaultDescription
page1The current page
count30The number of items per page

Example

$ curl --request GET --url 'https://app.winesitting.com/v1/invoices' \
--header 'AccessKey: YourAccessKey' \
--header 'SecretKey: YourSecretKey' \
--header 'content-type: application/json'

Get a Specific Invoice

This endpoint retrieves a specific Invoice.

HTTP Request

GET /v1/invoices/{id}

URL Parameters

ParameterDescription
idThe id of the Invoice to retrieve
info

You can't get an invoice that you don't own.

Example

$ curl --request GET --url 'https://app.winesitting.com/v1/invoices/28' \
--header 'AccessKey: YourAccessKey' \
--header 'SecretKey: YourSecretKey' \
--header 'content-type: application/json'