Gensprite
Account

Start a credit purchase

POST
/v1/checkout

Returns a payment link. Credits land via the payment provider's callback, not on the response to this call.

Authorization

AuthorizationBearer <token>

API key: Authorization: Bearer gsk_.... Used by the Godot plugin, the MCP server and the engine.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/checkout" \  -H "Content-Type: application/json" \  -d '{    "product_id": "string"  }'
{  "checkout_url": "http://example.com",  "expires_at": "2019-08-24T14:15:22Z"}