Attribution and charges
appId on NeusClient sends X-Neus-App so NEUS can attribute usage to your product. It does not, by itself, move the bill to your NEUS account balance.
Billed wallet comes from authentication: signing wallet, sponsor grant, x402 receipt, or some gate setups. Until one applies, appId alone does not move billing. End users may still need credits or another payer.
Apps vs individuals
| You are… | Priority | Billing |
|---|---|---|
| Building an app | Users should not hit random “out of credits” walls; you want predictable cost | You pay for metered verification and checks via sponsor grants (and credits on your org wallet in the platform). Users only see hosted verify / your UI. |
| Using NEUS for yourself | Your own proofs and profile | You pay with your NEUS credits (or x402 when you run out). appId is optional (attribution only). |
Recommended path when your product pays
- Platform: app + credits on the org wallet for that app.
- Sponsor users: short-lived
X-Sponsor-Grantso calls debit your org balance, not the end user’s. - SDK:
new NeusClient({ appId: '…', sponsorGrant: token })labels and pays under the grant.
Recommended path for individuals
- Use hosted verify or SDK with your own wallet.
- Credits come from your NEUS balance on that wallet.
- 402: x402 +
PAYMENT-SIGNATUREretry. x402
How NEUS selects the payer
Precedence: paid receipt → sponsor grant → gate owner pays (if set) → signing wallet → x402 → else limits / payment required. Payer comes from crypto/session mechanics, not a “bill thisappId” body field.
SDK configuration
| Config | Effect |
|---|---|
appId | X-Neus-App · attribution |
sponsorGrant | X-Sponsor-Grant · org pays when valid |
paymentSignature | PAYMENT-SIGNATURE · after 402 |
Visibility vs billing
- Public / unlisted: eligibility without sign-in.
- Private: visibility rules apply; billing is separate.
Related
x402
Pay-per-use when credits run out.
Platform setup
Apps, domains, sponsor grants.
Security & trust
Privacy defaults.
SDK overview
Client setup.
When the app owner pays
“App owner pays everything” uses sponsor grants and org credits, notappId alone.