curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/external-accounts/{externalAccountId} \
--header 'Authorization: Bearer <token>'{
"externalAccount": {
"id": "aa6e6efa-8d73-497c-8278-0347f459bd68",
"ownerId": "1e32fca3-23f7-40ed-bc1b-de10c790182d",
"type": "card",
"status": "ok",
"label": "My Visa Card",
"asset": "GBP",
"network": "visa",
"features": [
"deposit",
"withdraw"
],
"details": {
"type": "debit",
"last4Digits": "1519",
"expiryDate": {
"month": 12,
"year": 2030
},
"octSupport": "supported"
},
"createdAt": "2024-06-01T00:00:00Z",
"updatedAt": "2024-07-15T00:00:00Z"
}
}Get an external account for the user.
curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/external-accounts/{externalAccountId} \
--header 'Authorization: Bearer <token>'{
"externalAccount": {
"id": "aa6e6efa-8d73-497c-8278-0347f459bd68",
"ownerId": "1e32fca3-23f7-40ed-bc1b-de10c790182d",
"type": "card",
"status": "ok",
"label": "My Visa Card",
"asset": "GBP",
"network": "visa",
"features": [
"deposit",
"withdraw"
],
"details": {
"type": "debit",
"last4Digits": "1519",
"expiryDate": {
"month": 12,
"year": 2030
},
"octSupport": "supported"
},
"createdAt": "2024-06-01T00:00:00Z",
"updatedAt": "2024-07-15T00:00:00Z"
}
}OAuth 2.0 authentication.
The external account identifier.
External account retrieved.
Show child attributes
The unique identifier of the external account.
The unique identifier of the user that owns the account.
The type of the external account.
card, bank The status of the external account.
processing, ok, expired, failed, restricted, blocked The label of the external account.
The asset in which the external account is denominated.
The features of the external account.
withdraw, deposit The details of the external account based on the type and network.
Show child attributes
The last 4 digits of the card number.
The support for Open Credit Transfer (withdrawals) for the card.
unknown, supported, unsupported The type of the card, available if card was recognized.
credit, debit The time at which the external account was created.
The last time at which the external account was updated.
The details of the status of the external account.
Show child attributes
The reason why the external account is in its current status.
card-data-invalid, card-declined-by-bank, card-expired, card-permanently-declined-by-bank, card-unauthorized, card-unsupported, bank-account-holder-name-mismatch, velocity, under-review, unspecified-error The network that the external account corresponds to.