Tools
SDK examples, the OpenAPI specification download, and interactive materials
Tools
SDK examples, the OpenAPI specification download, and interactive materials.
SDK examples
Ready-to-use code snippets for common integration scenarios — from your first request to parsing payment details from the payment page:
Import into Postman
- Open Postman → Import.
- Drag in the
syncra-openapi.yamlfile (or pick it via File). - Postman generates a collection with every endpoint, request/response schemas, and environment variables.
- Create an environment with
base_url=https://api.syncra.moneyandmerchant_tokenset to your API key.
Import into Insomnia
- Open Insomnia → Create → Import From → File.
- Select
syncra-openapi.yaml. - A workspace with ready-made requests for every endpoint is created.
OpenAPI specification
The complete machine-readable API specification — one file, always current: openapi.yaml. Use it to generate clients in any language, validate contracts in CI, or explore endpoint schemas.
curl -fsSL https://docs.syncra.money/openapi.yaml -o syncra-openapi.yamlIf the public URL is unavailable, the file ships with the docs distribution
(content/docs/api/merchant-api/openapi.yaml in the docs repository) —
ask the Syncra team for the current URL.
Interactive Try-it
Every endpoint in the API Reference opens on its own page with request and response schemas and a Try-it tab — you can send a real request with your own keys and see the live response without writing a line of code.
To authorize in Try-it, provide the X-Merchant-Token and X-Signature
headers (the HMAC-SHA256 signature of the request body — see
Authentication).
Real requests through Try-it only work if the API gateway has CORS
configured for your origin (https://api.syncra.money). The browser
blocks cross-origin requests without an Access-Control-Allow-Origin
header: the "Send" button returns a network error — in that case use
curl, the SDK examples, or server-side calls. CORS is not needed for a
server-side integration.