Create Decoded Pix Key ID
GET/v2/pix/payment/decode/by-key
Generate a new Decoded Pix Key ID to facilitate pix payments by pix key. Provide the pix key's information in the request body and execute to obtain its ID (decoded_pix_key_id), which is required for creating pix payments using a pix key.
Request
Query Parameters
- CPF: Key type CPF.
- EVP: Key type EVP.
- EMAIL: Key type EMAIL.
- PHONE: Key type PHONE.
- CNPJ: Key type CNPJ.
Pix key.
Possible values: [CNPJ
, CPF
, PHONE
, EMAIL
, EVP
]
Pix Key state:
Header Parameters
The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.
Sender Wallet UUID (if empty, your default Wallet UUID will be settled)
The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.
Responses
- 200
- 400
- 401
- 422
Pix key decoded successfully.
- application/json
- Schema
- Example (from schema)
Schema
- CPF: Key type CPF.
- EVP: Key type EVP.
- EMAIL: Key type EMAIL.
- PHONE: Key type PHONE.
- CNPJ: Key type CNPJ.
Unique decoded pix key UUID.
Possible values: [CNPJ
, CPF
, PHONE
, EMAIL
, EVP
]
Pix Key state:
Possible values: [NATURAL_PERSON
, LEGAL_PERSON
]
Pix key.
Owner document number.
Owner name.
Company's trade name.
Bank ISPB
{
"id": "d5e0bec8-8695-4557-b0dd-021788cd83ef",
"type": "EMAIL",
"person_type": "LEGAL_PERSON",
"key": "string",
"document": "string",
"name": "string",
"trade_name": "string",
"end_to_end_id": "string",
"ispb": "string"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.