Skip to main content

Overview

Before you can create payment links and accept payments, you must complete merchant validation. This is a one-time process required for both sandbox and production environments.
Required Step: You cannot create payment links without completing merchant validation, even in sandbox mode.

Why Merchant Validation?

You must complete merchant validation before creating payment links. This ensures legal compliance and security.

Validation Process

  1. Go to OCPay Merchant Info
  2. Fill in your business information
  3. Upload required documents
  4. Wait 1-3 business days for approval

After Validation

Once approved, you can: ✅ Create payment links (sandbox and production)
✅ Accept real payments from customers
✅ Withdraw funds to your bank account
✅ Access full OCPay features

Get Your API Keys

  1. Log into oneclickdz.com
  2. Navigate to API settings
  3. Copy your keys:
    • Sandbox Key: For testing (no real money)
    • Production Key: For real transactions
Never expose API keys in frontend code or public repositories!

Store Keys Securely

# .env file (add to .gitignore)
ONECLICK_API_KEY=your_api_key_here

Common Issues

  • 403 Forbidden: Merchant validation not approved yet
  • Invalid API Key: Check for typos or extra spaces
  • Taking too long: Check email for document requests or contact support

Next Steps

Continue to Payment Flow

Learn how to create payment links and handle orders