Base URLs¶
REST¶
| Environment | Base URL | Source |
|---|---|---|
| Dev | https://api-gateway-scb.dev.pcrypto.com |
Postman collection variable openapiHost |
| QA | — | [NEEDS-CONFIRMATION: QA public hostname] |
| Prod | — | [NEEDS-CONFIRMATION: Prod public hostname] |
All REST paths in this documentation are relative to the environment base URL (for example /openapi/v1/time).
The gateway maps Host → broker orgId. Clients must call the API hostname provisioned for their org.
WebSocket¶
| Environment | Base URL | Source |
|---|---|---|
| Dev / QA / Prod | wss://<ws-host> |
[NEEDS-CONFIRMATION: public WSS hostnames per env] |
Documented public paths (relative to WSS host):
/openapi/quote/ws/v1/<streamName>/openapi/quote/stream?streams=<a>/<b>/.../openapi/ws/<listenKey>/spot(private)
Evidence: ptrader-ws-gateway WebSocketHandler path parsing; Postman OpenAPI-WS folder.
FIX¶
| Parameter | Value | Source |
|---|---|---|
| Protocol | FIXT.1.1 transport, FIX 5.0 SP2 application | FIX Postman guide / fix-server README |
| Role | Acceptor (you are initiator) | same |
| Default local port (README) | 5005 |
ptrader-fix-server/README.md |
| Production host / port / CompIDs | — | [NEEDS-CONFIRMATION: onboarding values] |
Related headers for local testing¶
Some environments expect a client IP header when calling through ingress. Postman sets true-client-ip. Evidence: api-gateway auth docs and Postman collection pre-request script.