Developers Guides Tips Configuration

Tips Configuration

Configure tipping on Surfboard payment terminals at the merchant, store, or terminal level using a hierarchical override model.

In-Store API Tips Configuration Terminal

Overview

Surfboard Payments provides flexible tipping capabilities across all native Android payment terminals, including SurfTouch, SurfPad, SurfPrint, and SoftPOS. You can enable tips, define preset percentage options, allow custom amounts, and control how tip values are displayed to customers — all through the API.

Tip settings follow a hierarchical model. Configuration set at a higher level acts as the default for everything below it, while lower-level settings override higher-level ones. This lets you define a baseline across your entire merchant account and then fine-tune individual stores or terminals as needed.

Configuration Hierarchy

Settings cascade downward and lower levels always take precedence:

Partner (default)
  └── Merchant
        └── Store
              └── Terminal (highest priority)

How the hierarchy works:

  • If a terminal has its own tip config, that config is used — regardless of what is set at the store, merchant, or partner level.
  • If a terminal has no config, the system checks the store level, then the merchant level, and finally falls back to the partner-level default.
  • Each parameter is resolved independently. You can set tipLevel1 at the merchant level and override only tipLevel2 at a specific store.

Configuration Parameters

All three levels (merchant, store, terminal) accept the same set of parameters:

ParameterTypeDescription
tipConfigstringEnable or disable tips. Values: ENABLED, DISABLED.
tipLevel1numberFirst preset tip percentage shown to the customer (e.g., 10 for 10%).
tipLevel2numberSecond preset tip percentage (e.g., 20 for 20%).
tipLevel3numberThird preset tip percentage (e.g., 30 for 30%).
freeAmountEnabledbooleanWhen true, customers can enter a custom tip amount.
defaultCustomAmountnumberPre-filled custom amount shown when freeAmountEnabled is true.
displayCalculatedAmountstringShow the calculated tip in the local currency on screen. Values: ENABLED, DISABLED.
tipDisplayFormatstringHow tip options are presented. Values: PERCENTAGE, AMOUNT.

Note: All parameters are optional on every request. You can update a single field without resending the entire configuration. The system merges your changes with the existing config.

Setting Merchant-Level Tips

Apply a tip configuration to all terminals registered under a merchant. This is the best starting point when you want a consistent tipping experience across every location.

PATCH /merchants/{merchantId}/tips

Request body:

{
  "tipConfig": "ENABLED",
  "tipLevel1": 10,
  "tipLevel2": 15,
  "tipLevel3": 20,
  "freeAmountEnabled": true,
  "defaultCustomAmount": 50,
  "displayCalculatedAmount": "ENABLED",
  "tipDisplayFormat": "PERCENTAGE"
}

Response:

{
  "status": "SUCCESS",
  "message": "Merchant tip configuration updated successfully"
}

Fetching Merchant-Level Tips

Retrieve the current tip configuration for a merchant.

GET /merchants/{merchantId}/tips

Response:

{
  "status": "SUCCESS",
  "data": {
    "tipConfig": "ENABLED",
    "tipLevel1": 10,
    "tipLevel2": 15,
    "tipLevel3": 20,
    "defaultCustomAmount": 50,
    "displayCalculatedAmount": "ENABLED",
    "tipDisplayFormat": "PERCENTAGE"
  },
  "message": "Merchant tip configuration fetched successfully"
}

Setting Store-Level Tips

Override the merchant defaults for a specific store. Useful when different locations have different tipping norms — for example, a restaurant store might offer higher preset percentages than a retail store under the same merchant.

PATCH /merchants/{merchantId}/stores/{storeId}/tips

Request body:

{
  "tipConfig": "ENABLED",
  "tipLevel1": 15,
  "tipLevel2": 20,
  "tipLevel3": 25
}

Response:

{
  "status": "SUCCESS",
  "message": "Store tip configuration updated successfully"
}

Fetching Store-Level Tips

GET /merchants/{merchantId}/stores/{storeId}/tips

Response:

{
  "status": "SUCCESS",
  "data": {
    "tipConfig": "ENABLED",
    "tipLevel1": 15,
    "tipLevel2": 20,
    "tipLevel3": 25,
    "defaultCustomAmount": 50,
    "displayCalculatedAmount": "ENABLED",
    "tipDisplayFormat": "PERCENTAGE"
  },
  "message": "Store tip configuration fetched successfully"
}

Note: The response includes all effective values, including those inherited from the merchant level (such as defaultCustomAmount and displayCalculatedAmount in this example).

Setting Terminal-Level Tips

Apply a tip configuration to a single terminal. Terminal-level settings have the highest priority and override everything above them.

PATCH /merchants/{merchantId}/terminals/{terminalId}/tips

Request body:

