Cancel an eSIM
Cancels the current Matching ID for the QR code associated with a given ICCID, provided its state is set to “released”. The API requires both the ICCID and the Matching ID
Body
iccidstringOptionalExample:
The ICCID (19 or 20 characters) associated with the order to cancel.
1234567890123456789
matchingIdstringOptionalExample:
The matchingId of the SIM.
DDYSX7MJYEKHIXYGK3PU5GEQ
Responses
200
Successfully cancelled the order.
application/json
400
Bad request, invalid ICCID format, or the ICCID state is not "released".
application/json
500
Internal server error, failed to cancel the order or other issues.
application/json
post
POST /api/v1/eSIM/cancel HTTP/1.1
Host: api.monogoto.io
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"iccid": "1234567890123456789",
"matchingId": "DDYSX7MJYEKHIXYGK3PU5GEQ"
}
{
"data": {
"header": {
"functionExecutionStatus": {
"status": "Executed-Success"
}
}
}
}
Last updated
Was this helpful?