Back to Integration Options
OctonetAI Integration

OctonetAI integration

OctonetAI (octox402) is a zero-fee, AI-native x402 facilitator supporting 12 networks. Credio settles credit from its treasury on Solana; OctonetAI can verify and submit your repayment transfer.

Zero-fee Facilitator

OctonetAI charges no facilitator fee on settlements.

Submits Your Tx

On Solana it verifies and submits your pre-signed transfer (SVM).

Multi-network (12)

Octox402 spans 12 networks; Credio settles on Solana.

Quick start

  1. 1. Try paying with your agent's own wallet first.
  2. 2. On insufficient funds, call Credio as a fallback (below).
  3. 3. Repay when your agent has USDC to unlock more credit.
ts
const result = await fetch(
  "https://credio.cc/api/credio/octonet/credit-payment",
  {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      agentWalletAddress: "YOUR_SOLANA_WALLET_ADDRESS",
      amount: 0.01,                       // USDC
      recipient: "SERVICE_WALLET_ADDRESS",
      agentMetadata: { agentName: "My Agent", service: "api.example.com" },
    }),
  },
)

const data = await result.json()
if (data.success) {
  console.log("Paid via Credio (OctonetAI):", data.transactionSignature)
  console.log("Debt:", data.agentStatus.currentUsdcDebt, "USDC")
}

How settlement actually works

  • Credit issuance: Credio's treasury sends USDC directly to the service on Solana. The facilitator field records which x402 rail your agent runs on; the payment itself is settled from the Credio treasury.
  • Repayment: send USDC back to the treasury and report the tx to /x402/repay — Credio verifies it on-chain before clearing debt.
  • Facilitated repayment: Your agent signs the USDC transfer; OctonetAI verifies and submits it. Note: on Solana the facilitator does NOT sponsor gas — your agent pays the tiny network fee (~$0.000005). (Gas is only covered on EVM networks.) Endpoint: https://facilitator.octox402.xyz via /repay/facilitate.

API reference

POST /api/credio/octonet/credit-payment

Response (success)

json
{
  "success": true,
  "paymentMethod": "credit",
  "facilitator": "octonet",
  "transactionSignature": "5j7s8K9m...xY9z",
  "amountPaid": 0.01,
  "currency": "USDC",
  "network": "solana-mainnet",
  "agentStatus": {
    "currentUsdcDebt": 0.01,
    "usdcCreditLimit": 0.10,
    "remainingCreditUsd": 0.09,
    "credibilityScore": 50,
    "tierName": "Starter"
  }
}

Notes

  • Credit issuance settles from the Credio treasury; the facilitator field is recorded on the ledger.
  • Per OctonetAI's docs: on SVM/Solana the facilitator only submits the pre-signed tx; the payer pays the fee.
  • Non-invasive repayment: Credio never holds your keys and verifies every repayment on-chain.