{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"История транзакций","description":"Крипто-платежи для бизнеса. Принимайте USDT, платите через СБП QR. AML-проверки включены.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"история-транзакций","__idx":0},"children":["История транзакций"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Все операции по карте (покупки, возвраты, пополнения) синхронизируются"," ","от эквайера. История доступна через REST."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"endpoint","__idx":1},"children":["Endpoint"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /cards/:id/transactions?limit=50&before=2026-04-23T00:00:00Z\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"параметры","__idx":2},"children":["Параметры"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Параметр"},"children":["Параметр"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Тип"},"children":["Тип"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Описание"},"children":["Описание"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1–200, по умолчанию 50"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["before"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO datetime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cursor: вернёт транзакции с ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionTime < before"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"пример","__idx":3},"children":["Пример"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl 'https://b2b.lumowallet.io/cards/8c7f1823-.../transactions?limit=100' \\\n  -H 'X-API-Key: YOUR_API_KEY'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ответ","__idx":4},"children":["Ответ"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"[\n  {\n    \"id\": \"7f2b12a4-...\",\n    \"cardId\": \"8c7f1823-...\",\n    \"processorBillId\": \"BILL0010023\",\n    \"processorOrderNo\": \"ORD55102\",\n    \"type\": 1,\n    \"typeName\": \"purchase\",\n    \"status\": 2,\n    \"statusName\": \"succeeded\",\n    \"direction\": 1,\n    \"directionName\": \"debit\",\n    \"amount\": \"49.99\",\n    \"fee\": \"0.50\",\n    \"currency\": \"USD\",\n    \"merchantName\": \"GOOGLE PLAY\",\n    \"ditchCode\": \"5816\",\n    \"reason\": null,\n    \"transactionTime\": \"2026-04-23T12:05:22Z\",\n    \"syncedAt\": \"2026-04-23T12:06:00Z\"\n  }\n]\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Сортировка — по ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionTime DESC"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"поля","__idx":5},"children":["Поля"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Поле"},"children":["Поле"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Описание"},"children":["Описание"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["processorBillId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ID транзакции у эквайера — используйте для support-тикетов"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["typeName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["purchase"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["refund"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reversal"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["recharge"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["statusName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pending"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["succeeded"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["failed"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["directionName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["debit"]}," (списание) / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["credit"]}," (приход на карту)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Сумма операции в ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currency"]}," (десятичная строка)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fee"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Комиссия эквайера (может быть ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["merchantName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Название торговой точки, как его прислал acquirer"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ditchCode"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MCC (категория торговой точки)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reason"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Причина отклонения (для ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["failed"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionTime"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Время операции по мнению эквайера"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["syncedAt"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Когда мы подтянули запись с эквайера"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"real-time-через-webhook","__idx":6},"children":["Real-time через webhook"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Событие ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["card.transaction.created"]}," приходит как только мы увидели новую"," ","транзакцию в выборке моста (обычно задержка 15–60 секунд от реальной"," ","операции)."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"event\": \"card.transaction.created\",\n  \"data\": { /* полный CardTransaction */ }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"пагинация","__idx":7},"children":["Пагинация"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Cursor-стиль: запросили страницу, взяли ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionTime"]}," последней"," ","записи, передали в ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["before"]}," следующего запроса. Когда ответ меньше"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]}," — значит конец."]}]},"headings":[{"value":"История транзакций","id":"история-транзакций","depth":1},{"value":"Endpoint","id":"endpoint","depth":2},{"value":"Параметры","id":"параметры","depth":2},{"value":"Пример","id":"пример","depth":2},{"value":"Ответ","id":"ответ","depth":2},{"value":"Поля","id":"поля","depth":2},{"value":"Real-time через webhook","id":"real-time-через-webhook","depth":2},{"value":"Пагинация","id":"пагинация","depth":2}],"frontmatter":{"seo":{"title":"История транзакций"}},"lastModified":"2026-04-24T02:13:59.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/cards/transactions","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}