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

Was this helpful?

  1. PIX
  2. Chaves Pix

Deletar chave

Deletar/Cancelar uma chave

DELETE https://dev.stric.com.br/pix/keys/{{id}}

Path Parameters

Name
Type
Description

id*

String

ID da chave a ser cancelada

Headers

Name
Type
Description

authorization*

String

Bearer token

account*

String

ID da conta a ser operada

{
    "id": "9ac4a8b7-2b84-4ef0-87de-e9c06e9cfc5b",
    "key": "email@email.com.br",
    "type": "email",
    "typeCode": 2,
    "status": "PRE-CANCELED",
    "date": "2022-06-20T16:07:59.399Z"
}
{
    "statusCode": 400,
    "message": "key not found",
    "friend": "Essa chave PIX não existe"
}
{
    "statusCode": 400,
    "error": "Bad Request",
    "message": "Validation failed",
    "validation": {
        "params": {
            "source": "params",
            "keys": [
                "id"
            ],
            "message": "\"id\" must be a valid GUID"
        }
    }
}
PreviousListar ChavesNextValidar Chave PIX

Last updated 2 years ago

Was this helpful?