MIS Refund (Device)
Push refund instruction to payment terminal. The terminal device handles the refund operation and returns the result.
API Information
- Endpoint: POST
https://api.aimt-horizon.com/mis/refund - Signature: Uses terminal_sn + terminal_key
Request Parameters
Request Example
Response (Command Accepted)
Response Example (Failure)
Important
- Use a new refund_request_no for each new business refund; retain the original ID for queries and recovery.
- out_trade_no must match the original order from tradePush.
- MIS_PUSH_SUCCESS only acknowledges the refund command; query the original order with refund_request_no to confirm that refund.
- Do not change the ID or switch to the server-refund API while the result is unknown. Duplicate requests are not guaranteed to replay a successful response.
Feishu marks biz_source required while the current DTO defaults it to mis; explicitly send "mis" for compatibility. extended is a JSON object containing refund_mode, not a literal top-level key named "extended.refund_mode". KPay cancel/refund modes require the enabled device contract. The checked KPay gateway requires the full remaining refundable amount when the mode is absent or not refund; bank-card transactions require it even in refund mode.
