Wonder
Log in

For business owners & operators

Wonder App

Wonder App

Start Doing Business Now With One Super App

Wonder Dashboard

Wonder Dashboard

Manage Your Business With The Ultimate Platform

In person — face to face

Wonder Terminal

Wonder Terminal

Get Paid On The Spot With The Most Powerful Terminal

Wonder Lite

Wonder Lite

The pocket terminal for pop-ups & delivery

Wonder SoftPOS

Wonder SoftPOS

Turn your phone into a terminal

Wonder Transit X

Wonder Transit X

Purpose-built for transit & taxi

Manage money

Wonder Business Account

Wonder Business Account

One platform for your entire cash flow.

Wonder Card

Wonder Card

Pay Business Expenses The Way You Want With Zero Hassle

Wonder JCB CardWonder Card Promotions

Online & mobile

Wonder Checkout

Wonder Checkout

A hosted checkout that converts.

Wonder Payment Link

Wonder Payment Link

Get paid with a link. No code.

Wonder Mobile SDK

Wonder Mobile SDK

Embed payments inside your own app.

Wonder AppLibrary

Wonder AppLibrary

Add-on apps that extend Wonder.

Wonder for Banks, FIs and Enterprises

Wonder for Banks & Financial Institutions

Wonder for Banks & Financial Institutions

Payment infrastructure for regulated institutions

Wonder Payment Orchestration

Wonder Payment Orchestration

One API. Every payment method.

All products

Commerce & Hospitality

Restaurant

Table-side to takeaway, one platform

Retail & eCommerce

From single store to global storefront

Hotels

Check-in to check-out, one account

Mobility & Travel

Taxi

Payments built for the road

Buses & Ferries

Open-loop fares for public transport

EV Charging

Unattended payments that just work

Travel Agencies

Book, collect, and pay suppliers

Services & Enterprise

Healthcare

Payments that respect the patient

Insurance

Premiums, claims, and payouts

B2B

Invoices, terms, and bulk payouts

Real Estate & Property

Deposits, rent, and management fees

NGOs & Charities

Donations, memberships, and events

Sole Proprietors

Taxi Drivers

Get paid on every ride

Transportation Specialists

Delivery, logistics, and private hire

Teachers & Coaches

Lessons, courses, and memberships

Hawkers

Street stalls and market pitches

Professional Services Providers

Consultants, designers, and advisors

Explore every industry we serve

All industries

Blog

Product & industry stories

Press

Announcements

Media

Press coverage and news

Help Centre

Guides, FAQs and support

Developers

API & SDK docs

Internal Sales

Sales ops dashboard

About us

Our mission

Partners

Partner ecosystem

Careers

Join the team

Contact

Talk to sales

DocumentationAPI References
Introduction
  • Overview
Core Concepts
  • Authentication
  • Webhook
  • Environments
  • Error Handling
  • SaaS Platform Integration
Accepting Payments
  • Batch MIT Transactions
  • Payment Link
  • Recurring Payment
  • Payment ECR
  • Direct Payment
  • Payment SDK
    • Android SDK
    • Flutter SDK
    • iOS SDK
Payment Operations
  • Order Management
  • Customer Management
Treasury Scenarios
  • Card Issuing
  • Payout Management
Developer Resources
  • Test Cards
  • Advanced Query DSL
  • Payment References
Documentation home
DocumentationPayment OperationsCustomer Management

Customer Management

Store your payer's identity and their saved payment methods. The customer object connects your system to Wonder's payment infrastructure — use it when you need saved-card checkout, recurring billing, or batch MIT processing.

Workflow

  1. Call create a customerAPI create a customer profile. It is recommended to pass your system's unique reference_number; the API will return a customer UUID for further requests.
  2. Call update a customerAPI if you need to update a customer.
  3. Call get a customerAPI to retrieve details by UUID, or the get customersAPI to list customers by conditions.
  4. If save payment token is supported, call get customer payment tokensAPI to list all linked cards.
  5. Call get customer wallet linkAPIto generate a secure link and sent to customers that customer can self-manage their payment methods. Customer enters the card number, expiry date, and CVV on the link page. The system will then perform a HK$1.00 pre-authorization verification, followed by a redirect to the 3DS authentication page. Once authenticated, the card is successfully bound as a Payment Token.
  6. Associate with orders: When calling create an orderAPI, pass the customer_UUID to associate the order with the customer.

Customer

A customer represents a payer in your system. You can create orders without a customer, but if you need saved payment methods or recurring charges, Customer Management is required.

FieldRequiredDescription
UUIDOutputWonder-generated unique customer identifier. Use this UUID in all subsequent API calls — creating orders, fetching tokens, generating wallet links.
Reference_numberYesYour system's unique customer ID. Creating a customer with the same reference_number updates the existing record instead of creating a duplicate. Max 255 characters.
NameYesThe customer's display name. Max 255 characters.
EmailNoCustomer email address. Max 255 characters.
Dial_codeNoCountry calling code (e.g. +852 ). Max 6 characters.
PhoneYesCustomer phone number. Max 255 characters.
Company_nameNoCustomer's company name. When filled, linked_source_type becomes Store instead of User. Max 255 characters.
Default_payment_methodNoCredit Card,Wechat Pay,Alipay.
Default_payment_tokenNoUUID of a saved payment token to use as the customer's default. Must belong to this customer.
json
{
  "customer": {
    "name": "Chan Tai Man",
    "email": "chantaiman@example.com",
    "dial_code": "+852",
    "phone": "61234567",
    "company_name": "ABC Trading Ltd",
    "default_payment_method": "Credit Card",
    "reference_number": "CUST-20250629-001"
  }
}
TIP

