EMV Terminal Integration
Integrate traditional card-present terminals through Surfboard's unified API. From account setup to live payments in one guide.
Overview
Surfboard Payments lets you integrate traditional EMV card-present terminals through a single, unified API. Whether you are deploying countertop terminals, mobile POS devices, or kiosk setups, the integration follows the same workflow: create an account, get API credentials, build and test in the sandbox, then go live.
This guide walks you through the complete process from zero to accepting live in-store payments.
Step 1: Create a Developer Account
Sign up at the Surfboard Developer Portal to get started. A developer account gives you:
- Access to the Console for managing your integration
- A sandbox environment for building and testing
- The path to certification and live payments
No approval process required — you get instant sandbox access.
Step 2: Generate API Credentials
After creating your account, open the Console in the Developer Portal. From there you can:
- Generate your API-KEY and API-SECRET
- Configure webhooks
- Access logs and monitoring
- Manage terminals and merchants
Tip: You can also request test credentials through the Surfboard support team on Slack during onboarding.
Step 3: Understand Environments
Surfboard provides different environments for building and testing your integration:
| Environment | Supported Terminals | Cards Supported |
|---|---|---|
| Demo | All hardware terminals, Terminal Tester App, Mobile Checkout | Live cards can be used. Transactions are voided immediately after payment. |
| Live | All hardware terminals, Mobile Checkout | Live cards. Transactions are settled and you receive payouts. |
By default, you gain access to the demo environment when you create a developer account. Use it to build and test your integration with the Surfboard APIs and SDKs.
Note: For in-store payments, use the Terminal Tester App (available on Android) for payment simulations. It includes built-in success and failure test cards.
Step 4: Build Your Integration
Complete these steps in the demo environment before going live:
4.1 Merchant Onboarding
Set up your merchant hierarchy using the Merchants API and Stores API. Each merchant can have multiple stores, and each store can have multiple terminals.
4.2 Terminal Registration
Register your hardware terminals through the Terminals API. When registering a terminal, you provide:
- The
registrationIdentifier(printed on the terminal or provided during provisioning) - The
storeIdfor the store the terminal belongs to - A human-readable
terminalName
POST /merchants/:merchantId/stores/:storeId/devices
{
"registrationIdentifier": "250901",
"terminalName": "Checkout 1"
}
4.3 Accept Payments
Create orders and initiate payments using the Orders API. The Carbon API uses an orders-first workflow — create an order and initiate payment in a single call:
POST /merchants/:merchantId/orders
{
"terminal$id": "YOUR_TERMINAL_ID",
"orderLines": [
{
"id": "ITEM-001",
"name": "Coffee",
"quantity": 1,
"amount": {
"total": 4500,
"currency": "752"
}
}
],
"controlFunctions": {
"initiatePaymentsOptions": {
"paymentMethod": "CARD",
"amount": 4500
}
}
}
The terminal displays the payment UI automatically. The customer taps, inserts, or swipes their card. You receive the result via the API response or webhooks.
4.4 Post-Payment Operations
After payments are accepted, integrate post-payment functionality:
- Refunds — Use negative quantities in order lines
- Receipts — Send digital receipts via the Receipts API
- Reporting — Query order and payment history
Step 5: Certification & Go Live
Once your integration is built and tested in the demo environment:
- Sign the contract and receive approval
- Complete an onboarding call to test and certify your integration
- Receive production credentials
- Update your base URL from demo to production
- Start accepting live payments
Webhooks
Configure webhooks to receive real-time notifications about order and payment events. Key events include:
order.payment.completed— Payment was successfulorder.payment.cancelled— Payment was cancelledorder.payment.failed— Payment failedmerchant.application.completed— Merchant onboarding completed
Set up webhook endpoints in the Console under your developer account settings.
API Quick Reference
| API | Purpose |
|---|---|
| Merchants API | Create and manage merchants |
| Stores API | Create and manage stores |
| Terminals API | Register and manage terminals |
| Orders API | Create orders and initiate payments |
| Receipts API | Send digital receipts |
| Branding API | Customise terminal branding |
Reference
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.
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.
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.
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.