Skip to main content
Unsubscribe one or more SIM cards from an order. You can cancel a subset of cards by specifying their ICCIDs. Once successfully unsubscribed, the order status changes to 2 (cancelled) or 4 (partial unsubscribe).
POST https://bpm.mioesim.com/api_esim/refundOrder
Cancellation rules vary by plan. Check the premark field of your package — many plans cannot be cancelled after the eSIM is installed. Contact MIOeSIM support if you are unsure.

Request parameters

token
string
required
Session token.
orderNum
string
required
Order number to cancel.
iccids
string
required
Comma-separated ICCID(s) to unsubscribe.
sign
string
required
Request signature.
remark
string
Optional cancellation notes.

Example

curl -X POST https://bpm.mioesim.com/api_esim/refundOrder \
  -d "token=YOUR_TOKEN" \
  -d "orderNum=EP20240124000013" \
  -d "iccids=934801019851134300" \
  -d "sign=YOUR_SIGN"

Error codes

CodeMeaning
-1Token expired
-2Required parameter missing
3Data not found
22Non-personal orders (cannot cancel)
-30Signature wrong