Returns base64-encoded PDF content for a pre-authorization print.
GET /pre-auth-print
| 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. |
| 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 | Base64-encoded PDF content. |
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..."
}
}