POST /payments/intent, call this endpoint to record the tip in Tip Stack. The tip is stored immediately with a pending status and transitions to confirmed once the transaction is verified on-chain. This endpoint is idempotent — submitting the same txSignature twice returns the existing record rather than creating a duplicate.
Request
POST https://tipstack.fun/api/solana/tips/create
The creator’s Solana wallet address (base58). This must match the
payoutAddress resolved during the payment intent creation.The tip amount in the token’s raw base units (lamports for SOL, or the token’s smallest denomination for SPL tokens). For example,
100000000 represents 0.1 SOL.The supporter’s wallet public key (base58). Used to associate the tip with an existing Tip Stack account, if one exists.
The confirmed Solana transaction signature returned by
connection.sendRawTransaction(). This is the primary identifier for the tip record and is used to prevent duplicate submissions.An optional message from the supporter to the creator. Displayed in the creator’s dashboard and tip notification stream.
The symbol of the token sent (e.g.
SOL, USDC, BONK). Defaults to SOL when omitted. Used to normalize the stored amount: SOL values are divided by 1e9 for display; all other tokens are stored as-is.Response
true when the tip was recorded (or already existed).A human-readable status message, e.g.
"Tip recorded successfully" or "Tip already recorded".Example request
JSON
Example response — new tip
JSON
Example response — duplicate submission
JSON
Tips remain in
pending status until verified on-chain. This typically takes a few seconds on Solana mainnet.