Send a test weekly activity digest email
Renders and sends one weekly digest email to the linked adult for a session, using that session's real activity data over the trailing seven days. Intended for previewing the digest during integration. Available only in test mode; a live-mode call is rejected with a `400` `INVALID_INPUT` error.
Authorization
api-key In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/test/send-activity-digest" \ -H "Content-Type: application/json" \ -d '{ "sessionId": "b1a6482d-5242-4b4a-aa88-3fa52595a672" }'{ "sent": true}{ "error": "INVALID_INPUT", "errorMessage": "The request was missing a sessionId parameter."}Request parental approval for a purchase POST
Ask the player's trusted adult to approve one purchase. Use this endpoint before charging, and complete the purchase only once the approval arrives. The request is held until `expiresAt`, after which it can no longer be approved or denied. The outcome is delivered as a `Transaction.PurchaseApprovalResult` webhook carrying `approved`, `denied` or `expired`. Treat `expiresAt` as the deadline rather than waiting on the webhook indefinitely. Resubmitting an `id` that is already awaiting a decision is a safe no-op: the pending request is returned unchanged and no second request is created, so retries after a network failure won't prompt twice. A player may hold at most 20 purchases awaiting a decision; beyond that the call is rejected with `INVALID_INPUT` until one resolves.
Set age verification status POST
This API can only be used in test mode. It is used in order to assist with testing age verifications without needing to actually complete the age verification via the web flow.