Skip to main content
GET
/
invoices
/
payer
/
{email}
Invoices by Payer
curl --request GET \
  --url https://payments.shakesco.com/invoices/payer/{email} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://payments.shakesco.com/invoices/payer/{email}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://payments.shakesco.com/invoices/payer/{email}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://payments.shakesco.com/invoices/payer/{email}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://payments.shakesco.com/invoices/payer/{email}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://payments.shakesco.com/invoices/payer/{email}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://payments.shakesco.com/invoices/payer/{email}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
[
  {
    "id": 1,
    "user_id": 42,
    "invoice_number": "INV-2026-a1b2c3d4",
    "status": "paid",
    "type": "public",
    "currency": "USD",
    "tax_rate": "0.00",
    "is_business": true,
    "from_store": false,
    "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...",
    "redirect_url": "https://yourstore.com/order/complete",
    "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.

Path Parameters

email
string
required
The customer’s email address (URL-encoded)

Response

Array of invoice objects matching the GET /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,
    "from_store": false,
    "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...",
    "redirect_url": "https://yourstore.com/order/complete",
    "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"
      }
    ]
  }
]