{"id":34095418,"url":"https://github.com/antidasoftware/cloudpayments-python-client","last_synced_at":"2026-04-01T23:01:59.101Z","repository":{"id":46770488,"uuid":"59818241","full_name":"antidasoftware/cloudpayments-python-client","owner":"antidasoftware","description":"CloudPayments Python Client Library","archived":false,"fork":false,"pushed_at":"2024-07-31T11:32:34.000Z","size":99,"stargazers_count":50,"open_issues_count":4,"forks_count":26,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-03-28T00:58:04.210Z","etag":null,"topics":["client","cloudpayments","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antidasoftware.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-05-27T08:23:24.000Z","updated_at":"2026-03-01T07:52:03.000Z","dependencies_parsed_at":"2023-11-23T10:42:49.915Z","dependency_job_id":null,"html_url":"https://github.com/antidasoftware/cloudpayments-python-client","commit_stats":{"total_commits":116,"total_committers":10,"mean_commits":11.6,"dds":0.2586206896551724,"last_synced_commit":"ebb471d1823232a8fe934bb6399116b08f45200b"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/antidasoftware/cloudpayments-python-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidasoftware%2Fcloudpayments-python-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidasoftware%2Fcloudpayments-python-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidasoftware%2Fcloudpayments-python-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidasoftware%2Fcloudpayments-python-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antidasoftware","download_url":"https://codeload.github.com/antidasoftware/cloudpayments-python-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidasoftware%2Fcloudpayments-python-client/sbom","scorecard":{"id":199050,"data":{"date":"2025-08-11","repo":{"name":"github.com/antidasoftware/cloudpayments-python-client","commit":"271a30da47cbff98c617f68091ec01cc0af6d475"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":6,"reason":"Found 9/14 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T22:28:04.621Z","repository_id":46770488,"created_at":"2025-08-16T22:28:04.621Z","updated_at":"2025-08-16T22:28:04.621Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["client","cloudpayments","python"],"created_at":"2025-12-14T15:13:25.995Z","updated_at":"2026-04-01T23:01:59.086Z","avatar_url":"https://github.com/antidasoftware.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================================\nCloudPayments Python Client Library\n===================================\n\n.. image:: https://img.shields.io/pypi/v/cloudpayments.svg\n   :target: https://pypi.python.org/pypi/cloudpayments/\n   :alt: Python Package Index\n\n.. image:: https://img.shields.io/travis/antidasoftware/cloudpayments-python-client.svg\n   :target: https://travis-ci.org/antidasoftware/cloudpayments-python-client\n   :alt: Travis CI\n\nКлиент для платежного сервиса `CloudPayments \u003chttp://cloudpayments.ru/\u003e`_. Позволяет обращаться к `API CloudPayments \u003chttp://cloudpayments.ru/Docs/Api\u003e`_ из кода на Python.\n\nУстановка\n=========\n\n::\n\n    pip install cloudpayments\n\n\nТребования\n==========\n\nPython 2.7 или 3.4+\n\n\nИспользование\n=============\n\n.. code:: python\n\n    from cloudpayments import CloudPayments\n\n    client = CloudPayments('public_id', 'api_secret')\n    client.test()\n\nПри создании клиента задаются аутентификационные параметры: Public ID и Api Secret. Оба этих значения можно получить в личном кабинете.\n\nОбращение к API осуществляется через методы клиента.\n\n\n| **Тестовый метод** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#test\u003e`__)\n\n.. code:: python\n\n    test(self, request_id=None)\n\n``request_id`` — идентификатор для `идемпотентного запроса \u003chttps://developers.cloudkassir.ru/#idempotentnost-api\u003e`__.\n\nВ случае успеха возвращает строку с сообщением от сервиса.\n\n\n| **Оплата по криптограмме** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#pay_with_crypto\u003e`__)\n\n.. code:: python\n\n    charge_card(self, cryptogram, amount, currency, name, ip_address,\n                invoice_id=None, description=None, account_id=None,\n                email=None, data=None, require_confirmation=False,\n                service_fee=None)\n\n``currency`` — одна из констант, определенных в классе ``Currency``.\n\n``data`` — произвольные данные, при отправке будут сериализованы в JSON.\n\n``service_fee`` — сервисный сбор.\n\n``require_confirmation`` — если установлено в ``True``, платеж будет выполняться по двухстадийной схеме.\n\nВ случае успеха возвращает объект типа ``Transaction`` (если не требуется 3-D Secure аутентификация) либо ``Secure3d`` (если требуется).\n\n\n| **Завершение оплаты после прохождения 3-D Secure** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#3ds\u003e`__)\n\n.. code:: python\n\n    finish_3d_secure_authentication(self, transaction_id, pa_res)\n\nВ случае успеха возвращает объект типа ``Transaction``.\n\n\n| **Оплата по токену** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#paywithtoken\u003e`__)\n\n.. code:: python\n\n    charge_token(self, token, account_id, amount, currency,\n                 ip_address=None, invoice_id=None, description=None,\n                 email=None, data=None, require_confirmation=False)\n\n``currency`` — одна из констант, определенных в классе ``Currency``\n\n``data`` — произвольные данные, при отправке будут сериализованы в JSON.\n\n``require_confirmation`` — если установлено в ``True``, платеж будет выполняться по двухстадийной схеме.\n\nВ случае успеха возвращает объект типа ``Transaction``.\n\n\n| **Подтверждение оплаты** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#approval\u003e`__)\n\n.. code:: python\n\n    confirm_payment(self, transaction_id, amount, data=None)\n\n``data`` — произвольные данные, при отправке будут сериализованы в JSON.\n\nВ случае успеха метод ничего не возвращает, при ошибке бросает исключение.\n\n\n| **Отмена оплаты** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#void\u003e`__)\n\n.. code:: python\n\n    void_payment(self, transaction_id)\n\nВ случае успеха метод ничего не возвращает, при ошибке бросает исключение.\n\n\n| **Возврат денег** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#refund\u003e`__)\n\n.. code:: python\n\n    refund(self, transaction_id, amount, request_id=None)\n\n``request_id`` — идентификатор для `идемпотентного запроса \u003chttps://developers.cloudkassir.ru/#idempotentnost-api\u003e`__.\n\nВ случае успеха возвращает идентификатор транзакции возврата.\n\n\n| **Выплата по токену** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#payment_token\u003e`__)\n\n.. code:: python\n    \n    topup(self, token, amount, account_id, currency, invoice_id=None)\n\n``currency`` — одна из констант, определенных в классе ``Currency``\n\nВ случае успеха возвращает объект типа ``Transaction``.\n\n\n| **Получение транзакции** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#oper_info\u003e`__)\n\n.. code:: python\n\n    get_transaction(self, transaction_id)\n\n``transaction_id`` — ID транзакции\n\nВ случае успеха возвращает объект типа ``Transaction``.\n\n\n| **Проверка статуса платежа** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#status_check\u003e`__)\n\n.. code:: python\n\n    find_payment(self, invoice_id)\n\nВ случае успеха возвращает объект типа ``Transaction``.\n\n\n| **Выгрузка списка транзакций** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#oper_load\u003e`__)\n\n.. code:: python\n\n    list_payments(self, date, timezone=None)\n\n``date`` — объект типа ``datetime.date``.\n\n``timezone`` — одна из констант, определенных в классе ``Timezone``.\n\nВ случае успеха возвращает список объектов типа ``Transaction``.\n\n\n| **Создание подписки** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#create_recurrent\u003e`__)\n\n.. code:: python\n\n    create_subscription(self, token, account_id, amount, currency,\n                        description, email, start_date, interval, period,\n                        require_confirmation=False, max_periods=None)\n\n``currency`` — одна из констант, определенных в классе ``Currency``.\n\n``start_date`` — объект типа ``datetime.datetime``.\n\n``interval`` — одна из констант, определенных в классе ``Interval``.\n\nВ случае успеха возвращает объект типа ``Subscription``.\n\n\n| **Выгрузка списка подписок** (`описание \u003chttps://developers.cloudpayments.ru/#poisk-podpisok\u003e`__)\n\n.. code:: python\n\n    list_subscriptions(self, account_id)\n    \n``account_id`` — идентификатор пользователя.\n\nВ случае успеха возвращает список объектов типа ``Subscription``.\n\n\n| **Запрос статуса подписки** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#rec_info\u003e`__)\n\n.. code:: python\n\n    get_subscription(self, subscription_id)\n\nВ случае успеха возвращает объект типа ``Subscription``.\n\n\n| **Изменение подписки** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#rec_change\u003e`__)\n\n.. code:: python\n\n    update_subscription(self, subscription_id, amount=None, currency=None,\n                        description=None, start_date=None, interval=None,\n                        period=None, require_confirmation=None,\n                        max_periods=None)\n\n``currency`` — одна из констант, определенных в классе ``Currency``.\n\n``start_date`` — объект типа ``datetime.datetime``.\n\n``interval`` — одна из констант, определенных в классе ``Interval``.\n\nВ случае успеха возвращает объект типа ``Subscription``.\n\n\n| **Отмена подписки** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#rec_cancel\u003e`__)\n\n.. code:: python\n\n    cancel_subscription(self, subscription_id)\n\nВ случае успеха метод ничего не возвращает, при ошибке бросает исключение.\n\n\n| **Отправка счета по почте** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/api#create_invoice\u003e`__)\n\n.. code:: python\n\n    create_order(self, amount, currency, description, email=None,\n                 send_email=None, require_confirmation=None,\n                 invoice_id=None, account_id=None, phone=None,\n                 send_sms=None, send_whatsapp=None, culture_info=None)\n\n``currency`` — одна из констант, определенных в классе ``Currency``.\n\n``culture_info`` — одна из констант, определенных в классе ``CultureInfo``.\n\nВ случае успеха возвращает объект типа ``Order``.\n\n\n| **Формирование кассового чека** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/apikassa#form\u003e`__)\n\n.. code:: python\n\n    create_receipt(self, inn, receipt_type, customer_receipt, \n                   invoice_id=None, account_id=None, request_id=None)\n\n``receipt_type`` — одна из констант, определенных в классе ``ReceiptType``.\n\n``customer_receipt`` — объект типа ``Receipt`` или словарь с данными чека.\n\n``request_id`` — идентификатор для `идемпотентного запроса \u003chttps://developers.cloudkassir.ru/#idempotentnost-api\u003e`__.\n\nВ случае успеха возвращает строку с уникальным идентификатором чека.\n\n\n| **Получение данных чека** (`описание \u003chttps://cloudpayments.ru/wiki/integration/instrumenti/apikassa#Получение%20данных%20чека\u003e`__)\n\n.. code:: python\n\n    get_receipt(self, receipt_id)\n\n\n``receipt_id`` — идентификатор чека\n\nВ случае успеха возвращает объект типа ``Receipt``\n\n| **Изменение настроек уведомлений** (`описание \u003chttps://developers.cloudpayments.ru/#izmenenie-nastroek-uvedomleniy\u003e`__)\n\n.. code:: python\n\n    def update_webhook(\n            self,\n            webhook_type: WebhookType,\n            address,\n            is_enabled: bool = True,\n            method=\"GET\",\n            encoding=\"UTF8\",\n            format_notifications=\"CloudPayments\"\n    )\n\n``webhook_type`` — тип уведомления: Pay/Fail и т.д.\n\n``address`` — адрес для отправки уведомлений (для HTTPS-схемы необходим валидный SSL-сертификат)\n\n``is_enabled`` — Если значение true — то уведомление включено.\n\n``method`` — HTTP-метод для отправки уведомлений. Возможные значения: GET, POST. Значение по умолчанию — GET\n\n``encoding`` — кодировка уведомлений. Возможные значения: UTF8, Windows1251. Значение по умолчанию — UTF8\n\n``format_notifications`` — Формат уведомлений. Возможные значения: CloudPayments, QIWI, RT. Значение по умолчанию — CloudPayments\n\n\nАвторы\n======\n\nРазработано в `Antida software \u003chttp://antidasoftware.com\u003e`_.\nМы создаем SaaS-продукты и сервисы, интегрированные с платежными системами.\nПишите нам, если вам нужна консультация по работе с биллинговыми системами: `info@antidasoftware.com \u003cinfo@antidasoftware.com\u003e`_.\n\n\nЛицензия\n========\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantidasoftware%2Fcloudpayments-python-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantidasoftware%2Fcloudpayments-python-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantidasoftware%2Fcloudpayments-python-client/lists"}