This is the API
cancelPurchaseNew
URL
http://localhost/api/accounts/{aid}/purchases/{pid}
HTTP Method
DELETE
Response Type
Parameters
-
Path:
aid
String
-
Path:
pid
String
-
Query:
cancelImmediately
Boolean
consumePurchase
URL
http://localhost/api/accounts/purchases/{pid}/consume
HTTP Method
POST
Response Type
Parameters
-
Path:
pid
String
-
Body:
BTPurchaseUserParams
BTPurchaseUserParams(BTPurchaseUserParams)
getPlanPurchases
URL
http://localhost/api/accounts/plans/{planId}/purchases
HTTP Method
GET
Response Type
Parameters
-
Path:
planId
String
-
Query:
offset
Integer
-
Query:
limit
Integer
getPurchases
URL
http://localhost/api/accounts/purchases
HTTP Method
GET
Response Type
Parameters
-
Query:
all
Boolean
-
Query:
ownPurchaseOnly
Boolean