Xenodia Docs
API ReferenceGenerated Reference

Read available wallet payment methods and the credited account

Requires an account access token. RH supports USDG only; Base supports USDC. Display the returned recipient before payment. A configured asset is not proof that a wallet has enough tokens or network fees.

GET
/v1/payments/options

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X GET "https://api.xenodia.xyz/v1/payments/options"
{
  "data": {
    "wallet_enabled": true,
    "x402_enabled": true,
    "wallet_assets": [
      {
        "id": "base_usdc",
        "symbol": "USDC",
        "network": "string",
        "chain_id": 8453,
        "token_address": "string",
        "decimals": 6,
        "recipient_address": "string",
        "available": true
      }
    ],
    "wallet_pricing": {
      "stablecoin_per_credit_rate": "string"
    },
    "recipient": {
      "account_id": 0,
      "label": "string",
      "wallet_address": "string"
    }
  }
}
{
  "error": "bad_request",
  "message": "string",
  "type": "string",
  "code": "string"
}