Onerway
POST

Query 3DS records

Use this endpoint to query 3DS delivery records for an issued card.

Request

ApiKey
Issuing API key request header assigned by Onerway.
Example:
txnOrderNo
Transaction order number filter.
Constraints
Rule
Must not exceed 64 characters.
cardId
Card ID filter.
Example:
Constraints
Rule
Must not exceed 64 characters.
startTime
Query start time as a Unix timestamp in seconds.
Example:
endTime
Query end time as a Unix timestamp in seconds.
Example:
pageNum
Page number.
Example:
Constraints
Range
1
pageSize
Page size.
Example:
Constraints
Range
1100

Request example

curl -X POST 'https://sandbox-api.onerway.com/api/v1/merchant/card/query3dsNotify' \
  -H 'ApiKey: replace_with_issuing_api_key' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "cardId": "example_card_id",
  "startTime": 1767225600,
  "endTime": 1767312000,
  "pageNum": 1,
  "pageSize": 10
}'

Response

respCode
Business response code. 20000 means success.
respMsg
Response message.
Paginated 3DS delivery records.

Response example

{
  "respCode": "20000",
  "respMsg": "success",
  "data": {
    "totalRecords": 1,
    "pageSize": 10,
    "current": 1,
    "pageNum": 1,
    "totalPages": 1,
    "records": [
      {
        "txnOrderNo": "example_transaction_order",
        "merchantNo": "example_merchant_no",
        "cardId": "example_card_id",
        "type": "OTP",
        "sendMethod": "WEBHOOK",
        "sendTarget": "https://example.com/webhooks/3ds",
        "sendStatus": "S",
        "sendTime": 1767225600000,
        "card3dsValues": "123456",
        "currency": "USD",
        "amount": 125.50,
        "merchantName": "Example Merchant"
      }
    ]
  }
}
No error responses are documented for this endpoint.