SysGetTransactionDetails
Returns details of the identified product transaction.
Service | Operation |
---|---|
appStore | SYS_GET_TRANSACTION_DETAILS |
Method Parameters
Parameter | Description |
---|---|
sequenceId | The sequnce ID of a transaction. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var sequenceId = "the_sequence_id";
var appStoreProxy = bridge.getAppStoreServiceProxy();
var postResult = appStoreProxy.sysGetTransactionDetails(sequenceId);
if (postResult.status == 200) {
// Success!
}
{
"service": "appStore",
"operation": "SYS_GET_TRANSACTION_DETAILS",
"data": {
"sequenceId": "the_sequence_id"
}
}
JSON Response
{
"data": {
"sequenceId": "620ebe87-cf50-4131-9b9a-ccd9aafdfb45",
"playerId": "924539e0-0793-4437-930f-9b078cd0499d",
"type": "mock",
"itemId": "xxxx",
"title": null,
"data": null,
"createdAt": 1712181435294,
"updatedAt": 1713476624931,
"transactionId": "yyyy",
"dataJson": {
"pending": {
"itemId": "xxxx",
"transactionId": "yyyy"
},
"final": {
"purchaseData": {
"transId": "yyyy"
},
"transactionSummary": {
"transId": "yyyy"
}
}
},
"rewards": {
"extra": null,
"currency": {
"coins": 10
}
},
"userItemRewards": null,
"sandbox": false,
"refPrice": 699,
"regularPrice": null,
"promotion": null,
"pending": false,
"pendingPriceId": 0,
"pendingPromotionId": null
},
"status": 200
}