v1

latestOpenAPI 3.0.0UNLICENSED2026-07-26178479713.7 KB
cards

aid_cards_cardid_rotate_pin_post

Rotate or add new pin to card

scopes:

  • admin:wallets
  • write:wallets
post/accounts/{aid}/wallets/cards/{card_id}/rotate-pin

Path parameters

aidstring ^[PT]{1}\d{8}$ required

An id that uniquely identifies the account.

card_idstring required

The card id you have defined for the card. (must not have trailing or leading spaces)

Request body

Example request

{
  "pin": {
    "format": {
      "prefix": "DINCARD:"
    },
    "pin": {
      "value": "012345",
      "barcode_128": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..."
    }
  }
}

Response

Pin rotated

Example response

{
  "pin": {
    "format": {
      "prefix": "DINCARD:"
    },
    "pin": {
      "value": "012345",
      "barcode_128": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..."
    }
  }
}