Set up your account
Onboard with Pay.com, access your sandbox workspace, create API keys, and make your first request.
Pay.com onboards merchants through a guided process to configure your integration path, payment methods, and acquiring setup before you go live. Reaching a working sandbox typically takes a few days, and live access opens once underwriting is complete.
Onboarding process
Follow these steps to get sandbox access and complete underwriting.
- 1
Contact the Pay.com team
Reach out through Contact Sales. Pay.com's team reviews your payment setup, required payment methods, and target markets to recommend an integration path and acquiring configuration.
- 2
Underwriting and commercial agreement
Before Pay.com turns on live for your account, its underwriting team reviews your company information, Ultimate Beneficial Owner (UBO) details, and director information while your commercial agreement is finalized. Live access opens once both are complete. See Go live.
- 3
Access your sandbox
While underwriting is in progress, Pay.com creates a sandbox account with API keys, webhook configuration, transaction logs, and a pre-configured Pay.com dashboard so your team can start integrating immediately. The Pay.com implementation team supports your integration throughout this phase.
Technical setup
Once you have sandbox access, configure your workspace and make your first API call.
- 1
Choose your integration path
Select the integration path that fits your UI requirements and PCI DSS scope: Universal checkout, Headless checkout, Tokenization, or the server-to-server API. Find your use case compares them, with the PCI DSS scope of each.
- 2
Review your workspace
Review the structure Pay.com configured with you during onboarding in the Pay.com dashboard:
- Workspaces: Separate transactions, routing rules, and reporting by brand, region, or operational unit.
- Settlement accounts: Connections to each acquirer or payment provider.
- Orchestration: Multiple settlement accounts in one workspace for routing and failover.
- 3
Get your API key
Your backend authenticates every request with a secret API key.
- In the Pay.com dashboard, go to Developers → API keys and create a sandbox key. Copy the secret immediately, because it's shown only once. See API keys.
- Send the key with HTTP Basic auth, as the password with an empty username. See Authentication.
- Match the base URL to your key's environment:
- Sandbox:
https://api.sandbox.pay.com/v1with ansk-pay-com-sandbox-key - Live:
https://api.pay.com/v1with ansk-pay-com-live-key
- Sandbox:
- If you use Pay.com.js, note your merchant ID from the Developers tab to pass as
identifierinPay.com({ identifier }).
- 4
Make your first request
Choose your first endpoint based on your integration path.
Integration path First endpoint Guide Universal or Headless checkout ( Pay.com.js)POST /v1/sessions/paymentCreate your first payment Tokenization ( Pay.com.js)POST /v1/sessions/tokenizationTokenize a card Server-to-server API (SAQ-D) POST /v1/chargesorPOST /v1/holdsCreate a charge Include a unique V4 UUID in the
idempotency-keyheader of eachPOSTrequest that creates or changes something, and send the same key when you retry.When you create a payment session, we recommend passing the customer's email as
billing_details.email. It isn't required to open a session, but 3D Secure needs it, and when it's set, Pay.com.js doesn't ask the customer for it at checkout.
Test and go live
Validate your integration in the sandbox with test cards, simulate endpoints, and webhooks (see Test your integration). Once underwriting is complete and Pay.com turns on live for your account, follow the Go live checklist to switch your endpoints and keys.
Next steps
Take a test payment, then set up the pieces your integration needs.
- Create your first payment: End-to-end sandbox walkthrough using a payment session and Pay.com.js.
- Pay.com.js reference: Install and initialize Pay.com.js.
- Webhooks: Set up webhook endpoints and verify signatures.
- API reference: Explore all REST endpoints.