GOOGLE API Z · RC PRINT INTEGRATION v1.2

Provider cost: Rs 6.00
User successful-hit charge: Rs 10.00
Public endpoint: POST /api/v1/rc-pdf
Provider call: GET /api/rc with encrypted query api_key
Result: signed PDF download URL (15 minutes) plus Base64 PDF
Failure: no wallet debit

EXISTING INSTALLATION
1. Take a complete file and database backup.
2. Upload/overwrite the files from this package; do not replace config/config.php.
3. Ensure storage/pdfs exists and is writable by PHP (normally folder permission 755).
4. Login as Master Admin > API Setup.
5. Save RC PDF API with slug rc-pdf, sell price 10 and initially Inactive.
6. Add provider with base URL https://www.apicentre.in, auth Query parameter, and paste the provider API key in the Secret field.
7. Save provider inactive.
8. Create route: RC PDF API, provider API Centre, endpoint api/rc, method GET, cost 6, priority 1, initially Inactive.
9. Use a temporary test account/wallet. Activate provider, route and service only for controlled testing.
10. Test valid RC, invalid RC, duplicate request_id, insufficient balance and expired download link before public launch.

Never put the provider API key in user documentation, JavaScript, screenshots or chat.
