Base URL
Examples use:Authentication
Send your API key as a bearer token:x-api-key, but bearer auth is the documented and
SDK-default form.
This section covers runtime product APIs. Use the Developer Portal for
administrative operations.
Retry safety
Treat the two request classes differently:
Sponsorship is the one write where a retry is explicitly safe, because a
matching idempotency key returns the original response instead of spending
again. Derive that key from something stable in your own domain, such as an
order id, rather than generating a new value per attempt.
The Developer SDKs encode exactly this policy:
GET requests use the
configured retry policy, POST requests do not retry, and sponsorship retries
only when an idempotency key is present.
JSON encoding
The REST API uses protobuf JSON mapping.Request mapping
Fields in the path template go in the URL. Remaining scalar fields onGET
requests become query parameters.
POST, PUT, and PATCH endpoints, the request body is the full request
message unless noted otherwise.

