Cash App · Schema

RefundsPostRequestBodyContentApplicationJsonSchemaRefund

Details about the refund to create.

Financial ServicesPaymentsUnited StatesFintechNeobankBuy Now Pay LaterPayment AcceptanceDigital WalletConsumer Finance

Properties

Name Type Description
amount integer The amount of money to refund the customer, in the lowest denomination of currency for the refund. Min value: `1`
currency object
merchant_id string ID of the merchant to make the refund from. Min length: `1` Max length: `128`
payment_id string For refunds, this is the ID of the payment to refund. Min length: `1` Max length: `128`
capture boolean Whether or not to automatically capture the refund once it's created. Default: `true`
reference_id string A user-defined identifier for this refund, typically used to associate the refund with a record in an external system. Min length: `1` Max length: `1024`
metadata object
View JSON Schema on GitHub

JSON Schema

cash-app-refunds-post-request-body-content-application-json-schema-refund-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cash-app/main/json-schema/cash-app-refunds-post-request-body-content-application-json-schema-refund-schema.json",
  "title": "RefundsPostRequestBodyContentApplicationJsonSchemaRefund",
  "description": "Details about the refund to create.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cash-app-refunds-api-openapi.yml#/components/schemas/RefundsPostRequestBodyContentApplicationJsonSchemaRefund",
  "type": "object",
  "properties": {
    "amount": {
      "type": "integer",
      "description": "The amount of money to refund the customer, in the lowest denomination of currency for the refund.\n\nMin value: `1`"
    },
    "currency": {
      "$ref": "#/$defs/Currency"
    },
    "merchant_id": {
      "type": "string",
      "description": "ID of the merchant to make the refund from.\n\nMin length: `1`\nMax length: `128`"
    },
    "payment_id": {
      "type": "string",
      "description": "For refunds, this is the ID of the payment to refund.\n\nMin length: `1`\nMax length: `128`"
    },
    "capture": {
      "type": "boolean",
      "default": true,
      "description": "Whether or not to automatically capture the refund once it's created.\n\nDefault: `true`"
    },
    "reference_id": {
      "type": "string",
      "description": "A user-defined identifier for this refund, typically used to associate the refund with a record in an external system.\n\nMin length: `1`\nMax length: `1024`"
    },
    "metadata": {
      "$ref": "#/$defs/Metadata"
    }
  },
  "required": [
    "amount",
    "currency",
    "merchant_id"
  ],
  "$defs": {
    "Currency": {
      "type": "string",
      "enum": [
        "USD"
      ],
      "description": "Indicates the country associated with an entity. Values are from the [ISO-4217 Alpha-3](https://www.iso.org/iso-4217-currency-codes.html) specification.\n\nCurrent values:\n\n- `USD`: United States Dollar",
      "title": "Currency"
    },
    "Metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Freeform key-value pairs of arbitrary data associated with this resource.\n\nKeys and values must be passed as strings and not contain any personally identifiable information (PII).\n\nMin keys: `0`\nMax keys: `50`\n\n\n> Note: Nested keys are not supported.",
      "title": "Metadata"
    }
  }
}

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/cash-app-refunds-post-request-body-content-application-json-schema-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.