query applyConfigurationAnonymous
Returns ApplyConfiguration
Arguments
| Argument | Type | Description |
|---|---|---|
id | ID! |
Example request
curl -X POST 'https://graph.clientloop.com/' \
-H 'Content-Type: application/json' \
-d '{
"query": "query ApplyConfiguration($id: ID!) { applyConfiguration(id: $id) { id agencyId defaultTheme allowedDomains plaidTransferEnabled } }",
"variables": {
"id": "abc123"
}
}'const response = await fetch('https://graph.clientloop.com/', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
query: `
query ApplyConfiguration($id: ID!) {
applyConfiguration(id: $id) {
id
agencyId
defaultTheme
allowedDomains
plaidTransferEnabled
}
}
`,
variables: {
"id": "abc123"
},
}),
});
const { data, errors } = await response.json();<?php
$body = <<<'JSON'
{
"query": "query ApplyConfiguration($id: ID!) { applyConfiguration(id: $id) { id agencyId defaultTheme allowedDomains plaidTransferEnabled } }",
"variables": {
"id": "abc123"
}
}
JSON;
$ch = curl_init('https://graph.clientloop.com/');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => $body,
]);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var body = """
{
"query": "query ApplyConfiguration($id: ID!) { applyConfiguration(id: $id) { id agencyId defaultTheme allowedDomains plaidTransferEnabled } }",
"variables": {
"id": "abc123"
}
}
""";
var request = HttpRequest.newBuilder(URI.create("https://graph.clientloop.com/"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
var response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());using System.Net.Http;
using System.Text;
var body = """
{
"query": "query ApplyConfiguration($id: ID!) { applyConfiguration(id: $id) { id agencyId defaultTheme allowedDomains plaidTransferEnabled } }",
"variables": {
"id": "abc123"
}
}
""";
using var client = new HttpClient();
using var content = new StringContent(body, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://graph.clientloop.com/", content);
var result = await response.Content.ReadAsStringAsync();Types
type ApplyConfiguration
| Field | Type | Description |
|---|---|---|
id | ID! | |
agencyId | ID! | |
defaultTheme | String | The default theme to apply. May be overridden at runtime. |
allowedDomains | [String!] | Domains the apply application can be embedded in. If left empty, any domain is allowed. |
plaidTransferEnabled | Boolean! | When true the apply wizard offers the Plaid ACH 'Link bank account' tile (gated additionally by the merchant's avgOrderAmount being Over1000). When false the ACH tile is suppressed entirely and the wizard runs with 6 sections. Defaults to true. |