Skip to main content

Simulating the Receipt Webhook for a Portability Request

Request

ENDPOINT 
/mock/pix_keys/key_claim_simulation/receive

MÉTODO 
POST

Request Body
{
"pix_key": "12345678000190",
"pix_key_type": "cnpj"
}

Body Params

FieldTypeDescriptionCharacters
pix_keyenumkey to simulate the receipt of a portability request.-
pix_key_typeenumtype of the pix key for portability.Enumerators

Enumerators pix_key_type

EnumeratorTranslation
random_keyrandom
emailemail
phone_numberphone number
cpfcpf
cnpjcnpj

Pix Key Types

The pix key sent in the payload must be active in the sandbox environment and in an account you have created.

Response

STATUS
201
Response Body
{}
STATUS
4XX
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP CodeQI Code
code
Title
title
Description
Description
Translation
translation
400PIX000072Pix Key Claim Non FinishedPix key 12345678000190, already has a claim request non finished.Chave pix 12345678000190, já possui um pedido de portabilidade não finalizado.
400PIX000026Account not foundAccount not found for account_key: 6aaadfbc-76ba-45d2-bb21-138bcb2baa62Conta não encontrada para account_key: 6aaadfbc-76ba-45d2-bb21-138bcb2baa62