{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moneygram/main/json-schema/moneygram-put-transactions-mgitransactionid-status-request-schema.json",
  "title": "PutTransactionsMgitransactionidStatusRequest",
  "x-generated": "2026-10-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/moneygram-openapi-generated.yml#/components/schemas/PutTransactionsMgitransactionidStatusRequest",
  "type": "object",
  "properties": {
    "partnerTransactionId": {
      "type": "string",
      "description": "Partner's unique transaction identifier. If the partner uses the MoneyGram transaction ID, pass the same value here. Pattern: ^[A-Za-z0-9_\\-]{1,50}$ . Also serves as the idempotency key."
    },
    "reasonCode": {
      "type": "string",
      "description": "Reason code for the transaction status. Must be a valid 5-digit code from the published catalog."
    },
    "partnerReasonMessage": {
      "type": "string",
      "description": "Partner's free-text reason message or description, for audit and logging."
    }
  },
  "required": [
    "partnerTransactionId",
    "reasonCode",
    "partnerReasonMessage"
  ]
}