{
  "tipConfig": "ENABLED",
  "tipLevel1": 5,
  "tipLevel2": 10,
  "tipLevel3": 15,
  "freeAmountEnabled": false,
  "tipDisplayFormat": "AMOUNT"
}

Response:

{
  "status": "SUCCESS",
  "message": "Terminal tip configuration updated successfully"
}

Fetching Terminal-Level Tips

GET /merchants/{merchantId}/terminals/{terminalId}/tips

Response:

{
  "status": "SUCCESS",
  "data": {
    "tipConfig": "ENABLED",
    "tipLevel1": 5,
    "tipLevel2": 10,
    "tipLevel3": 15,
    "freeAmountEnabled": false,
    "displayCalculatedAmount": "ENABLED",
    "tipDisplayFormat": "AMOUNT"
  },
  "message": "Terminal tip configuration fetched successfully"
}

Example: Multi-Level Configuration

Consider a restaurant chain with one merchant account, two stores, and several terminals. The merchant enables tips at 10/15/20%, the fine dining store overrides to 15/20/25%, and the bar terminal at that store switches to amount display with no custom entry:

Merchant "Nordic Bistro Group"  → ENABLED, 10/15/20%, PERCENTAGE
  └── Store "Casual Eatery"     → inherits merchant config
        └── Terminal "Checkout 1"  → 10% / 15% / 20%, PERCENTAGE
        └── Terminal "Checkout 2"  → 10% / 15% / 20%, PERCENTAGE
  └── Store "Fine Dining"       → overrides to 15/20/25%
        └── Terminal "Table POS"   → 15% / 20% / 25%, PERCENTAGE
        └── Terminal "Bar POS"     → 15% / 20% / 25%, AMOUNT, no custom

Each terminal resolves its effective config by merging all levels, with the most specific setting winning.

API Quick Reference

OperationMethodEndpoint
Set merchant tipsPATCH/merchants/{merchantId}/tips
Fetch merchant tipsGET/merchants/{merchantId}/tips
Set store tipsPATCH/merchants/{merchantId}/stores/{storeId}/tips
Fetch store tipsGET/merchants/{merchantId}/stores/{storeId}/tips
Set terminal tipsPATCH/merchants/{merchantId}/terminals/{terminalId}/tips
Fetch terminal tipsGET/merchants/{merchantId}/terminals/{terminalId}/tips

For full endpoint details, see the Terminals API and Merchants API reference documentation.

Other Guides

in-store

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.

in-store

Android SoftPOS SDK

Turn Android devices into payment terminals with the Surfboard Android SoftPOS SDK. Complete integration guide from setup to production.

in-store

EMV Terminal Integration

Integrate traditional card-present terminals through Surfboard's unified API. From account setup to live payments in one guide.

online

Payment Page

Redirect customers to a Surfboard-hosted checkout page. The fastest way to accept online payments with minimal integration effort.

in-store

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.

online

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.

online

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.

online

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.

online

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.

online

Payment Lifecycle

Manage the full payment lifecycle from order creation through capture, void, cancel, and refund operations using the Surfboard Payments API.

online

Capture a Payment

Finalize a previously authorized payment by capturing funds. Covers delay capture and pre-authorization flows with step-by-step API examples.

in-store

Terminal & Device Management

Manage payment terminals and devices via the Surfboard API. Register in-store and online terminals, configure settings, and handle device operations.

online

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.

online

Webhooks & Notifications

Receive real-time event notifications via webhooks, email, Slack, and SFTP. Subscribe to payment events and settlement reports for merchants and partners.

online

Recurring Payments

Implement subscription billing and recurring charges using tokenization, recurring payment configuration, and Merchant Initiated Transactions.

online

Void a Payment

Reverse a completed payment before settlement. Voiding stops funds from transferring to the merchant's account, avoiding incorrect transactions.

in-store

Receipts

Generate, email, print, and customise receipts for in-store transactions using the Surfboard Receipts API.

online

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.

online

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.

in-store

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.

online

Partial Payments

Split an order across multiple payment methods or transactions. Accept card, cash, and Swish in any combination to settle a single order.

in-store

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.

online

Store Management

Create, update, verify, and manage in-store and online stores using the Surfboard Payments Store APIs.

online

Gift Cards & Promotions

Issue and manage gift cards, track transactions, and create marketing promotions using the Surfboard Payments APIs.

online

Product Catalog

Create and manage product catalogs, products, variants, inventory levels, and analytics through the Catalog API.

online

Settlements & Reporting

Retrieve settlement reports, view adjustments, manage merchant charges, and register customer profiles for reconciliation and billing.

online

Account & Service Provider Management

Create merchant and partner accounts, manage user roles, register service providers, and configure external notifications via the Surfboard API.

online

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.

online

Client Auth Tokens

Generate client-side authentication tokens for secure API access from browsers and mobile apps without exposing your API key or secret.

online

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.