API For Obtaining Card Details

Brief description

  • Get card details

Request URL

  • /open/api/card/info

Request method

  • POST

Parameters

Parameter nameRequiredTypeDescription
cardIdYesstringCard ID
currencyNostringCurrency: USD, EUR, CHF

Request example

{
    cardId: c_xxxxxxxxxxx
}

Return parameter description

Parameter nameTypeDescription
successbooleanSuccess flag
errorbooleanFailure flag
msgstringReturn processing message
codeintegerReturn code
+modelobjectReturn data object data
+cardHolderobject
└firstNamestringCardholder last name
└lastNamestringCardholder name
└streetstringStreet
└citystringCity
└statestringState
└countrystringCountry
└zipCodestringZip code
+contactsobject
+depositBankobject
+cardobjectCard information
└userIdstringUser id
└customerIdstringCustom customer id
└cardHolderIdstringCardholder id
└holderNamestringCardholder name
└cardIdstringVirtual card id
└linkstringCard details information link(redirect to issue bank link, 24 hours)
└cardSeqNostringVirtual card serial number
└depositintegerDeposit accumulation
└consumeintegerConsumption accumulation
└balanceintegerCard balance (equal to deposit accumulation - consumption accumulation)
└cvcstring
└numberstringCard number
└cardBinstringCard segment (first 6 digits of the card number)
└last4stringLast four digits
└statusstringINIT: Card opening
ACTIVE: Activated
FREEZE: Frozen
EXPIRED: Expired
└expYearintegerCard expiration year
└expMonthintegerCard expiration month
└gmtCreatestringCard opening time
+tagsarrayCard tag list

Contacts detailed parameter description

Parameter nameTypeDescription
idStringContact ID (e.g., EA-00012345)
nameStringContact name
accountStringContact account (anonymized)
fullAccountintegerContact's full account number
bankStringContact's bank
countryStringCountry where the contact's bank is located
lastPaymentDateStringLast payment date (timestamp)

DepositBank detailed parameter description

Parameter nameTypeDescription
accountStringBank account number
bankStringName of the bank
BICStringBank Identification Code (BIC)
payeeStringName of the bank
countryStringCountry of the bank
postalCodeStringPostal code of the bank
streetStringStreet of the bank
cityStringCity of the bank

Return example

{
    "code": "0",
    "msg": "success",
    "model": {
        "cardHolder": {
            "firstName": "Alice",
            "lastName": "Jack",
            "street": "Zhangyan Village 40",
            "city": null,
            "state": null,
            "country": "DE",
            "zipCode": "062150",
            "contacts": {
                "CHF": [
                    {
                        "id": "EC-0000001",
                        "name": "Jake",
                        "account": "•••• 0001",
                        "fullAccount": "...",
                        "bank": "PostFinance",
                        "country": "CH",
                        "lastPaymentDate": 1700093537000
                    }
                ],
                "EUR": [
                    {
                        "id": "EC-0000002",
                        "name": "Marc",
                        "account": "•••• 1234",
                        "fullAccount": "...",
                        "bank": "PostFinance",
                        "country": "ES",
                        "lastPaymentDate": 1700093537000
                    }
                ],
                "USD": [

                ]
            },
            "depositBank": {
                "CHF": {
                    "account": "CH08830510s00000465251",
                    "bank": "SR Saphirstein AG",
                    "BIC": "SAHHCHZ2",
                    "payee": "Yxxx Wxxxx",
                    "country": "CHN",
                    "postalCode": "062150",
                    "street": "Zhangyan Village 40",
                    "city": "Xian County"
                },
                "EUR": {
                    "account": "CH0883sd0510000000000000",
                    "bank": "SR Saphirstein AG",
                    "BIC": "SAHHCHZ2",
                    "payee": "Yxxxx Wxxxxxxx",
                    "country": "CHN",
                    "postalCode": "062150",
                    "street": "Zhangyan Village 40",
                    "city": "Xian County"
                },
                "GBP": {
                    "account": null,
                    "bank": null,
                    "BIC": null,
                    "payee": null,
                    "country": null,
                    "postalCode": null,
                    "street": null,
                    "city": null
                },
                "USD": {
                    "account": null,
                    "bank": null,
                    "BIC": null,
                    "payee": null,
                    "country": null,
                    "postalCode": null,
                    "street": null,
                    "city": null
                }
            }
        },
        "card": {
            "userId": "100417494499129131050",
            "customerId": "4652251",
            "cardHolderId": "503317494499129131050",
            "holderName": "Alice JACK",
            "cardId": "42323_USD24",
            "link": "https://***",
            "cardSeqNo": "42323_USD24",
            "deposit": null,
            "consume": null,
            "balance": 285,
            "cvc": "•••",
            "number": "•••• 7907",
            "cardBin": "•••• 7",
            "last4": "7807",
            "status": "ACTIVE",
            "expYear": null,
            "expMonth": null,
            "gmtCreate": "1749464251000",
            "vendorCardBinId": null,
            "monthlyFeeCard": false,
            "pendingMonthlyFee": null,
            "paidMonthlyFee": null
        },
        "tags": null
    },
    "traceId": "6847e844c76bff2a83ba29b826ea6ff1",
    "success": true,
    "error": false
}

Notes

  • For more error codes, please see the error code description on the home page