Link Account

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

DefinitionDescription
Endpointhttps://bre-b-sandbox.api.visionamos.passportfintech.com/v1/paas/entities/customers/accounts
MethodPOST
HeadersContent-Type: application/json, Authorization
AuthenticationAccess Token (Bearer Token)

Response Body

ParameterTypeConstraintsRequiredDescription
entity_customer_idUUID-YesThe unique identifier of the entity customer for whom the account is being linked.
typeStringENUM: ORDINARYYesThe type of account.
account_numberstring1-35YesThe bank-assigned account number, as allocated by the Sponsor Bank.

Example Request

JSON
Copy

Ensure that the provided entity_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
Copy

The response includes account balances (pending_balance and available_balance) in COP (Colombian Pesos).

Common Error and Handling

HTTP Status CodeMeaningDescription
400 Bad RequestInvalid DataRequired fields are missing or contain incorrect values.
401 UnauthorizedExpired TokenThe access token is invalid or has expired.
403 ForbiddenAccess DeniedThe request is not authorized to create an account.
500 Internal Server ErrorServer ErrorAn unexpected error occurred while creating the account.

Best Practices

  • Ensure the entity_customer_id is correct and associated with a valid customer.
  • Use the returned account id for further transactions or queries.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard