Weavr · Schema

PurchaseResponse

Embedded FinanceBanking as a ServicePaymentsCardsFintechAccountKYCCompany

Properties

Name Type Description
code object
threeDSecureChallengeId object
View JSON Schema on GitHub

JSON Schema

weavr-purchase-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weavr/main/json-schema/weavr-purchase-response-schema.json",
  "title": "PurchaseResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/weavr-cards-api-openapi.yml#/components/schemas/PurchaseResponse",
  "type": "object",
  "properties": {
    "code": {
      "$ref": "#/$defs/PurchaseResponsePurchaseResponseCode"
    },
    "threeDSecureChallengeId": {
      "$ref": "#/$defs/NullableInt64"
    }
  },
  "$defs": {
    "NullableInt64": {
      "type": "object",
      "properties": {
        "value": {
          "type": "integer",
          "description": "If value is 0, set has_value to true",
          "format": "int64"
        },
        "hasValue": {
          "type": "boolean",
          "description": "If value is default (0) then true indicates 0 while false indicates null"
        }
      }
    },
    "PurchaseResponsePurchaseResponseCode": {
      "type": "string",
      "enum": [
        "APPROVED",
        "DENIED_NOT_ENOUGH_FUNDS",
        "DENIED_CARD_NOT_FOUND",
        "DENIED_INCORRECT_CVV",
        "DENIED_CARD_EXPIRY",
        "DENIED_AMOUNT_NOT_POSITIVE",
        "DENIED_CARD_INACTIVE",
        "DENIED_OTHER",
        "DENIED_SPEND_CONTROL",
        "PENDING_BIOMETRIC_THREEDS_VERIFICATION",
        "CARD_NOT_ENROLLED_FOR_BIOMETRIC_THREEDS"
      ]
    }
  }
}

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/weavr-purchase-response"
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.