Official Python SDK for Zap Payments
Project description
Zap Payments Python SDK
Official Python SDK for Zap Payments - the stablecoin payment platform for tourists and merchants.
Installation
pip install zap-sdk
Quick Start
from zap import Zap
# Initialize the client
zap = Zap(
api_key="your_api_key_here",
environment="sandbox" # or "production"
)
# Create a wallet
wallet = await zap.wallets.create(
type="tourist",
default_currency="USDC"
)
# Request a payment
payment = await zap.payments.request(
merchant_id="merchant_123",
amount_aed=100.00,
description="Coffee purchase"
)
# Get payment status
payment_status = await zap.payments.get(payment.payment_id)
Features
- Wallet Management: Create and manage tourist, resident, and merchant wallets
- Virtual Cards: Issue and manage Visa/Mastercard virtual cards
- Payments: NFC tap-to-pay and QR code payments
- Stablecoin Support: USDC, USDT, and DAI on Polygon
- Webhooks: Real-time event notifications
- Type Safety: Full type hints with Pydantic models
Documentation
For full documentation, visit docs.zap.payments
Requirements
- Python 3.8+
- httpx
- pydantic
- eth-account
- web3
License
MIT License - see LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zap_sdk-1.0.0.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zap_sdk-1.0.0.tar.gz.
File metadata
- Download URL: zap_sdk-1.0.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
198d300b840762ac605a131fce58ca5f1a6831dbd32fa990b57165a42d41d53f
|
|
| MD5 |
3eb569f61e311f7dc03c6c2485a5dceb
|
|
| BLAKE2b-256 |
e2a8a5198146cb15ad51f90f48978562ff5c1da045f108b3258aa0d19cf4f037
|
File details
Details for the file zap_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: zap_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e150269639e8319b146bafd521de39cc8d71865ec69e605649a9206ac97719e7
|
|
| MD5 |
7d685ae82e7ca1f5e0cf16562427984a
|
|
| BLAKE2b-256 |
671f75317a234ffe1079dbcb2a15798b1f06e6927be17a0fc8eb35ac7efc0a48
|