Query Apply Result

When the card opening request does not return the request result synchronously, you can use this interface to query the card opening result.

Request URL

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

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

Response

{
    "code": "10000",
    "msg": "Success",
    "data": {
       "order_no":"string",
       "card_token":"string",
       "card_scheme":1,
       "card_type":1,
       "order_count":1,
       "order_status":1,
       "holder_id":1,
       "holder_name":"string",
       "card_bin":"658704"
    },
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
Name
Type
Description

order_no

string

Order number,

Globally unique.

card_token

string

Card token

card_pan

string

Card pan

holder_id

long

Cardholder ID

holder_name

string

Cardholder name

card_scheme

integer

card scheme

card_type

integer

card type

card_bin

string

Card Bin

order_count

integer

order count

order_status

integer

Example

curl --location --request POST 'https://card-api-sandbox.pagsmile.com/issuing/card/query-apply-card-result' \
--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": "CWBOBo8Cruo6RwNR3xqE3ehqOVP2HwzcITVD0av1m2nqjqQnNuc8YSlYi/zgeqPIX3Igm0D+gFwi8hcVRVdi56466Ec1aMrZbfTCMnkwmqeV8rQyo5Ny8icz5Ef+uRv6VoxUfAOXpo7yob/dr0MJlL4lK7fXK9XQxeTSMlhvhB+tpbp9vwIOfnOMPJPAMOZHAfH88FKrYYaihVJEP0xtI1S4BF5tm9dssa2SUuqsUCfEZKpqLoDOIWyJceNyga903vzlivvy5OZk0HicEIpCfXQbMOdNdSm2U21lE/huZ55hiCBWuYDPhWhNWi0RnGUzBMaaKFj/ESlXVjBdrtfAKw==",
    "request_id": "F6bEd39c-EecF-C1a2-AFcb-bA9BAeC6",
    "sign_type": "RSA",
    "biz_data": {
        "order_no": "CO-5bDeD9-1721974834843"
    }
}'

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

Please use your own app_id when testing.

Last updated