Plans
POST/v1/plans/{plan_id}/wallet-step

Complete plan wallet step

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/plans/{plan_id}/wallet-step" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"signed_tx":"string","use_demo_wallet":true}'

Funds the owner's plans account and creates the on-chain permission the scheduled pulls draw from, after the plan was approved. Requires delegation:sign; returns the plan unchanged when the step is not needed.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/plans/{plan_id}/wallet-stepBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Path
  • plan_idstringrequired

    Plan id (pln_...).

Body

application/json. Fields are listed under Request body below.

Requires permissiondelegation:sign
Held by owner. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

plan_id*Plan Id

Plan id (pln_...).

Request Body

application/json
  1. body
signed_tx?string|null
use_demo_wallet?Use Demo Wallet
Defaulttrue

Response Body

Success.

application/json
  1. response
plan*
payments*array<>
[key: string]?any