Get user accounts
Lists the payer accounts, balances, and details shared under the data consent of the Linked journey (Smart Pix). Like the consent route, this is an authenticated proxy to Data Link using the service's own IAM credentials.
The userId comes from the data consent — read it from
Get data consent. Use the returned list to let the
payer choose the account that will fund the Sweeping transfers.
/api/v1/linked-journey/accounts/{userId}List user accounts by userId
Retrieves the accounts shared by the payer at Data Link, with balances and account details.
Path parameters
1 campouserId●User identifier at Data Link, returned by Get data consent.
Headers
2 camposX-Client-IP●IP address of the end user.
subTenantIdOptional; kept for consistency with the other routes of the journey. It is not forwarded to Data Link on this GET.
curl --request GET \
--url 'https://embedded-payment-manager.hml.linaob.com.br/api/v1/linked-journey/accounts/283f1e2e-0d99-46e9-a4a6-91e41add490c' \
--header 'Authorization: Bearer <SEU_TOKEN>' \
--header 'X-Client-IP: 200.150.100.50' \
--header 'subTenantId: 1f2b6a1c-6a3e-4b1a-9f0e-6f0b1a2c3d4e'Response
- dataarray of objectsrequired
Accounts shared by the payer.
- itemobject
- messagestring
Response message.
- typestring
Envelope type (for example `success`).
- statusCodeinteger· nullable
HTTP status code.
{
"type": "success",
"message": "User accounts retrieved successfully",
"data": [
{
"type": "CONTA_DEPOSITO_A_VISTA",
"number": "94088392",
"accountId": "291e5a29-49ed-401f-a583-193caa7aceee",
"brandName": "Sib Bank",
"compeCode": "123",
"branchCode": "6272",
"checkDigit": "4",
"companyCnpj": "40156018000100",
"organisationId": "74e929d9-33b6-4d85-8ba7-c146c867a817",
"authorisationServerId": "c8f0bf49-4744-4933-8960-7add6e590841",
"updatedAt": "2026-03-24T22:46:05.107Z",
"balance": {
"accountID": "0ef94d98-4369-4b27-a75b-78d99d1b5a3e",
"availableAmount": {
"amount": "1530.45",
"currency": "BRL"
},
"blockedAmount": {
"amount": "0.00",
"currency": "BRL"
},
"automaticallyInvestedAmount": {
"amount": "0.00",
"currency": "BRL"
}
},
"details": {
"type": "CONTA_PAGAMENTO_PRE_PAGA",
"number": "3782705",
"subtype": "INDIVIDUAL",
"currency": "BRL",
"compeCode": "999",
"branchCode": "1099",
"checkDigit": "9"
}
}
]
}Next steps
- Create recurring payment — execute a transfer from the selected account once the consent is
AUTHORISED. - Get recurring payment — poll the transfer until it settles.