PathaoParcel
DocsUse CasesContact

Documentation

  • Getting Started
  • Authentication
  • API Reference
  • Webhooks
  • Error Codes
  • SDKs & Tools
  • Sandbox
  • Rate Limiting
  • Idempotency
  • Changelog
PathaoParcel
DocumentationPricingContactUse Cases

© 2026 Pathao Ltd. All rights reserved.

Sandbox Environment

The sandbox environment is a fully functional replica of the production API that lets you test your integration without creating real orders or incurring charges. Orders are simulated, webhooks fire instantly, and special "magic values" let you trigger specific delivery scenarios.

Sandbox API Key

Use the following test API key for all sandbox requests. This key is pre-provisioned and available to all partners during development.

Sandbox API Key
X-API-Key: sandbox_key_test_1234567890

Important: The sandbox base URL is https://sandbox.pathao.com. Make sure to switch to https://api.pathao.com when you go live.

Magic Test Values

Use these special phone numbers as the receiver_phone field to simulate different delivery outcomes. Each number triggers a predetermined scenario.

Test Phone Numbers

Phone NumberBehavior
01700000001Order completes successfully through all stages
01700000002Driver assigned but never accepts (times out after 5 min)
01700000003Order cancelled by driver after acceptance
01700000004Delivery fails (rider cannot find address)
01700000005Webhook delivery fails (simulates partner endpoint down)

Test Coordinates

Use these coordinates when testing order creation. The sandbox validates that coordinates fall within serviceable areas, just like production.

Pickup Location

Banani, Dhaka (default sandbox pickup)

lat: 23.7937

lng: 90.4066

Dropoff Location

Dhanmondi, Dhaka (default sandbox dropoff)

lat: 23.7465

lng: 90.3762

Out of Area

Rajshahi (outside service area - triggers INVALID_COORDINATES)

lat: 24.3636

lng: 88.6241

Sandbox Limits

The sandbox has relaxed limits compared to production to make testing easier.

LimitDetails
Rate Limit1000 requests/minute (relaxed for testing)
Order RetentionSandbox orders are deleted after 24 hours
Webhook DeliveryWebhooks fire instantly (no real driver matching)