Resources
Postman and OpenAPI
The same API description that builds these pages, in formats your tools understand.
- Postman collectionPostman v2.1 · JSONEvery endpoint with example bodies, grouped like this reference. Uses {{baseUrl}} and {{apiKey}} variables and a fresh Idempotency-Key per request.
- OpenAPI specification (YAML)OpenAPI 3.1Machine-readable description of every endpoint, schema and error. Use it with code generators, mock servers or API clients.
- OpenAPI specification (JSON)OpenAPI 3.1The same specification in JSON.
Use the Postman collection
- In Postman choose Import and select the downloaded file.
- Open the collection's Variables tab and paste your test key into
apiKey. SetbaseUrltohttps://sandbox.paysef.com/api/v1while you test; when you go live, set it back tohttps://api.paysef.com/api/v1and use your live key. - Send List services to check your key, then try a purchase.
Do not share a collection with your key in it
Postman can sync variables to its cloud and include them in exports. Store keys as secret variables, or in a local environment, and use a test key while exploring.