Use Sollection from backend agents
Call the Sollection REST API directly from LangChain, LlamaIndex, custom Node.js/Python agents, or n8n HTTP workflows.
Backend agents can call the REST API directly from LangChain, LlamaIndex, custom Node.js/Python agents, or n8n HTTP workflows. No Sollection SDK is required for the implemented flow.
- Collect invoice data from the user or workflow.
- Call
createInvoiceIntent. - Show or send
walletSignUrlto the recipient wallet owner. - Poll
getInvoiceIntent. - Once confirmed, show or use
finalInvoicelinks. - If paying as an agent, call
x402Urlonly after final invoice exists.
Pre-approval · not payable
POST /api/v1/invoice-intents
Authorization: Bearer <SOLLECTION_GPT_ACTION_API_KEY>
Content-Type: application/json
{
"recipientWallet": "9xQ...",
"tokenSymbol": "USDC",
"amount": "250",
"description": "Website services",
"dueDate": "2026-07-20"
}