POST
Reset card PIN
Sets a new newPin for the card.
This is the card’s PIN — what the customer types at an ATM or terminal. It is not the security PIN used as a step-up confirmation method; the two are unrelated.

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