Query Authorization Transactions

Query Transactions list

Request URL

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

Request Header

NameTypeDescription

Content-Type*

string

application/json; chartset=UTF-8

Request Body

Refer to : common

Biz_data :

NameTypeDescription

card_token

string

Card token

auth_id

string

Auth ID

data_type

string

Data type

transaction_id

string

Transaction ID

transaction_type

integer

transaction type,

refer to: TransactionType

start_date*

string

Begin time,

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

end_date*

string

End time,

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

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": [
        {
        }
    ],
    "total":13,
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
NameTypeDescription

auth_id

string

Auth ID

data_type

string

Data Type

(cardAuthorization、

cardSettlement)

card_token

string

Card token

card_pan

string

Card Pan

transaction_id

string

Transaction ID

transaction_type

integer

Transaction type

refer to: TransactionType

process_status

integer

Process Status

refer to: ProcessStatus

original_auth_id

string

Original Auth ID

auth_status

integer

Auth status

refer to:AuthStatus

auth_code

string

Auth Code

response_code

string

Response Code:

responseCode

settle_status

integer

Settle Status

refer to:SettleStatus

mcc_code

string

Mcc Code

merchant_id

string

Merchant ID

merchant_name

string

Merchant Name

note

string

Note

transaction_amount

string

Transaction Amount

transaction_currency

string

Transaction Currency

transaction_country_code

string

Transaction country code

bill_amount

string

Billing Amount

bill_currency

string

Billing Currency

fee

string

Fee

settled_amount

string

Settled Amount

base_exchange_rate

string

Base Exchange Rate

create_time

string

Create time

Example

curl --location --request POST 'https://card-api-sandbox.pagsmile.com/issuing/card/query-card-authorizations' \
--header 'Authorization: Basic MTYyNTgyOTIxNDUzMTY2Mzg6UGFnc21pbGVfc2tfZDUwMWQ1ZGNkNTI5OGQ5N2MwNmUzYjI4YjA2OWZjZmY3NDU5ZjY2NzNiMjFjMTFlYTY3NDM5MDgzOTZkOTYxNQ==' \
--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