Bitnob · Schema

CardsCreateRequest

CompanyBitcoinPaymentsFintech

Properties

Name Type Description
amount integer Initial funding in micro-units (1 USD = 1,000,000). Required for prepaid, 2,000,000 to 2,500,000,000. Must be 0 or left out for collateral programs.
card_brand string Card network.
card_limits object
card_program string One of the card programs described under Cards. Omit it for the platform's default prepaid program (prepaid or prepaid_platinum); prepaid_premium must always be named. An individual workspace defaults
card_type string Form of the card. Prepaid cards are virtual only.
contactless_payment boolean Whether the card allows contactless payments.
currency string Card currency. Defaults to USD.
customer object
customer_id string Existing customer. Provide this or customer. An individual workspace can send neither, and the card goes to its owner. The prepaid_platinum and prepaid_premium programs accept customer_id only: the cu
expiry string Requested expiry month, YYYY-MM, 1 to 36 months after the current month (UTC). Refused on collateral programs.
idempotency_key string Must be a UUID when sent. It does not detect a retry; send the same reference to have a repeat refused with 409.
name string Required unless customer_id is given or an individual workspace names nobody. The card always carries the customer's name, so this value is not stored on the card.
reference string Your unique reference for this card. At most 255 characters, using only letters, digits, hyphens and underscores. Values starting with FUND_CRYPTO_ or crypto-deposit-, in any case, are reserved.
user_metadata string JSON object as a string, at most 5KB. A value that is not a JSON object is dropped without an error.
webhook_url string HTTPS URL that receives webhooks for this card. Its host must resolve to a public address.
View JSON Schema on GitHub

JSON Schema

