/accounts/{id}Retrieve
Recovers the account resource by its id
Parameters
Path Parameters
| Name | Type |
|---|---|
idrequired | string |
Responses
Account of type bank
Primary account identifier
Top-level account category. - `BANK`: deposit accounts (checking, savings). The `bankData` object is populated. - `CREDIT`: credit-card accounts. The `creditData` object is populated.
Account subtype within its `type`. - `CHECKING_ACCOUNT`: conta corrente (`type=BANK`). - `SAVINGS_ACCOUNT`: conta poupança (`type=BANK`). - `CREDIT_CARD`: credit card account (`type=CREDIT`). For these the `number` field is masked to the last 4 digits.
External identifier of the account
Name of the account in a descriptive format
Name of the account as defined externally
Funds of the account
Attached item's primary identifier
Tax ID of the corresponding owner
Name of the owner of the account
Code referencing the currency of the balance
Bank account additional fields
Complete number of the bank account `(agency code / account number)`
Balance including not posted transactions
Balance automatically invested in the account by the FI
Overdraft contracted limit
Overdraft used limit
Valor de operação contratada em caráter emergencial para cobertura de saldo devedor em conta de depósitos à vista e de excesso sobre o limite pactuado de cheque especial.
Whether the account has any active reserved balances ("saldo reservado"), such as goal-based savings ("caixinhas") or judicial holds
Funds reserved/earmarked on the account. Only present when hasReservedBalance is true and the institution exposes the data
Credit account additional fields
Card level (Black, Signature)
Card Brand (Visa, Mastercard, Elo)
Free text describing the brand category when brand is 'OTHER'
Date when the balance was closed
Date when the balance is dued
Credit limit available to spent
Balance in USD
Minimum payment due
Maximum amount that can be spent
Indicates whether the credit limit can be adjusted (e.g. a customer can request an increase). Only returned when reported by the institution.
Credit card status
Credit card holder type
Disaggregated credit card limits
Additional credit cards associated with the main one
Date when the account was first created in Pluggy
Date of the last update of the account data
Example response
{
"id": "a658c848-e475-457b-8565-d1fffba127c4",
"type": "BANK",
"subtype": "SAVINGS_ACCOUNT",
"number": "40114687/1234",
"name": "Conta Corrente",
"marketingName": "SIGNATURE CJA. AHORRO PESOS",
"balance": 120950,
"itemId": "a0922d6f-2007-4169-a181-b961500608db",
"taxNumber": "416.799.495-00",
"owner": "John Doe",
"currencyCode": "BRL",
"bankData": {
"transferNumber": "string",
"closingBalance": 0,
"automaticallyInvestedBalance": 0,
"overdraftContractedLimit": 0,
"overdraftUsedLimit": 0,
"unarrangedOverdraftAmount": 0,
"hasReservedBalance": true,
"reservedBalances": [
{
"name": "string",
"identification": "string",
"availableAmounts": [
{
"amount": 0,
"currencyCode": "string",
"remuneration": {
"preFixedRate": 0,
"postFixedIndexerPercentage": 0,
"rateType": "string",
"indexer": "string",
"calculation": "string",
"ratePeriodicity": "string",
"indexerAdditionalInfo": "string"
}
}
]
}
]
},
"creditData": {
"level": "string",
"brand": "string",
"brandAdditionalInfo": "string",
"balanceCloseDate": "2024-01-01T00:00:00Z",
"balanceDueDate": "2024-01-01T00:00:00Z",
"availableCreditLimit": 0,
"balanceForeignCurrency": 0,
"minimumPayment": 0,
"creditLimit": 0,
"isLimitFlexible": true,
"status": "ACTIVE",
"holderType": "MAIN",
"disaggregatedCreditLimits": [
{
"creditLineLimitType": "string",
"consolidationType": "string",
"identificationNumber": "string",
"isLimitFlexible": true,
"usedAmount": 0,
"usedAmountCurrencyCode": "string",
"lineName": "CREDITO_A_VISTA",
"lineNameAdditionalInfo": "string",
"limitAmount": 0,
"limitAmountCurrencyCode": "string",
"limitAmountReason": "string",
"customizedLimitAmount": 0,
"customizedLimitAmountCurrencyCode": "string",
"availableAmount": 0,
"availableAmountCurrencyCode": "string"
}
],
"additionalCards": [
{
"number": "string"
}
]
},
"createdAt": "2024-01-15T13:21:08.456Z",
"updatedAt": "2024-07-22T18:05:11.328Z"
}Code Examples
curl -X GET 'https://api.pluggy.ai/accounts/{id}' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY'