---
title: "Get RTF Account Relationship"
method: POST
path: "/getRtfAccountRelationship"
tags: ["Corporate Credit and RTF"]
---

# Get RTF Account Relationship

`POST /getRtfAccountRelationship`

Use the Get <<glossary:RTF>> Account Relationship endpoint to retrieve either the RTF spending accounts that are associated with an RTF funding account, or the RTF funding account that is associated with an RTF spending account.

For instructions on using this endpoint see <a href="doc:creating-real-time-funding-accounts" target="_blank">Creating Real-Time Funding Accounts</a>.

## Response `default`

- object
  - `status_code` integer, nullable, required — The response status code. May return a string for some statuses.
  - `status` string, nullable, required — The condition of a process or response
  - `processing_time` number, float, nullable, required — The time elapsed in processing the transaction
  - `echo` object, nullable, required — A structure that contains transaction ID information
    - `transaction_id` string, nullable, required — An ID that represents an API transaction
    - `provider_timestamp` string, date-time, nullable, required — Store a related timestamp for reporting and troubleshooting purposes
    - `provider_transaction_id` string, nullable, required — Secondary transaction identifier (generated by a provider)
  - `system_timestamp` string, date-time, nullable, required — A system generated timestamp
  - `rtoken` string, nullable, required — A system-generated ID used for tracking
  - `errors` string[] — A list of errors generated while the request was processed
  - `response_data` object, nullable, required — A structure for the response data. It can be empty but usually will contain information.
    - `funding_account` object — The funding account associated with the RTF spending account.
      - `pmt_ref_no` string — The payment reference number of the account.
      - `status` string, required — The status of the account. See <a href="ref:api-reference-account-statuses" target="_blank">Account Statuses</a> for valid values.
      - `active` string, required — Whether the account is active: `Y` or `N`
      - `galileo_account_number` string, required — Balance ID for the account.
      - `product_id` string, required — The identifier for the product that this account belongs to.
    - `spending_accounts` object[] — Contains a list of RTF spending accounts associated with the RTF funding account.
      - `pmt_ref_no` string — The payment reference number of the account.
      - `status` string, required — The status of the account. See <a href="ref:api-reference-account-statuses" target="_blank">Account Statuses</a> for valid values.
      - `active` string, required — Whether the account is active: `Y` or `N`
      - `galileo_account_number` string, required — Balance ID for the account.
      - `product_id` string, required — The identifier for the product that this account belongs to.
    - `funding_account_prn` string — The PRN of the funding account.
    - `spending_account_prn` string — The PRN of the spending account.
    - `spending_account_count` integer — Number of spending accounts returned.
    - `page` integer — The page number to be retrieved in the context of recordset paging
    - `total_record_count` integer — Number of records in the accounts list display
    - `number_of_pages` integer — Total number of pages in the accounts list display

---

[API](https://skmtc.net/galileo-ft/apis/program-api.md) · [All operations](https://skmtc.net/galileo-ft/apis/program-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/galileo-ft/program-api/revisions/bcd728f97a18/schema)
