Verify an Apple StoreKit 2 purchase and activate the subscription
POST /api/billing/verify-apple-purchase
POST
/api/billing/verify-apple-purchase
Owner-only. Verifies a signed transaction from the iOS app and flips the band to Pro on success.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
signedTransaction
required
string
appAccountToken
string
Responses
Section titled “ Responses ”Purchase verified, subscription active
object
ok
required
boolean
data
required
object
status
required
string
expiresDate
string format: date-time
Invalid transaction or unknown product
object
ok
required
boolean
error
required
string
code
string
Not in any band
object
ok
required
boolean
error
required
string
code
string
Already subscribed via web
object
ok
required
boolean
error
required
string
code
string
Server error
object
ok
required
boolean
error
required
string
code
string