Invoices by Payer
curl --request GET \
--url https://payments.shakesco.com/invoices/payer/{email} \
--header 'Authorization: Bearer <token>'[
{
"id": 1,
"user_id": 42,
"invoice_number": "INV-2026-a1b2c3d4",
"status": "paid",
"type": "public",
"currency": "USD",
"tax_rate": "0.00",
"is_business": true,
"receiver": "business@example.com",
"receiver_country": "US",
"payer_name": "Jane Doe",
"payer_email": "customer@example.com",
"payer_country": null,
"asset": "ETH",
"amount": "0.00045",
"rate": "2800000.00",
"tx_hash_link": "https://polygonscan.com/tx/0xabc...",
"receipt_number": "REC-2026-e5f6a7",
"payment_url": "https://pay.shakesco.com/@business/a1b2c3...",
"expires_at": "2026-05-23T10:00:00.000000Z",
"scanned_at": "2026-05-16T10:55:00.000000Z",
"paid_at": "2026-05-16T11:00:00.000000Z",
"store_item_ids": null,
"created_at": "2026-05-16T10:00:00.000000Z",
"updated_at": "2026-05-16T11:00:00.000000Z",
"transaction_items": [
{
"id": 1,
"crypto_transaction_id": 1,
"description": "Platform Services",
"unit": "1",
"price": "1400",
"image": null,
"created_at": "2026-05-16T10:00:00.000000Z",
"updated_at": "2026-05-16T10:00:00.000000Z"
}
]
}
]
Invoices
Invoices by Payer
List every invoice you’ve issued to a specific customer email
GET
/
invoices
/
payer
/
{email}
Invoices by Payer
curl --request GET \
--url https://payments.shakesco.com/invoices/payer/{email} \
--header 'Authorization: Bearer <token>'[
{
"id": 1,
"user_id": 42,
"invoice_number": "INV-2026-a1b2c3d4",
"status": "paid",
"type": "public",
"currency": "USD",
"tax_rate": "0.00",
"is_business": true,
"receiver": "business@example.com",
"receiver_country": "US",
"payer_name": "Jane Doe",
"payer_email": "customer@example.com",
"payer_country": null,
"asset": "ETH",
"amount": "0.00045",
"rate": "2800000.00",
"tx_hash_link": "https://polygonscan.com/tx/0xabc...",
"receipt_number": "REC-2026-e5f6a7",
"payment_url": "https://pay.shakesco.com/@business/a1b2c3...",
"expires_at": "2026-05-23T10:00:00.000000Z",
"scanned_at": "2026-05-16T10:55:00.000000Z",
"paid_at": "2026-05-16T11:00:00.000000Z",
"store_item_ids": null,
"created_at": "2026-05-16T10:00:00.000000Z",
"updated_at": "2026-05-16T11:00:00.000000Z",
"transaction_items": [
{
"id": 1,
"crypto_transaction_id": 1,
"description": "Platform Services",
"unit": "1",
"price": "1400",
"image": null,
"created_at": "2026-05-16T10:00:00.000000Z",
"updated_at": "2026-05-16T10:00:00.000000Z"
}
]
}
]
For the complete documentation index, see llms.txt. Returns every invoice you’ve issued to a specific customer email, ordered newest first.Documentation Index
Fetch the complete documentation index at: https://docs.shakesco.com/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
The customer’s email address (URL-encoded)
Response
Array of invoice objects matching theGET /invoices shape, filtered to this customer.
const email = encodeURIComponent("customer@example.com");
const response = await fetch(
`https://payments.shakesco.com/invoices/payer/${email}`,
{ headers: { Authorization: `Bearer ${API_KEY}` } }
);
const invoices = await response.json();
[
{
"id": 1,
"user_id": 42,
"invoice_number": "INV-2026-a1b2c3d4",
"status": "paid",
"type": "public",
"currency": "USD",
"tax_rate": "0.00",
"is_business": true,
"receiver": "business@example.com",
"receiver_country": "US",
"payer_name": "Jane Doe",
"payer_email": "customer@example.com",
"payer_country": null,
"asset": "ETH",
"amount": "0.00045",
"rate": "2800000.00",
"tx_hash_link": "https://polygonscan.com/tx/0xabc...",
"receipt_number": "REC-2026-e5f6a7",
"payment_url": "https://pay.shakesco.com/@business/a1b2c3...",
"expires_at": "2026-05-23T10:00:00.000000Z",
"scanned_at": "2026-05-16T10:55:00.000000Z",
"paid_at": "2026-05-16T11:00:00.000000Z",
"store_item_ids": null,
"created_at": "2026-05-16T10:00:00.000000Z",
"updated_at": "2026-05-16T11:00:00.000000Z",
"transaction_items": [
{
"id": 1,
"crypto_transaction_id": 1,
"description": "Platform Services",
"unit": "1",
"price": "1400",
"image": null,
"created_at": "2026-05-16T10:00:00.000000Z",
"updated_at": "2026-05-16T10:00:00.000000Z"
}
]
}
]
⌘I