orders.refund

Refund part or all of a captured payment through the original PSP extension.

Machine-readable body schema: /schemas/routes/orders.refund.json.

Body

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "amountKurus": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000000000000
    },
    "reason": {
      "type": "string",
      "maxLength": 200
    },
    "idempotencyKey": {
      "type": "string"
    },
    "returnId": {
      "type": "string",
      "pattern": "^ret_[0-9A-HJKMNP-TV-Z]{26}$"
    }
  },
  "required": [
    "amountKurus"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/routes/orders.refund.md