Returns printable pre-auth content. MAD returns base64 PDF; Dana returns raw HTML.
GET /pre-auth-print
| name | required | in | type | aliases | default | description |
|---|---|---|---|---|---|---|
| insurance | yes | query | string | ins | Insurance slug (ma, razi, asia, ... , dana). | |
| pre_auth_id | yes | query | int | mcPreAuthId, preAuthId | Pre-auth identifier. |
| 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.content | string|null | Printable content (MAD: base64 PDF, Dana: HTML). |
Request
GET /pre-auth-print?insurance=ma&pre_auth_id=90001
Response
{
"ok": true,
"provider": "mad",
"insurance": "ma",
"meta": {
"provider_status": 200
},
"data": {
"content": "JVBERi0xLjQKJ..."
}
}Request
GET /pre-auth-print?insurance=dana&pre_auth_id=57509849
Response
{
"ok": true,
"provider": "dana",
"insurance": "dana",
"meta": {
"provider_status": 200
},
"data": {
"content": "<!DOCTYPE html><html>...<\/html>"
}
}