{
  "x402Version": 2,
  "id": 33906,
  "slug": "33906",
  "resource": "https://x402.agentindex.world/can-pay",
  "description": "Check whether a Base wallet holds enough USDC to pay an x402 amount (default $0.001). Returns balance, can_pay, shortfall. The checklist agents run before spending. Try GET /can-pay/sample.",
  "type": "http",
  "serviceName": "wallet-can-pay",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790530885/bazaar-icons/fde5dd6af2b2b42f.png",
  "resourceType": "Travel",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "address": {
            "type": "string"
          },
          "amount_requested": {
            "type": "number"
          },
          "can_pay": {
            "type": "boolean"
          },
          "eth": {
            "type": "object"
          },
          "network": {
            "type": "string"
          },
          "shortfall_usdc": {
            "type": "number"
          },
          "usdc": {
            "type": "object"
          },
          "x402_receipt": {
            "type": "object"
          }
        },
        "required": [
          "address",
          "usdc",
          "can_pay"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "address": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
            "amount": 0.001
          },
          "type": "http"
        },
        "output": {
          "example": {
            "address": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
            "amount_requested": 0.001,
            "can_pay": false,
            "eth": {
              "balance": 0
            },
            "network": "eip155:8453",
            "shortfall_usdc": 0.001,
            "usdc": {
              "balance": 0,
              "balance_atomic": "0",
              "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "address": {
                    "description": "EVM wallet address (0x…) to check on Base mainnet.",
                    "type": "string"
                  },
                  "amount": {
                    "description": "USDC amount the agent plans to spend (default 0.001).",
                    "type": "number"
                  }
                },
                "required": [
                  "address"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "address": {
                    "type": "string"
                  },
                  "amount_requested": {
                    "type": "number"
                  },
                  "can_pay": {
                    "type": "boolean"
                  },
                  "eth": {
                    "type": "object"
                  },
                  "network": {
                    "type": "string"
                  },
                  "shortfall_usdc": {
                    "type": "number"
                  },
                  "usdc": {
                    "type": "object"
                  },
                  "x402_receipt": {
                    "type": "object"
                  }
                },
                "required": [
                  "address",
                  "usdc",
                  "can_pay"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "wallet",
    "usdc",
    "can pay",
    "preflight",
    "bazaar"
  ],
  "sourceHost": "x402.agentindex.world",
  "lastUpdated": "2026-10-07T19:55:24.296Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-07T19:55:23.869Z"
  },
  "metadata": {
    "serviceName": "wallet-can-pay",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790530885/bazaar-icons/fde5dd6af2b2b42f.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "address": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
              "amount": 0.001
            },
            "type": "http"
          },
          "output": {
            "example": {
              "address": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
              "amount_requested": 0.001,
              "can_pay": false,
              "eth": {
                "balance": 0
              },
              "network": "eip155:8453",
              "shortfall_usdc": 0.001,
              "usdc": {
                "balance": 0,
                "balance_atomic": "0",
                "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "address": {
                      "description": "EVM wallet address (0x…) to check on Base mainnet.",
                      "type": "string"
                    },
                    "amount": {
                      "description": "USDC amount the agent plans to spend (default 0.001).",
                      "type": "number"
                    }
                  },
                  "required": [
                    "address"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "address": {
                      "type": "string"
                    },
                    "amount_requested": {
                      "type": "number"
                    },
                    "can_pay": {
                      "type": "boolean"
                    },
                    "eth": {
                      "type": "object"
                    },
                    "network": {
                      "type": "string"
                    },
                    "shortfall_usdc": {
                      "type": "number"
                    },
                    "usdc": {
                      "type": "object"
                    },
                    "x402_receipt": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "address",
                    "usdc",
                    "can_pay"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentindex.world",
    "manifest_name": "x402.agentindex.world",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "address": "string",
      "amount_requested": 0,
      "can_pay": true,
      "eth": {},
      "network": "string",
      "shortfall_usdc": 0,
      "usdc": {},
      "x402_receipt": {}
    },
    "type": "string"
  }
}