⭐ PREMIUM EDITION
🐍 Python 3.9+ Live Mode
📞 Support: +256-781-880-625
🐍

Official PawaPay Python SDK

Enterprise Mobile Money integration by Katorymnd Web Solutions
🔄 REFUND PLAYGROUND
PawaPay Python SDK v2/v1 Automated Reversal Engine
>>> REFUND_TERMINAL: Reverse transactions dynamically. Requires a valid Deposit ID from a previously successful Sandbox deposit.

# Refund API Dispatcher

Execute partial or full refunds against existing deposits. Note: You must grab a successful deposit_id from the Deposit Playground to test this effectively.

run_refund.py - Pawapay Python SDK Playground
import asyncio
from pawapay_sdk import ApiClient

# 1. Initialize Client
config = {
    'api_token': , # Use Your Own Sandbox Account Token
    'environment': 'sandbox',
    'api_version':  # toggle v1/v2
}
client = ApiClient(config)

# 2. Define Refund Targets
deposit_id =  # successful deposit id
amount =  # refund amount - partial or full amount
currency =  # see `SDK Config` below

# 3. Execute Refund (async)
response = await client.initiate_refund(
    deposit_id=deposit_id,
    amount=amount,
    currency=currency
)

print(f"Refund Status: {response.status}")
TERMINAL // OUTPUT
$ Awaiting execution...
💰 Partial Refunds Supported
đŸ›Ąī¸ Double-Refund Prevention
🔗 Auto-Links to Deposits
âš™ī¸ SDK Config 📘 Open Docs
Sandbox Gateway â€ĸ Live Refund state Ready