Get Destination Accounts

Back to index page

/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

NameReqData typeDescriptionPatternExample
apiLoginXstringWeb service username, as provided by Galileo.Max 50 characters"AbC123-9999"
apiTransKeyXstringWeb service password, as provided by Galileo.Max 15 characters"4sb62fh6w4h7w34g"
providerIdXint32Galileo-issued provider identifier.Max 10 digits9999
transactionIdXstringA unique provider-generated ID to identify this API call. A UUID is preferred. This value is used for idempotencyMax 60 characters"123e4567-e89b-12d3-a456-426614174000"
accountNoXstringThe PRN of the sending account.PRN"999101789123"
maxRecordsint32Maximum number of records per page to return. Default: 100Max 20020
nextPageTokenstringPass the next_page_token from a previous response to return the next pageToken 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.

NameData typeReqDescription
account_nostringYPRN or PAN of the Galileo account
destination_accountslistYObject containing a list of destination accounts
destination_accounts.destination_namestringYDisplay name of the destination account
destination_accounts.destination_bank_namestringYBank name of the destination account
destination_accounts.destination_bank_standard_routingstringStandard routing number for the destination_bank_name
destination_accounts.destination_bank_wire_routingstringWire routing number for the destination_bank_name
destination_accounts.destination_bank_addressstringAddress of the destination_bank_name
destination_accounts.intermediary_bank_namestringBank name of the intermediary bank
destination_accounts.intermediary_bank_wire_routingstringWire routing number of the intermediary_bank_name
destination_accounts.intermediary_bank_addressstringAddress of the intermediary_bank_name
destination_accounts.destination_account_numberstringYAccount number for the destination account
destination_accounts.destination_account_namestringYName on the destination account
destination_accounts.destination_account_typestringType of account for destination_account_number: C (checking), S (savings), M (money market)
next_page_tokenstringToken to use to retrieve the next page. When this field is missing, there are no more pages to return.
total_record_countintYTotal 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.