Skip to main content
POST
/
v1
/
pvt
/
POS
/
customers
/
{id}
/
challengevalidate
After sending the challenge request the app must ask the user for the PIN Code.
curl --request POST \
  --url https://api.bonifiq.com.br/v1/pvt/POS/customers/{id}/challengevalidate \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "TransactionId": "<string>",
  "Code": "<string>"
}
'
{
  "TransactionId": "<string>",
  "Success": true,
  "FriendlyErrorMessage": "<string>"
}

Authorizations

Authorization
string
header
required

Use API Basic Auth Keys

Path Parameters

id
string
required

Body

application/json
TransactionId
string | null

Same ID used in the Challenge call

Code
string

The PIN Code informed by the customer

Response

200 - application/json
TransactionId
string | null

Same Transaction ID as informed in the request

Success
boolean

If true, the challenge was successful and the purchase flow can continue

FriendlyErrorMessage
string | null

If Success=false this field will show information regarding the problem