卡管理接口
同步創建單張虛擬卡(同步返回卡信息)
POST /abc/v1/card/create
同步創建單張虛擬卡(同步返回卡信息)
請求頭
{apiKey}{{Timestamp}}{{Nonce}}{{Signature}}請求體
數據模型:OpenCardSyncCreateRequest
成功響應
數據模型:CommonResultOpenCardResponse
data 結構(OpenCardResponse)
查詢卡列表
POST /abc/v1/card/query
查詢卡列表
請求頭
{apiKey}{{Timestamp}}{{Nonce}}{{Signature}}請求體
數據模型:OpenCardQueryRequest
成功響應
數據模型:CommonResultPageResultOpenCardResponse
data 結構(PageResultOpenCardResponse)
更新卡片(卡名稱 / 卡類型 / 限額)
POST /abc/v1/card/edit
更新卡片(卡名稱 / 卡類型 / 限額)
請求頭
{apiKey}{{Timestamp}}{{Nonce}}{{Signature}}請求體
數據模型:OpenCardEditRequest
成功響應
數據模型:CommonResultOpenCardResponse
data 結構(OpenCardResponse)
更新虛擬卡狀態(啓用 / 禁用)
POST /abc/v1/card/update-status
更新虛擬卡狀態(啓用 / 禁用)
請求頭
{apiKey}{{Timestamp}}{{Nonce}}{{Signature}}請求體
數據模型:OpenCardUpdateStatusRequest
成功響應
數據模型:CommonResultOpenCardResponse
data 結構(OpenCardResponse)
查詢卡詳情
POST /abc/v1/card/detail
查詢卡詳情
請求頭
{apiKey}{{Timestamp}}{{Nonce}}{{Signature}}請求體
數據模型:OpenCardDetailRequest
成功響應
數據模型:CommonResultOpenCardResponse
data 結構(OpenCardResponse)
卡管理:註銷卡片
POST /abc/v1/card/cancel
卡管理:註銷卡片
請求頭
{apiKey}{{Timestamp}}{{Nonce}}{{Signature}}請求體
數據模型:OpenCardCancelRequest
成功響應
數據模型:CommonResultBoolean
查詢卡 BIN
查詢卡 BIN。
請求地址:POST https://open.orbsis.com/abc/v1/card/bin/query
請求頭
{{APIKey}}{{Timestamp}}{{Nonce}}{{Signature}}請求參數
cURL 範例:
curl --request POST 'https://open.orbsis.com/abc/v1/card/bin/query' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: api-key' \
--header 'X-Timestamp: unix-seconds' \
--header 'X-Nonce: unique-nonce' \
--header 'X-Signature: base64-signature' \
--data '{"pageNo":1,"pageSize":10,"merchantId":"4416","cardBinCode":"448213","status":1,"currency":"USD","country":"US","cardGroup":"VISA"}'
請求體範例:
{
"pageNo": 1,
"pageSize": 10,
"merchantId": "4416",
"cardBinCode": "448213",
"status": 1,
"currency": "USD",
"country": "US",
"cardGroup": "VISA"
}
響應欄位
成功響應範例:
{
"code": 0,
"msg": "success",
"message": "success",
"data": {
"total": 1,
"list": [
{
"id": 7163,
"parameterId": "22597",
"cardBin": "448213",
"issuer": "string",
"cardFee": 100,
"maxCardNum": 1,
"status": 1,
"effectiveTime": "string",
"failureTime": "string",
"createTime": "string",
"currency": "USD",
"country": "US",
"cardGroup": "VISA",
"totalIssuedCount": 1
}
]
}
}