{"id":19510626,"url":"https://github.com/culqi/culqi-python","last_synced_at":"2025-10-24T12:53:02.300Z","repository":{"id":62565952,"uuid":"77952920","full_name":"culqi/culqi-python","owner":"culqi","description":"Biblioteca de Culqi para Python","archived":false,"fork":false,"pushed_at":"2024-11-04T15:16:36.000Z","size":1288,"stargazers_count":14,"open_issues_count":2,"forks_count":15,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-09-22T07:56:58.835Z","etag":null,"topics":["api-client","culqi","payment-integration","python2","python3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/culqi/","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/culqi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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}},"created_at":"2017-01-03T20:59:06.000Z","updated_at":"2025-08-25T16:36:32.000Z","dependencies_parsed_at":"2024-02-15T16:53:23.207Z","dependency_job_id":"c75ec419-cfa6-40a3-b58e-4135255f1b2e","html_url":"https://github.com/culqi/culqi-python","commit_stats":{"total_commits":106,"total_committers":12,"mean_commits":8.833333333333334,"dds":0.6226415094339622,"last_synced_commit":"4a9cb3ddb2b5cd02c4b28f57c36338ef7e2908a5"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/culqi/culqi-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culqi%2Fculqi-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culqi%2Fculqi-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culqi%2Fculqi-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culqi%2Fculqi-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/culqi","download_url":"https://codeload.github.com/culqi/culqi-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culqi%2Fculqi-python/sbom","scorecard":{"id":312605,"data":{"date":"2025-08-11","repo":{"name":"github.com/culqi/culqi-python","commit":"846c69d410528244282bc2b46d2c7f50e5219a90"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":5,"reason":"Found 2/4 approved changesets -- score normalized to 5","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 30 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"}},{"name":"Vulnerabilities","score":0,"reason":"63 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2020-28 / GHSA-m6xf-fq7q-8743","Warn: Project is vulnerable to: PYSEC-2020-27 / GHSA-q65m-pv3f-wr5r","Warn: Project is vulnerable to: PYSEC-2020-340 / GHSA-vqhp-cxgc-6wmm","Warn: Project is vulnerable to: PYSEC-2021-865 / GHSA-vv2x-vrpj-qqpq","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2022-238 / GHSA-h3qr-fjhm-jphw","Warn: Project is vulnerable to: GHSA-3ww4-gg4f-jr7f","Warn: Project is vulnerable to: GHSA-5cpq-8wj7-hf2v","Warn: Project is vulnerable to: GHSA-9v9h-cgj8-h64p","Warn: Project is vulnerable to: PYSEC-2021-62 / GHSA-hggm-jpg3-v476","Warn: Project is vulnerable to: GHSA-jm77-qphf-c4w8","Warn: Project is vulnerable to: GHSA-v8gr-m533-ghj9","Warn: Project is vulnerable to: GHSA-w7pp-m8wf-vj6r","Warn: Project is vulnerable to: GHSA-x4qr-2fvf-3mr5","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-29gw-9793-fvw7","Warn: Project is vulnerable to: PYSEC-2022-12 / GHSA-pq7m-3gw7-gq5x","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: PYSEC-2021-66 / GHSA-g3rq-g295-4j3m","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-33p9-3p43-82vq","Warn: Project is vulnerable to: PYSEC-2022-42974 / GHSA-m678-f26j-3hrp","Warn: Project is vulnerable to: GHSA-44cc-43rp-5947","Warn: Project is vulnerable to: PYSEC-2021-130 / GHSA-4952-p58q-6crx","Warn: Project is vulnerable to: GHSA-9q39-rmj3-p4r2","Warn: Project is vulnerable to: PYSEC-2022-249 / GHSA-9jmq-rx5f-8jwq","Warn: Project is vulnerable to: PYSEC-2020-215 / GHSA-c7vm-f5p4-8fqh","Warn: Project is vulnerable to: GHSA-hwvq-6gjx-j797","Warn: Project is vulnerable to: PYSEC-2022-180 / GHSA-m87f-39q9-6f55","Warn: Project is vulnerable to: PYSEC-2022-212 / GHSA-v7vq-3x77-87vg","Warn: Project is vulnerable to: PYSEC-2020-92 / GHSA-hj5v-574p-mj7c","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: PYSEC-2021-140 / GHSA-9w8r-397f-prfh","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2021-141 / GHSA-pq64-v7f5-gqh8","Warn: Project is vulnerable to: PYSEC-2021-112 / GHSA-hwfp-hg2m-9vr2","Warn: Project is vulnerable to: PYSEC-2020-96 / GHSA-6757-jp84-gxfx","Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-753j-mpmx-qq6g","Warn: Project is vulnerable to: GHSA-7cx3-6m66-7c5m","Warn: Project is vulnerable to: GHSA-8w49-h785-mj3c","Warn: Project is vulnerable to: PYSEC-2023-75 / GHSA-hj3f-6gcp-jg8j","Warn: Project is vulnerable to: GHSA-qppv-j76h-2rpx","Warn: Project is vulnerable to: GHSA-w235-7p84-xx57","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: PYSEC-2020-149 / GHSA-hmv2-79q8-fv6g","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2021-108 / GHSA-q2q7-5pp4-w6pg","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637","Warn: Project is vulnerable to: PYSEC-2017-8 / GHSA-q3cj-2r34-2cwc","Warn: Project is vulnerable to: PYSEC-2024-225"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T23:27:05.935Z","repository_id":62565952,"created_at":"2025-08-17T23:27:05.935Z","updated_at":"2025-08-17T23:27:05.935Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280799427,"owners_count":26393089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api-client","culqi","payment-integration","python2","python3"],"created_at":"2024-11-10T23:16:35.558Z","updated_at":"2025-10-24T12:53:02.277Z","avatar_url":"https://github.com/culqi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Culqi-Python\n\n[![Build Status](https://travis-ci.org/culqi/culqi-python.svg?branch=master)](https://travis-ci.org/culqi/culqi-python)\n![](https://img.shields.io/pypi/pyversions/Culqi)\n![](https://img.shields.io/pypi/l/culqi)\n![](https://img.shields.io/pypi/v/culqi)\n\n\nNuestra Biblioteca PYTHON oficial, es compatible con la v2.0 del Culqi API, con el cual tendrás la posibilidad de realizar cobros con tarjetas de débito y crédito, Yape, PagoEfectivo, billeteras móviles y Cuotéalo con solo unos simples pasos de configuración.\n\nNuestra biblioteca te da la posibilidad de capturar el `status_code` de la solicitud HTTP que se realiza al API de Culqi, así como el `response` que contiene el cuerpo de la respuesta obtenida.\n\n## Requisitos\n\n- Python 2.7+\n* Afiliate [aquí](https://afiliate.culqi.com/).\n* Si vas a realizar pruebas obtén tus llaves desde [aquí](https://integ-panel.culqi.com/#/registro), si vas a realizar transacciones reales obtén tus llaves desde [aquí](https://panel.culqi.com/#/registro).\n\n\u003e Recuerda que para obtener tus llaves debes ingresar a tu CulqiPanel \u003e Desarrollo \u003e ***API Keys***.\n\n![alt tag](http://i.imgur.com/NhE6mS9.png)\n\n\u003e Recuerda que las credenciales son enviadas al correo que registraste en el proceso de afiliación.\n\n* Para encriptar el payload debes generar un id y llave RSA  ingresando a CulqiPanel \u003e Desarrollo  \u003e RSA Keys.\n\n## Instalación\n\nEjecuta los siguientes comandos:\n\n```bash\npy -m pip install pytest\npy -m pip install python-dotenv\npy -m pip install culqi\npy -m pip install jsonschema\npy -m pip install pycryptodome\n\n```\n\n## Configuracion\n\nPara empezar a enviar peticiones al API de Culqi debes configurar tu llave pública (pk), llave privada (sk).\nPara habilitar encriptación de payload debes configurar tu rsa_id y rsa_public_key.\nEl parámetro custom_headers es opcional y define los headers personalizados que se enviarán en la solicitud HTTP. Está presente solo en los métodos create.\n\n```python\n\nfrom dotenv import load_dotenv\nfrom culqi2 import __version__\nfrom culqi2.client import Culqi\n\nself.public_key = \"pk_test_e94078b9b248675d\"\nself.private_key = \"sk_test_c2267b5b262745f0\"\nself.culqi = Culqi(self.public_key, self.private_key)\n\n#ecnrypt variables\nself.rsa_public_key = \"-----BEGIN PUBLIC KEY-----\\n\" + \\\n                        \"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDswQycch0x/7GZ0oFojkWCYv+g\\n\" + \\\n                        \"r5CyfBKXc3Izq+btIEMCrkDrIsz4Lnl5E3FSD7/htFn1oE84SaDKl5DgbNoev3pM\\n\" + \\\n                        \"C7MDDgdCFrHODOp7aXwjG8NaiCbiymyBglXyEN28hLvgHpvZmAn6KFo0lMGuKnz8\\n\" + \\\n                        \"iuTfpBl6HpD6+02SQIDAQAB\\n\" + \\\n                        \"-----END PUBLIC KEY-----\"\nself.rsa_id = \"de35e120-e297-4b96-97ef-10a43423ddec\"\n\n```\n\n### Encriptar payload\n\nPara encriptar el payload necesitas agregar el parámetros **options** que contiene tu id y llave RSA.\n\nEjemplo\n\n```python\noptions = {}\noptions[\"rsa_public_key\"] = self.rsa_public_key #\"la llave pública RSA\"\noptions[\"rsa_id\"] = self.rsa_id # \"el id de tu llave\"\ntoken = self.token.create(data=self.token_data, **options)\n\n```\n\n## Servicios\n\n### Crear Token\n\nAntes de crear un Cargo o Card es necesario crear un `token` de tarjeta. \nLo recomendable es generar los 'tokens' con [Culqi Checkout v4](https://docs.culqi.com/es/documentacion/checkout/v4/culqi-checkout/) o [Culqi JS v4](https://docs.culqi.com/es/documentacion/culqi-js/v4/culqi-js/) **debido a que es muy importante que los datos de tarjeta sean enviados desde el dispositivo de tus clientes directamente a los servidores de Culqi**, para no poner en riesgo los datos sensibles de la tarjeta de crédito/débito.\n\n\u003e Recuerda que cuando interactúas directamente con el [API Token](https://apidocs.culqi.com/#tag/Tokens/operation/crear-token) necesitas cumplir la normativa de PCI DSS 3.2. Por ello, te pedimos que llenes el [formulario SAQ-D](https://listings.pcisecuritystandards.org/documents/SAQ_D_v3_Merchant.pdf) y lo envíes al buzón de riesgos Culqi.\n\n```python\n\ntoken = self.token.create(data=self.token_data)\n\n```\n\n### Crear Cargo\n\nCrear un cargo significa cobrar una venta a una tarjeta. Para esto previamente deberías generar el  `token` y enviarlo en parámetro **source_id**.\n\nLos cargos pueden ser creados vía [API de devolución](https://apidocs.culqi.com/#tag/Cargos/operation/crear-cargo).\nEl parámetro custom_headers es opcional y define los headers personalizados que se enviarán en la solicitud HTTP.\n\n```python\ncharge = self.charge.create(data=self.charge_data)\n```\n\nPara realizar un cargo recurrente, puedes utilizar el siguiente código:\n```python\ncharge = self.charge.create(data=self.charge_data, custom_headers={'X-Charge-Channel': 'recurrent'})\n```\n\n### Crear Devolución\n\nSolicita la devolución de las compras de tus clientes (parcial o total) de forma gratuita a través del API y CulqiPanel. \n\nLas devoluciones pueden ser creados vía [API de devolución](https://apidocs.culqi.com/#tag/Devoluciones/operation/crear-devolucion).\n\n```python\nrefund = self.refund.create(data=self.refund_data)\n```\n\n### Crear Customer\n\nEl **cliente** es un servicio que te permite guardar la información de tus clientes. Es un paso necesario para generar una [tarjeta](/es/documentacion/pagos-online/recurrencia/one-click/tarjetas).\n\nLos clientes pueden ser creados vía [API de cliente](https://apidocs.culqi.com/#tag/Clientes/operation/crear-cliente).\n\n```python\ncustomer = self.customer.create(data=self.customer_data)\n```\n\n### Actualizar Customer\n\n```python\nupdated_customer = self.customer.update(\n        id_=created_customer[\"data\"][\"id\"], data=metadatada\n    )\n```\n\n### Obtener Customer\n\n```python\n retrieved_customer = self.customer.read(created_customer[\"data\"][\"id\"])\n```\n\n### Crear Card\n\nLa **tarjeta** es un servicio que te permite guardar la información de las tarjetas de crédito o débito de tus clientes para luego realizarles cargos one click o recurrentes (cargos posteriores sin que tus clientes vuelvan a ingresar los datos de su tarjeta).\n\nLas tarjetas pueden ser creadas vía [API de tarjeta](https://apidocs.culqi.com/#tag/Tarjetas/operation/crear-tarjeta).\n\n```python\n card = self.card.create(data=self.card_data)\n```\n\n### Crear Plan\n\nEl plan es un servicio que te permite definir con qué frecuencia deseas realizar cobros a tus clientes.\n\nUn plan define el comportamiento de las suscripciones. Los planes pueden ser creados vía el [API de Plan](https://apidocs.culqi.com/#/planes#create) o desde el **CulqiPanel**.\n\n```python\nplan = self.plan.create(data=self.plan_data)\n```\n\n### Crear Suscripción\n\nLa suscripción es un servicio que asocia la tarjeta de un cliente con un plan establecido por el comercio.\n\nLas suscripciones pueden ser creadas vía [API de suscripción](https://apidocs.culqi.com/#tag/Suscripciones/operation/crear-suscripcion).\n\n```python\nsubscription = self.subscription.create(data=self.subscription_data)\n```\n\n### Crear Orden\n\nEs un servicio que te permite generar una orden de pago para una compra potencial.\nLa orden contiene la información necesaria para la venta y es usado por el sistema de **PagoEfectivo** para realizar los pagos diferidos.\n\nLas órdenes pueden ser creadas vía [API de orden](https://apidocs.culqi.com/#tag/Ordenes/operation/crear-orden).\n\n```python\norden = self.orden.create(data=self.orden_data)\n```\n\n## Pruebas\n\nEn la caperta **/test** econtraras ejemplo para crear un token, charge, plan, órdenes, card, suscripciones, etc.\n\n\u003e Recuerda que si quieres probar tu integración, puedes utilizar nuestras [tarjetas de prueba.](https://docs.culqi.com/es/documentacion/pagos-online/tarjetas-de-prueba/)\n\n### Ejemplo Prueba Token\n\n```python\n @pytest.mark.vcr()\n    def test_token_create(self):\n        token = self.token.create(data=self.token_data)\n        print(token)\n        assert token[\"data\"][\"object\"] == \"token\"\n\n```\n\n### Ejemplo Prueba Cargo\n```python\n @property\n    def charge_data(self):\n        # pylint: disable=no-member\n        token_data = deepcopy(Data.TOKEN)\n        token = self.culqi.token.create(data=token_data)\n        print(token)\n        charge_data = deepcopy(Data.CHARGE)\n        charge_data[\"source_id\"] = token[\"data\"][\"id\"]\n\n        return charge_data\n\n @pytest.mark.vcr()\n    def test_charge_create(self):\n        charge = self.charge.create(data=self.charge_data)\n        print (charge)\n        assert charge[\"data\"][\"object\"] == \"charge\"\n```\n\n## Documentación\n\n- [Referencia de Documentación](https://docs.culqi.com/)\n- [Referencia de API](https://apidocs.culqi.com/)\n- [Demo Checkout V4 + Culqi 3DS](https://github.com/culqi/culqi-python-demo-checkoutv4-culqi3ds)\n- [Wiki](https://github.com/culqi/culqi-python/wiki)\n\n## Changelog\n\nTodos los cambios en las versiones de esta biblioteca están listados en\n[CHANGELOG.md](CHANGELOG.md).\n\n## Autor\nTeam Culqi\n\n## Licencia\nEl código fuente de culqi-python está distribuido bajo MIT License, revisar el archivo LICENSE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fculqi%2Fculqi-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fculqi%2Fculqi-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fculqi%2Fculqi-python/lists"}