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?
Link Account
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Overview
This endpoint links an existing bank Account, manually opened and approved by the Sponsor Bank, to a Customer resource on the PaaS platform. While the account must already exist in the Sponsor Bank’s core system, this call registers a unique reference in the PaaS system to enable balance inquiries and transaction operations.
The account opening process with the sponsor bank is currently manual, and Passport facilitates it with the help of our Compliance Team, this endpoint is used after this process to link the objects.
Endpoint Details
| Definition | Description |
|---|---|
| Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/accounts/link |
| Method | POST |
| Headers | Content-Type: application/json, Authorization |
| Authentication | Access Token (Bearer Token) |
Response Body
| Parameter | Type | Constraints | Required | Description |
|---|---|---|---|---|
| customer_id | UUID | - | Yes | The unique identifier of the entity customer for whom the account is being linked. |
| account_type | String | ENUM: ORDINARY | Yes | The type of account. |
| account_number | string | 1-35 | Yes | The bank-assigned account number, as allocated by the Sponsor Bank. |
Example Request
JSON
8
8
1
curl --location 'https://api.paas.sandbox.co.passportfintech.com/v1/accounts/link' \2
--header 'Content-Type: application/json' \3
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \4
--data '{5
"customer_id": "6c23f053-0e1a-46b4-b902-97ba47e351bc",6
"account_type": "ORDINARY",7
"account_number": "88827643001"8
}'Ensure that the provided customer_id is valid before making the request.
Response Body
- HTTP Status Code: 200 OK.
- Returns the linked account and its metadata.
Example of Response
JSON
17
17
1
{2
"pending_balance": {3
"value": "0",4
"currency": "COP"5
},6
"customer_id": "db7e89e7-59d8-4ab1-b675-a2ae52c3339e",7
"account_type": "ORDINARY",8
"updated_at": "2025-10-09T10:40:29.966Z",9
"account_number": "88827643001",10
"created_at": "2025-10-09T10:40:29.966Z",11
"status": "ACTIVE",12
"available_balance": {13
"value": "0",14
"currency": "COP"15
},16
"id": "6c23f053-0e1a-46b4-b902-97ba47e351bc"17
}- The response includes account balances (
pending_balanceandavailable_balance) in COP (Colombian Pesos). - The
idfrom the endpoint is theaccount_idfor use on other endpoints.
Common Error and Handling
| HTTP Status Code | Meaning | Description |
|---|---|---|
| 400 Bad Request | Invalid Data | Required fields are missing or contain incorrect values. |
| 401 Unauthorized | Expired Token | The access token is invalid or has expired. |
| 403 Forbidden | Access Denied | The request is not authorized to create an account. |
| 500 Internal Server Error | Server Error | An unexpected error occurred while creating the account. |
Best Practices
- Ensure the
customer_idis correct and associated with a valid customer. - Use the returned account
idfor further transactions or queries.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
Retrieve AccountDiscard 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