latestSwagger 2.0ShopBase Dev 1.02026-08-10153268547.4 KB

353ccde6240d

Balance

Refund balance.

Refund balance.

post/admin/balance/refund.json

Request body

amountnumber

Refund amount.

order_idinteger

OrderId to refund ( optional )

reason_titlestring

Refund reason.

transaction_typestring

Transaction type.

Example request

{
  "amount": 10,
  "order_id": 123456,
  "reason_title": "Refunded for the order #1234567",
  "transaction_type": "order_refund"
}

Response

OK

successboolean

Is Refund successfully.

Example response

{
  "success": true
}