order.refund.request

Reserve a refund amount on a paid order (intent row = the PSP conversation anchor).

Payload

fieldtyperequirednotes
orderIdstring (/^ord_[a-zA-Z0-9]{1,32}$/)yes
refundIdstring (/^ref_[a-zA-Z0-9]{1,32}$/)yes
amountKurusinteger (0..10000000000000)yes
reasonstring (≤200 chars)no
returnIdstring (/^ret_[a-zA-Z0-9]{1,32}$/)no

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "string",
      "pattern": "^ord_[a-zA-Z0-9]{1,32}$"
    },
    "refundId": {
      "type": "string",
      "pattern": "^ref_[a-zA-Z0-9]{1,32}$"
    },
    "amountKurus": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000000000
    },
    "reason": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "returnId": {
      "type": "string",
      "pattern": "^ret_[a-zA-Z0-9]{1,32}$"
    }
  },
  "required": [
    "orderId",
    "refundId",
    "amountKurus"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/order.refund.request.md