The official Python SDK for Blindpay - Global payments infrastructure made simple.
pip install blindpay- Python 3.12 or higher
All API methods return a response dictionary with either data or error:
blindpay = BlindPay(
api_key="your_api_key_here",
instance_id="your_instance_id_here"
)
response = await blindpay.receivers.get("receiver-id")
if response['error']:
print(f"Error: {response['error']['message']}")
return
receiver = response['data']
print(f"Receiver: {receiver}")The SDK includes comprehensive type definitions for all API resources and parameters. These can be imported from the main package:
from blindpay import (
AccountClass,
BankAccountType,
Country,
Currency,
CurrencyType,
Network,
Rail,
StablecoinToken,
TransactionDocumentType,
TransactionStatus,
PaginationParams,
PaginationMetadata,
# ... and more
)This SDK uses:
uvfor package managementhttpxfor async HTTP requestspydanticfor data validationtyping_extensionsfor typing
MIT
For support, please contact gabriel@blindpay.com or visit blindpay