InApp Subscription
Last updated
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
string
Yes
The subscription identifier.
receipt
string
Yes
The receipt provided by mobile stores.
When successful, a HTTP 200 and JSON like this is returned:
{
"status_code": 0
}Last updated