- Keep API keys and webhook secrets on the server only. Rotate them if exposed.
- Fund the Business wallet before placing orders via API.
- Custom rates are set by RUN admin. Use
GET /business/rate-cardsonly to read vehicle options, then quote/place withvehicle_type(andoption_idfor bus/van or truck). Do not hardcode prices. - Handle webhook retries with idempotency on
evt_…ids. - Prefer sending lat/lng when you already have Places/map coordinates to skip geocode latency.
- Log
path+statusCodefrom error responses for support — never log full API keys orAuthorizationheaders. - Use a
run_test_…key against staging while integrating, then switch to arun_live_…key only against production. - Return
2xxquickly from webhook handlers and do heavy work asynchronously after verifying the signature.
Best practices
Recommended patterns for integrating the Run Business API securely.