跳到主要内容

修改实体卡密码

每张实体卡都有一个用于授权交易的密码,必要时可以更新。

要更新卡片密码,卡片状态必须为**Active(有效)Temporary block(临时封锁)**类型。(有关状态的详细信息,请参阅此处

注意

出于安全原因,更新密码时需谨慎,因为这可能影响卡片的授权。

请制定规则以提高密码授权的安全性,例如不使用生日日期、重复数字(如:3333)等。

Request

ENDPOINT
/wallet/WALLET_KEY/card/CARD_KEY/password
MÉTODO
PATCH

路径参数

字段类型描述字符数
WALLET_KEY *string钱包识别密钥。uuid
CARD_KEY *string卡片识别密钥。uuid
Request Body
{
"pin": "2143"
}

请求体参数

字段类型描述字符数
pin *string用于授权交易的卡片密码。4

Response

STATUS SUCCESS
200
Response Body
{
"card_key": "05fd3654-1f5d-479d-ade5-64239fdf214d",
"status": "active",
"account_key": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"program_key": "6b6ebaac-043b-4390-8d62-e8098ec901e9",
"type": "virtual",
"card_name": "ecommerce",
"printed_name": "Aurora Catarina",
"brand": "visa",
"last_four_digits": "5695",
"created_at": "2023-02-20T19:28:16Z",
"updated_at": "2023-02-22T19:28:16Z",
"cvv_rotation_interval_hours": 72
}

错误

STATUS
4XX
Response Body
{
"title": "Bad Request",
"description": "We're sorry, but the card could not be update password. Please try again later.",
"translation": "Unexpected error update password card",
"code": "CARD000024"
}
CodeStatus code描述
QIT000001400Invalid Json schema.
CARD000011404It was not possible to fetch the Card for the card_key {card_key}.
CARD000023406The card type is invalid for this operation. Only plastic cards are allowed.
CARD000024400We're sorry, but the card could not be update password. Please try again later.
CARD000025406The status {status} is invalid for the operation.