Skip to main content

Official Python SDK for the Blindpay API — Global payments infrastructure

Project description

BlindPay Python SDK

chat on Discord twitter Version

The official Python SDK for BlindPay - Stablecoin API for global payments.

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 alves@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-2.0.0.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

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

blindpay-2.0.0-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blindpay-2.0.0.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for blindpay-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d7ed8fc0e2a383cc085aea5047ad730624e36fbf78547fa3afc61eeac1c7c8fc
MD5 96574f525da4f17eecec99b3a6cc20e1
BLAKE2b-256 98ec93a601313a06260d07f5564fbdda17aa2c7af359145f81c90d0ff9b3e4be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blindpay-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for blindpay-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57779aca03dd322a50647bcf55c5191b07d099304a2201e61a4ed6399a549ea4
MD5 98b001b0feccc3e5933308519968ea81
BLAKE2b-256 b987623c82e6ad629b8d6a5c0de8e8c37e537f49cd9077ed2f0b0a85a83a4439

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