Skip to Content
Payrudder

API reference

The tenant API: every operation your app can call with an API key.

The reference is made from the same OpenAPI file the gateway serves (api/openapi/v1.yaml, the /v1/* routes only), so it cannot drift from the API. Every page has a playground: paste a sandbox key (prk_test_...) and send the request.

Base URL

https://api.payrudder.com

Pick another server in the playground for the staging environment or a local stack (http://localhost:42800).

Authentication

Send your key as a bearer token on every request:

curl https://api.payrudder.com/v1/meters -H "Authorization: Bearer $PAYRUDDER_API_KEY"

A key acts on one environment (sandbox or live) and has a role that limits what it may do. See Authentication.

Conventions

Machine-readable

The OpenAPI document of this reference is published at /api-reference/openapi.json. Generate a client from it, or load it into your API tool.