using RestSharp;
var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/vault-forward/configs/{config_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);{
"type": "vault-forward-config",
"id": "faaad066-30b4-4997-a438-242b0752d7e1",
"created_at": "2012-12-12T10:53:43+00:00",
"updated_at": "2012-12-12T10:53:43+00:00",
"merchant_account_id": "default",
"definition_id": "amadeus",
"display_name": "Amadeus",
"hosts": [
"https://api.amadeus.com",
"https://test.api.amadeus.com"
],
"authentications": [
{
"type": "vault-forward-config-authentication",
"id": "faaad066-30b4-4997-a438-242b0752d7e1",
"created_at": "2012-12-12T10:53:43+00:00",
"updated_at": "2012-12-12T10:53:43+00:00",
"kind": "mle",
"label": "My MLE",
"display_name": "My MLE",
"fields": [
{
"key": "secret_key",
"value": "sk_test_26PHem9AhJZvU623DfE1x4sd"
}
],
"creator": {
"id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
"name": "John L",
"email_address": "john@example.com"
}
}
],
"creator": {
"id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
"name": "John L",
"email_address": "john@example.com"
}
}Gets a configured Vault Forward endpoints that can be used to forward PCI data to.
using RestSharp;
var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/vault-forward/configs/{config_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);{
"type": "vault-forward-config",
"id": "faaad066-30b4-4997-a438-242b0752d7e1",
"created_at": "2012-12-12T10:53:43+00:00",
"updated_at": "2012-12-12T10:53:43+00:00",
"merchant_account_id": "default",
"definition_id": "amadeus",
"display_name": "Amadeus",
"hosts": [
"https://api.amadeus.com",
"https://test.api.amadeus.com"
],
"authentications": [
{
"type": "vault-forward-config-authentication",
"id": "faaad066-30b4-4997-a438-242b0752d7e1",
"created_at": "2012-12-12T10:53:43+00:00",
"updated_at": "2012-12-12T10:53:43+00:00",
"kind": "mle",
"label": "My MLE",
"display_name": "My MLE",
"fields": [
{
"key": "secret_key",
"value": "sk_test_26PHem9AhJZvU623DfE1x4sd"
}
],
"creator": {
"id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
"name": "John L",
"email_address": "john@example.com"
}
}
],
"creator": {
"id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
"name": "John L",
"email_address": "john@example.com"
}
}vault-forward-configs.read scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the Vault Forward configuration.
"46973e9d-88a7-44a6-abfe-be4ff0134ff4"
Returns the Vault Forward configuration.
A configured Vault Forward configuration.
The type of this resource. It is always vault-forward-config.
"vault-forward-config"
The ID of this Vault Forward configuration.
"faaad066-30b4-4997-a438-242b0752d7e1"
The date and time when this configuration was created.
"2012-12-12T10:53:43+00:00"
The date and time when this configuration was last updated.
"2012-12-12T10:53:43+00:00"
The unique ID for a merchant account.
"default"
The ID of the Vault Forward definition.
"amadeus"
The display name for this configuration.
"Amadeus"
The hosts where Vault Forward requests are allowed for this definition.
1[
"https://api.amadeus.com",
"https://test.api.amadeus.com"
]Authentication methods that can be applied in Vault Forward requests.
Show child attributes
The user who created the Vault Forward configuration.
Show child attributes
Was this page helpful?