---
updatedAt: 2026-06-17T18:28:55.000Z
agentTools:
  projectIndex: https://developers.berkeleypayment.com/llms.txt
---

# Retrieve PIN

Retrieve a specific `PIN` for a card on an account.

**Please note that currently this is only available for Canadian programs**

### Request

| Field | Value | Description|
|----|----|----|
|id             | string | ID of an Account |
|last_four_digits         | string | Last four digits of the card for which you are requesting a PIN. |


### Response

| Field | Value | Description|
|----|----|----|
|pin             | string | Current PIN attached to card on account |

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Card Issuing",
    "description": "This set of API endpoints allow you to create **Prepaid Card Programs** within the Berkeley Payments platform.  You can issue physical or virtual **Visa** or **Mastercard** prepaid cards.",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.staging.pungle.co",
      "description": "Staging/Test"
    },
    {
      "url": "https://api.pungle.io",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/v1/card_issuing/accounts/{id}/get_pin": {
      "post": {
        "tags": [
          "Accounts and Cards"
        ],
        "summary": "Retrieve PIN",
        "description": "Retrieve a specific `PIN` for a card on an account.\n\n**Please note that currently this is only available for Canadian programs**\n\n### Request\n\n| Field | Value | Description|\n|----|----|----|\n|id             | string | ID of an Account |\n|last_four_digits         | string | Last four digits of the card for which you are requesting a PIN. |\n\n\n### Response\n\n| Field | Value | Description|\n|----|----|----|\n|pin             | string | Current PIN attached to card on account |",
        "operationId": "retrievePin",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "last_four_digits": {
                    "type": "string",
                    "example": "1234"
                  }
                }
              },
              "example": {
                "last_four_digits": "1234"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      },
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "example": "1"
          },
          "description": "ID of an Account"
        }
      ]
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```