Skip to main content

Official Python SDK for the Blindpay API — Global payments infrastructure

Project description

BlindPay Python SDK

The official Python SDK for Blindpay - Global payments infrastructure made simple.

Installation

pip install blindpay

Requirements

  • Python 3.12 or higher

Error Handling

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}")

Types

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
)

Development

This SDK uses:

  • uv for package management
  • httpx for async HTTP requests
  • pydantic for data validation
  • typing_extensions for typing

License

MIT

Support

For support, please contact gabriel@blindpay.com or visit blindpay

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blindpay-1.0.0.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blindpay-1.0.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file blindpay-1.0.0.tar.gz.

File metadata

  • Download URL: blindpay-1.0.0.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.3

File hashes

Hashes for blindpay-1.0.0.tar.gz
Algorithm Hash digest
SHA256 21d2e3c9d5dc68a4ccf882b42967f3f1622a756ececf510aefce853b9417bcd9
MD5 21bdeb30991a008324157e29e885cc14
BLAKE2b-256 6bfa2969017dbcd8fae26b31f5157131b96aea027a9575f3dc0dd21f3a0e9448

See more details on using hashes here.

File details

Details for the file blindpay-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: blindpay-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.3

File hashes

Hashes for blindpay-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 176cf955de6af1cdb24def93d90b68fc6f17f8ac16fcde960fe68992ba301874
MD5 a9e660126805b4b100cc291d5e255dd9
BLAKE2b-256 71b26e7710765f1969cabff1c05c41219dfb896dad81cda9c9207072cd88ca50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page