Saltar al contenido principal
POST
/
v1
/
entries
/
{entryId}
/
confirmation
Confirm key
curl --request POST \
  --url http://localhost:4011/v1/entries/{entryId}/confirmation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "token": "169248",
  "accountId": "01989f9e-6508-79f8-9540-835be49fbd0d"
}'
{
  "key": "+5511999888777",
  "keyType": 0,
  "status": 1,
  "statusString": "ACTIVE"
}

Authorizations

Authorization
string
header
required

JWT token obtained from the authentication endpoint

Path Parameters

entryId
string
required

Pix key to confirm

Body

application/json
token
string
required

Confirmation token received via SMS/email

Example:

"169248"

accountId
string<uuid>
required

Account ID confirming the key

Example:

"01989f9e-6508-79f8-9540-835be49fbd0d"

Response

Pix key confirmed successfully

key
string

Confirmed Pix key

Example:

"+5511999888777"

keyType
enum<integer>

Pix key type enumeration (0- REGISTRATION_NUMBER, 1- TAX_IDENTIFIER, 2- EMAIL, 3- PHONE, 4- RANDOM).

Available options:
0,
1,
2,
3,
4
status
enum<integer>

Pix key status enumeration (1- ACTIVE, 2- WAITING_OWNERSHIP_CONFIRMATION, 3- CREATING, 4- IM_CLAIMER_PENDING_CONFIRM_CLAIM_REQUEST, 5- IM_CLAIMER_PENDING_OWNER_GIVEWAY, 6- IM_OWNER_PENDING_GIVEAWAY_CONFIRM, 7- IM_CLAIMER_AND_OWNER_GAVEAWAY_PENDING_MY_CONFIRM).

Available options:
1,
2,
3,
4,
5,
6,
7
statusString
string

Human-readable status

Example:

"ACTIVE"

I