addedOutput schema / anyOf
Added value: +[
+ {
+ "required": [
+ "purchase_id",
+ "pack",
+ "tokens",
+ "amount_usd",
+ "currency",
+ "payment_url",
+ "expires_at"
+ ]
+ },
+ {
+ "required": [
+ "error",
+ "message"
+ ]
+ }
+]
addedOutput schema / properties
Added value: +{
+ "amount_usd": {
+ "description": "Pack price in USD.",
+ "type": "number"
+ },
+ "currency": {
+ "description": "Checkout currency.",
+ "type": "string"
+ },
+ "details": {
+ "additionalProperties": true,
+ "description": "Additional structured context from Pulse.",
+ "type": "object"
+ },
+ "error": {
+ "description": "Machine-readable error code.",
+ "type": "string"
+ },
+ "expires_at": {
+ "description": "ISO timestamp when the Checkout link expires.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Human-readable recovery guidance.",
+ "type": "string"
+ },
+ "pack": {
+ "description": "Token-pack tier label.",
+ "type": "string"
+ },
+ "payment_url": {
+ "description": "Stripe Checkout URL to present to the user.",
+ "type": "string"
+ },
+ "purchase_id": {
+ "description": "Pulse token-pack purchase id.",
+ "type": "string"
+ },
+ "retryable": {
+ "description": "Whether the caller may retry after changing state or waiting.",
+ "type": "boolean"
+ },
+ "tokens": {
+ "description": "Tokens included in the pack.",
+ "type": "number"
+ }
+}