Palbase IAP · API
/iap/catalog/plans/{plan_id}Read a plan
A plan and where it is — planned, stale once the catalog changed, applying, applied, failed, declined — and, once written, what the Stripe account holds of the catalog (result) and what App Store Connect holds of its App Store part, step by step (apple_result, once the stores module answered).
Called by your server, with the project's secret key.
Path
plan_idstring (uuid) · requiredThe plan's id.curl -X GET "https://<your-ref>.palbase.studio/iap/catalog/plans/<plan_id>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The plan
400The request is malformed, or a field breaks a rule (the error names which)
401No key, not a key of this project, or a token that is not valid (the edge's answer)
403Not the project's secret key (`secret_key_required`)
404No such plan (`plan_not_found`)
429Over the project's request limit; Retry-After says when to try again
503Temporarily unavailable; retrying is safe after Retry-After
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation GetCatalogPlan of iap's contract.