Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Xendit REST API Client for Python - Invoice, Payment Request, Payment Method, Refund, Balance, Transaction, Customer, and Payout Services https://xendit.github.io/apireference/
The official Xendit Python SDK provides a simple and convenient way to call Xendit's REST API in applications written in Python.
Python >= 3.10
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
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
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)
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
FAQs
Xendit REST API Client for Python - Invoice, Payment Request, Payment Method, Refund, Balance, Transaction, Customer, and Payout Services https://xendit.github.io/apireference/
We found that xendit-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.