curl --request POST \
  --url https://api.bmpdigital.moneyp.dev.br/api/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

conta
object
motivoEncerramento
enum<integer>
Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
complementoEncerramento
string | null

Complemento do Encerramento da conta.

Response

200 - application/json
Success
codigo
string
motivoEncerramento
enum<integer>
Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
complementoEncerramento
string | null
situacao
enum<integer>
Available options:
1,
2,
3,
4,
5
motivoRejeicao
string | null
dtInclusao
string