Query Card Information

Query card infromation

Request URL

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

Request Header

Name
Type
Description

Content-Type*

string

application/json; chartset=UTF-8

Request Body

Refer to : common

Biz_data :

Name
Type
Description

card_token*

string

Card token

Response

{
    "code": "10000",
    "msg": "Success",
    "data": {
        "holder_id": 100002,
        "holder_name": "Example company",
        "card_id": 100002,
        "card_scheme": 3,
        "expired_date": "07/27",
        "active_time": "2024-07-17 03:09:14",
        "card_type": 1,
        "card_token": "4192571",
        "card_pan": "6587040000002976",
        "cvv": "137",
        "acs_password": "2b8NS12",
        "card_status": 3,
        "virtual": true
    },
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
Name
Type
Description

holder_id

long

Cardholder ID.

holder_name

string

Cardholder name

card_id

long

card ID

expired_date

string

expired date,MM/YY

active_time

string

active date

card_type

integer

card type,

card_token

string

card token

card_pan

string

card PAN

cvv

string

Cvv2

acs_password

string

Acs password

card_status

integer

card status.

virtual

boolean

is virtual card

Example

curl --location --request POST 'https://card-api-sandbox.pagsmile.com/issuing/card/query-card-info' \
--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-bA9BAeC9",
    "sign_type": "RSA",
    "biz_data": {
        "card_token": "4192571"
    }
}'

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

Please use your own app_id when testing.

Last updated