Connect
POST/v1/connect/accounts
Create connected account
curl -X POST "https://api.52-28-238-205.sslip.io/v1/connect/accounts" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"consumer_email":"string"}'Creates an embedded organization for a consumer (by email) with an organization budget (default 1 USDC). Console session or API key with connect:manage; one account per consumer per platform (409 otherwise).
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/connect/accountsBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
Requires permissionconnect:manage
Held by
operator, merchant_owner. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
consumer_email*Consumer EmailMatch
^[^@\s]+@[^@\s]+$consumer_name?Consumer NameDefault
""budget_base_units?|Budget in integer base units, carried as a string.
Default
"1000000"Success.
application/json- response
account*[key: string]?anyGETList connected accounts
Lists the embedded consumer organizations of the caller's platform with status, spend and budget. Console session or API key with connect:manage.
PATCHSet platform payout address
Sets or clears the wallet address where the platform's share of split payments is paid. Console session or API key with connect:manage.