# Spraay Gateway – List Invoices by Address

> Spraay Gateway – List Invoices by Address is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves a list of invoices associated with a given blockchain or wallet address.

## Facts

- Endpoint: GET https://gateway.spraay.app/api/v1/invoice/list
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gateway-spraay-app-6f9d1f94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sKLcHeu_85IMJ6OC4dx0Q

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gateway-spraay-app-6f9d1f94
```

Example prompt: Show me all the invoices associated with the wallet address 0xABC123 on Spraay.

## When to prefer this

Use this endpoint when you need to retrieve all invoices tied to a specific blockchain or wallet address on the Spraay gateway, particularly in payment automation, accounting, or reconciliation workflows where invoice history per address is required.

## Known failure modes

- Missing required 'address' query parameter returns a 400 error
- Invalid or malformed address string may return empty array or error
- Address with no associated invoices returns an empty invoices array
- Payment failure via x402 protocol returns 402 Payment Required
- Network or gateway timeout returns 5xx error

## How this service works

List invoices by address.

## Output

An array of invoice objects linked to the specified address, including invoice details such as amounts, statuses, and related metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "invoices": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gateway-spraay-app-6f9d1f94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.spraay.app](https://www.zero.xyz/host/gateway.spraay.app/llms.txt)
