latestSwagger 2.0ShopBase Dev 1.02026-08-10153268547.4 KB

353ccde6240d

Balance

Capture charge balance.

Capture charge balance.

post/admin/balance/charge.json

Request body

amountnumber

Charge amount.

order_idinteger

OrderId to refund ( optional )

reason_titlestring

Charge reason.

transaction_typestring

Transaction type.

Example request

{
  "amount": 10,
  "order_id": 123456,
  "reason_title": "Pay the subscription bill Feb 12,2019 - Mar 12.2019",
  "transaction_type": "PrintBase bill"
}

Response

OK

successboolean

Is capture charge successfully.

Example response

{
  "success": true
}