Skip to content

Revoke

POST /upay/v2/revoke

Revoke is a same-day reversal operation when the provider and merchant configuration support it. Prefer refund for normal post-payment returns.

Request

FieldTypeRequiredDescription
terminal_snstring(32)YesTerminal serial number.
snstring(16)ConditionalMUWE order serial number.
client_snstring(32)ConditionalClient order number.

Either sn or client_sn must be present. If both are present, sn identifies the order.

Example

bash
curl -X POST 'https://vsi-api.shouqianba.com/upay/v2/revoke' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: 10298371039 <md5-of-raw-body-plus-terminal-key>' \
  -d '{"terminal_sn":"10298371039","client_sn":"MEX202605220001"}'

Recovery

Treat revoke like cancel: if the response is uncertain, query before changing merchant-facing state. Do not use revoke unless it is explicitly enabled for the partner and provider.

MUWE OpenAPI documentation for bank and payment partners.