Publish plan offer
curl -X POST "https://api.52-28-238-205.sslip.io/v1/plan-offers" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"name":"Example","count":1,"amount_base_units":1}'Publishes an installment or subscription offer for the caller's merchant. Console session or API key with catalog:edit; only VERIFIED merchants with a verified Solana payTo, and plans run on Solana only.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
merchant_owner, merchant_developer. The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
name*Namedescription?Description""kind?Kind"installment"count*Countamount_base_units*Amount Base UnitsAmount in integer base units, carried as a string (USDC and USDT have 6 decimals: "50000" = 0.05).
period_seconds?Period Seconds86400network?|Network as a CAIP-2 id, for example eip155:84532 (Base Sepolia) or solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 (Solana devnet).
asset?AssetAsset symbol, for example USDC or USDT; USD for card amounts.
"USDC"Success.
application/json- response
id*Idname*Namedescription?string|nullkind*Kindtotal_base_units*Total Base UnitsTotal in integer base units, carried as a string.
count*Countamount_base_units*Amount Base UnitsAmount in integer base units, carried as a string (USDC and USDT have 6 decimals: "50000" = 0.05).
period_seconds*Period Secondsnetwork*NetworkNetwork as a CAIP-2 id, for example eip155:84532 (Base Sepolia) or solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 (Solana devnet).
asset*AssetAsset symbol, for example USDC or USDT; USD for card amounts.
payee*Payeestatus*StatusCurrent state; the allowed values and moves are in the state machines reference.
created_at?|Creation time, ISO 8601 UTC.
[key: string]?anyGETList plan offers
Lists published installment and subscription offers with their merchant and tier. Anyone may call it.
PATCHUpdate plan offer
Renames, re-describes, archives or republishes one of the caller merchant's plan offers (status published or archived). Console session or API key with catalog:edit.