Resource Guides
Endpoints
Token Management
Customer Management
Account Management
Bre-B Key Management
Recipient Management
Payment Management
QR codes
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Retrieve Account
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Overview
This endpoint allows you to retrieve details of a specific account within the Passport API using the account's unique ID. The response includes account type, number, balance information, and associated entity details.
Endpoint Details
| Definition | Description |
|---|---|
| Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/accounts/:account_id |
| Method | GET |
| Headers | Authorization |
| Authentication | Access Token (Bearer Token) |
Request Body
- No request body
Example Request
JSON
3
1
curl --location --request GET 'https://api.paas.sandbox.co.passportfintech.com/v1/accounts/6c23f053-0e1a-46b4-b902-97ba47e351bc' \2
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \3
--data ''Response Body
- HTTP Status Code: 200 OK.
- The response contains the account information.
Example of Response
JSON
17
17
1
{2
"updated_at": "2025-10-09T17:41:23.179Z",3
"pending_balance": {4
"value": "0",5
"currency": "COP"6
},7
"customer_id": "db7e89e7-59d8-4ab1-b675-a2ae52c3339e",8
"account_type": "ORDINARY",9
"status": "ACTIVE",10
"account_number": "88827643001",11
"created_at": "2025-10-09T10:40:29.966Z",12
"available_balance": {13
"value": "90000000000000000",14
"currency": "COP"15
},16
"id": "6c23f053-0e1a-46b4-b902-97ba47e351bc"17
}The available_balance represents the funds ready for use, while pending_balance reflects transactions still being processed.
Common Errors and Handling
| HTTP Status Code | Meaning | Description |
|---|---|---|
| 400 Bad Request | Invalid Request | The account ID is missing or incorrectly formatted. |
| 401 Unauthorized | Expired Token | The access token is invalid or has expired. |
| 403 Forbidden | Access Denied | The request is not authorized to retrieve this account. |
| 404 Not Found | Account Not Found | No account was found with the given ID. |
| 500 Internal Server Error | Server Error | An unexpected error occurred while retrieving the account details. |
Best Practices
- Ensure the
account_idis correctly provided in the request URL. - Use the retrieved account details to manage transactions and funds.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
List AccountsDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message