JSON response format:
|
json
{
"retval": 0,
"retdesc": null,
"errors": null,
"content": {
"page": 13,
"count": 10,
"has_next_page": true,
"has_previous_page": true,
"total_count": 378,
"total_pages": 38,
"items": [
{
"id": 123123,
"date": "2021-08-10T16:25:11.64",
"name": "Invoice name",
"cart_id": null,
"is_cart": false,
"amount": 231.00,
"currency_code": "RUB",
"payment_status": "success",
"ds_set": 33.50,
"currency_ds": "WMR",
"transaction_id": "2XJ47951MJ864423J",
"warning_fee": 0,
"items": [
{
"operation_id": 123123,
"product_id": 123,
"product_name": "Product name",
"operation_date": "2021-08-10T16:25:11.64",
"options_id": 0,
"ds_set": 33.50,
"currency_ds": "WMR",
"warning_fee": 0
}
]
},
{
"id": 123123123,
"date": "2021-08-09T22:00:27.537",
"name": "Корзина №5482065",
"cart_id": 3028720,
"is_cart": true,
"amount": 189.00,
"currency_code": "RUB",
"payment_status": "success",
"ds_set": null,
"currency_ds": null,
"transaction_id": "2XJ47951MJ864423J",
"warning_fee": 0,
"items": [
{
"operation_id": 123123124,
"product_id": 123,
"product_name": "Product name",
"operation_date": "2021-08-09T22:00:32.037",
"options_id": 0,
"ds_set": 0.95,
"currency_ds": "WMR",
"warning_fee": 0
},
{
"operation_id": 123123125,
"product_id": 123,
"product_name": "Product name",
"operation_date": "2021-08-09T22:00:32.35",
"options_id": 0,
"ds_set": 0.95,
"currency_ds": "WMR",
"warning_fee": 0
},
{
"operation_id": 123123126,
"product_id": 123,
"product_name": "Product name",
"operation_date": "2021-08-09T22:00:32.613",
"options_id": 0,
"ds_set": 0.95,
"currency_ds": "WMR",
"warning_fee": 0
},
{
"operation_id": 123123127,
"product_id": 123,
"product_name": "Product name",
"operation_date": "2021-08-09T22:00:31.787",
"options_id": 0,
"ds_set": 0.95,
"currency_ds": "WMR",
"warning_fee": 0
},
{
"operation_id": 123123128,
"product_id": 123,
"product_name": "Product name",
"operation_date": "2021-08-09T22:00:31.863",
"options_id": 0,
"ds_set": 0.95,
"currency_ds": "WMR",
"warning_fee": 0
},
{
"operation_id": 123123129,
"product_id": 123,
"product_name": "Product name",
"operation_date": "2021-08-09T22:00:32.193",
"options_id": 0,
"ds_set": 0.95,
"currency_ds": "WMR",
"warning_fee": 0
}
]
}
]
}
}
|