POST
Reset card PIN

Authorizations

Authorization
string
header
required

The user's id_token from authentication — the ID token, not the access_token. The program and environment come from the token.

Path Parameters

customerId
string
required

The customer's id.

accountId
string
required

The account the card belongs to. A customer can have several accounts; cards are issued against one.

cardId
string
required

The card id from create / get cards.

Body

application/json
newPin
string
required

The new PIN: 4 to 6 digits.

Pattern: ^\d{4,6}$
Example:

"1234"

pin
string

Optional. The card's current PIN, digits only. Accepted for compatibility; not required to set a new PIN.

Pattern: ^\d+$

Response

Done

success
boolean
Example:

true

data
object