POST
Get card basic info
Use this endpoint to query the basic status information of a card.
Request
ApiKeyIssuing API key request header assigned by Onerway.
Example:
replace_with_issuing_api_keycardIdCard ID.
Example:
100001curl -X POST 'https://sandbox-api.onerway.com/api/v1/merchant/card/getBasicInfo' \
-H 'ApiKey: replace_with_issuing_api_key' \
-H 'Content-Type: application/json' \
--data-raw '{
"cardId": 100001
}'Response
respCodeBusiness response code.
20000 means success.respMsgResponse message.
data{ cardId, cardholderId, ... }Card basic information.
{
"respCode": "20000",
"respMsg": "success",
"data": {
"cardId": 100001,
"cardholderId": 300001,
"productId": 1,
"status": "ACTIVE",
"blockedFlag": false
}
}No error responses are documented for this endpoint.