Pathao and RedX courier connections: how it works
Pathao and RedX can be connected with their merchant APIs, so a parcel is booked from the delivery note: the consignment or tracking number comes back by itself, the status follows the parcel and the cash to collect goes with the booking.
Lesson 6 of 12 · How it works
How it works
Add the courier under Deliveries → Couriers and choose Pathao Courier or RedX. Pathao needs the client id and secret, your merchant e-mail and password and the store id; RedX needs the API access token.
Start in sandbox mode (the courier's test system, no real parcels) and switch to live when a test booking works. Test mode sends nothing at all.
Pathao signs in with these details and keeps the access token encrypted; it is renewed by itself before it runs out.
On the Delivery note A paper that lists what goes to the customer, in how many packages and with which courier. The customer signs it on receipt. More words in the glossary pick the Pathao city and zone (area optional) or the RedX delivery area; without a choice the app tries to match the note's address. Pathao also offers Check price before booking.
Booking sends the recipient, phone, address, weight and cash to collect. Status changes arrive by webhook or the half-hourly sync and move the delivery note like the staff buttons do.
RedX bookings can be canceled from the note before pickup. Pathao has no cancel in its API: cancel on the Pathao merchant panel, then choose Mark canceled here.
Where to find it
- Deliveries & packing → Couriers
/admin/deliveries/couriers - Deliveries & packing (a delivery note → Courier)
/admin/deliveries
Checklist
Before you move on, check that you can:
- Open Deliveries & packing → Couriers
- Add the courier under Deliveries → Couriers and choose Pathao Courier or RedX.
- Start in sandbox mode (the courier's test system, no real parcels) and switch to live when a test booking…
- Pathao signs in with these details and keeps the access token encrypted; it is renewed by itself before it…
- On the delivery note pick the Pathao city and zone (area optional) or the RedX delivery area; without a…
Tips and common mistakes
- Both couriers need an 11-digit Bangladeshi mobile number (01…) and collect cash in taka; the booking says clearly what is missing.
- Sandbox credentials are not your live ones; switch the credentials when you switch the mode.
- Pathao takes 0.5 to 10 kg per parcel through the API and the cash to collect in whole taka.