Query Partner Transaction Information

Query partner transaction information list

Request URL

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

Request Header

NameTypeDescription

Content-Type*

string

application/json; chartset=UTF-8

Request Body

Refer to : common

Biz_data :

NameTypeDescription

order_no

string

Order number

card_token

string

Card token

transaction_status

integer

Transaction status,

refer to:transactionStatus

transaction_type

integer

transaction type,

refer to:transactionType

currency

string

Currency,

refer to : 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",
            "create_time": "2024-07-26 16:05:53"
        }
    ],
    "total": 2,
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
NameTypeDescription

transaction_id

string

Transaction id

order_no

string

Order number

card_token

string

Card token

transaction_type

integer

Transaction Type

transaction_status

integer

Transaction status

account_num

string

Account num

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

Remarks

transaction_desc

string

Transaction desc

related_transaction_id

string

Related Transaction ID

merchant_info

string

Merchant information

business_date

string

Format: yyyy-MM-dd

create_time

string

Format: yyyy-MM-dd HH:mm:ss

Example

curl --location --request POST 'https://card-api-sandbox.pagsmile.com/issuing/partner/query-transactions' \
--header 'Authorization: Basic MTYyNTgyOTIxNDUzMTY2Mzg6UGFnc21pbGVfc2tfZDUwMWQ1ZGNkNTI5OGQ5N2MwNmUzYjI4YjA2OWZjZmY3NDU5ZjY2NzNiMjFjMTFlYTY3NDM5MDgzOTZkOTYxNQ==' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app_id": "2017051914172236111",
    "partner_id": "900000000000001",
    "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": {
        "start_date": "2023-09-10",
        "end_date": "2024-09-10"
    }
}'

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

Please use your own app_id when testing.

Last updated