Curlec · Schema

Refund

CompanyPaymentsPayment GatewayRecurring PaymentsSubscriptionDirect DebitFintechMalaysiaDuitNowFPXWebhookRazorpayA2A

Properties

Name Type Description
id string Unique refund identifier. Prefix: rfnd_
entity string
amount integer Refund amount in paise.
currency string
payment_id string The original payment ID (pay_*).
notes object
receipt string Your internal reference identifier.
acquirer_data object Bank reference numbers for tracking: RRN (UPI/netbanking), ARN (cards), UTR (NEFT/RTGS).
created_at integer
batch_id string Set if refund was part of a batch upload.
status string pending: being processed. processed: credited to customer. failed: refund failed.
speed_requested string normal: 5-7 business days. optimum: instant if available, falls back to normal.
speed_processed string Actual processing mode used.
View JSON Schema on GitHub

JSON Schema

curlec-refund-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/curlec/json-schema/curlec-refund-schema.json",
  "title": "Refund",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/curlec-refunds-api-openapi.yml#/components/schemas/Refund",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique refund identifier. Prefix: rfnd_"
    },
    "entity": {
      "type": "string",
      "enum": [
        "refund"
      ]
    },
    "amount": {
      "type": "integer",
      "description": "Refund amount in paise."
    },
    "currency": {
      "type": "string"
    },
    "payment_id": {
      "type": "string",
      "description": "The original payment ID (pay_*)."
    },
    "notes": {
      "$ref": "#/$defs/Notes"
    },
    "receipt": {
      "type": "string",
      "description": "Your internal reference identifier."
    },
    "acquirer_data": {
      "type": "object",
      "description": "Bank reference numbers for tracking: RRN (UPI/netbanking), ARN (cards), UTR (NEFT/RTGS).",
      "properties": {
        "arn": {
          "type": "string"
        },
        "rrn": {
          "type": "string"
        },
        "utr": {
          "type": "string"
        }
      }
    },
    "created_at": {
      "type": "integer"
    },
    "batch_id": {
      "type": "string",
      "description": "Set if refund was part of a batch upload."
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "processed",
        "failed"
      ],
      "description": "pending: being processed. processed: credited to customer. failed: refund failed."
    },
    "speed_requested": {
      "type": "string",
      "enum": [
        "normal",
        "optimum"
      ],
      "description": "normal: 5-7 business days. optimum: instant if available, falls back to normal."
    },
    "speed_processed": {
      "type": "string",
      "enum": [
        "instant",
        "normal"
      ],
      "description": "Actual processing mode used."
    }
  },
  "$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-refund"
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.