Send email with payment verification
Emails a parental consent request to a guardian together with your attestation that an adult already completed a payment for the purchase behind it. Identical to `/challenge/send-email` except that `paymentVerification` is required. Use that endpoint instead when there is no payment to attest. The attestation is read only when the Transactions capability is enabled for your organization, and is otherwise ignored.
Authorization
api-key In: header
Header Parameters
Optional header for Account System Products to perform cross-product age gate checks. The value must be the product ID of the target product within the same organization. The target product must not itself be an Account System Product.
Request Body
application/json
Send email with payment verification request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/challenge/send-email-with-payment-verification" \ -H "Content-Type: application/json" \ -d '{ "challengeId": "ae6d4729-af32-42ea-8ef2-ff46c7664802", "paymentVerification": { "provider": "xsolla", "invoiceId": "2110445753", "payerEmail": "parent@example.com", "instrument": "card", "funding": "credit" } }'{}{ "error": "NOT_FOUND", "errorMessage": "Challenge not found"}Create a parent-invite challenge POST
Creates a parent-invite challenge bound to `sessionId` and sends the invite email to `parentEmail`. Available only for players who don't require parental consent and whose session isn't already linked to a parent; other sessions are rejected (see the error codes below). On PASS, `Challenge.StateChange` fires carrying the same `sessionId`, so you can correlate the result with this invite.
Send email POST
Emails the details of a challenge to a recipient — most often a parental consent request to a guardian. The challenge itself must already exist; this only delivers it. Call it again to re-send.