POST
/
GetWalletsByCustomerId
curl --request POST \
  --url https://gateway.finhub.cloud/wallet/2.0.0/GetWalletsByCustomerId \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'consumerId: <consumerid>' \
  --header 'organizationId: <organizationid>' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "walletAddress": {
    "service": "<string>",
    "product": "<string>",
    "businessArea": "<string>",
    "lineOfBusiness": "<string>",
    "consumerId": "<string>",
    "organizationId": "<string>"
  }
}'
{
  "wallets": [
    {
      "id": "<string>",
      "CreatedAt": "<string>",
      "UpdatedAt": "<string>",
      "CreatedBy": "<string>",
      "UpdatedBy": "<string>",
      "name": "<string>",
      "is_root": true,
      "parent_wallet_id": "<string>",
      "customer_id": "<string>",
      "owner_id": "<string>",
      "wallet_type": "<string>",
      "line_of_business": "<string>",
      "service": "<string>",
      "assets": [
        {
          "id": "<string>",
          "owner": "<string>",
          "is_root": true,
          "asset_type": "BUSINESS_BENEFICIARY",
          "is_encrypted": true,
          "available_balance": {
            "balance_value": "<string>"
          },
          "current_balance": {
            "balance_value": "<string>"
          },
          "asset_sub_unit_id": "<string>",
          "asset_sub_unit_name": "<string>",
          "asset_sub_unit_short_name": "<string>",
          "asset_unit_id": "<string>",
          "asset_picture_url": "<string>",
          "asset_sub_unit_alias_name": "<string>",
          "data": {
            "linked_account": {
              "iban": "<string>"
            },
            "beneficiary": {
              "party_type": "<string>",
              "beneficiary_id": "<string>",
              "status": "<string>",
              "currency": "<string>",
              "iban": "<string>",
              "organization_id": "<string>",
              "first_name": "<string>",
              "last_name": "<string>",
              "address": "<string>",
              "country": "<string>",
              "email": "<string>",
              "phone_number": "<string>",
              "user_name": "<string>",
              "short_name": "<string>",
              "company_name": "<string>",
              "pep_check_result": "<string>",
              "pep_checked_on": "<string>",
              "pep_confirmed_on": "<string>"
            }
          }
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required
organizationId
string
required
consumerId
string
required

Body

application/json

Response

201
application/json

Created

The response is of type object.