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
Customers
  • getGet customers
  • postCreate a customer
  • deleteDelete a customer
  • putEdit a customer
  • getGet a customer
  • postGet customer by payment token
  • getGet customer by ref id
  • postGet customer by reference number
Orders
  • postCreate an order
  • putEdit an order
  • postGet an order
  • getGet orders
  • postVoid an order
Recurring Payments
  • postCreate a billing config
  • getGet billing configs
  • deleteDelete a billing config
  • getGet items
  • postCreate an item
  • deleteDelete an item
  • postGet a recurring order
  • getGet plan orders
  • getGet plans
  • postCreate a plan
  • getGet a plan
  • putEdit a plan
  • putCancel a plan
  • putAdd plan cycles
  • putRecover current cycle
Ledger Accounts
  • getGet ledger accounts
Issuing
  • postGet a card full number
  • postActivate a card
  • postStart encrpytion session
  • getGet cards
  • getGet a card
  • putLock a card
  • putTerminate a card
  • putUnlock a card
  • getGet card limit histories
  • putEdit a card limits
  • postLink a card
  • getGet card transactions
Card Users
  • getPlatform transfer transaction list
  • postPlatform transfer
  • getGet a user
  • postCreate a user
  • putEdit a user
Payee
  • postCreate payee
  • deleteDelete (archive) payee
  • getGet payee
ECR
  • postSend command to terminal
  • postGet device info
Payout
  • postCreate payout request
  • getGet payout request
  • postCancel scheduled payout
  • getList payout requests
Payment Tokens
  • postGet business payment tokens
  • getGet customer payment tokens
  • deleteDelete a customer payment token
  • postCheck customer payment token state
  • postCreate customer wallet link
MIT Transactions
  • postCreate MIT transactions
  • getGet MIT transactions
  • getGet MIT transactions by ID
Transactions
  • postCreate a transaction
  • postCapture a transaction
  • postRefund a transaction
  • postCheck transaction status
  • getGet transactions
  • postVoid a transaction
SaaS Integration
  • postCreate an app token
  • postRefresh a token
  • postCreate a login QR code
  • getQuery login QR code status
API references home
Developers/API References/Orders
post/svc/payment/api/v1/openapi/orders

Create an order

Pre-creates an order on Wonder and returns the order number for the Payment SDK / ECR to complete payment, with an option to also generate a payment link.

Query parameters

with_payment_link
boolean

If you need create wonder payment link

Example: true

Header parameters

Signature
string

Example: good

Credential
string

Example: {{credential}}

x-request-id
string

Example: {{$string.uuid}}

x-i18n-lang
string

Example: zh-CN

Content-typerequired
string

Example: application/json

Request body · application/json

required
object
note
string

Note information for the order, needs to be less than 255 characters

tips
string

Additional tips to be paid by customers

Example: 0.00

object

The timeout logic only can be used by creating payment link

currencyrequired
string

Currency code, eg HKD

due_date
string

If this date is exceeded, the order will be automatically voided

Example: 2024-01-01

charge_feerequired
string

The amount you charge your customers

Example: 0.00

array<object>

If you wish to display additional line item information

redirect_url
string<url>

The redirection address after the payment link is completed

Example: https://yourservicemain/yourwebpage

object

Options to be displayed in the payment link

save_this_card
boolean

A flag that determines whether to offer tokenize card choise. This function is only triggered when set to true and customer is specified

is_only_pre_auth
boolean

Whether the order supports pre-authorization only

reference_numberrequired
string

Your side unique number

object
object
app_id
string<uuid>

Openapi appid for create order from ECR.

Example: 6c2bb3e7-e020-4a98-a085-819909ecffc4

customer_uuid
string<uuid>

Customer uuid created by customer API

Example: 437929be-dbed-48f1-971c-adbeb9c3e1f6

Responses

coderequired
number

Response code

object

Response data

required
object
payment_link
string

If you pass with_payment_link=true query params

Example: https://xxxxxxxxx

messagerequired
string

Response message

Request · cURL
curl -X POST "https://gateway-stg.wonder.today/svc/payment/api/v1/openapi/orders" \
  -H "Content-Type: application/json" \
  -H "Signature: <Signature>" \
  -H "Credential: <Credential>" \
  -H "x-request-id: <x-request-id>" \
  -H "x-i18n-lang: <x-i18n-lang>" \
  -d '{"order":{"note":"test note","currency":"HKD","charge_fee":"0.00","line_items":[{"label":"test item","price":"1.00","total":"1.00","quantity":1,"purchasable_type":"Listing"}],"reference_number":"P202603092010008"}}'
Request body example
{
  "order": {
    "note": "test note",
    "currency": "HKD",
    "charge_fee": "0.00",
    "line_items": [
      {
        "label": "test item",
        "price": "1.00",
        "total": "1.00",
        "quantity": 1,
        "purchasable_type": "Listing"
      }
    ],
    "reference_number": "P202603092010008"
  }
}
Response 200
{
  "data": {
    "order": {
      "due_date": "2024-01-01",
      "transactions": [
        {
          "type": "Sales"
        }
      ]
    },
    "payment_link": "https://xxxxxxxxx"
  }
}
PreviousGet customer by reference numberNext Edit an order
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