Merchant Onboarding
Set up merchants and stores on the Surfboard platform. Walk through the full onboarding flow from merchant creation to KYB completion and store setup.
Overview
Merchant onboarding is the first step before accepting payments on Surfboard. The process creates a merchant profile, triggers a Know Your Business (KYB) verification, and sets up the merchant’s store. You can onboard merchants for both in-store and online payments using the same API endpoint.
The typical flow is:
- Create Merchant — submit business details and receive a KYB application link
- KYB Process — the merchant completes their application via the hosted KYB page
- Check Application Status — poll for the application result or listen for webhooks
- Store Setup — optionally create additional stores after onboarding completes
Prerequisites
Before onboarding merchants:
- Create a developer account at the Developer Portal
- Obtain your
partnerIdfrom the Developer Portal Console - Generate API credentials (API key and secret)
Step 1: Create a Merchant
Send a POST request to the Create Merchant endpoint with the merchant’s business details. The same endpoint handles both in-store and online merchants — the difference is whether you include onlineInfo in the store configuration.
POST /partners/{partnerId}/merchants
In-Store Merchant
A minimal request for an in-store merchant with a physical store created during onboarding:
{
"country": "SE",
"organisation": {
"corporateId": "1234567812"
},
"controlFields": {
"store": {
"name": "Main Street Store",
"email": "store@example.com",
"phoneNumber": {
"code": "46",
"number": "701234567"
},
"address": {
"addressLine1": "Main Street 123",
"city": "Stockholm",
"countryCode": "SE",
"postalCode": "123 45"
}
}
}
}
Online Merchant
For online payments, add the onlineInfo object to the store. This includes your webshop URL, terms and conditions, and privacy policy:
{
"country": "SE",
"organisation": {
"corporateId": "1234567812"
},
"controlFields": {
"store": {
"name": "My Webshop",
"email": "shop@example.com",
"phoneNumber": {
"code": "46",
"number": "701234567"
},
"address": {
"addressLine1": "Main Street 123",
"city": "Stockholm",
"countryCode": "SE",
"postalCode": "123 45"
},
"onlineInfo": {
"merchantWebshopURL": "https://shop.example.com",
"paymentPageHostURL": "https://pay.example.com",
"termsAndConditionsURL": "https://shop.example.com/terms",
"privacyPolicyURL": "https://shop.example.com/privacy"
}
}
}
}
Response
A successful request returns an applicationId and a webKybUrl for the merchant to complete their KYB application:
{
"status": "SUCCESS",
"data": {
"applicationId": "abc123-def456",
"webKybUrl": "https://kyb.surfboardpayments.com/application/abc123-def456"
},
"message": "Application created successfully"
}
Share the webKybUrl with the merchant. They will use it to complete the KYB verification.
Key Fields
| Field | Description |
|---|---|
country | Two-letter ISO country code (e.g., SE, DK, NO). Required. |
organisation.corporateId | The merchant’s corporate/organisation number. Required. |
organisation.legalName | Legal name. Mandatory for Payment Facilitator (PF) partners. |
organisation.mccCode | Merchant Category Code. Mandatory for PF partners. |
controlFields.store | Include to create a store during onboarding (recommended). |
controlFields.showProductCatalogue | Set true to show terminal catalogue during KYB. |
controlFields.preSelectProducts | Pre-select terminals to ship automatically. |
controlFields.redirectUrl | URL to redirect to after KYB submission. |
controlFields.generateShortLink | Set true to receive a shortened KYB URL. |
Pre-Selecting Terminals
You can pre-select devices for automatic shipment using preSelectProducts, or let the merchant choose from a catalogue by setting showProductCatalogue to true and optionally filtering with displayProducts:
{
"controlFields": {
"showProductCatalogue": true,
"preSelectProducts": [
{
"productId": "PRODUCT_ID",
"quantity": "2",
"pricingPlanId": "PLAN_ID"
}
]
}
}
Step 2: KYB Process
After receiving the webKybUrl, the merchant completes a four-section application:
- About — company information, ownership details (UBOs and signatories)
- Store Information — store name, address, business details, and optionally online payment info
- Bank Information — IBAN, BIC, and a bank statement upload for verification
- Product Selection — terminal and accessory selection with quantities
After review and submission, all signatories and UBOs receive a link to digitally sign the application. The compliance team typically reviews applications within 3-4 business days.
Tip: Use
controlFields.preEnteredInformationto pre-fill parts of the KYB form (opening hours, estimated sales, etc.) and reduce friction for the merchant.
Step 3: Check Application Status
Poll the application status to track progress:
GET /partners/{partnerId}/merchants/{applicationId}/status
{
"status": "SUCCESS",
"data": {
"applicationId": "abc123-def456",
"applicationStatus": "MERCHANT_CREATED",
"merchantId": "m-789",
"storeId": "s-012"
},
"message": "Application status retrieved"
}
Application Statuses
| Status | Description |
|---|---|
APPLICATION_INITIATED | Application created, KYB not yet completed. |
APPLICATION_SUBMITTED | Merchant submitted the KYB form. |
APPLICATION_PENDING_INFORMATION | Additional information required from the merchant. |
APPLICATION_SIGNED | All signatories have signed. |
APPLICATION_COMPLETED | Compliance review passed. |
APPLICATION_REJECTED | Application was rejected. |
APPLICATION_EXPIRED | Application expired before completion. |
MERCHANT_CREATED | Merchant and store are live. merchantId and storeId are returned. |
Tip: You can also receive status updates via webhooks instead of polling. Configure webhooks in the Developer Portal Console.
Step 4: Create Additional Stores
A default store is typically created during onboarding. If the merchant needs additional stores, use the Create Store API:
POST /partners/{partnerId}/merchants/{merchantId}/stores
{
"storeName": "Second Location",
"email": "store2@example.com",
"phoneNumber": {
"code": 46,
"number": "709876543"
},
"address": "Second Street 456",
"city": "Gothenburg",
"zipCode": "411 01",
"country": "SE"
}
For an online store, add onlineInfo with your webshop URLs:
{
"storeName": "Online Store",
"email": "online@example.com",
"phoneNumber": {
"code": 46,
"number": "709876543"
},
"address": "Main Street 123",
"city": "Stockholm",
"zipCode": "103 16",
"country": "SE",
"onlineInfo": {
"merchantWebshopURL": "https://shop.example.com",
"termsAndConditionsURL": "https://shop.example.com/terms",
"privacyPolicyURL": "https://shop.example.com/privacy"
}
}
Domain Verification (Online Stores)
Online stores in production require domain verification before they can process payments:
- Get verification keys — returned in the Create Store response (
merchantURLDomainVerificationKeyandpaymentPageURLDomainVerificationKey) - Add DNS TXT record — add the verification key as a TXT record on your domain
- Trigger verification — Surfboard checks automatically every 6 hours, or use the Verify Domain API to trigger it manually
- Monitor status — use the Fetch Store Details API to check the
onlineOnboardingStatusfield
Note: Domain verification is only required in production (not in demo/sandbox). A verified domain applies to all merchants under the same partner account.
Reference
- Create Merchant API
- Check Application Status API
- Create Store API
- Verify Domain API
- Webhook Reference
- Developer Portal
Other Guides
Tap to Pay on iPhone SDK
Accept contactless payments directly on iPhone. Complete integration guide for Surfboard's iOS SoftPOS SDK -- from setup to production.
Android SoftPOS SDK
Turn Android devices into payment terminals with the Surfboard Android SoftPOS SDK. Complete integration guide from setup to production.
EMV Terminal Integration
Integrate traditional card-present terminals through Surfboard's unified API. From account setup to live payments in one guide.
Payment Page
Redirect customers to a Surfboard-hosted checkout page. The fastest way to accept online payments with minimal integration effort.
Inter-App Integration
Integrate your POS app with CheckoutX using native app switch. Register terminals, process payments, and scan NFC tags through a bi-directional deep link flow.
Self-Hosted Checkout
Embed a payment form directly in your web app with the Surfboard Online SDK. Full UI control with Surfboard handling PCI compliance.
Server-to-Server API
Process online payments entirely from your backend with Merchant Initiated Transactions. Full control over recurring payments, subscriptions, and tokenized card flows.
Create an Order
Learn how to create orders with line items, tax, customer details, and control functions. The starting point for accepting payments with the Surfboard API.
Payment Lifecycle
Manage the full payment lifecycle from order creation through capture, void, cancel, and refund operations using the Surfboard Payments API.
Capture a Payment
Finalize a previously authorized payment by capturing funds. Covers delay capture and pre-authorization flows with step-by-step API examples.
Terminal & Device Management
Manage payment terminals and devices via the Surfboard API. Register in-store and online terminals, configure settings, and handle device operations.
Cancel a Payment
Stop an in-progress payment before it completes. Use cancellation when a customer abandons checkout or a payment needs to be halted mid-process.
Webhooks & Notifications
Receive real-time event notifications via webhooks, email, Slack, and SFTP. Subscribe to payment events and settlement reports for merchants and partners.
Recurring Payments
Implement subscription billing and recurring charges using tokenization, recurring payment configuration, and Merchant Initiated Transactions.
Void a Payment
Reverse a completed payment before settlement. Voiding stops funds from transferring to the merchant's account, avoiding incorrect transactions.
Receipts
Generate, email, print, and customise receipts for in-store transactions using the Surfboard Receipts API.
Refund an Order
Process a full refund by creating a return order with negative quantities. Covers the complete refund flow with API examples and payment method requirements.
Partial Refund
Refund specific items or a reduced amount from a completed order. Process partial returns by creating a return order with only the items to be refunded.
Tips Configuration
Configure tipping on Surfboard payment terminals at the merchant, store, or terminal level using a hierarchical override model.
NFC Tag Reading
Use the NFC Reading API to create tag-reading sessions on payment terminals, scan NFC/RFID-tagged products, and retrieve scanned tag data.
Partial Payments
Split an order across multiple payment methods or transactions. Accept card, cash, and Swish in any combination to settle a single order.
Multi-Merchant Terminals
Set up shared payment terminals for multiple merchants using the Multi-Merchant Group API. Ideal for food courts, events, and co-located businesses.
Store Management
Create, update, verify, and manage in-store and online stores using the Surfboard Payments Store APIs.
Gift Cards & Promotions
Issue and manage gift cards, track transactions, and create marketing promotions using the Surfboard Payments APIs.
Product Catalog
Create and manage product catalogs, products, variants, inventory levels, and analytics through the Catalog API.
Settlements & Reporting
Retrieve settlement reports, view adjustments, manage merchant charges, and register customer profiles for reconciliation and billing.
Account & Service Provider Management
Create merchant and partner accounts, manage user roles, register service providers, and configure external notifications via the Surfboard API.
Payment Methods
Activate, deactivate, and list payment methods for a merchant. Manage card, Swish, Klarna, AMEX, Vipps, MobilePay, and more via the API or Partner Portal.
Client Auth Tokens
Generate client-side authentication tokens for secure API access from browsers and mobile apps without exposing your API key or secret.
Partner Branding
Configure white-label branding for terminals and payment pages. Set colors, fonts, logos, and cover images at the partner level via API or Partner Portal.
Ready to get started?
Create a sandbox account and start building your integration today.