An API for prepaid VAS
Authenticate with OAuth2, discover accounts and products, then validate and confirm purchases. snake_case JSON, predictable errors, and staging test meters.
- • OAuth2 client-credentials + integration user
- • Validate → confirm → token, with idempotent retries
- • Staging hosts and test meters for development
curl https://api.scratchpower.com/public/v1/purchases/confirm \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "product": "electricity", "subscriber_id": "0123456789", "amount": 100 }'Ready to distribute prepaid power?
Tell us what you're building and we'll get you set up with credentials and test meters.
