POST /sdk/init call to register a tip intent on behalf of a supporter. The response gives you an intentId you can use to track the transaction, while the actual payment is completed by the supporter inside the embedUrl iframe.
Endpoint
Authentication
Pass thesessionToken returned by /sdk/init as a Bearer token. Session tokens always begin with sdk_sess_.
Session tokens are scoped to a single creator and origin. Do not share tokens across multiple creator embeds or reuse them after the session expires.
Request Body
string
required
The creator’s UUID as returned in
config.creatorId from the /sdk/init response.number
required
The tip amount in USD. Must be a positive number greater than zero.
string
required
The Solana mint address for the token the supporter is paying with. For SOL use the native mint (
So11111111111111111111111111111111111111112); for USDC use EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v.string
required
The supporter’s Solana wallet address. This address is recorded with the tip event and displayed to the creator.
Response
boolean
true when the tip intent was registered successfully.string
A unique payment intent ID in the format
pi_<hex>. Store this value to reconcile the tip against events returned by GET /sdk/events.string
Always
"requires_action" on success. This means the intent has been created but the supporter must still complete the on-chain transaction inside the checkout iframe.Completing the Payment
After you receive"status": "requires_action", render the embedUrl from your /sdk/init response inside an <iframe>. The supporter connects their wallet and approves the Solana transaction directly inside the iframe — no further server-side calls are needed to execute the payment.
GET /sdk/events with type: "tip_completed".
