Curlec · Schema

Order

CompanyPaymentsPayment GatewayRecurring PaymentsSubscriptionDirect DebitFintechMalaysiaDuitNowFPXWebhookRazorpayA2A

Properties

Name Type Description
id string Unique order identifier. Prefix: order_
entity string
amount integer Order amount in paise. Example: 50000 = ₹500.
amount_paid integer Total amount paid against this order (paise).
amount_due integer Remaining unpaid amount (paise).
currency string ISO 4217 currency code. Example: INR.
receipt string Your internal receipt or order reference number.
status string created: awaiting payment. attempted: payment attempted but not captured. paid: fully paid.
attempts integer Number of payment attempts made.
notes object
created_at integer Unix timestamp of order creation.
offer_id string
offers array
View JSON Schema on GitHub

JSON Schema

curlec-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/curlec/json-schema/curlec-order-schema.json",
  "title": "Order",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/curlec-orders-api-openapi.yml#/components/schemas/Order",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique order identifier. Prefix: order_"
    },
    "entity": {
      "type": "string",
      "enum": [
        "order"
      ]
    },
    "amount": {
      "type": "integer",
      "description": "Order amount in paise. Example: 50000 = ₹500."
    },
    "amount_paid": {
      "type": "integer",
      "description": "Total amount paid against this order (paise)."
    },
    "amount_due": {
      "type": "integer",
      "description": "Remaining unpaid amount (paise)."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency code. Example: INR."
    },
    "receipt": {
      "type": "string",
      "description": "Your internal receipt or order reference number."
    },
    "status": {
      "type": "string",
      "enum": [
        "created",
        "attempted",
        "paid"
      ],
      "description": "created: awaiting payment. attempted: payment attempted but not captured. paid: fully paid."
    },
    "attempts": {
      "type": "integer",
      "description": "Number of payment attempts made."
    },
    "notes": {
      "$ref": "#/$defs/Notes"
    },
    "created_at": {
      "type": "integer",
      "description": "Unix timestamp of order creation."
    },
    "offer_id": {
      "type": "string"
    },
    "offers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "Notes": {
      "type": "object",
      "description": "Key-value pairs for storing custom metadata. Maximum 15 pairs. Each key and value must not exceed 256 characters.",
      "additionalProperties": {
        "type": "string"
      },
      "maxProperties": 15
    }
  }
}

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/curlec-order"
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. See our Privacy Policy and Terms.

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