Instamojo · Schema

Instamojo Refund

Schema for creating and representing an Instamojo refund

PaymentsE-CommerceIndiaPayment GatewayPayment LinksRefundsOrder

Properties

Name Type Description
id string Unique refund ID assigned by Instamojo
payment_id string Payment ID for which refund is being requested
type string Three-letter refund type code
body string Explanation for why the refund is being requested
refund_amount string Amount to refund in INR. Defaults to full transaction amount if not specified.
total_amount string Total amount of the original transaction
status string Current status of the refund
created_at string Timestamp when the refund was created
View JSON Schema on GitHub

JSON Schema

refund.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/instamojo/main/json-schema/refund.json",
  "title": "Instamojo Refund",
  "description": "Schema for creating and representing an Instamojo refund",
  "type": "object",
  "required": ["payment_id", "type", "body"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique refund ID assigned by Instamojo",
      "readOnly": true,
      "examples": ["C5c0751269"]
    },
    "payment_id": {
      "type": "string",
      "description": "Payment ID for which refund is being requested",
      "examples": ["MOJO5a06005J21512345"]
    },
    "type": {
      "type": "string",
      "description": "Three-letter refund type code",
      "enum": ["RFD", "TNR", "QFL", "QNR", "EWN", "TAN", "PTH"],
      "enumDescriptions": {
        "RFD": "Refund",
        "TNR": "Test Refund",
        "QFL": "Quality/Fulfillment Issue",
        "QNR": "Quality Not as Represented",
        "EWN": "Event/Workshop Not Held",
        "TAN": "Technical Issue/App Not Working",
        "PTH": "Paid to Wrong Handle"
      }
    },
    "body": {
      "type": "string",
      "description": "Explanation for why the refund is being requested"
    },
    "refund_amount": {
      "type": "string",
      "description": "Amount to refund in INR. Defaults to full transaction amount if not specified.",
      "pattern": "^\\d+(\\.\\d{1,2})?$"
    },
    "total_amount": {
      "type": "string",
      "description": "Total amount of the original transaction",
      "readOnly": true
    },
    "status": {
      "type": "string",
      "description": "Current status of the refund",
      "enum": ["Pending", "Processed", "Rejected"],
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the refund was created",
      "readOnly": true
    }
  }
}

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/refund"
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.