Get Destination Accounts
/getDestinationAccounts
Use the Get Destination Accounts endpoint to retrieve a list of remote accounts that were created by Create Destination Account for the specified accountNo
.
See Record-Set Pagination for instructions on using the paging parameter.
Input parameters
Name | Req | Data type | Description | Pattern | Example |
---|---|---|---|---|---|
apiLogin | X | string | Web service username, as provided by Galileo. | Max 50 characters | "AbC123-9999" |
apiTransKey | X | string | Web service password, as provided by Galileo. | Max 15 characters | "4sb62fh6w4h7w34g" |
providerId | X | int32 | Galileo-issued provider identifier. | Max 10 digits | 9999 |
transactionId | X | string | A unique provider-generated ID to identify this API call. A UUID is preferred. This value is used for idempotency | Max 60 characters | "123e4567-e89b-12d3-a456-426614174000" |
accountNo | X | string | The PRN of the sending account. | PRN | "999101789123" |
maxRecords | int32 | Maximum number of records per page to return. Default: 100 | Max 200 | 20 | |
nextPageToken | string | Pass the next_page_token from a previous response to return the next page | Token string |
Example request
curl --location --request POST 'https://[URL]/getDestinationAccounts' \
--header 'response-content-type: json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'apiLogin=[redacted]' \
--data-urlencode 'apiTransKey=[redacted]' \
--data-urlencode 'providerId=19' \
--data-urlencode 'transactionId=cb1e330b-91a8-4e3f-a18a-5e2a31692f69' \
--data-urlencode 'accountNo=652101062469' \
--data-urlencode 'maxRecords=1'
--data-urlencode 'nextPageToken='
Response fields
The endpoint returns only those fields that contain data. Empty fields are not returned.
Name | Data type | Req | Description |
---|---|---|---|
account_no | string | Y | PRN or PAN of the Galileo account |
destination_accounts | list | Y | Object containing a list of destination accounts |
destination_accounts.destination_name | string | Y | Display name of the destination account |
destination_accounts.destination_bank_name | string | Y | Bank name of the destination account |
destination_accounts.destination_bank_standard_routing | string | Standard routing number for the destination_bank_name | |
destination_accounts.destination_bank_wire_routing | string | Wire routing number for the destination_bank_name | |
destination_accounts.destination_bank_address | string | Address of the destination_bank_name | |
destination_accounts.intermediary_bank_name | string | Bank name of the intermediary bank | |
destination_accounts.intermediary_bank_wire_routing | string | Wire routing number of the intermediary_bank_name | |
destination_accounts.intermediary_bank_address | string | Address of the intermediary_bank_name | |
destination_accounts.destination_account_number | string | Y | Account number for the destination account |
destination_accounts.destination_account_name | string | Y | Name on the destination account |
destination_accounts.destination_account_type | string | Type of account for destination_account_number : C (checking), S (savings), M (money market) | |
next_page_token | string | Token to use to retrieve the next page. When this field is missing, there are no more pages to return. | |
total_record_count | int | Y | Total number of records retrieved per page |
Example response
{
"status_code": 0,
"status": "Success",
"processing_time": 0.396,
"response_data": {
"account_no": "999101062469",
"destination_accounts": [
{
"destination_account_address": "335 W Cerulean St., Blueville, UT 84030",
"destination_account_id": "7b893612-9651-5c50-b6c6-c8095c3a8ac5",
"destination_account_name": "Celia Andrade",
"destination_account_number": "999123456789",
"destination_account_type": "C",
"destination_bank_address": "SETOR DE AUTARQUIAS NORTE , 5, EDIF.BANCO DO BRASIL - FLOOR 10, LOTE B - SAUN QUADRA Brazil",
"destination_bank_name": "BANCO DO BRASIL S.A.",
"destination_bank_standard_routing": null,
"destination_bank_wire_routing": "074000078",
"destination_name": "Celia College Fund",
"intermediary_bank_address": null,
"intermediary_bank_name": "n/a",
"intermediary_bank_wire_routing": null,
"status": "active"
}
],
"next_page_token": "fDCzbl/Lvf5PpxJZeaJBByafsMEB38B51Brn13/mKjzJeUQNZ17OmrIkZPT9L8ovIhX1zoVgFlo1HehyydMWkHkCbxdCTIz+OK9XrgmERATxmR59kAtyaNgDAqvyZmhBwq+S+Z7K",
"total_record_count": 1
},
"echo": {
"provider_transaction_id": "",
"provider_timestamp": null,
"transaction_id": "c41e3ab7-717f-4184-af8e-71c8543d88ff"
},
"system_timestamp": "2023-08-23 07:28:08",
"rtoken": "1ee75f4f-1e12-4847-b995-1f131bc9abd3"
}
Status codes
See Global Response Statuses for status codes that are common across endpoints.