Cancels a pre-authorization and returns the updated record.
GET /pre-auth-cancellation
| name | required | in | type | aliases | default | description |
|---|---|---|---|---|---|---|
| insurance | yes | query | string | ins | Insurance slug (ma, razi, asia, ...). | |
| pre_auth_id | yes | query | int | mcPreAuthId, preAuthId | Pre-auth identifier. | |
| cancellation_desc | yes | query | string | cancellationDescription, cancellation_desc | Cancellation description. |
| path | type | description |
|---|---|---|
| ok | bool | True on success. |
| error | string|null | Error message when ok=false. |
| provider | string | Selected provider key. |
| insurance | string | Insurance slug. |
| meta.provider_status | int|null | Provider HTTP status. |
| data | object | Normalized pre-auth record. |
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"
}
}