Update plan offer
curl -X PATCH "https://api.52-28-238-205.sslip.io/v1/plan-offers/{offer_id}" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"status":"active","name":"Example","description":"Example"}'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.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
offer_idstringrequiredPublished plan offer id (pof_...).
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)
offer_id*Offer IdPublished plan offer id (pof_...).
application/json- body
status?|Current state; the allowed values and moves are in the state machines reference.
name?string|nulldescription?string|nullSuccess.
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]?anyPOSTPublish plan offer
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.
GETList merchant plans and subscribers
Returns the caller merchant's plan offers with subscriber counts and up to 200 most recent subscriber plans, labelled by payer organization. Console session or API key with catalog:edit.