GET
/
v1
/
holders
/
{holder_id}
/
aliases
List Alias Accounts for a Holder
curl --request GET \
  --url https://crm.sandbox.midaz.io/v1/holders/{holder_id}/aliases
{
"items": [
{
"id": "01951ad1-9f62-793a-9095-fe7701f94434",
"holderId": "0194f0ea-2cb2-78c9-b9be-704ba20a9cd8",
"document": "08912345965",
"ledgerId": "77b0fb8b-1bd9-4810-9c6d-7e80064fab0c",
"accountId": "0194fa41-5333-77c7-91fe-309fb4618155",
"metadata": {
"key": "value"
},
"bankingDetails": {
"branch": "0001",
"account": "123450",
"type": "CACC",
"openingDate": "2010-01-01",
"iban": "US12345678901234567890",
"countryCode": "US",
"bankId": "12345"
},
"createdAt": "2024-12-17T14:34:09.191705548Z",
"updatedAt": "2024-12-17T14:34:09.191705648Z",
"deletedAt": null
},
{
"id": "01951ad1-9f62-793a-9095-fe7701f94434",
"holderId": "0194f0ea-2cb2-78c9-b9be-704ba20a9cd8",
"document": "08912345965",
"ledgerId": "77b0fb8b-1bd9-4810-9c6d-7e80064fab0c",
"accountId": "0194fa41-5333-77c7-91fe-309fb4618155",
"metadata": {
"key": "value"
},
"bankingDetails": {
"branch": "0001",
"account": "123450",
"type": "CACC",
"openingDate": "2010-01-01",
"iban": "US12345678901234567890",
"countryCode": "US",
"bankId": "12345"
},
"createdAt": "2024-12-17T14:34:09.191705548Z",
"updatedAt": "2024-12-17T14:34:09.191705648Z",
"deletedAt": "2024-12-17T14:34:09.191705648Z"
}
],
"page": 1,
"limit": 10
}

Headers

Authorization
string

The authorization token. Important: This header only is required if your environment has the Acces Manager plugin enabled.

X-Organization-id
string

The unique identifier of the Organization associated with the request.

Path Parameters

holder_id
string
required

Unique identifier of the Holder.

Query Parameters

metadata.key
string

The metadata key provided when the Alias Account was created.

limit
integer
default:10

The maximum number of items to include in the response.

page
integer
default:1

The number of the page that you want to retrieve.

sort_order
enum<string>

The order used to sort the results.

Available options:
asc,
desc
include_deleted
string

If true, the Alias Accounts that were logically deleted (soft deleted) will also be included.

Response

Indicates that the resource was successfully created and the operation was completed as expected.

items
object[]
required

List of returned results.

page
integer
default:1
required

The number of the page returned.

limit
integer
default:10
required

The number of items to include in the response.