LogoLogo
Stric
  • Documentação
  • Autenticação
  • CONTAS
    • Registro de contas
  • Extrato
    • Extrato
    • Detalhes da transação
  • TRANSFERÊNCIAS
    • Transferência Entre Contas
    • Transferências (TED)
  • PIX
    • Chaves Pix
      • Registrar nova chave
      • Listar Chaves
      • Deletar chave
    • Validar Chave PIX
    • Transferência PIX
    • QR Code
  • BOLETOS
    • Boleto de Cobrança
Powered by GitBook
On this page
  • Cadastrar uma nova chave
  • Tipos de chaves disponíveis

Was this helpful?

  1. PIX
  2. Chaves Pix

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

email

E-mail

phone

Celular

PreviousChaves PixNextListar Chaves

Last updated 2 years ago

Was this helpful?