bitnob-cards-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bitnob/json-schema/bitnob-cards-create-request-schema.json",
  "title": "CardsCreateRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bitnob-openapi.json#/components/schemas/CardsCreateRequest",
  "properties": {
    "amount": {
      "description": "Initial funding in micro-units (1 USD = 1,000,000). Required for prepaid, 2,000,000 to 2,500,000,000. Must be 0 or left out for collateral programs.",
      "format": "int64",
      "minimum": 0,
      "type": "integer"
    },
    "card_brand": {
      "description": "Card network.",
      "enum": [
        "visa",
        "mastercard"
      ],
      "type": "string"
    },
    "card_limits": {
      "$ref": "#/$defs/CardsCardLimitsInput"
    },
    "card_program": {
      "description": "One of the card programs described under Cards. Omit it for the platform's default prepaid program (prepaid or prepaid_platinum); prepaid_premium must always be named. An individual workspace defaults to collateral, and a customer eligible only for collateral must send it, or the request returns 400. Company settings don't change this default.",
      "enum": [
        "prepaid",
        "collateral",
        "collateral_business",
        "prepaid_platinum",
        "prepaid_premium"
      ],
      "type": "string"
    },
    "card_type": {
      "description": "Form of the card. Prepaid cards are virtual only.",
      "enum": [
        "virtual",
        "physical"
      ],
      "type": "string"
    },
    "contactless_payment": {
      "description": "Whether the card allows contactless payments.",
      "type": "boolean"
    },
    "currency": {
      "description": "Card currency. Defaults to USD.",
      "enum": [
        "USD",
        "NGN",
        "EUR",
        "GBP"
      ],
      "type": "string"
    },
    "customer": {
      "$ref": "#/$defs/CardsCustomerInfo"
    },
    "customer_id": {
      "description": "Existing customer. Provide this or customer. An individual workspace can send neither, and the card goes to its owner. The prepaid_platinum and prepaid_premium programs accept customer_id only: the customer must have completed card KYC for the program first, and an inline customer returns 400.",
      "format": "uuid",
      "type": "string"
    },
    "expiry": {
      "description": "Requested expiry month, YYYY-MM, 1 to 36 months after the current month (UTC). Refused on collateral programs.",
      "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$",
      "type": "string"
    },
    "idempotency_key": {
      "description": "Must be a UUID when sent. It does not detect a retry; send the same reference to have a repeat refused with 409.",
      "format": "uuid",
      "type": "string"
    },
    "name": {
      "description": "Required unless customer_id is given or an individual workspace names nobody. The card always carries the customer's name, so this value is not stored on the card.",
      "maxLength": 100,
      "type": "string"
    },
    "reference": {
      "description": "Your unique reference for this card. At most 255 characters, using only letters, digits, hyphens and underscores. Values starting with FUND_CRYPTO_ or crypto-deposit-, in any case, are reserved.",
      "type": "string"
    },
    "user_metadata": {
      "description": "JSON object as a string, at most 5KB. A value that is not a JSON object is dropped without an error.",
      "maxLength": 5120,
      "type": "string"
    },
    "webhook_url": {
      "description": "HTTPS URL that receives webhooks for this card. Its host must resolve to a public address.",
      "format": "uri",
      "type": "string"
    }
  },
  "required": [
    "card_type"
  ],
  "type": "object",
  "$defs": {
    "CardsCardLimitsInput": {
      "description": "Spending limits in micro-units (1 USD = 1,000,000). A value above 0 must be at least 10,000 ($0.01). A collateral card takes at most one limit. A collateral_business card takes at most one, above 0, in whole cents, and never transaction_limit.",
      "properties": {
        "all_time_limit": {
          "description": "Lifetime, micro-units.",
          "format": "int64",
          "maximum": 10000000000000,
          "minimum": 0,
          "type": "integer"
        },
        "daily_limit": {
          "description": "Per day, micro-units.",
          "format": "int64",
          "maximum": 10000000000000,
          "minimum": 0,
          "type": "integer"
        },
        "monthly_limit": {
          "description": "Per month, micro-units.",
          "format": "int64",
          "maximum": 10000000000000,
          "minimum": 0,
          "type": "integer"
        },
        "transaction_limit": {
          "description": "Per transaction, micro-units.",
          "format": "int64",
          "maximum": 10000000000000,
          "minimum": 0,
          "type": "integer"
        },
        "weekly_limit": {
          "description": "Per week, micro-units.",
          "format": "int64",
          "maximum": 10000000000000,
          "minimum": 0,
          "type": "integer"
        },
        "yearly_limit": {
          "description": "Per year, micro-units.",
          "format": "int64",
          "maximum": 10000000000000,
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "CardsCustomerInfo": {
      "description": "Inline customer for card creation.",
      "properties": {
        "business_name": {
          "description": "Registered business name. An inline business customer can't send the registration number it needs, so create the customer first and send customer_id.",
          "type": "string"
        },
        "city": {
          "description": "City.",
          "maxLength": 100,
          "type": "string"
        },
        "country": {
          "description": "ISO 3166-1 alpha-3 country code, for example NGA.",
          "maxLength": 3,
          "minLength": 3,
          "type": "string"
        },
        "customer_type": {
          "description": "Type of customer.",
          "enum": [
            "individual",
            "business",
            "team_member"
          ],
          "type": "string"
        },
        "date_of_birth": {
          "description": "Date of birth.",
          "maxLength": 10,
          "type": "string"
        },
        "dial_code": {
          "description": "International dial code, for example +234.",
          "maxLength": 5,
          "type": "string"
        },
        "email": {
          "description": "Email address.",
          "format": "email",
          "type": "string"
        },
        "first_name": {
          "description": "First name.",
          "maxLength": 100,
          "type": "string"
        },
        "id_number": {
          "description": "Number on the identity document.",
          "maxLength": 50,
          "type": "string"
        },
        "id_type": {
          "description": "Type of identity document.",
          "maxLength": 50,
          "type": "string"
        },
        "last_name": {
          "description": "Last name.",
          "maxLength": 100,
          "type": "string"
        },
        "line1": {
          "description": "Address line 1.",
          "maxLength": 200,
          "type": "string"
        },
        "line2": {
          "description": "Address line 2.",
          "type": "string"
        },
        "phone_number": {
          "description": "Phone number without the dial code.",
          "maxLength": 20,
          "type": "string"
        },
        "postal_code": {
          "description": "Postal code.",
          "maxLength": 20,
          "type": "string"
        },
        "state": {
          "description": "State.",
          "maxLength": 100,
          "type": "string"
        }
      },
      "required": [
        "customer_type",
        "first_name",
        "last_name",
        "date_of_birth",
        "id_type",
        "id_number",
        "email",
        "phone_number",
        "dial_code",
        "line1",
        "city",
        "state",
        "postal_code",
        "country"
      ],
      "type": "object"
    }
  }
}

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/bitnob-cards-create-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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