2.1.50 Get applicationId by used in sdk

Path:/openapi/card/sdk/get/applicationId

Method:POST

Content-Type:application/json

Response Content-Type:application/json

Description:

Only some cards need to use this interface. To use this interface, you need to have your own app and then connect the SDK we provide in the app.
Use this interface to obtain the token information required after connecting the SDK. In the SDK, you can query the pin code, query card details, authorize 3ds transactions, and other operations.
Please contact the administrator to obtain the document of app connection SDK.

use sdk process

Note ⚠️: Subsequent request body and response body on the interface may add more fields; therefore, when using this interface, new fields that are not recognized need to be ignored to prevent errors

Example Request:

{
    "card_id": "1089744560000011928"
}

Request Parameter:

Parameter name Type Required Description
card_id string true Card ID

API Response:

Parameter name Type Description
code string Error code
data Object Response data object
  card_id string This card_id not request body‘s card_id,it equals to sdk’s cardId
  app_card_id string APP Card ID,it equals to sdk’s appCardId
  application_id string application_id,it equals to sdk’s applicationId, used in sdk
msg string Error message

Example Response:

{
    "code": "00000",
    "msg": "ok",
    "data": {
        "card_id": "1089744560000011928",
        "app_card_id": "crd_xemr6hppo64u3erbvs2gmq7o7u",
        "application_id": "appid_1651791812886561"
    }
}
Copyright © HyperCard 2023 all right reserved,powered by GitbookUpdate Time: 2025-01-14 15:38:46

results matching ""

    No results matching ""