Verify token First time, user subscribes, You need to verify a purchase token. there are two APIs (V, V2) If you want to know trial status of subscrtion, use V because of parameter purchaseType V2 doesn’t support this parameter yet (23.01.01). POST @param { purchaseToken } @path /api/iap/verify/google Ref. https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptions { ..
What are the primary datas? - User Primay Key - Subscription Primary Key There are two major API to handle on the server-side. CASE: First subscription You must record user PK with Subscription Key like, payment: { userId: '0x39ab948', originalTransactionId: '2000000159661766', ... purchase detail ... } const payment = { a: 1, b: 2 } At this point of view, First you verfiy token got from app sto..