InApp Subscription
How to create a new iOS/Android subscription for the logged user
Request
Response
POST https://mburger.cloud/api/subscriptions-in-app
1
curl https://mburger.cloud/api/subscriptions-in-app
2
-X POST
3
-H "Accept: application/json"
4
-H "X-MBurger-Token: <token>"
5
-H "X-MBurger-Version: 3"
6
-H "Authorization: Bearer <JWT>"
7
-d '<data>'
Copied!

Parameters

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:
1
{
2
"status_code": 0
3
}
Copied!
Last modified 1yr ago
Copy link