payments

Verify Purchase

Verify a purchase and grant access/coins.

Routes to the platform-specific verifier:

  • platform="android": Google Play Developer API (legacy default).
  • platform="ios": App Store Server API + JWS verification.

Both branches share the same _upsert_subscription / _atomic_coin_grant helpers below — the only platform-specific work is the verification call itself + which set of credentials we use to talk to the store.

post/api/payments/verify-purchase

Request

  • Base URL: https://api.stellara.natlex.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.stellara.natlex.it/api/payments/verify-purchase
  • Auth: HTTP bearer

Request body

product_idstring required
purchase_tokenstring required
platformstring

Response

Successful Response

statusstring required
coins_grantedinteger nullable
coin_balanceinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.