Execute live deposit requests against the PawaPay sandbox. Modify parameters in the code editor below and click โถ Run Script. The SDK handles provider routing (MTN, Airtel, Orange) automatically.
import asyncio
from pawapay_sdk import ApiClient
# 1. Initialize Client with your Sandbox Token
config = {
'api_token': ,# Use Your Own Sandbox Account Token
'environment': 'sandbox',
'api_version': # toggle v1/v2
}
client = ApiClient(config)
# 2. Set Deposit Parameters (Mobile Money)
amount = # update as you wish
currency = # see `SDK Config` below
payer_msisdn = # see `Open Docs` below
provider = # see `SDK Config` below
# 3. Execute Deposit (async)
response = await client.initiate_deposit(
amount=amount,
currency=currency,
payer_msisdn=payer_msisdn,
provider=provider
)
print(f"Deposit ID: {response.deposit_id} | Status: {response.status}")
$ Awaiting execution...