curl --request POST \
  --url https://api.ext.dbs.moneyp.dev.br/api/v3/Conta/Encerramento \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --header 'IgnoraHandshake: <ignorahandshake>' \
  --data '{
  "conta": {
    "agencia": "<string>",
    "agenciaDigito": "<string>",
    "conta": "<string>",
    "contaDigito": "<string>",
    "contaPgto": "<string>",
    "tipoConta": 1,
    "modeloConta": 1
  },
  "motivoEncerramento": 1,
  "complementoEncerramento": "<string>"
}'
{
  "codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "motivoEncerramento": 1,
  "complementoEncerramento": "<string>",
  "situacao": 1,
  "motivoRejeicao": "<string>",
  "dtInclusao": "2023-11-07T05:31:56Z"
}

Through this endpoint, partners can request the closure of an account at bank 274.

Account closures, before being effectively executed in the system, undergo an analysis by the bank’s operators, who will proceed with the closure request.

Authorizations

Authorization
string
header
required

Copie 'Bearer ' + token

Headers

IdempotencyKey
string
required

Chave única para garantir que uma operação seja executada apenas uma vez.

IgnoraHandshake
boolean
default:true
required

(somente em homologação)

Body

Response

200 - application/json

Success

The response is of type object.