Base URLs
The same URLs serve test and live. Your access token decides which environment a request acts in: see Environments.
Authentication
Send an access token from your OAuth client as a bearer token:Conventions
- Requests and responses are JSON (
Content-Type: application/json). - Amounts are integer strings in minor units: see Money.
- Timestamps are milliseconds since the Unix epoch.
- Writes that create something or move money require an
Idempotency-Keyheader: see Idempotency. - Every response has an
x-request-idheader. - Errors look like
{"error": {"code": "…", "message": "…"}}: see Errors and limits.