Invoices
Get Invoices
Retrieves the invoices.
get/v1/shops/{shopId}/invoices
Request body
Example request
{
"page": 1
}Response
Example response
{
"current_page": 1,
"data": [
{
"id": 2,
"status": "completed",
"price": "14.99",
"currency": "USD",
"paid": "0.00",
"paid_usd": "0.00",
"gateway": null,
"payment_method_id": null,
"email": "reseller@sellauth.test",
"salt": "04fa0a37b47bd",
"manual": false,
"created_at": "2026-08-28T18:23:02.000000Z",
"completed_at": "2026-08-28T18:23:02.000000Z",
"archived_at": null,
"shop_customer_id": 3,
"tax_rate": "0.00",
"ip": "127.0.0.1",
"country_code": null,
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
"asn": null,
"unique_id": "04fa0a37b47bd-0000000000002",
"product": null,
"variant": null,
"items": [
{
"id": 2,
"invoice_id": 2,
"product_id": 1,
"variant_id": 1,
"custom_name": null,
"product": {
"id": 1,
"name": "License Keys",
"stock_count": 0,
"images": [
{
"id": 1,
"cloudflare_image_id": null,
"url": "http://static.mysellauth.test/storage/images/1.webp",
"pivot": {
"product_id": 1,
"image_id": 1,
"order": 0
}
}
]
},
"variant": {
"id": 1,
"name": "Standard"
}
}
],
"payment_method": null
},
{
"id": 1,
"status": "completed",
"price": "14.99",
"currency": "USD",
"paid": "14.99",
"paid_usd": "14.99",
"gateway": "STRIPE",
"payment_method_id": 1,
"email": "customer@sellauth.test",
"salt": "e1ba502e01286",
"manual": false,
"created_at": "2026-08-28T18:23:02.000000Z",
"completed_at": "2026-08-28T18:23:02.000000Z",
"archived_at": null,
"shop_customer_id": 1,
"tax_rate": "0.00",
"ip": "127.0.0.1",
"country_code": null,
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
"asn": null,
"unique_id": "e1ba502e01286-0000000000001",
"product": null,
"variant": null,
"items": [
{
"id": 1,
"invoice_id": 1,
"product_id": 1,
"variant_id": 1,
"custom_name": null,
"product": {
"id": 1,
"name": "License Keys",
"stock_count": 0,
"images": [
{
"id": 1,
"cloudflare_image_id": null,
"url": "http://static.mysellauth.test/storage/images/1.webp",
"pivot": {
"product_id": 1,
"image_id": 1,
"order": 0
}
}
]
},
"variant": {
"id": 1,
"name": "Standard"
}
}
],
"payment_method": {
"id": 1,
"name": "Stripe",
"icon_image_id": null,
"icon_image_url": null,
"icon_image": null
}
}
],
"first_page_url": "http://api.sellauth.test/v1/shops/1/invoices?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://api.sellauth.test/v1/shops/1/invoices?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://api.sellauth.test/v1/shops/1/invoices?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "http://api.sellauth.test/v1/shops/1/invoices",
"per_page": 20,
"prev_page_url": null,
"to": 2,
"total": 2
}Changes
No recorded changes to this endpoint across all 1 revision of this API.