/api/v2/.
Environments
Two environments are available. Your API key determines which one is active — there is no extra configuration required.
Use the sandbox to build and test your integration without processing real transactions. Sandbox API keys and production API keys are separate — you can manage both in the API keys section of the Paybyrd dashboard.
Authentication
All requests must include your API key in thex-api-key request header.
401 Unauthorized response. Requests made with a key that lacks permission for the operation will receive a 403 Forbidden response.
Request format
All request bodies must be JSON. Include the following headers on every request that has a body:Idempotency
The API supports idempotent requests onPOST endpoints. Sending the same idempotency-key header value on a repeated request returns the original response rather than executing the operation again — useful for safely retrying after a network failure.
Request tracking
Every API response includes aRequestId header. Include this value when contacting support so requests can be traced end to end.
Responses
All responses follow a consistent structure. Thesuccess field indicates whether the operation succeeded, and Paybyrd-specific result codes are returned in paybyrdCode and paybyrdDescription.
200 for success, 400 for invalid input, 401 for missing or invalid authentication, 403 for insufficient permissions, and 404 for resources not found.
Pagination
Endpoints that return collections support pagination. PasspageNumber and pageSize as query parameters to control which page is returned. Responses include a pagination object:

