Base URL
pk_test_ API key — same URL, same code path, routed to testnets.
Authentication
All requests require anAuthorization: Bearer <api_key> header.
Error format
All errors return a consistent envelope. The HTTP status code is the primary signal; thecode field is machine-readable.