> This page is for Enterprise.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://citi-demo.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://citi-demo.ferndocs.com/_mcp/server.

# Check Virtual Account Status and Details

GET https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts

The virtual account inquiry endpoint can be used primarily for virtual account status check as well as information purposes.   - Scenario 1: `request_id` (applicable only for reservation API (verb: POST) `request_ids`)) - Scenario 2: `virtual_account` - Scenario 3: `virtual_account`, `branch_code` - Scenario 4: `request_id` and `virtual_account` (preference will be given to `virtual_account` and the `request_id` will be ignored)

Reference: https://citi-demo.ferndocs.com/enterprises/api-reference/account-services/receivable-services/virtual-accounts-wallet/virtual-account-inquiry

## Authentication

- `Authorization` header (bearer token, required) — All CitiConnect APIs use the oAuth2 authentication scheme, which requires a bearer token to authenticate your API call. The Token URL includes the version of authentication used by this API. See the Citi Authentication API reference for information on requesting a token.

## Servers

- `https://tts.sandbox.apib2b.citi.com/citiconnect/sb` (sandbox URL , default)
- `https://b2b.tts.icgservices.citi.com/citiconnect/prod` (production gateway URL)

## Request

### Query parameters

- `client_id` (string, required) — Unique reference shared during CitiConnect API onboarding (`client_id` used during OAuth token generation).
- `branch_code` (string, optional) — Citi's bank code associated with given a header account number.
- `request_id` (string, optional) — &#x20;request\_id received as part of 'Reservation API' response. Inquiry using the `request_id` parameter can be done only if the virtual account is not ACTIVATED yet. Inquiry can be made up to 90 days from the date from which the `request_id` was created.

### Headers

- `Encrypted-Params` (string, optional) — Encrypt the key values as below: - Virtual account Use your digital cert to do the encryption. virtual\_account: In the GET operation: Virtual account that was reserved as well as activated are allowed In DELETE operation: Virtual account that was activated is only allowed

## Response

### 200

VA Status Inquiry

- `virtualAccountInquiry_Response_200`

## Errors

### 400 Bad Request Error

Bad Request

- `ref_id` (string, optional) — Uniqiue reference ID for a particular request.
- `error_details` (list of Error-Detail, optional)
- `httpCode` (string, optional)
- `httpMessage` (string, optional)
- `moreInformation` (string, optional)
- `status` (string, optional)
- `message` (string, optional)

### 401 Unauthorized Error

Unauthorized

- `ref_id` (string, optional) — Uniqiue reference ID for a particular request.
- `error_details` (list of Error-Detail, optional)
- `httpCode` (string, optional)
- `httpMessage` (string, optional)
- `moreInformation` (string, optional)
- `status` (string, optional)
- `message` (string, optional)

### 403 Forbidden Error

Forbidden

- `ref_id` (string, optional) — Uniqiue reference ID for a particular request.
- `error_details` (list of Error-Detail, optional)
- `httpCode` (string, optional)
- `httpMessage` (string, optional)
- `moreInformation` (string, optional)
- `status` (string, optional)
- `message` (string, optional)

### 404 Not Found Error

Not Found

- `httpCode` (string, optional) — HTTP status code of this API.
- `httpMessage` (string, optional) — Short message about the issue.
- `moreInformation` (string, optional) — More information about the issue.

### 405 Method Not Allowed Error

Method Not Allowed

- `ref_id` (string, optional) — Uniqiue reference ID for a particular request.
- `error_details` (list of Error-Detail, optional)
- `httpCode` (string, optional)
- `httpMessage` (string, optional)
- `moreInformation` (string, optional)
- `status` (string, optional)
- `message` (string, optional)

### 429 Too Many Requests Error

Too Many Request

- `status` (string, optional) — HTTP status code of this API response.
- `message` (string, optional) — Short message about the issue.

### 500 Internal Server Error

Internal Server Error

- `ref_id` (string, optional) — Uniqiue reference ID for a particular request.
- `error_details` (list of Error-Detail, optional)
- `httpCode` (string, optional)
- `httpMessage` (string, optional)
- `moreInformation` (string, optional)
- `status` (string, optional)
- `message` (string, optional)

