order.refund.record

Finalize a refund intent after the PSP call (ok releases/settles the reservation).

Payload

fieldtyperequirednotes
refundIdstring (/^ref_[a-zA-Z0-9]{1,32}$/)yes
okbooleanyes
providerRefundIdstring (≤80 chars)no
errorCodestring (≤60 chars)no

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "refundId": {
      "type": "string",
      "pattern": "^ref_[a-zA-Z0-9]{1,32}$"
    },
    "ok": {
      "type": "boolean"
    },
    "providerRefundId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "errorCode": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    }
  },
  "required": [
    "refundId",
    "ok"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/order.refund.record.md