Update card PIN
Cards
Update card PIN
Change the PIN of the authenticated user’s primary card.
PUT
Update card PIN
Requires
Authorization: Bearer <user-access-token> — the token from Verify login code.cardId is sent, the new PIN is applied to every active card the user has, not just the primary card.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Unique idempotency key for the operation. Use a UUID to prevent duplicate processing.
Query Parameters
Target a specific card (Rain card id) instead of the primary card.
Body
application/json
New PIN, 4 to 12 digits.
New PIN, 4 to 12 digits.
Pattern:
^\d{4,12}$Example:
"9876"
Response
PIN updated successfully.