Reference›Go-live checklist
Go-live checklist
Run through this list before you send real traffic.
Key points
- Key — Stored on your server only. One key per integration.
- Retries — Every create carries an Idempotency-Key.
- Webhook — Signature, timestamp and event_id are checked.
- Limits — You handle 429 and 409 without crashing.
Tick every line before you send real traffic.
Credentials
- The key is stored on your server only, in a secrets manager or environment variable.
- You know when the key ends (3 years after it was issued, 7 days for a login token), how it is renewed, and who can revoke it.
- Logs and error reports hide the
Authorizationheader.
Booking flow
GET /connectionreturns 200 from your production server.- Closed vehicle types (
available: false) cannot be chosen. - You quote after every place or vehicle change and show the integer EGP fare TrustCold returns.
- Pickup and drop-off work with the list only, with an address or Maps URL only, and with both.
- Every
POST /tripscarries anIdempotency-Keythat is your order id. - If
payment_urlis set you open it. You never collect card data.
Status and webhooks
- Your webhook URL is public HTTPS on port 443 and answers 2xx within 4 seconds.
POST /webhook/testreturnsdelivered.- You verify
X-TrustCold-Signature-V2, reject timestamps older than 5 minutes, and ignore repeatedevent_ids. - You show
cancelledanddeletedtrips correctly, and stop polling whenpoll_after_msis 0.
Failure handling
- 429: you wait for
Retry-After. 409: you re-read the trip. 422: you show the message next to the field. - 5xx or a timeout: you retry with the same
Idempotency-Key. - You alert someone when a webhook receiver starts failing.