POST
List payment links
Use this endpoint to retrieve paginated payment links and their visit, payment, and collected amount statistics.
Request
merchantNoMerchant number assigned by Onerway. See Setup for how to obtain it.
Example:
replace_with_merchant_nolinkStatusPayment link status filter. Omit this field to query all payment links.
Example:
1Allowed values
1- Enabled.
0- Disabled.
Constraints
- Values
- Submit numeric
1or0; do not submit booleantrueorfalsefor this list query.
keywordsKeyword filter. Supports fuzzy matching by Payment Link ID or goods name.
startTimeStart of the payment link creation-time range in
yyyy-MM-dd HH:mm:ss format.Example:
2026-05-01 00:00:00endTimeEnd of the payment link creation-time range in
yyyy-MM-dd HH:mm:ss format.Example:
2026-05-25 23:59:59currentPage 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:
1sizePage size for the list query.
Example:
10Constraints
- Values
- This endpoint currently uses a fixed page size of
10.
signRequest signature string. See Request signing for how to generate it.
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
respCode20000 means the list query was processed successfully. Other values are error codes. See Response codes.respMsgHuman-readable message for the response code.
data{ content, current, ... }Business data object containing paginated payment link query results.
Response example
Example code is unavailable.
No error responses are documented for this endpoint.