## Types

### Virtual-Account-Inquiry-Response

- `request_id` (string, optional) — Auto-generated unique identification assigned to the request.
- `header_account` (Header-Account-Sync-Response, optional)
- `virtual_account` (Virtual-Account-Sync-Response, optional)
- `status` (string, optional)
- `message` (string, optional)
- `action` (string, optional)
- `branch_code` (string, optional)
- `error_details` (list of Error-Detail, optional)
- `account` (list of Accounts, optional)

### Virtual-Account-Response

- `request_id` (string, optional) — Auto-generated unique identification assigned for the request.
- `status` (string, optional) — Status of the request. Possible statuses are SUCCESS REJECTED PENDING
- `message` (string, optional) — Detailed response for the particular request.
- `action` (string, optional) — Action of the given request. - ''RESERVATION'' - ''ACTIVATION''.
- `branch_code` (string, optional) — Citi's bank code associated with given a header account number.
- `error_details` (list of Error-Detail, optional)
- `account` (list of Accounts, optional)

### Error-Detail

- `code` (string, optional) — Unique ID for the error code. Under GET method and callbacks, this parameter is a non-retrievable internal error code:CC00013.
- `issue` (string, optional) — More details about the issue.
- `action` (string, optional) — Corrective action to be taken to resolve above issue.

### Header-Account-Sync-Response

- `account` (string, required) — Specifies the header account number under which the virtual accounts are reserved/activated.
- `branch_code` (string, required) — Citi's bank code associated with given a header account number.

### Virtual-Account-Sync-Response

- `account` (string, required) — This parameter specifies the virtual account for which the inquiry results are shown.
- `status` (string, required) — Status of the virtual account presented in the inquiry. Possible status: - `RESERVED` - `ACTIVE` - `CLOSED`
- `balance_display_option` (enum, optional) — This parameter specifies whether 'opening' or 'closing' balances are displayed. Default value is 'Y'.Description of possible parameter values:\<b>Y - Show virtual account opening and closing balances. \<b>N - Show ZERO opening and closing balance for virtual account in statements and reports.
  - Allowed values: `Y`, `N`
- `entity` (Entity-Sync-Response, optional) — Parameters are shown only if the virtual account is activated.
- `credit_debit_preferences` (Credit-Debit-Preferences-Response, optional) — Option to revoke the debit or credit privileges into the virtual account.
- `beneficial_owner` (list of Beneficial-Owner-Sync-Response, optional) — Parameters are applicable only if the value of the `action` parameter is set to 'ACTIVATION' and the relevant purpose parameter is ENUMS.

### Accounts

- `virtual_account` (string, optional) — Required parameter only if the value of the `action` parameter is set to 'ACTIVATION'.This parameter specifies the virtual account to be activated.
- `entity_id` (string, optional) — ID that was assigned specific to the entity being activated under this virtual account.

### Entity-Sync-Response

Parameters are shown only if the virtual account is activated.

- `id` (string, optional) — The entity ID that was assigned specifically to the entity that was activated under this virtual account.
- `last_name` (string, optional) — Entity Name (concatenated form of `first_name` and `last_name`) pertaining to the entity that was activated under this virtual account.
- `date_of_birth` (string, optional) — Date of birth or incorporation date pertaining to the entity that was activated under this virtual account. This parameter is represented in a fixed 10-digit format (YYYY-MM-DD) as per ISO standards.
- `org_prvt_identification` (Organisation-Private-Identification-Sync-Response, optional)
- `address` (Address-Sync-Response, optional)

### Credit-Debit-Preferences-Response

Option to revoke the debit or credit privileges into the virtual account.

- `disallow_credit` (enum, optional) — Preference chosen to disallow a credit on virtual accounts.
  - Allowed values: `Y`, `N`
- `disallow_debit` (enum, optional) — Preference chosen to disallow a debit on virtual account.
  - Allowed values: `Y`, `N`

### Beneficial-Owner-Sync-Response

