using RestSharp;
var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/anti-fraud-service-definitions/{anti_fraud_service_definition_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);{
"id": "sift-anti-fraud",
"type": "anti-fraud-service-definition",
"display_name": "Stripe",
"fields": [
{
"key": "private_api_key",
"display_name": "Private API key",
"required": true,
"format": "text",
"secret": true
}
],
"icon_url": "https://cdn.gr4vy.app/stripe.svg"
}Gets the definition for an anti fraud service.
using RestSharp;
var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/anti-fraud-service-definitions/{anti_fraud_service_definition_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);{
"id": "sift-anti-fraud",
"type": "anti-fraud-service-definition",
"display_name": "Stripe",
"fields": [
{
"key": "private_api_key",
"display_name": "Private API key",
"required": true,
"format": "text",
"secret": true
}
],
"icon_url": "https://cdn.gr4vy.app/stripe.svg"
}anti-fraud-service-definition.read scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique ID for an anti-fraud service definition.
"sif-ati-fraud"
Returns an anti fraud service definition.
An available anti fraud service that can be configured.
The ID of the anti fraud service definition.
"sift-anti-fraud"
anti-fraud-service-definition.
anti-fraud-service-definition "anti-fraud-service-definition"
The display name of this service.
"Stripe"
A list of fields that need to be submitted when activating the payment. service.
1Show child attributes
An icon to display for the payment service.
"https://cdn.gr4vy.app/stripe.svg"