Onerway
POST

Query RDR alerts

Use this endpoint to retrieve RDR alert cases, match each case to the original transaction, and check the automatic handling rule and status.

Request

ApiKey
API key for the merchant account. Send it in the ApiKey request header. See Authentication.
Example:
merchantNo
Merchant number assigned by Onerway. It limits the query to one merchant account.
Example:
caseId
Unique RDR alert case identifier. Submit it to query one case precisely.
Example:
caseTypes
Alert case type filter, used to retrieve alerts by risk source.
Example:
Allowed values
DISPUTE
Transaction dispute request initiated by the issuer on behalf of the cardholder.
CANCEL
Request to stop future billing and the supply of goods or services. The cancellation request itself does not require a refund.
FRAUD NOTICE
Notification of confirmed fraud on a transaction.
Constraints
Rule
Submit one or more case types. Separate multiple values with commas.
Rule
Use the enum values exactly as listed. FRAUD NOTICE and DISPUTE NOTICE contain spaces, and DISPUTE and DISPUTE NOTICE are distinct values.
caseReceivedDateStart
Condition: Provide this field when filtering by alert received time range.
Start of the alert received time range, in yyyy-MM-dd HH:mm:ss format.
Example:
caseReceivedDateEnd
Condition: Provide this field when filtering by alert received time range.
End of the alert received time range, in yyyy-MM-dd HH:mm:ss format.
Example:
txnTimeStart
Condition: Provide this field when filtering by original transaction time range.
Start of the original transaction time range, in yyyy-MM-dd HH:mm:ss format.
Example:
txnTimeEnd
Condition: Provide this field when filtering by original transaction time range.
End of the original transaction time range, in yyyy-MM-dd HH:mm:ss format.
Example:
resellerSubMerchantId
Condition: Provide this field when an agency operator queries alert records for its sub-merchants. Regular merchants do not need to submit it.
Sub-merchant identifier assigned by the agency operator.
bin
Condition: Provide this field when filtering alert records by acquirer BIN.
Acquirer BIN (Bank Identification Number), identifying the institution that provides acquiring services to the merchant.
caid
Condition: Provide this field when filtering alert records by Card Acceptor ID.
Card Acceptor ID (CAID).
dba
Condition: Provide this field when filtering alert records by merchant trading name.
Merchant doing-business-as name.
merchantOrderId
Condition: Provide this field when filtering by the original merchant order ID.
Original merchant order ID, used to match the alert back to the merchant order.
arn
Condition: Provide this field when filtering by Acquirer Reference Number.
Acquirer Reference Number (ARN).
statusList
Filter RDR alert cases by status.
Example:
Allowed values
ACCEPTED
Accepted.
DECLINED
Declined.
Constraints
Rule
Specify ACCEPTED, DECLINED, or both separated by a comma. Values are case-sensitive.
current
Query page number, starting from 1.
Example:

Request example

curl -X POST 'https://sandbox-payment-api.onerway.com/rdr/agency-cw/detail-page' \
  -H 'ApiKey: replace_with_api_key' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "caseReceivedDateEnd": "2025-04-02 17:42:10",
  "caseReceivedDateStart": "2025-02-02 17:42:10",
  "caseTypes": "DISPUTE NOTICE,FRAUD NOTICE",
  "current": "1",
  "merchantNo": "replace_with_merchant_no",
  "statusList": "ACCEPTED,DECLINED"
}'

Response

respCode
20000 means the query request was processed successfully. Other values are error codes. See Response codes.
respMsg
Human-readable message for the response code.
Business data object containing RDR alert cases and pagination information.

Response example

Example code is unavailable.

No error responses are documented for this endpoint.