---
title: "Get card pin"
method: POST
path: "/api/v1/cards/{cardId}/pin"
tags: ["Cards/Details"]
---

# Get card pin

`POST /api/v1/cards/{cardId}/pin`

## Request

- Base URL: `https://api-business.wirexapp.com`
- URL: `https://api-business.wirexapp.com/api/v1/cards/{cardId}/pin`
- Auth: API key in header `Authorization`

Retrieves card Pin code using the action confirmation token generated using the **Confirmation** flow

## Path parameters

- `cardId` string, required

## Request body `*/*`

- RequestCardDetailsGetPinRequestBody
  - `action_token` string, required: Action token retrieved using action confirmation flow

## Response `200`

OK

- ResponseCardDetailsPinResponse
  - `pin` string, required: Pin code for the card

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/wirexapp/apis/wirex-corporate-baas-api.md) - [All operations](https://skmtc.dev/wirexapp/apis/wirex-corporate-baas-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wirexapp/apis/wirex-corporate-baas-api/revisions/6525bfbc8f99?raw)
