Settlements & Reporting
Retrieve settlement reports, view adjustments, manage merchant charges, and register customer profiles for reconciliation and billing.
Overview
Once transactions are processed, you need visibility into what was settled, what fees were applied, and how to bill merchants for additional services. The Settlements and Reporting APIs give you that visibility.
This guide covers four related capabilities:
- Settlement reports — retrieve payout summaries for a merchant over a given period.
- Adjustments — view tips, surcharges, insurance, and other amounts applied to orders.
- Merchant charges — create, update, and list one-time or recurring charges billed to a merchant.
- Customer details — register customer profiles with addresses, contact information, and linked payment cards.
Prerequisites
- A valid
partnerIdandmerchantId - API credentials (API key, API secret)
Settlement Reports
Settlement reports summarize a merchant’s settled transactions for a selected time period. Reports can be configured as DAILY or MONTHLY depending on the merchant’s setup.
Fetch settlement reports
GET /partners/:partnerId/merchants/:merchantId/reports
Response:
{
"status": "SUCCESS",
"data": [
{
"payoutId": "po_83a1f...",
"merchantId": "m_91b2c...",
"transactionStartDate": "2026-01-01",
"transactionEndDate": "2026-01-31",
"settlementDate": "2026-02-03",
"reportType": "MONTHLY",
"url": "https://reports.surfboardpayments.com/settlements/po_83a1f...",
"totalSale": 1250000,
"totalRefund": 35000,
"fee": 18750,
"payout": 1196250
}
],
"message": "Settlement reports fetched successfully"
}
Response fields
| Field | Type | Description |
|---|---|---|
payoutId | string | Identifies this specific payout |
transactionStartDate | string | First transaction date covered (YYYY-MM-DD) |
transactionEndDate | string | Last transaction date covered (YYYY-MM-DD) |
settlementDate | string | Date the payout was issued (YYYY-MM-DD) |
reportType | string | MONTHLY or DAILY |
url | string | Direct link to view the full report |
totalSale | number | Total sales amount in smallest currency unit |
totalRefund | number | Total refunded amount |
fee | number | Total fees deducted |
payout | number | Net payout to the merchant |
Use the url field to download or redirect merchants to a detailed breakdown of every transaction in the settlement period.
Adjustments
Adjustments represent additional amounts applied to orders during a transaction — tips, surcharges, insurance payments, and similar line items. The Adjustments API lets you retrieve all adjustments at the merchant level for tracking and reconciliation.
Fetch adjustments
GET /partners/:partnerId/merchants/:merchantId/adjustments?startDate=2026-01-01&endDate=2026-01-31
Both startDate and endDate are required query parameters in YYYY-MM-DD format.
Response:
{
"status": "SUCCESS",
"data": [
{
"adjustmentId": "adj_44c2e...",
"adjustmentType": "TIP",
"amount": "2500"
},
{
"adjustmentId": "adj_55d3f...",
"adjustmentType": "SURCHARGE",
"amount": "1500"
}
],
"message": "Adjustments fetched successfully"
}
Response fields
| Field | Type | Description |
|---|---|---|
adjustmentId | string | Unique identifier for the adjustment |
adjustmentType | string | Type of adjustment (e.g. TIP, SURCHARGE, INSURANCE) |
amount | string | Adjustment amount in smallest currency unit |
Merchant Charges
Merchant charges let partners bill merchants for services, fees, or subscriptions. A charge can be one-time or recurring, and supports VAT.
Create a charge
POST /partners/:partnerId/merchants/:merchantId/charges
{
"description": "Monthly platform fee",
"currency": "752",
"amount": 5000000,
"vat": 35,
"billingDate": "2026-03-01",
"recurring": {
"frequency": "monthly",
"billingEndDate": "2027-03-01"
}
}
Response:
{
"status": "SUCCESS",
"data": {
"chargeId": "chg_72a4d..."
},
"message": "Charge created successfully"
}
Create charge request fields
| Field | Type | Required | Description |
|---|---|---|---|
description | string | Yes | Brief description of the charge |
currency | string | Yes | Three-digit ISO currency code |
amount | number | Yes | Charge amount in smallest currency unit |
vat | number | No | VAT amount |
billingDate | string | No | Effective date (YYYY-MM-DD) |
recurring.frequency | string | No | Billing frequency (see table below) |
recurring.billingEndDate | string | No | When to stop recurring charges (YYYY-MM-DD) |
Frequency options
| Value | Cycle |
|---|---|
daily | Every day |
twiceWeekly | Twice per week |
weekly | Every week |
tenDays | Every 10 days |
fortNightly | Every 2 weeks |
monthly | Every month |
everyTwoMonths | Every 2 months |
trimester | Every 4 months |
quarterly | Every 3 months |
twiceYearly | Every 6 months |
annually | Every year |
unscheduled | No fixed schedule |
Fetch a charge by ID
GET /partners/:partnerId/merchants/:merchantId/charges/:chargeId
The response includes subscription details, VAT, frequency, billing dates, and any associated subCharges. Sub-charges are individual billing instances generated from a recurring charge.
Key response fields:
| Field | Type | Description |
|---|---|---|
isSubscriptionCharge | boolean | Whether this is a recurring charge |
description | string | Charge description |
amount | number | Charge amount in smallest currency unit |
vat | number | VAT applied |
frequency | string | Billing frequency |
billingStartDate | string | Start date (ISO 8601) |
billingEndDate | string | End date (ISO 8601) |
subCharges | array | Individual billing instances with their own chargeId, amount, status, and billingDate |
Update a charge
Modify an existing charge’s amount, VAT, or recurring configuration:
PUT /partners/:partnerId/merchants/:merchantId/charges/:chargeId
{
"amount": 650000,
"vat": 15,
"recurring": {
"updateType": "onlyNext",
"billingEndDate": "2027-10-23"
}
}
The recurring.updateType field controls the scope of the update:
| Value | Behaviour |
|---|---|
onlyNext | Apply the change only to the next billing cycle |
allFuture | Apply the change to all future billing cycles |
List all merchant charges
GET /partners/:partnerId/merchants/:merchantId/charges
Returns a paginated list of all charges (one-time and recurring) for the merchant, including chargeId, description, amount, vat, status, billingDate, and whether the charge is subscription-based.
Customer Details
The Customer API lets you create and retrieve customer profiles. Profiles store personal information, addresses, contact details, and linked payment cards, enabling richer order data and streamlined checkout experiences.
Create a customer
POST /customers
{
"firstName": "John",
"middleName": "Doe",
"birthDate": "1990/03/04",
"countryCode": "SE",
"address": [
{
"addressLine1": "Storgatan 12",
"city": "Stockholm",
"countryCode": "SE",
"postalCode": "111 23",
"role": "shipping"
}
],
"phoneNumbers": [
{
"phoneNumber": {
"code": "46",
"number": "701234567"
},
"role": "own"
}
],
"emails": [
{
"email": "john.doe@example.com",
"role": "personal"
}
],
"cardIds": [
"824c514bfe001805f0"
]
}
Response:
{
"status": "SUCCESS",
"data": {
"customerId": "cust_61e3b..."
},
"message": "Customer created successfully"
}
Customer fields
| Field | Type | Required | Description |
|---|---|---|---|
firstName | string | No | Customer’s first name |
lastName | string | No | Customer’s last name |
birthDate | string | No | Date of birth (YYYY/MM/DD) |
countryCode | string | No | Two-letter ISO country code |
address | array | No | Array of address objects (shipping, billing, etc.) |
address.addressLine1 | string | Yes | Primary address line |
address.city | string | Yes | City |
address.countryCode | string | Yes | Two-letter ISO country code |
address.postalCode | string | Yes | Postal code |
address.role | string | No | Address purpose (shipping, billing) |
emails | array | No | Array of email objects with email and role |
phoneNumbers | array | No | Array of phone objects with nested phoneNumber (code, number) and role |
cardIds | array | No | Payment card identifiers to associate with the customer |
Fetch a customer
GET /customers/:customerId
Returns the full customer profile including all addresses, emails, phone numbers, and linked card IDs.
API Quick Reference
| Operation | Method | Endpoint |
|---|---|---|
| Fetch settlement reports | GET | /partners/:partnerId/merchants/:merchantId/reports |
| Fetch adjustments | GET | /partners/:partnerId/merchants/:merchantId/adjustments |
| Create merchant charge | POST | /partners/:partnerId/merchants/:merchantId/charges |
| Fetch charge by ID | GET | /partners/:partnerId/merchants/:merchantId/charges/:chargeId |
| Update merchant charge | PUT | /partners/:partnerId/merchants/:merchantId/charges/:chargeId |
| List all merchant charges | GET | /partners/:partnerId/merchants/:merchantId/charges |
| Create customer | POST | /customers |
| Fetch customer by ID | GET | /customers/:customerId |
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.
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.
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.