Skip to main content
POST
Restore (re-link) an active Apple subscription to the account

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Team-Id
string<uuid>
required

Selected team; the role is resolved live for this team.

Body

application/json
jws
string
required

Signed StoreKit transaction (JWS) the iOS app received

Response

Subscription restored

planSlug
string
required
billingPeriod
enum<string>
required
Available options:
monthly,
yearly
status
enum<string>
required
Available options:
active,
cancelled,
past_due,
trialing
currentPeriodEnd
string<date-time>
required
provider
enum<string>
required
Available options:
apple,
wayforpay