Skip to main content

Overview​

This API is used to query transaction message records by customer identifier or card identifier. It supports pagination and time-range filtering, enabling merchants to retrieve transaction message records for transaction tracking, troubleshooting, and payment issue analysis.

Retrieve Network Messages​

cURL -X POST /card-api/v1/network-messages
-H 'Content-Type: application/json'
-H 'Authorization: {token}'
-d '{
"cursor": "2090383903844655104",
"from_time_at": "",
"to_time_at": "",
"account_id": "",
"limit": "10",
"ascending": false,
"card_id": ""
}
ParameterTypeLengthRequiredDescription
cursorstring1OptionalPagination cursor
from_time_atstring20OptionalStart time of the query range.
  • ISO 8601 date-time
to_time_atstring20OptionalEnd time of the query range.
  • ISO 8601 date-time
account_idstring20OptionalAccount ID
card_idstring20OptionalCard ID
limitint10OptionalMaximum number of results returned per page.
The range is 1–500, with a default value of 100.
ascendingboolean10OptionalWhether to return results in ascending order.
The default is false (descending order).
{
"code": "200",
"msg": "SUCCESS",
"trace_id": "13589f115bd54f4fb14db78c6d623a9d",
"data": {
"data": [
{
"mcc": "6060",
"program_value": 6,
"card_number": "6420738445328832472",
"creation_time": "2025-01-20T18:30:56+08:00",
"transaction_id": null,
"transaction_amount": 0.20,
"transaction_currency": "USD",
"billing_amount": 0.20,
"billing_currency": "USD",
"whether_reversal": "FALSE",
"response_code": "57",
"store_name": "401 Congress",
"store_city": "Tokyo",
"store_country_code": "JP",
"transaction_source": "5",
"transaction_type": "3",
"failed_param": "blocked_countries",
"modified_time": "2025-01-20T18:30:56+08:00",
"replacement_amounts": null,
"account_id": "1016X10007749180967",
"parent_account_id": null,
"card_id": null,
"auth_released_time": null,
"relate_trnx_id": null,
"trnx_status": "DECLINED"
},
{
"mcc": "6060",
"program_value": 6,
"card_number": "6420738445328832472",
"creation_time": "2025-01-20T18:19:15+08:00",
"transaction_id": null,
"transaction_amount": 0.10,
"transaction_currency": "USD",
"billing_amount": 0.10,
"billing_currency": "USD",
"whether_reversal": "FALSE",
"response_code": "57",
"store_name": "401 Congress",
"store_city": "Tokyo",
"store_country_code": "JP",
"transaction_source": "5",
"transaction_type": "3",
"failed_param": "blocked_countries",
"modified_time": "2025-01-20T18:19:15+08:00",
"replacement_amounts": null,
"account_id": "1016X10007749180967",
"parent_account_id": null,
"card_id": null,
"auth_released_time": null,
"relate_trnx_id": null,
"trnx_status": "DECLINED"
},
],
"next_cursor": null,
"has_more": false
}
}
ParameterTypeDescription
mccstringMerchant Category Code (MCC)
program_valueintProgram enumeration value
card_numberstringCard number
creation_timestringCreation time
transaction_idstringTransaction ID
transaction_amountstringTransaction amount
transaction_currencystringTransaction currency. ISO 4217 currency code.
billing_amountstringCardholder billing amount
billing_currencystringCardholder billing currency
whether_reversalbooleanIndicates whether the transaction has been reversed.
  • TRUE
  • FALSE
response_codestringResponse code
store_namestringMerchant/store name
store_citystringMerchant/store city
store_country_codestringMerchant/store country code. ISO 3166 country code.
transaction_sourcestringTransaction source
transaction_typestringTransaction type
failed_paramstringRisk control parameter that caused the transaction to fail
modified_timestringLast modified time of the record
replacement_amountsstringReplacement amount information
account_idstringAccount ID
parent_account_idstringParent account ID
card_idstringCard ID
auth_released_timestringAuthorization release time
relate_trnx_idstringRelated transaction ID
trnx_statusstringTransaction status
  • PROCESSED
  • APPROVED
  • DECLINED