For the complete documentation index, see llms.txt. This page is also available as Markdown.

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"
        }
    }
}

Last updated

Was this helpful?