Plans
GET/v1/merchant/plans

List merchant plans and subscribers

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/merchant/plans" \  -H "Cookie: <console session cookie>"

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.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/merchant/plansBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Requires permissioncatalog:edit
Held by merchant_owner, merchant_developer. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Response Body

Success.

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