Query Transactions

Query Transactions list

Request URL

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

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

card_token

string

Card token

transaction_status

integer

Transaction status,

transaction_type

integer

transaction type,

currency

string

Currency,

start_date*

string

Begin time,

format:yyyy-MM-dd

end_date*

string

End time,

format: yyyy-MM-dd

page_num

integer

Default value: 1

page_size

integer

Default value: 10,

Max value is 30

max query time range : 31 days

Response

{
    "code": "10000",
    "msg": "Success",
    "data": [
        {
            "transaction_id": "100009",
            "order_no": "1721981116404",
            "card_token":"",
            "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"
        }
    ],
    "total":13,
    "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_amount

string

bill_fee

string

transaction_amount

string

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-transactions' \
--header 'Content-Type: application/json' \
--data-raw '{
    
}

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

Please use your own app_id when testing.

Last updated