Organizations and members
POST/v1/org/onboarding/test-purchase
Run test purchase
curl -X POST "https://api.52-28-238-205.sslip.io/v1/org/onboarding/test-purchase" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"agent_id":"agt_01jd2x3k4m5n6p7q8r9s0t1v2w"}'Runs a sandbox purchase of the demo shop's forecast service with one of the organization's agents and returns the payment intent id and status. Console session with agent:create or the Developer role.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/org/onboarding/test-purchaseBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>
Body
application/json · required. Fields are listed under Request body below.
sessioncookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
agent_id*Agent IdAgent id (agt_...).
Success.
application/json- response
intent_id?|Payment intent id (pi_...).
status*StatusCurrent state; the allowed values and moves are in the state machines reference.
[key: string]?any