Cancel an ID Pass
/api/v2/idpass/cancel
operationId: idpass_cancel
Live: https://gdapi.globaldata.net.au/api/v2/idpass/cancel · Sandbox: https://sandbox-gdapi.globaldata.net.au/api/v2/idpass/cancel
Cancel an ID Pass. Only ID Passes with status new, opened, or in_progress can be cancelled.
Terminal statuses (complete, expired, failed, cancelled) will return an error.
Please review the full ID Pass documentation here:
Refund behaviour
- Refund: A cancel request will refund the fee if the ID Pass status is still
neworopened(no verification steps have been taken). - No refund: If any steps have been taken (for example status is
in_progressor the user has started the flow), no refund is issued.
Request body
Content type application/json.
The ID of the ID Pass to cancel
| Field | Description |
|---|---|
idrequired |
string (uuid) The id of the ID Pass to cancel |
Responses
ID Pass cancelled successfully
application/json
| Field | Description |
|---|---|
message |
string A message indicating the result of the request |
api_reference |
string (uuid) A unique identifier for this request |
id |
string (uuid) The identifier for this ID Pass |
status |
string The status of the ID Pass after cancellation |
fee_refunded |
boolean Whether a fee refund was applied (true if no verification steps had been taken and a fee had been charged) |