Skip to main content

logo-main

Python client library for interacting with CentApp API.

You can find more information on the official CentApp website.

README also available in:

Installing

CentApp SDK is available on PyPI:

$ python -m pip install centapp

CentApp SDK officially supports Python 3.7+.

API Version and Reference

Base api url: https://cent.app/api/v1

API reference and official docs: https://cent.app/en/reference/api

The list of available modules:

  • /api/v1/bill/
  • /api/v1/payment/
  • /api/v1/merchant/
  • /api/v1/payout/

API Examples

You can find more examples in examples folder.

Bill creation example:

token = ''
amount = 100
shop_id = ''

cent_app = CentApp(token)
res = cent_app.bill().create(amount, shop_id)
print(res)

Merchant balance example:

token = ''

cent_app = CentApp(token)
res = cent_app.merchant().balance()
print(res)

Metadata

Release files for centapp 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for centapp 1.0.1
File Size Uploaded Provenance Actions
centapp-1.0.1.tar.gz 4.4 kB Without provenance Details for centapp-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for centapp 1.0.1
File Interpreter ABI Platform Actions
centapp-1.0.1-py3-none-any.whl Python 3 none any Details for centapp-1.0.1-py3-none-any.whl

Total release size: 9.0 kB

Release files / centapp-1.0.1.tar.gz

Download URL centapp-1.0.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
88b3d0473380d0ce8e152d9c999f334e70da6b1833ae0027ed8095f66e18b665
BLAKE2b-256 checksum
How to use checksums
309d8558a20af543816a57fd136b2396f081fea31c3803d9ccd39bfe8cfcc79c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release files / centapp-1.0.1-py3-none-any.whl

Download URL centapp-1.0.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48c142d1e4b2a58619577714197deb3f88a737aeed09c102bbae907c6d8f13d6
BLAKE2b-256 checksum
How to use checksums
0310c686ea5b266ce2b8ef5b00c38e3d13d8180d21cdff9471ccd0a1dca7f8d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Security for centapp 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page