03 invoices
Invoice Lifecycle
pending → paid → [buffer period] → released (auto)
↘ disputed → resolved
→ expired
→ refundedStatus
Description
Create Invoice
POST /invoicesRequest
{
"amount": 99.99,
"currency": "USDC",
"chain": "solana",
"buffer_hours": 24,
"expires_in_minutes": 60,
"external_id": "order_12345",
"customer_email": "[email protected]",
"metadata": {
"product": "Premium Plan",
"order_id": "12345"
},
"redirect_url": "https://mystore.com/success",
"splits": [
{
"address": "affiliate_wallet_address",
"percentage": 10
}
]
}Parameters
Field
Type
Required
Description
Response
Code Examples
Get Invoice
Response
List Invoices
Query Parameters
Parameter
Type
Description
Example
Response
Fund Release
Who
Can Release?
Can Refund?
Refund Invoice
Request
Response
Get Public Invoice
Response
Invoice Stats
Query Parameters
Parameter
Type
Description
Response
Revenue Splits
Idempotency
Last updated