Skip to main content

Overview

The Merchant endpoints allow you to create, update, and manage merchant accounts within your application. Merchants can be created in real-time, enabling your users to start accepting payments immediately without leaving your platform.
Merchants pay a flat rate of 2.9% + 30¢ per transaction with no hidden fees or surprise charges.

Key Features

Real-Time Creation

Create merchant accounts instantly without manual approval

Complete Management

Update settings, bank info, and preferences programmatically

Instant Funding

Eligible merchants can receive funds instantly with qualified debit cards

Available Endpoints

Quick Start

Create a Merchant

curl -X POST https://api.digitzs.com/merchants \
  -H "Authorization: Bearer your-app-token" \
  -H "x-api-key: your-api-key" \
  -H "appId: your-app-id" \
  -H "Content-Type: application/json" \
  -d '{
    "data": {
      "type": "merchants",
      "attributes": {
        "businessInfo": {
          "businessName": "Acme Corporation",
          "businessType": "LLC",
          "taxId": "12-3456789",
          "phoneNumber": "555-123-4567",
          "website": "https://acme.example.com"
        },
        "contactInfo": {
          "firstName": "John",
          "lastName": "Doe",
          "email": "john@acme.example.com",
          "phone": "555-123-4567"
        },
        "address": {
          "street": "123 Main St",
          "city": "San Francisco",
          "state": "CA",
          "postalCode": "94105",
          "country": "US"
        },
        "bankInfo": {
          "accountName": "Acme Corporation",
          "accountNumber": "1234567890",
          "routingNumber": "026009593",
          "accountType": "checking"
        }
      }
    }
  }'

List Merchants

curl -X GET https://api.digitzs.com/merchants \
  -H "Authorization: Bearer your-app-token" \
  -H "x-api-key: your-api-key" \
  -H "appId: your-app-id"

Merchant Lifecycle

Merchant Data Structure

Business Information

FieldDescription
businessNameLegal business name
businessTypeEntity type (LLC, Corporation, Sole Proprietor, etc.)
taxIdFederal Tax ID or EIN
phoneNumberBusiness phone number
websiteBusiness website URL (optional)

Contact Information

FieldDescription
firstNameContact person’s first name
lastNameContact person’s last name
emailContact email address
phoneContact phone number

Bank Information

FieldDescription
accountNameName on the bank account
accountNumberBank account number
routingNumberBank routing number (ABA)
accountTypeAccount type (checking or savings)

Address Information

FieldDescription
streetStreet address
cityCity name
stateState code (2 letters)
postalCodeZIP or postal code
countryCountry code (2 letters, e.g., US)

Address Verification Service (AVS)

AVS helps prevent fraud by verifying the cardholder’s billing address matches the address on file with the card issuer.

AVS Modes

ModeDescription
strictReject transactions if AVS check fails
moderateFlag suspicious transactions but allow processing
lenientLog AVS results but don’t block transactions
offDisable AVS checking
Disabling AVS increases fraud risk. Use strict or moderate mode for best security.

Merchant Status

StatusDescription
activeMerchant can accept payments
pendingAccount under review
suspendedAccount temporarily disabled
closedAccount permanently closed

Testing

Test Mode

When using test credentials, you can create test merchants without real business verification:
{
  "data": {
    "type": "merchants",
    "attributes": {
      "businessInfo": {
        "businessName": "Test Business",
        "businessType": "Sole Proprietor",
        "taxId": "00-0000000"
      },
      ...
    }
  }
}

Revenue Sharing

As a platform using Digitzs, you earn revenue on every transaction processed by your merchants:
Configure your platform fee percentage or fixed amount per transaction. Fees are automatically deducted and deposited to your account.
Use split payments to automatically distribute funds between the merchant and your platform without manual invoicing.
Track your platform revenue in real-time with detailed reporting and analytics.

Compliance and Verification

KYC Requirements

Merchants must provide valid business and identity information for compliance

Bank Verification

Bank account details are verified during merchant onboarding

Tax Reporting

Digitzs handles tax reporting and 1099 generation for merchants

Risk Management

Automated fraud detection and risk assessment for all merchants

Best Practices

  • Verify email addresses are valid
  • Validate phone numbers are properly formatted
  • Check tax IDs match business entity type
  • Ensure routing numbers are valid ABA numbers
  • Save the returned merchant ID with your user record
  • Use the merchant ID for all payment operations
  • Don’t expose internal merchant IDs to end users
  • Some fields cannot be updated after creation
  • Bank info updates may require reverification
  • Notify merchants of any changes to their account
  • Regularly check merchant account status
  • Handle suspended or closed accounts appropriately
  • Notify merchants of any status changes

Common Use Cases

  • Marketplace
  • Booking Platform
  • Affiliate Platform
Scenario: Multi-vendor marketplace where sellers need to accept paymentsImplementation:
  1. Create merchant account when seller registers
  2. Store merchant ID with seller profile
  3. Use merchant ID when processing orders
  4. Use split payments to collect platform fees
Benefits:
  • Sellers get paid directly
  • Automatic fee collection
  • No manual payouts needed

Error Handling

Common merchant creation errors and solutions:
ErrorCauseSolution
Invalid Tax IDTax ID format incorrectVerify format matches entity type
Invalid Routing NumberRouting number not recognizedUse valid 9-digit ABA routing number
Duplicate MerchantEmail or Tax ID already usedCheck for existing merchant account
Missing Required FieldRequired field omittedInclude all mandatory fields

Next Steps

1

Create Test Merchant

Use test credentials to create a merchant account
2

Store Merchant ID

Save the merchant ID with your user record
3

Process Test Payment

Use the merchant ID to process a test payment
4

Verify Settlement

Check that funds are properly distributed

Additional Resources