Coinbase · Schema

CreateChargeRequest

Request body for creating a new charge

BlockchainCryptocurrencyCustodyExchangeOn-RampPaymentsTradingWalletsWeb3

Properties

Name Type Description
name string Name for the charge
description string Description of what is being charged for
pricing_type string Pricing model
local_price object Price in local currency (required for fixed_price)
metadata object Custom metadata
redirect_url string URL to redirect after payment
cancel_url string URL to redirect if payment is cancelled
View JSON Schema on GitHub

JSON Schema

coinbase-createchargerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateChargeRequest",
  "title": "CreateChargeRequest",
  "type": "object",
  "description": "Request body for creating a new charge",
  "required": [
    "name",
    "description",
    "pricing_type"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name for the charge"
    },
    "description": {
      "type": "string",
      "description": "Description of what is being charged for"
    },
    "pricing_type": {
      "type": "string",
      "description": "Pricing model",
      "enum": [
        "no_price",
        "fixed_price"
      ]
    },
    "local_price": {
      "type": "object",
      "description": "Price in local currency (required for fixed_price)",
      "properties": {
        "amount": {
          "type": "string",
          "description": "Amount"
        },
        "currency": {
          "type": "string",
          "description": "Currency code"
        }
      }
    },
    "metadata": {
      "type": "object",
      "description": "Custom metadata",
      "additionalProperties": {
        "type": "string"
      }
    },
    "redirect_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to redirect after payment"
    },
    "cancel_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to redirect if payment is cancelled"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/coinbase-createchargerequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.