Criação de wallet
Para a criação de wallet utilizamos o método POST/wallets
Nessa criação de wallet deverá ser informado a descrição da wallet (alias) o Id do cliente.
Exemplo de criação de wallet
https://kaizen.bt-production.app/wallet-service/wallets/
{
"alias": "{{Descrição da Wallet}}",
"clientId": "4c26ae6a-7871-4341-8418-f6f174854333"
}
Exemplo de resposta
{
"id": "74420248-b4a0-45f7-a7c3-959e51b0678f",
"createdAt": "2022-06-09T20:06:47.455Z",
"alias": "Iron Bank of Braavos Wallet",
"accountId": "9f6a5b28-5333-4797-969a-907856f0047f",
"client": {
"id": "e2d5b0d2-6075-478e-878e-60519bbe68b3",
"createdAt": "2022-06-09T17:54:16.770Z",
"updatedAt": null,
"deletedAt": null,
"name": "Teste SA",
"taxId": "75081383000179",
"notificationUrl": "https://webhook.site/29f20d55-e4e3-4b04-aea3-75dd3f18eb2d",
"type": "corporate",
"status": "active"
},
"status": "ready",
"type": "internal",
"bankBranch": "0001",
"bankNumber": "191161744046",
"ispb": "29079725",
"accountType": "checking",
"typePerson": "corporate",
"states": [
{
"id": "adf33101-0387-42ed-bdec-39203297acf6",
"createdAt": "2022-06-09T20:06:47.469Z",
"additionalData": {},
"status": "ready"
}
]
}
Updated about 2 years ago