Registrar nova chave
Cadastrar uma nova chave
POST https://dev.stric.com.br/pix/keys
Headers
Name
Type
Description
authorization*
String
Bearer token
account*
String
ID da conta a ser operada
Request Body
Name
Type
Description
value*
String
Valor da chave
type*
String
Tipo da chave cadastrada (Ver tabela abaixo)
{
"key": "*****",
"type": "random",
"typeCode": 4,
"status": "WAITING",
"statusCode": 0,
"id": "63207615-fb27-47dd-ba2e-589d26bb0846",
"date": "2022-06-20T22:33:06.852Z"
}{
"statusCode": 400,
"error": "Bad Request",
"message": "Validation failed",
"validation": {
"body": {
"source": "body",
"keys": [
"type"
],
"message": "\"type\" must be one of [document, email, phone, random]"
}
}
}Tipos de chaves disponíveis
type
Descrição
document
CPF/CNPJ
random
Chave Aleatória
phone
Celular
Last updated
Was this helpful?
