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
Comma-separated ICCID(s) to unsubscribe.
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
| Code | Meaning |
|---|
-1 | Token expired |
-2 | Required parameter missing |
3 | Data not found |
22 | Non-personal orders (cannot cancel) |
-30 | Signature wrong |