Pre-Auth Cancellation

Cancels a pre-authorization and returns the updated record.

GET /pre-auth-cancellation

Inputs

namerequiredintypealiasesdefaultdescription
insuranceyesquerystringinsInsurance slug (ma, razi, asia, ...).
pre_auth_idyesqueryintmcPreAuthId, preAuthIdPre-auth identifier.
cancellation_descyesquerystringcancellationDescription, cancellation_descCancellation description.

Response Format

pathtypedescription
okboolTrue on success.
errorstring|nullError message when ok=false.
providerstringSelected provider key.
insurancestringInsurance slug.
meta.provider_statusint|nullProvider HTTP status.
dataobjectNormalized pre-auth record.

Examples

Success

Request

GET /pre-auth-cancellation?insurance=ma&pre_auth_id=90001&cancellation_desc=Example%20reason

Response

{
    "ok": true,
    "provider": "mad",
    "insurance": "ma",
    "meta": {
        "provider_status": 200
    },
    "data": {
        "pre_auth_id": 90001,
        "status": {
            "slug": "cancelled",
            "label": "Cancelled"
        },
        "cancellation_desc": "Example reason"
    }
}