- `first_name` (string, optional) — First name of the entity's beneficial owner. Required parameter if the `virtual_account.beneficial_owner` object is not used.
- `last_name` (string, optional) — Last name of the entity's beneficial owner. Required parameter if the `virtual_account.beneficial_owner` object is not used.
- `date_of_birth` (string, optional) — Required parameter in the `Beneficial Owner` object if the object is used. Populates the date of birth date pertaining to the Beneficial owner of the entity. It is in a fixed 10-digit format (YYYY-MM-DD) as per the ISO standard.
- `address` (Address-Sync-Response, optional)

### Organisation-Private-Identification-Sync-Response

- `type` (enum, optional) — Type of the identification that is populated in this object. - 'TAX_ID' Tax Identification
  - Allowed values: `TAX_ID`
- `id` (string, optional) — Identification pertaining to the entity which is used for the virtual account activation.
- `country_of_issuance` (string, optional) — Country code where the provided identification has been issued.

### Address-Sync-Response

- `street_name` (string, optional) — Address details of the entity (or) the beneficial owner of the virtual account.
- `building_number` (string, optional) — Address details of the entity (or) the beneficial owner of the virtual account.
- `postal_code` (string, optional) — Address details of the entity (or) the beneficial owner of the virtual account.
- `town_name` (string, optional) — Address details of the entity (or) the beneficial owner of the virtual account.
- `country_sub_division` (string, optional) — Address details of the entity (or) the beneficial owner of the virtual account.
- `country` (string, optional) — Address details of the entity (or) the beneficial owner of the virtual account.

## Examples

### SyncVirtualAccountResponseExample

**Response**

```json
{
  "header_account": {
    "account": "0123456789",
    "branch_code": "820"
  },
  "request_id": "0ae52a57-01ff-43a0-a8cc-6112dfcb4c64",
  "virtual_account": {
    "account": "0123456789",
    "balance_display_option": "Y",
    "beneficial_owner": [
      {
        "address": {
          "building_number": "123",
          "country": "CA",
          "country_sub_division": "Ontario",
          "postal_code": "L5B 111",
          "street_name": "3210 Abcd st",
          "town_name": "North York"
        },
        "date_of_birth": "1999-11-11",
        "first_name": "White",
        "last_name": "James"
      }
    ],
    "credit_debit_preferences": {
      "disallow_credit": "Y",
      "disallow_debit": "N"
    },
    "entity": {
      "address": {
        "building_number": "1101",
        "country": "US",
        "country_sub_division": "NC",
        "postal_code": "123456",
        "street_name": "Interface Lane",
        "town_name": "Charlotte"
      },
      "date_of_birth": "1999-11-11",
      "id": "EN_123456789",
      "last_name": "David Copperfield",
      "org_prvt_identification": {
        "country_of_issuance": "US",
        "id": "1234567890",
        "type": "TAX_ID"
      }
    },
    "status": "ACTIVATED"
  }
}
```

**SDK Code**

```python SyncVirtualAccountResponseExample
import requests

url = "https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts"

querystring = {"branch_code":"960","client_id":"f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e","request_id":"0ae52a57-01ff-43a0-a8cc-6112dfcb4c64"}

headers = {
    "Encrypted-Params": "encrypted-virtual-account-payload",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript SyncVirtualAccountResponseExample
const url = 'https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64';
const options = {
  method: 'GET',
  headers: {
    'Encrypted-Params': 'encrypted-virtual-account-payload',
    Authorization: 'Bearer <token>'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go SyncVirtualAccountResponseExample
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Encrypted-Params", "encrypted-virtual-account-payload")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby SyncVirtualAccountResponseExample
require 'uri'
require 'net/http'

url = URI("https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Encrypted-Params"] = 'encrypted-virtual-account-payload'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java SyncVirtualAccountResponseExample
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64")
  .header("Encrypted-Params", "encrypted-virtual-account-payload")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php SyncVirtualAccountResponseExample
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Encrypted-Params' => 'encrypted-virtual-account-payload',
  ],
]);

echo $response->getBody();
```

