---
title: "After sending the challenge request the app must ask the user for the PIN Code."
method: POST
path: "/v1/pvt/POS/customers/{id}/challengevalidate"
tags: ["POS"]
---

# After sending the challenge request the app must ask the user for the PIN Code.

`POST /v1/pvt/POS/customers/{id}/challengevalidate`

## Request

- Base URL: `https://api.bonifiq.com.br`
- URL: `https://api.bonifiq.com.br/v1/pvt/POS/customers/{id}/challengevalidate`
- Auth: HTTP basic

The PIN Code could be received by the customer in SMS or e-mail.

## Path parameters

- `id` string, required

## Request body

- CustomerChallengeValidateRequest
  - `TransactionId` string, nullable: Same ID used in the Challenge call
  - `Code` string: The PIN Code informed by the customer

## Response `200`

- CustomerChallengeValidateResponse
  - `TransactionId` string, nullable: Same Transaction ID as informed in the request
  - `Success` boolean: If true, the challenge was successful and the purchase flow can continue
  - `FriendlyErrorMessage` string, nullable: If Success=false this field will show information regarding the problem

---

[API](https://skmtc.dev/bonifiq/apis/bonifiq-private-apis.md) - [All operations](https://skmtc.dev/bonifiq/apis/bonifiq-private-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/bonifiq/apis/bonifiq-private-apis/revisions/bac0977b23d5?raw)
