Steadfast Courier Integration Rest API v1
Connect Steadfast Courier BD to intercept failed cash-on-delivery shipments across all 64 districts in Bangladesh with automated customer WhatsApp alerts and live status sync.
2. How to Retrieve Steadfast API & Secret Key
You need two security keys generated inside your official Steadfast Merchant account:
1. Steadfast API Key
Found under Steadfast Dashboard > Developer API. Authorizes tracking requests from your store.
2. Steadfast Secret Key
Secret signature key generated alongside your API key to verify incoming webhook alerts.
- Log in to your Steadfast Merchant Portal.
- In the left sidebar, navigate to Developer API (or Settings > API).
- If keys are not generated yet, click Create API Key.
- Copy both your API Key and Secret Key.
3. Exactly Where to Paste in the ZeroRTO Plugin
Open your WordPress Admin > click ZeroRTO > open the Courier Networks tab:
4. Register Webhook with Steadfast
Steadfast notifies your store whenever a consignment cannot be delivered:
https://yourstore.com/wp-json/rescuedrop/v1/courier-webhook/steadfast
- Copy your store's dedicated endpoint URL above.
- In Steadfast Merchant Portal, navigate to Developer API > Webhook Settings (or submit to your Steadfast support representative).
- Enter the endpoint URL for
Consignment Status Update / Delivery Failedevents. - When a delivery rider reports Customer Phone Switched Off or Reschedule Requested, ZeroRTO immediately intercepts the parcel and delivers the interactive WhatsApp prompt!
5. How ZeroRTO Syncs with Steadfast
When a customer responds on WhatsApp, ZeroRTO synchronizes the delivery lifecycle:
📅 Re-attempt Tomorrow
ZeroRTO checks consignment status via /status_by_cid/, logs next-day re-delivery instructions, and updates WooCommerce order status.
📍 Address & Landmark
Captures landmark or location details from customer WhatsApp chat, updating WooCommerce order notes so your dispatch team can notify the hub.
❌ Immediate Return (Cancel)
Flags order as cancelled immediately, preventing multiple failed delivery trips and allowing you to restock inventory faster.