POST
List saved tokens
Use this endpoint to list saved tokens under a merchant customer. The response returns the binding record ID for deletion and the
tokenId for later token payment or subscription operations.Request
merchantNoMerchant number assigned by Onerway when the merchant account is created.
Example:
replace_with_merchant_noappIdMerchant application ID. When omitted, Onerway queries saved tokens under the merchant number. When provided, the query is limited to tokens under the specified
appId.Example:
replace_with_app_idmerchantCustIdUnique customer identifier in the merchant system, used to limit the token query to a specific customer.
Example:
cust_demo_token_202606150001subProductTypeToken type to query. When omitted, Onerway queries card tokens. Submit
SUBSCRIBE to query subscription tokens.Example:
TOKENAllowed values
TOKEN- Saved payment method token query.
SUBSCRIBE- Subscription token query.
signRequest signature string. See Request signing for how to generate it.
curl -X POST 'https://sandbox-acq.onerway.com/v1/txn/queryTokenList' \
-H 'Content-Type: application/json' \
--data-raw '{
"merchantCustId": "cust_demo_token_202606150001",
"merchantNo": "replace_with_merchant_no",
"sign": "{{SIGN}}",
"subProductType": "TOKEN"
}'Response
respCode20000 means the query request was processed successfully. It does not guarantee that token details are returned. Other values are error codes. See Response codes.respMsgHuman-readable message for the response code.
data{ merchantNo, tokenInfos }Business data object carrying the merchant number and token details.
Response example
Example code is unavailable.
No error responses are documented for this endpoint.