{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Статусы транзакций","description":"Документация API 1Payment — приём платежей и выплаты.","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":["В ответах API, колбеках и при запросе статуса платежа или выплаты передаются два связанных поля:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," — числовой код;"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status_description"]}," — текстовый литерал (латиница, uppercase)."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Значения всегда идут ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["парой"]},". Машинные коды ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["не переводите"]}," и не подменяйте в интеграции."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"соответствие-status-и-status_description","__idx":1},"children":["Соответствие ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," и ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status_description"]}]},{"$$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":"status"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"status_description"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status_description"]}]},{"$$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":["1"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INIT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Транзакция инициирована."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Транзакция в обработке."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SUCCESS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Транзакция успешно проведена."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["4"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAILURE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Отказ в проведении транзакции."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Возврат успешно проведён."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["9"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND_PENDING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"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":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INIT"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ожидайте финальный статус: опрашивайте метод статуса или обрабатывайте колбек на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notify_url"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SUCCESS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Зачисляйте заказ / закрывайте операцию у себя."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAILURE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Не считайте платёж успешным; при наличии ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status_code"]}," в колбеке см. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/pages/decline-error-codes"},"children":["Коды ошибок (отказы)"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND_PENDING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Учитывайте возврат в учёте; дождитесь ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND"]}," при ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND_PENDING"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Финальные статусы для платежа: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SUCCESS"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAILURE"]},"; для возврата: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND"]}," (промежуточный — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND_PENDING"]},")."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"связанные-разделы","__idx":3},"children":["Связанные разделы"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/pages/decline-error-codes"},"children":["Коды ошибок (отказы)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/pages/error-codes-api"},"children":["Коды ошибок (API)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/pages/init-request"},"children":["Формат запроса к API"]}]}]}]},"headings":[{"value":"Статусы транзакций","id":"статусы-транзакций","depth":1},{"value":"Соответствие status и status_description","id":"соответствие-status-и-status_description","depth":2},{"value":"Как использовать в интеграции","id":"как-использовать-в-интеграции","depth":2},{"value":"Связанные разделы","id":"связанные-разделы","depth":2}],"frontmatter":{"seo":{"title":"Статусы транзакций"}},"lastModified":"2026-05-21T12:22:01.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/pages/transaction-statuses","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}