1. 卡片查询
Lampay
  • 接入指南
  • 解密指南
  • 卡交易
    • 交易查询
      • Page Transactions
      • List Transactions
      • Get Transaction Detail
    • 交易字典
      • List Transaction Types
      • List Transaction Statuses
      • List Merchant Countries
      • List Fund Flow Types
  • 卡管理
    • 卡片查询
      • List Cards
        POST
      • Get Card
        POST
      • Reveal Sensitive Card
        POST
    • 开卡
      • Precheck Create Card
      • Create Card
      • Page Card Batch Items
      • Get Card Batch
    • 卡片设置
      • Update Card Spending Control
      • Update Card Remark
    • 卡片状态
      • Freeze Card
      • Unfreeze Card
      • Cancel Card
  • 参考数据
    • 商户数据
      • List Reference Merchants
      • Get Reference Merchant
    • 国家地区
      • Get Slash Countries
    • 消费控制
      • Get Slash Spending Restrictions
      • Get Slash Spending Presets
  • 卡产品
    • 产品组
      • Page Groups
      • List Groups
    • 产品查询
      • Page Products
      • List Products
      • Get Product Detail
    • 配置模型
      • Get Provider Product Config Schema
      • Get Provider Card Settings Schema
  • 钱包
    • 钱包查询
      • Page Wallets
      • List Wallets
      • Get Wallet
    • 账本
      • List Ledger
      • Page Ledger
      • Get Ledger
    • 资金划转
      • Transfer Out
      • Transfer In
    • 转账订单
      • List Transfers
      • Get Transfer
      • Page Transfers
      • Cancel
    • 转账字典
      • List Order Statuses
      • List Directions
      • List Approval Statuses
  1. 卡片查询

Get Card

POST
/api/v1/consumer/card-products/10010105/cards/get
Returns detailed status, product, wallet, and spending-control information for one Slash-backed card.

Gateway Contract#

Chain: API
Portal: CONSUMER
JWT token enabled: false
Workspace kind: LIVE
Workspace portal: CONSUMER
Workspace permission: card:read
Rate limit: 120 / 60s
Rate limit strategy: IP

Common Errors#

CodeWhen
RESOURCE.NOT_FOUNDcard not found or belongs to another workspace

请求参数

Authorization
在 header 添加参数
X-Api-Key
示例:
X-Api-Key: ********************
Header 参数

Body 参数application/json必填

示例

返回响应

🟢200成功
*/*
OK
Body*/*

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.lampay.app/api/v1/consumer/card-products/10010105/cards/get' \
--header 'X-Timestamp;' \
--header 'X-Nonce;' \
--header 'X-Signature;' \
--header 'X-Signature-Algorithm;' \
--header 'X-Workspace-Id;' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "cardInfoBizId": "VC_ABCDEF1234567890"
}'
响应示例响应示例
{
    "version": "string",
    "timestamp": 0,
    "success": true,
    "code": "string",
    "message": "string",
    "data": {
        "card": {
            "bizId": "VC_ABCDEF1234567890",
            "cardBinGroupBizId": "CPG_ABCDEF1234567890",
            "cardBinProductBizId": "CBP_ABCDEF1234567890",
            "cardWalletBizId": "CW_ABCDEF1234567890",
            "cardDisplayName": "Operations Card",
            "platformCardDisplayName": "Operations Card",
            "cardNetwork": {
                "code": "ACTIVE",
                "value": 35010102,
                "label": "Active"
            },
            "cardType": {
                "code": "ACTIVE",
                "value": 35010102,
                "label": "Active"
            },
            "currency": {
                "code": "ACTIVE",
                "value": 35010102,
                "label": "Active",
                "scale": 2,
                "isFiat": true,
                "isStablecoin": false
            },
            "maskedPan": "**** 4242",
            "last4": "4242",
            "status": {
                "code": "ACTIVE",
                "value": 35010102,
                "label": "Active"
            },
            "providerOperationStatus": {
                "code": "ACTIVE",
                "value": 35010102,
                "label": "Active"
            },
            "providerLastOperationError": "Insufficient wallet balance",
            "providerOperationAttempts": 3,
            "providerLastOperationAt": 1713629600,
            "infoSyncStatus": {
                "code": "ACTIVE",
                "value": 35010102,
                "label": "Active"
            },
            "providerType": 10010105,
            "createdAt": 1713628800,
            "updatedAt": 1713629600
        },
        "spendingConstraint": {
            "spendingRule": {
                "utilizationLimitV2": [
                    {
                        "preset": {
                            "code": "ACTIVE",
                            "value": 35010102,
                            "label": "Active",
                            "originValue": "string"
                        },
                        "limitAmount": {
                            "amountCents": 0
                        },
                        "timezone": "string",
                        "startDate": "string"
                    }
                ],
                "transactionSizeLimit": {
                    "minimum": {
                        "amountCents": 0
                    },
                    "maximum": {
                        "amountCents": 0
                    }
                }
            },
            "merchantRule": {
                "values": [
                    "string"
                ],
                "items": [
                    {
                        "id": "string",
                        "name": "string",
                        "url": "string"
                    }
                ],
                "restriction": {
                    "code": "ACTIVE",
                    "value": 35010102,
                    "label": "Active",
                    "originValue": "string"
                }
            },
            "merchantCategoryRule": {
                "values": [
                    "string"
                ],
                "restriction": {
                    "code": "ACTIVE",
                    "value": 35010102,
                    "label": "Active",
                    "originValue": "string"
                }
            },
            "merchantCategoryCodeRule": {
                "values": [
                    "string"
                ],
                "restriction": {
                    "code": "ACTIVE",
                    "value": 35010102,
                    "label": "Active",
                    "originValue": "string"
                }
            },
            "countryRule": {
                "values": [
                    "string"
                ],
                "items": [
                    {
                        "originValue": "string",
                        "country": {
                            "code": "ACTIVE",
                            "value": 35010102,
                            "label": "Active",
                            "alpha2Code": "CN",
                            "alpha3Code": "CHN",
                            "numericCode": 156,
                            "phoneCode": "86"
                        }
                    }
                ],
                "restriction": {
                    "code": "ACTIVE",
                    "value": 35010102,
                    "label": "Active",
                    "originValue": "string"
                }
            }
        },
        "isSingleUse": true
    }
}
修改于 2026-07-29 05:18:57
上一页
List Cards
下一页
Reveal Sensitive Card
Built with