S
docs.syncra.money

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

  1. Open Postman → Import.
  2. Drag in the syncra-openapi.yaml file (or pick it via File).
  3. Postman generates a collection with every endpoint, request/response schemas, and environment variables.
  4. Create an environment with base_url = https://api.syncra.money and merchant_token set to your API key.

Import into Insomnia

  1. Open Insomnia → Create → Import From → File.
  2. Select syncra-openapi.yaml.
  3. 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.yaml

If 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.

On this page