```csharp SyncVirtualAccountResponseExample
using RestSharp;

var client = new RestClient("https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64");
var request = new RestRequest(Method.GET);
request.AddHeader("Encrypted-Params", "encrypted-virtual-account-payload");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift SyncVirtualAccountResponseExample
import Foundation

let headers = [
  "Encrypted-Params": "encrypted-virtual-account-payload",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### SyncRequestIDResponseExample

**Response**

```json
{
  "account": [
    {
      "virtual_account": "25252548"
    }
  ],
  "action": "RESERVATION",
  "branch_code": "820",
  "message": "Account Reservation Request Successfully Processed",
  "request_id": "29b9c9d7-d4d9-48ce-8823-f9b3ee276b8f",
  "status": "SUCCESS"
}
```

**SDK Code**

```python SyncRequestIDResponseExample
import requests

url = "https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts"

querystring = {"branch_code":"960","client_id":"f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e","request_id":"0ae52a57-01ff-43a0-a8cc-6112dfcb4c64"}

headers = {
    "Encrypted-Params": "encrypted-virtual-account-payload",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript SyncRequestIDResponseExample
const url = 'https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64';
const options = {
  method: 'GET',
  headers: {
    'Encrypted-Params': 'encrypted-virtual-account-payload',
    Authorization: 'Bearer <token>'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go SyncRequestIDResponseExample
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Encrypted-Params", "encrypted-virtual-account-payload")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby SyncRequestIDResponseExample
require 'uri'
require 'net/http'

url = URI("https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Encrypted-Params"] = 'encrypted-virtual-account-payload'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java SyncRequestIDResponseExample
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64")
  .header("Encrypted-Params", "encrypted-virtual-account-payload")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php SyncRequestIDResponseExample
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Encrypted-Params' => 'encrypted-virtual-account-payload',
  ],
]);

echo $response->getBody();
```

```csharp SyncRequestIDResponseExample
using RestSharp;

var client = new RestClient("https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64");
var request = new RestRequest(Method.GET);
request.AddHeader("Encrypted-Params", "encrypted-virtual-account-payload");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift SyncRequestIDResponseExample
import Foundation

let headers = [
  "Encrypted-Params": "encrypted-virtual-account-payload",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### SyncRequestIDPendingResponseExample

**Response**

```json
{
  "message": "Your request is under processing, please retry after sometime",
  "request_id": "29b9c9d7-d4d9-48ce-8823-f9b3ee276b8f",
  "status": "PENDING"
}
```

**SDK Code**

```python SyncRequestIDPendingResponseExample
import requests

url = "https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts"

querystring = {"branch_code":"960","client_id":"f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e","request_id":"0ae52a57-01ff-43a0-a8cc-6112dfcb4c64"}

headers = {
    "Encrypted-Params": "encrypted-virtual-account-payload",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript SyncRequestIDPendingResponseExample
const url = 'https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64';
const options = {
  method: 'GET',
  headers: {
    'Encrypted-Params': 'encrypted-virtual-account-payload',
    Authorization: 'Bearer <token>'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go SyncRequestIDPendingResponseExample
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Encrypted-Params", "encrypted-virtual-account-payload")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby SyncRequestIDPendingResponseExample
require 'uri'
require 'net/http'

url = URI("https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Encrypted-Params"] = 'encrypted-virtual-account-payload'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java SyncRequestIDPendingResponseExample
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64")
  .header("Encrypted-Params", "encrypted-virtual-account-payload")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php SyncRequestIDPendingResponseExample
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Encrypted-Params' => 'encrypted-virtual-account-payload',
  ],
]);

echo $response->getBody();
```

```csharp SyncRequestIDPendingResponseExample
using RestSharp;

var client = new RestClient("https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64");
var request = new RestRequest(Method.GET);
request.AddHeader("Encrypted-Params", "encrypted-virtual-account-payload");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift SyncRequestIDPendingResponseExample
import Foundation

let headers = [
  "Encrypted-Params": "encrypted-virtual-account-payload",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://tts.sandbox.apib2b.citi.com/citiconnect/sb/receivablesservices/v2/virtualaccounts?branch_code=960&client_id=f56f0f6b-74fe-4dfa-b4ab-0da35a46b65e&request_id=0ae52a57-01ff-43a0-a8cc-6112dfcb4c64")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```