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.

  1. Collect invoice data from the user or workflow.
  2. Call createInvoiceIntent.
  3. Show or send walletSignUrl to the recipient wallet owner.
  4. Poll getInvoiceIntent.
  5. Once confirmed, show or use finalInvoice links.
  6. If paying as an agent, call x402Url only 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"
}