How to create a new iOS/Android subscription for the logged user
POST https://mburger.cloud/api/subscriptions-in-app
curl https://mburger.cloud/api/subscriptions-in-app -X POST -H "Accept: application/json" -H "X-MBurger-Token: <token>" -H "X-MBurger-Version: 3" -H "Authorization: Bearer <JWT>" -d '<data>'
Name
Type
Required
Description
os
string
Yes
The client platform. Available values are ios, android.
subscription
The subscription identifier.
receipt
The receipt provided by mobile stores.
When successful, a HTTP 200 and JSON like this is returned:
{ "status_code": 0 }
Last updated 4 years ago