Linked to orders: Pass customer_uuid when creating an order to associate it with a customer. The order then has access to the customer's saved payment tokens, and the Payment Link page shows saved cards for faster checkout.

Payment tokens

A payment token is a stored representation of a customer's card — created when the customer completes a payment via Payment Link, or Wallet Link. Once saved, you can reference the token in any subsequent API call instead of handling raw card numbers.

FieldRequiredDescription
Token_typeOutputThe type of saved payment method: CreditCard, WechatPayAutoDebit, or AliPayAutoDebit.
TokenOutputThe token value. Pass this in payment requests, recurring plans, or MIT batch files.
StateOutputCurrent state of the token (e.g. success). Check this before using the token for charges.
DefaultOutputWhether this token is the customer's default payment method.
NumberOutputMasked card number.
Exp_monthOutputExpiration month.
Exp_yearOutputExpiration year.
Holder_nameOutputName on the card.
BrandOutputCard network (e.g.Visa , Mastercard).
Billing_currencyOutputCurrency the card is billed in (e.g. HKD).
TIP

Where tokens are used: Recurring plans auto-charge the saved token on each billing cycle. Batch MIT expectstoken_id in each CSV row — use tokens instead of raw card details for better security and PCI compliance.

Wallet link

Generate a hosted URL where customers can self-manage their payment methods — add, view, or remove cards without involving your support team.

FieldRequiredDescription
Customer_uuidYesThe customer who owns this wallet.
Expires_atNoUTC timestamp when the link expires (e.g. 2026-01-01T01:02:03Z). After expiry the link is no longer accessible.
Redirect_urlNoWhere to redirect the customer when they click the Back button on the wallet page.
Exp_redirect_urlNoAuto-redirect to this URL when the link expires while the customer is on the page.
ModeNoSet to create_only to open the wallet directly in add-card mode, skipping the card list view. Requires redirect_url.
Options.hide_default_card_elementNoSet to true to hide the Set-as-default checkbox on the wallet UI.
text
POST /svc/payment/api/v1/openapi/customers/wallet/link

{
  "customer": {
    "customer_uuid": "feac5c50-010a-4582-a84a-673357245ffb",
    "expires_at": "2026-07-01T00:00:00Z",
    "redirect_url": "https://yourapp.com/payment-methods"
  }
}

// Response
{
  "data": {
    "konnect_link": "https://your.domain/wallet/abc123..."
  }
}
INFO

Typical flow: Create a customerAPI → generate a wallet linkAPI→ share the URL with the customer → customer adds a card → the card is saved as a payment token on their profile → use the token for one-click Payment Link checkout, Recurring plans, or Batch MIT files.

Related APIs

Create a customer wallet linkAPI

Generate a hosted URL where customers can self-manage their payment methods — add, view, or remove cards. Configure expiry, redirect URLs and optional create-only mode.

Create a customerAPI

Register a new customer using your reference_number as the unique key. Wonder returns a customer_uuid. If the reference_number already exists, the existing record is updated instead — this provides idempotent create-or-update behaviour.

Get customersAPI
Get a customerAPI

Look up a single customer by customer_uuid or reference_number. List all customers with optional filtering by linked_source_type (User for individuals, Store for companies). Paginated via offset / limit.

Edit a customerAPI

Edit a customer's profile by customer_uuid. All fields except reference_number can be changed. Payment tokens are not affected by profile edits.

Delete a customerAPI

Permanently remove a customer by customer_uuid. This operation is irreversible.

Get customer payment tokensAPI
Get business payment tokensAPI

List all saved cards for a customer by customer_uuid, or across your entire business. Optionally filter by token_type (Credit Card, Wechat Pay, Alipay). Each token can be used directly in order creation, recurring plans, or MIT batch files.

Delete a payment tokenAPI

Permanently remove a stored card by token_uuid, subsequent charges referencing a deleted token will fail — ensure no active recurring plan depends on it.

Check payment token stateAPI

Verify the current state of a token before using it for a charge.

PreviousOrder ManagementNext Treasury Scenarios

On this page

  • Workflow
  • Customer
  • Payment tokens
  • Wallet link
  • Related APIs
Wonder
SalesSupport
Products
  • Wonder App
  • Wonder Terminal
  • Wonder Lite
  • Wonder Dashboard
  • Wonder Card
  • Wonder SoftPOS
  • Wonder Transit X
  • Wonder Payment Orchestration
View all →
Industries
  • Restaurant
  • Healthcare
  • Retail & eCommerce
  • Taxi
  • Insurance
View all →
Resources
  • Blog
  • Press
  • Media
  • Developers
  • Help Centre
Company
  • About us
  • Partners
  • Careers
  • Contact

© 2026 Wonder. All rights reserved.

Privacy PolicyTerms & Conditions