Skip to Content
Docs

Postman collections

Import Pay.com's official Postman collections to send test API requests without writing code.

Import Pay.com's official Postman collections to explore and test API endpoints without writing code.

Choose a collection

Select the collection that matches how you want to test:

Every Pay.com REST endpoint in Postman format.

Right-click the API reference collection and select Save Link As to download it.

Import into Postman

You can use either the Postman desktop app or the web app:

  1. Open Postman and select Import.
  2. Drag the downloaded JSON file into the dialog, or select Upload Files.
  3. Select Import to add the collection to your Collections sidebar.

Configure collection variables

Set the base URL and API key variables before sending requests (both collections use the same variable names):

  1. Select the collection in the sidebar to open its overview.
  2. Open the Variables tab and set:
VariableValue
pay_base_urlhttps://api.sandbox.pay.com/v1
pay_api_keyYour sandbox key (sk-pay-com-sandbox-…)
  1. Select Save.

Both collections send pay_api_key with HTTP Basic auth, as the password with an empty username. Create your key under Developers → API keys in the Pay.com dashboard.

Use a sandbox key while testing. Never paste a live key into shared Postman workspaces or version-controlled environments.

Make requests

Open any request in the collection and select Send. In Curated flows, most requests have saved example responses, so you can preview what to expect before you send them.

Was this page helpful?