API For Updating Virtual Card (update cardholder address)

Description

Update virtual card (update cardholder address)

Request URL

/open/api/card/update

Request Method

POST

Request Parameter

ParameterMandatoryTypeDescription
cardIdYstringVirtual Card ID
+cardHolderYobject
└streetYstringStreet
└cityYstringCity
stringYstringState
└zipCodeYstringZipcode

Request Example

{
    "cardHolder": {
        "city": "Vienna",
        "state": "GA",
        "street": "1010 Pine St LOT 12-E",
        "zipCode": "31092"
    },
    "cardId": "c_xxxxxxxxxx"
}

Response Parameter

ParameterTypeDescription
successbooleansign of success
errorbooleansign of failure
msgstringreturn processing message
codeintegerreturn code
modelbooleanIs the operation successful

Response Example

{
    "success": true,
    "error":false,
    "msg": "success",
    "code": 0,
    "model": true,
    "traceId": 1646651934238
}