Travel Carbon Offset Purchase Source & Receipt Ledger
Use this package at the boundary where authorized caller-supplied receipt facts enter your application.
- Run
npm test. - Map opaque journey/segment and receipt references; never pass names, email addresses, phone numbers, credentials, or full receipt documents.
- Call
createOffsetPurchaseReceipton the server. - Stop on
ok: false. Store only the returned record when authorized. - Display source and unknown-state warnings beside any reported values.
- Keep environmental verification, payment confirmation, persistence, and publication in separate reviewed adapters.
First run
npm test npm run example
Next read README.md, INTEGRATION.md, SECURITY.md, and ROLLBACK.md.