Xendit Python SDK
The official Xendit Python SDK provides a simple and convenient way to call Xendit's REST API in applications written in Python.
- Package version: 7.0.0
Requirements
Python >= 3.10
Getting Started
Installation
Install directly from Xendit's Github Repository:
pip install git+https://github.com/xendit/xendit-python.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/xendit/xendit-python.git)
Then import the package:
import xendit
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import xendit
Authorization
The SDK needs to be instantiated using your secret API key obtained from the Xendit Dashboard. You can sign up for a free Dashboard account here.
import xendit
from xendit.apis import BalanceApi
from pprint import pprint
xendit.set_api_key('XENDIT_API_KEY')
client = xendit.ApiClient()
try:
response = BalanceApi(client).get_balance('CASH')
pprint(response)
except xendit.XenditSdkException as e:
print("Exception when calling BalanceApi->get_balance: %s\n" % e)
Documentation
Find detailed API information and examples for each of our product's by clicking the links below,
All URIs are relative to https://api.xendit.co. For more information about our API, please refer to https://developers.xendit.co/.
Further Reading
Metadata
Release files for xendit-python 7.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xendit_python-7.0.0.tar.gz | 213.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xendit_python-7.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 979.7 kB
Release files / xendit_python-7.0.0.tar.gz
| Download URL | xendit_python-7.0.0.tar.gz |
|---|---|
| Size | 213.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5bdb6c75e58f5aeb2f4bdb01031abe10a7967e21904e122f91441fffd8ef4e2
|
|
BLAKE2b-256 checksum How to use checksums |
ce1f1766b58b4bb3cd01afa7b75f33535040eefbe211381a7bba40eb2b3fb079
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 29, 2025.
Transparency logRelease files / xendit_python-7.0.0-py3-none-any.whl
| Download URL | xendit_python-7.0.0-py3-none-any.whl |
|---|---|
| Size | 766.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd3a1f357f1048668c350c3a85df179b867258395ea5bf6638e7a7ddfa3e7142
|
|
BLAKE2b-256 checksum How to use checksums |
08015f6c28a65b6a86a86d8a4420229ade8c630e352b3b546e4b822327ffe592
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 29, 2025.
Transparency log