Get Invoice List
OpenAPI block
Get Invoice List
GET v1/invoices
Returns all invoices for your store, with pagination
Headers
Content-Type
application/json
Authorization
HMAC <merchant_id>:<sinature>
Query Parameters:
Limit
integer
No
Number of invoices (1–100; default 10)
Offset
integer
No
Pagination offset (≥ 0; default 0)
Example
GET v1/invoices?limit=10&offset=0
Date: Tue, 09 Apr 2025 12:00:00 GMT
Authorization: HMAC merchant_001:abc123xyz456Response 200 (ok)
offset
Integer
Returned offset
limit
Integer
Returned limit
count
Integer
Total matching invoices
data
Array
List of invoice objects
Response
Errors:
400
Invalid parameters
limit/offset validation failed
403
Unauthorized
HMAC signature error or expired
500
Internal server error
Server-side problem
Each invoice
id
String
Unique invoice ID
status
String
"pending", "paid", "expired", "refunded"
address
String
Wallet address
blockchain
String
Blockchain network
tokenSymbol
String
"USDT" or "USDC"
amount
Number
Unique payment amount
orderId
String
Client order ID
merchantId
String
Your merchant ID
expiresAt
String (ISO 8601)
Invoice expiration timestamp
createdAt
String (ISO 8601)
Invoice creation timestamp
transaction
Object (optional)
{ transactionHash, date, amount }
GitBook's OpenAPI block is powered by Scalar, so you can test your APIs directly from your docs.
Last updated