Onerway
POST

List payment links

Use this endpoint to retrieve paginated payment links and their visit, payment, and collected amount statistics.

Request

merchantNo
Merchant number assigned by Onerway. See Setup for how to obtain it.
Example:
linkStatus
Payment link status filter. Omit this field to query all payment links.
Example:
Allowed values
1
Enabled.
0
Disabled.
Constraints
Values
Submit numeric 1 or 0; do not submit boolean true or false for this list query.
keywords
Keyword filter. Supports fuzzy matching by Payment Link ID or goods name.
startTime
Start of the payment link creation-time range in yyyy-MM-dd HH:mm:ss format.
Example:
endTime
End of the payment link creation-time range in yyyy-MM-dd HH:mm:ss format.
Example:
current
Page number for the list query. Both 0 and 1 mean the first page; the response current value is returned as a 1-based page number.
Example:
size
Page size for the list query.
Example:
Constraints
Values
This endpoint currently uses a fixed page size of 10.
sign
Request signature string. See Request signing for how to generate it.

Request example

curl -X POST 'https://sandbox-acq.onerway.com/v1/txn/paymentLink/list' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "current": 1,
  "endTime": "2026-05-25 23:59:59",
  "keywords": "payment_link_demo",
  "linkStatus": 1,
  "merchantNo": "replace_with_merchant_no",
  "sign": "{{SIGN}}",
  "size": 10,
  "startTime": "2026-05-01 00:00:00"
}'

Response

respCode
20000 means the list query was processed successfully. Other values are error codes. See Response codes.
respMsg
Human-readable message for the response code.
Business data object containing paginated payment link query results.

Response example

Example code is unavailable.

No error responses are documented for this endpoint.