Список удачных платежей

Получение списка удачных платежей

GET https://easydonate.ru/api/v3/shop/payments

Запрос вернет список всех удачных платежей магазина за последний год.

Headers

{
   "success": true,
   "response": [
      {
         "id": 25572,
         "customer": "DontFollow",
         "email": null,
         "shop_id": 531,
         "server_id": 965,
         "status": 2, // 2 - оплачен
         "enrolled": 49, // сумма, начисленная на баланс
         "payment_system": "test", // Qiwi, Interkassa
         "payment_type": "test", // test, qiwi, card, mc, webmoney, yandex
         "sent_commands": [
            {
               "command": "give DontFollow1 276 10",
               "response": "Gave DontFollow1 some 276 (DIAMOND_SWORD)"
            }
         ],
         "error": null,
         "created_at": "2021-02-23 10:35:38",
         "updated_at": "2021-02-23 10:35:38",
         "products":[
            {
               "id": 6074,
               "name": "Алмазный меч",
               "price": 49,
               "old_price": null,
               "type": "item",
               "number": 1,
               "commands": [
                  "give {user} 276 {amount}"
               ],
               "withdraw_commands": null,
               "withdraw_commands_days": null,
               "additional_fields": null,
               "description": null,
               "image": "http://cp.easydonate.ru/storage/app/media/Diamond%20Sword-min.png",
               "first_delete": 0,
               "shop_id": 531,
               "created_at": "2021-02-24 18:02:40",
               "updated_at": "2021-03-26 13:52:39",
               "sort_index": 0
            }
         ],
         "server": {
            "id": 965,
            "name": "Выживание",
            "ip": "alcor.mcstudio.pro",
            "port": "25641",
            "version": "",
            "is_port_hidden": 0,
            "hide_ip": 0,
            "is_hidden": 0,
            "shop_id": 531,
            "created_at": "2021-02-22 17:44:47",
            "updated_at": "2021-03-26 13:51:42"
         }
      }
   ]
}

Получение списка удачных платежей с пагинацией

GET https://easydonate.ru/api/v3/shop/payments

Запрос вернет список всех удачных платежей магазина с пагинацией. Период не ограничен.

Query Parameters

Headers

{
   "success": true,
   "response": [
      {
         "current_page": 1,
         "data": [
            {
               "id": 25572,
               "customer": "DontFollow",
               "email": null,
               "shop_id": 531,
               "server_id": 965,
               "status": 2, // 2 - оплачен
               "enrolled": 49, // сумма, начисленная на баланс
               "payment_system": "test", // Qiwi, Interkassa
               "payment_type": "test", // test, qiwi, card, mc, webmoney, yandex
               "sent_commands": [
                  {
                     "command": "give DontFollow1 276 10",
                     "response": "Gave DontFollow1 some 276 (DIAMOND_SWORD)"
                  }
               ],
               "error": null,
               "created_at": "2021-02-23 10:35:38",
               "updated_at": "2021-02-23 10:35:38",
               "products":[
                  {
                     "id": 6074,
                     "name": "Алмазный меч",
                     "price": 49,
                     "old_price": null,
                     "type": "item",
                     "number": 1,
                     "commands": [
                        "give {user} 276 {amount}"
                     ],
                     "withdraw_commands": null,
                     "withdraw_commands_days": null,
                     "additional_fields": null,
                     "description": null,
                     "image": "http://cp.easydonate.ru/storage/app/media/Diamond%20Sword-min.png",
                     "first_delete": 0,
                     "shop_id": 531,
                     "created_at": "2021-02-24 18:02:40",
                     "updated_at": "2021-03-26 13:52:39",
                     "sort_index": 0
                  }
               ],
               "server": {
                  "id": 965,
                  "name": "Выживание",
                  "ip": "alcor.mcstudio.pro",
                  "port": "25641",
                  "version": "",
                  "is_port_hidden": 0,
                  "hide_ip": 0,
                  "is_hidden": 0,
                  "shop_id": 531,
                  "created_at": "2021-02-22 17:44:47",
                  "updated_at": "2021-03-26 13:51:42"
               }
            },
            ...
         ],
         "first_page_url": "https://easydonate.ru/api/v3/shop/payments?page=1",
         "from": 1,
         "last_page": 578,
         "last_page_url": "https://easydonate.ru/api/v3/shop/payments?paginate=50&page=578",
         "next_page_url": "https://easydonate.ru/api/v3/shop/payments?paginate=50&page=2",
         "path": "https://easydonate.ru/api/v3/shop/payments?paginate=50",
         "per_page": 50,
         "prev_page_url": null,
         "to": 50,
         "total": 28936
      }
   ]
}

Last updated