Query Transaction Detail information

Query card transaction detail

Request URL

POST https://card-api-sandbox.pagsmile.com/issuing/card/query-card-transaction-detail

Request Header

Name
Type
Description

Content-Type*

string

application/json; chartset=UTF-8

Request Body

Refer to : common

Biz_data :

Name
Type
Description

order_no

string

Order number

transaction_id

string

Transaction ID

Choose one of order_no and transaction_id

Response

{
    "code": "10000",
    "msg": "Success",
    "data": {
            "transaction_id": "100009",
            "order_no": "1721981116404",
            "transaction_type": 100,
            "transaction_status": 1,
            "account_num": "200100******0057",
            "account_name": "individual - autotest - 20240726+142031 Williams",
            "bill_currency": "USD",
            "bill_amount": "5.00",
            "bill_fee": "0.00",
            "transaction_amount": "5.00",
            "transaction_currency": "USD",
            "exchange_rate": "1",
            "reference": "6",
            "transaction_desc": "{\"bank\":\"2\",\"accountNum\":\"3\",\"name\":\"4\",\"tsn\":\"5\",\"currency\":\"USD\",\"amount\":6,\"transactionDate\":\"2024-07-24\",\"comments\":\"9\"}",
            "related_transaction_id":"",
            "merchant_info":"",
            "business_date": "2024-07-26",
            "transaction_time": "2024-07-26 16:05:53",
            "create_time": "2024-07-26 16:05:53"
        },
        "random_key":"abssdddd2wdw==",
        "sign_type": "RSA",
        "app_id": "2017051914172236111"
}
Name
Type
Description

order_no

string

Order number

card_token

string

Card token

transaction_id

string

transaction ID

transaction_type

integer

Transaction type

transaction_status

integer

Transaction status

account_num

string

Account number

account_name

string

Account name

bill_currency

string

Bill currency

bill_amount

string

Bill amount

bill_fee

string

Bill fee

transaction_amount

string

Transaction amount

transaction_currency

string

Transaction currency

exchange_rate

string

Exchange rate

reference

string

Remark

transaction_desc

string

Transaction description

related_transaction_id

string

Related Transaction Id

merchant_info

string

Merchant information

business_date

string

FORMAT:yyyy-MM-dd

create_time

string

Create date. Date format: yyyy-MM-dd HH:mm:ss

Example

curl --location --request POST 'https://card-api-sandbox.pagsmile.com/issuing/card/query-card-transaction-detail' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app_id": "2017051914172236111",
    "partner_id": "000000000000001",
    "sub_partner_id": "",
    "timestamp": "2011-09-23 04:24:03",
    "format": "JSON",
    "version": "2.0",
    "random_key": "jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE",
    "request_id": "F6bEd39c-EecF-C1a2-AFcb-bA9BAeC6",
    "sign_type": "RSA",
    "biz_data": {
        "order_no":"1719571299218"
    }  
}'

Note: 201************11 is pagsmile's test app id for sandbox

Please use your own app_id when testing.

Last updated