{
  "x402Version": 2,
  "id": 39965,
  "slug": "39965",
  "resource": "https://oceanalt.com/api/x402/decision",
  "description": "OceanAlt pre-payment decision: should this agent make this payment? allow / review / decline with verifiable evidence. Prepaid credits are cheaper: see POST /api/x402/credits.",
  "type": "http",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x93c67dabee533a9689a1e3a67201352b6b29dcd4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "payTo": "0x93c67dabee533a9689a1e3a67201352b6b29dcd4",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FynLgz9YrGb3sSiATj7aXc6CrDvNLMXj8zLVYEBXSSDh",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "decision": {
            "description": "allow | review | decline",
            "enum": [
              "allow",
              "review",
              "decline"
            ],
            "type": "string"
          },
          "evidence": {
            "description": "Checkable evidence: which list matched or which on-chain path",
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "reason_code": {
            "description": "Stable machine-readable reason",
            "type": "string"
          },
          "retry": {
            "description": "Retry rule for the agent planner, e.g. not_applicable, non_retryable, policy_dependent_backoff",
            "type": "string"
          },
          "signal_class": {
            "description": "ok | payment | regulatory | authorization | uncertain",
            "type": "string"
          },
          "signal_keys": {
            "description": "Language-independent signal keys; branch on these, not on prose",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "decision",
          "reason_code"
        ],
        "type": "object"
      },
      "type": {
        "const": "json",
        "type": "string"
      }
    },
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amountUsdc": 25,
            "network": "base",
            "purpose": "invoice",
            "to": "0x8ac5381fcd9e7395d14e02986c344aada84b4bc6"
          },
          "bodyType": "json",
          "headerFields": {
            "X-OceanAlt-Credit": "Optional prepaid credit token from POST /api/x402/credits; when present, one credit is used and no payment is required"
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "decision": "allow",
            "evidence": [],
            "reason_code": "clear",
            "retry": "not_applicable",
            "signal_class": "ok",
            "signal_keys": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "properties": {
                  "amountUsdc": {
                    "description": "Optional payment amount in USDC",
                    "type": "number"
                  },
                  "network": {
                    "description": "Optional EVM chain of the payee",
                    "enum": [
                      "ethereum",
                      "base",
                      "bsc",
                      "polygon",
                      "arbitrum",
                      "optimism",
                      "avalanche"
                    ],
                    "type": "string"
                  },
                  "purpose": {
                    "description": "Optional short note on what the payment is for",
                    "type": "string"
                  },
                  "to": {
                    "description": "Payee address the agent intends to pay: EVM 0x… or TRON T…",
                    "type": "string"
                  }
                },
                "required": [
                  "to"
                ],
                "type": "object"
              },
              "bodyType": {
                "const": "json",
                "type": "string"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "decision": {
                    "description": "allow | review | decline",
                    "enum": [
                      "allow",
                      "review",
                      "decline"
                    ],
                    "type": "string"
                  },
                  "evidence": {
                    "description": "Checkable evidence: which list matched or which on-chain path",
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "reason_code": {
                    "description": "Stable machine-readable reason",
                    "type": "string"
                  },
                  "retry": {
                    "description": "Retry rule for the agent planner, e.g. not_applicable, non_retryable, policy_dependent_backoff",
                    "type": "string"
                  },
                  "signal_class": {
                    "description": "ok | payment | regulatory | authorization | uncertain",
                    "type": "string"
                  },
                  "signal_keys": {
                    "description": "Language-independent signal keys; branch on these, not on prose",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "decision",
                  "reason_code"
                ],
                "type": "object"
              },
              "type": {
                "const": "json",
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "signedRequirements": {
      "alg": "Ed25519",
      "digest": "968696015ae24e0a34657bb42c160571a079a25ccffcd76e4cfb9e9e0a01a8c7",
      "key_id": "56b7b21d50cb0c63",
      "keys_url": "https://oceanalt.com/.well-known/oceanalt-keys.json",
      "protected_digest": "968696015ae24e0a34657bb42c160571a079a25ccffcd76e4cfb9e9e0a01a8c7",
      "protected_fields": [
        "x402Version",
        "resource",
        "accepts[].scheme",
        "accepts[].network",
        "accepts[].payTo",
        "accepts[].amount",
        "accepts[].asset",
        "accepts[].extra"
      ],
      "signature": "MCsU4ftMgKgsAIT5H/BC/S6cqKMiho/7RTUIP9/91Xw7rlZKm8CQ2kry3nbFExMoY5C/R1W3pCfr7Fzbcgk6Ag==",
      "verify_hint": "Verify per https://oceanalt.com/en/api-docs#signed-requirements. If payTo/amount/asset/network differ from your intent, do not pay."
    }
  },
  "tags": [
    "bazaar",
    "signedRequirements"
  ],
  "sourceHost": "oceanalt.com",
  "lastUpdated": "2026-10-08T14:56:16.568Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T14:56:15.3Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amountUsdc": 25,
              "network": "base",
              "purpose": "invoice",
              "to": "0x8ac5381fcd9e7395d14e02986c344aada84b4bc6"
            },
            "bodyType": "json",
            "headerFields": {
              "X-OceanAlt-Credit": "Optional prepaid credit token from POST /api/x402/credits; when present, one credit is used and no payment is required"
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "decision": "allow",
              "evidence": [],
              "reason_code": "clear",
              "retry": "not_applicable",
              "signal_class": "ok",
              "signal_keys": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "properties": {
                    "amountUsdc": {
                      "description": "Optional payment amount in USDC",
                      "type": "number"
                    },
                    "network": {
                      "description": "Optional EVM chain of the payee",
                      "enum": [
                        "ethereum",
                        "base",
                        "bsc",
                        "polygon",
                        "arbitrum",
                        "optimism",
                        "avalanche"
                      ],
                      "type": "string"
                    },
                    "purpose": {
                      "description": "Optional short note on what the payment is for",
                      "type": "string"
                    },
                    "to": {
                      "description": "Payee address the agent intends to pay: EVM 0x… or TRON T…",
                      "type": "string"
                    }
                  },
                  "required": [
                    "to"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "const": "json",
                  "type": "string"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "decision": {
                      "description": "allow | review | decline",
                      "enum": [
                        "allow",
                        "review",
                        "decline"
                      ],
                      "type": "string"
                    },
                    "evidence": {
                      "description": "Checkable evidence: which list matched or which on-chain path",
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "reason_code": {
                      "description": "Stable machine-readable reason",
                      "type": "string"
                    },
                    "retry": {
                      "description": "Retry rule for the agent planner, e.g. not_applicable, non_retryable, policy_dependent_backoff",
                      "type": "string"
                    },
                    "signal_class": {
                      "description": "ok | payment | regulatory | authorization | uncertain",
                      "type": "string"
                    },
                    "signal_keys": {
                      "description": "Language-independent signal keys; branch on these, not on prose",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "decision",
                    "reason_code"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "json",
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "signedRequirements": {
        "alg": "Ed25519",
        "digest": "968696015ae24e0a34657bb42c160571a079a25ccffcd76e4cfb9e9e0a01a8c7",
        "key_id": "56b7b21d50cb0c63",
        "keys_url": "https://oceanalt.com/.well-known/oceanalt-keys.json",
        "protected_digest": "968696015ae24e0a34657bb42c160571a079a25ccffcd76e4cfb9e9e0a01a8c7",
        "protected_fields": [
          "x402Version",
          "resource",
          "accepts[].scheme",
          "accepts[].network",
          "accepts[].payTo",
          "accepts[].amount",
          "accepts[].asset",
          "accepts[].extra"
        ],
        "signature": "MCsU4ftMgKgsAIT5H/BC/S6cqKMiho/7RTUIP9/91Xw7rlZKm8CQ2kry3nbFExMoY5C/R1W3pCfr7Fzbcgk6Ag==",
        "verify_hint": "Verify per https://oceanalt.com/en/api-docs#signed-requirements. If payTo/amount/asset/network differ from your intent, do not pay."
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "oceanalt.com",
    "manifest_name": "oceanalt.com",
    "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": {
      "decision": "allow",
      "evidence": [
        {}
      ],
      "reason_code": "string",
      "retry": "string",
      "signal_class": "string",
      "signal_keys": [
        "string"
      ]
    },
    "type": "string"
  }
}