Phriction DatingVIP Public Frontend Application API Documentation Account.get-all-purchases History Version 1 vs 2
Version 1 vs 2
Version 1 vs 2
Content Changes
Content Changes
==== Description
==== Example
==== Description
==== Example
Request:
```
/api.json?cmd=account.get-all-purchases&user_id=1234
```
Respoonse:
```
{
"meta": {
"status": "OK"
},
"result": {
"purchases": [
{
"purchase_id": "m2_14_6_premium"
},
{
"purchase_id": "m2_14_6_premium"
},
{
"purchase_id": "m2_14_6_premium"
},
{
"purchase_id": "m2_14_6_premium"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_7_premium"
},
{
"purchase_id": "m2_14_6_premium"
}
]
}
}
```
==== Description
==== Example
Request:
```
/api.json?cmd=account.get-all-purchases&user_id=1234
```
Respoonse:
```
{
"meta": {
"status": "OK"
},
"result": {
"purchases": [
{
"purchase_id": "m2_14_6_premium"
},
{
"purchase_id": "m2_14_6_premium"
},
{
"purchase_id": "m2_14_6_premium"
},
{
"purchase_id": "m2_14_6_premium"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_11_credit"
},
{
"purchase_id": "m2_14_7_premium"
},
{
"purchase_id": "m2_14_6_premium"
}
]
}
}
```