Skip to content

Instantly share code, notes, and snippets.

@iRYO400
Created February 23, 2023 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iRYO400/3b6312c580a618733b5f1115583196a8 to your computer and use it in GitHub Desktop.
Save iRYO400/3b6312c580a618733b5f1115583196a8 to your computer and use it in GitHub Desktop.
ProductDetails
{
"productId": "com.your.product.id",
"type": "subs",
"title": "Subscription title",
"name": "Subscription name",
"description": "Subscription description",
"localizedIn": [
"en-IN"
],
"skuDetailsToken": "AE*****83",
"subscriptionOfferDetails": [
{
"offerIdToken": "AU*****E=",
"basePlanId": "p1y",
"offerId": "freetrial",
"pricingPhases": [
{
"priceAmountMicros": 0,
"priceCurrencyCode": "KZT",
"formattedPrice": "Free",
"billingPeriod": "P2W",
"recurrenceMode": 2,
"billingCycleCount": 1
},
{
"priceAmountMicros": 41990000000,
"priceCurrencyCode": "KZT",
"formattedPrice": "KZT 41,990.00",
"billingPeriod": "P1Y",
"recurrenceMode": 1
}
],
"offerTags": [
"freetrial"
]
},
{
"offerIdToken": "AU*****O1",
"basePlanId": "p1y",
"offerId": "discount",
"pricingPhases": [
{
"priceAmountMicros": 20990000000,
"priceCurrencyCode": "KZT",
"formattedPrice": "KZT 20,990.00",
"billingPeriod": "P1Y",
"recurrenceMode": 2,
"billingCycleCount": 1
},
{
"priceAmountMicros": 41990000000,
"priceCurrencyCode": "KZT",
"formattedPrice": "KZT 41,990.00",
"billingPeriod": "P1Y",
"recurrenceMode": 1
}
],
"offerTags": []
},
{
"offerIdToken": "AU*****==",
"basePlanId": "p1y",
"pricingPhases": [
{
"priceAmountMicros": 41990000000,
"priceCurrencyCode": "KZT",
"formattedPrice": "KZT 41,990.00",
"billingPeriod": "P1Y",
"recurrenceMode": 1
}
],
"offerTags": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment