Conekta · Schema

Conekta Charge

A single payment attempt against an order using one payment method (card, OXXO cash, SPEI bank transfer, or BNPL).

PaymentsPayment ProcessingCardsCashOXXOSPEIMexicoLatin AmericaFintechSubscriptionFraud PreventionCheckoutBuy Now Pay Later3D Secure

Properties

Name Type Description
id string Conekta-assigned charge identifier.
object string
livemode boolean
order_id string
amount integer Amount in the smallest currency unit.
currency string
status string
failure_code string Conekta failure code when status is declined.
failure_message string
reference_id string OXXO or SPEI reference number where applicable.
payment_method object
refunds array
created_at integer
paid_at integer
View JSON Schema on GitHub

JSON Schema

conekta-charge-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/conekta/main/json-schema/conekta-charge-schema.json",
  "title": "Conekta Charge",
  "description": "A single payment attempt against an order using one payment method (card, OXXO cash, SPEI bank transfer, or BNPL).",
  "type": "object",
  "required": ["payment_method", "amount"],
  "properties": {
    "id": { "type": "string", "description": "Conekta-assigned charge identifier." },
    "object": { "type": "string", "const": "charge" },
    "livemode": { "type": "boolean" },
    "order_id": { "type": "string" },
    "amount": { "type": "integer", "description": "Amount in the smallest currency unit." },
    "currency": { "type": "string" },
    "status": {
      "type": "string",
      "enum": ["pending_payment", "paid", "declined", "refunded", "partially_refunded", "expired", "canceled"]
    },
    "failure_code": { "type": "string", "description": "Conekta failure code when status is declined." },
    "failure_message": { "type": "string" },
    "reference_id": { "type": "string", "description": "OXXO or SPEI reference number where applicable." },
    "payment_method": {
      "type": "object",
      "required": ["type"],
      "properties": {
        "type": {
          "type": "string",
          "enum": ["card", "cash", "spei", "bnpl", "default"]
        },
        "name": { "type": "string" },
        "last4": { "type": "string", "description": "Last four digits for card payments." },
        "brand": { "type": "string", "description": "Card brand (visa, mastercard, amex)." },
        "bin": { "type": "string" },
        "exp_month": { "type": "string" },
        "exp_year": { "type": "string" },
        "issuer": { "type": "string" },
        "country": { "type": "string" },
        "expires_at": { "type": "integer" },
        "reference": { "type": "string", "description": "Cash voucher or SPEI CLABE reference." },
        "service_name": { "type": "string", "description": "e.g., OxxoPay, SpeiPay." },
        "store": { "type": "string" }
      }
    },
    "refunds": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amount": { "type": "integer" },
          "reason": { "type": "string" },
          "created_at": { "type": "integer" }
        }
      }
    },
    "created_at": { "type": "integer" },
    "paid_at": { "type": "integer" }
  }
}

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/conekta-charge"
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.