Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Xendit REST API Client for Python - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets, QR Codes

License

NotificationsYou must be signed in to change notification settings

xendit/xendit-python

Repository files navigation

Xendit Python SDK

Xendit Python SDK

The official Xendit Python SDK provides a simple and convenient way to call Xendit's REST APIin applications written in Python.

  • Package version: 6.3.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 runpip with root permission:sudo pip install git+https://github.com/xendit/xendit-python.git)

Then import the package:

importxendit

Setuptools

Install viaSetuptools.

python setup.py install --user

(orsudo python setup.py install to install the package for all users)

Then import the package:

importxendit

Authorization

The SDK needs to be instantiated using your secret API key obtained from theXendit Dashboard.You can sign up for a free Dashboard accounthere.

importxenditfromxendit.apisimportBalanceApifrompprintimportpprintxendit.set_api_key('XENDIT_API_KEY')client=xendit.ApiClient()try:response=BalanceApi(client).get_balance('CASH')pprint(response)exceptxendit.XenditSdkExceptionase: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 tohttps://api.xendit.co. For more information about our API, please refer tohttps://developers.xendit.co/.

Further Reading


[8]ページ先頭

©2009-2025 Movatter.jp