Listagem de wallets
Para a consulta de wallets criadas para o cliente utilizamos o método GET/clients/{{clientId}}/wallets
Nessa consulta de wallets deve ser informado o Id do cliente para que retorne as wallets cadastradas.
Exemplo de requisição de listagem de Wallets
https://kaizen.bt-production.app/wallet-service/clients/4c26ae6a-7871-4341-8418-f6f174854333/wallets
Exemplo de resposta de listagem de wallets
[
{
"id": "895fa9ea-40f7-44ce-9a22-6433d79a6ffb",
"createdAt": "2022-06-10T13:06:39.887Z",
"updatedAt": null,
"deletedAt": null,
"client": "e2d5b0d2-6075-478e-878e-60519bbe68b3",
"clientId": "e2d5b0d2-6075-478e-878e-60519bbe68b3",
"alias": "Joao",
"accountId": "43229c4a-6e5d-41d2-a231-e1be6d7085d3",
"additionalData": {},
"status": "ready",
"type": "internal",
"accountType": "checking",
"typePerson": "corporate",
"ispb": "29079725",
"bankBranch": "0001",
"bankNumber": "553781792319",
"states": []
},
{
"id": "74420248-b4a0-45f7-a7c3-959e51b0678f",
"createdAt": "2022-06-09T20:06:47.455Z",
"updatedAt": null,
"deletedAt": null,
"client": "e2d5b0d2-6075-478e-878e-60519bbe68b3",
"clientId": "e2d5b0d2-6075-478e-878e-60519bbe68b3",
"alias": "Joao",
"accountId": "9f6a5b28-5333-4797-969a-907856f0047f",
"additionalData": {},
"status": "ready",
"type": "internal",
"accountType": "checking",
"typePerson": "corporate",
"ispb": "29079725",
"bankBranch": "0001",
"bankNumber": "191161744046",
"states": []
},
{
"id": "2472bf09-2a56-4ee2-98a0-481033f9cc58",
"createdAt": "2022-06-09T17:54:16.856Z",
"updatedAt": null,
"deletedAt": null,
"client": "e2d5b0d2-6075-478e-878e-60519bbe68b3",
"clientId": "e2d5b0d2-6075-478e-878e-60519bbe68b3",
"alias": "Teste SA",
"accountId": "30ab411c-9bc8-4cce-b57a-87a5fe063ee5",
"additionalData": {},
"status": "ready",
"type": "internal",
"accountType": "checking",
"typePerson": "corporate",
"ispb": "29079725",
"bankBranch": "0001",
"bankNumber": "972191470289",
"states": []
}
]
Updated almost 2 years ago