Skip to main content

GET /flexi/paymentaddress

Return the deposit address the client must fund to start initiated bots.

Generated on first use, cached per user. SOL-paid vs. token-paid groups resolve to different cached addresses.

Use case

Narrow alternative to /flexi/initiated when you already have bot metadata cached client-side and only need the deposit target.

Response 200

{ "paymentAddress": "<solana_pubkey>" }

Errors

StatusMeaning
404No initiated bot exists. Call /flexi/initialize first.

Example

curl -H "Authorization: Bearer $ACCESS" -H "x-user-id: $USER_ID" \
"$BASE_URL/flexi/paymentaddress"