Edit a live application while still under review
curl --request PATCH \
--url https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request \
--header 'Content-Type: application/json' \
--header 'X-Portal-Bootstrap-Signature: <x-portal-bootstrap-signature>' \
--data '
{
"workos_user_id": "<string>",
"company_name": "<string>",
"country": "<string>",
"use_case": "<string>",
"legal_entity_name": "<string>",
"business_website": "<string>",
"data_protection_contact": "<string>",
"expected_monthly_volume": "<string>",
"go_live_target_date": "2023-12-25",
"production_use_case": "<string>"
}
'import requests
url = "https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request"
payload = {
"workos_user_id": "<string>",
"company_name": "<string>",
"country": "<string>",
"use_case": "<string>",
"legal_entity_name": "<string>",
"business_website": "<string>",
"data_protection_contact": "<string>",
"expected_monthly_volume": "<string>",
"go_live_target_date": "2023-12-25",
"production_use_case": "<string>"
}
headers = {
"X-Portal-Bootstrap-Signature": "<x-portal-bootstrap-signature>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
'X-Portal-Bootstrap-Signature': '<x-portal-bootstrap-signature>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
workos_user_id: '<string>',
company_name: '<string>',
country: '<string>',
use_case: '<string>',
legal_entity_name: '<string>',
business_website: '<string>',
data_protection_contact: '<string>',
expected_monthly_volume: '<string>',
go_live_target_date: '2023-12-25',
production_use_case: '<string>'
})
};
fetch('https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'workos_user_id' => '<string>',
'company_name' => '<string>',
'country' => '<string>',
'use_case' => '<string>',
'legal_entity_name' => '<string>',
'business_website' => '<string>',
'data_protection_contact' => '<string>',
'expected_monthly_volume' => '<string>',
'go_live_target_date' => '2023-12-25',
'production_use_case' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Portal-Bootstrap-Signature: <x-portal-bootstrap-signature>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request"
payload := strings.NewReader("{\n \"workos_user_id\": \"<string>\",\n \"company_name\": \"<string>\",\n \"country\": \"<string>\",\n \"use_case\": \"<string>\",\n \"legal_entity_name\": \"<string>\",\n \"business_website\": \"<string>\",\n \"data_protection_contact\": \"<string>\",\n \"expected_monthly_volume\": \"<string>\",\n \"go_live_target_date\": \"2023-12-25\",\n \"production_use_case\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-Portal-Bootstrap-Signature", "<x-portal-bootstrap-signature>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request")
.header("X-Portal-Bootstrap-Signature", "<x-portal-bootstrap-signature>")
.header("Content-Type", "application/json")
.body("{\n \"workos_user_id\": \"<string>\",\n \"company_name\": \"<string>\",\n \"country\": \"<string>\",\n \"use_case\": \"<string>\",\n \"legal_entity_name\": \"<string>\",\n \"business_website\": \"<string>\",\n \"data_protection_contact\": \"<string>\",\n \"expected_monthly_volume\": \"<string>\",\n \"go_live_target_date\": \"2023-12-25\",\n \"production_use_case\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-Portal-Bootstrap-Signature"] = '<x-portal-bootstrap-signature>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"workos_user_id\": \"<string>\",\n \"company_name\": \"<string>\",\n \"country\": \"<string>\",\n \"use_case\": \"<string>\",\n \"legal_entity_name\": \"<string>\",\n \"business_website\": \"<string>\",\n \"data_protection_contact\": \"<string>\",\n \"expected_monthly_volume\": \"<string>\",\n \"go_live_target_date\": \"2023-12-25\",\n \"production_use_case\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "PENDING",
"environment": "SANDBOX",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "unknown_api_key",
"message": "The API key you presented doesn't match any active key.",
"type": "auth_error",
"doc_url": "https://portal.ledgersyncappv2.com/errors/unknown_api_key",
"category": "AUTH_ERROR",
"is_user_actionable": true,
"source_diagnostic_code": "FIN-103",
"param": "client.email",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"errors": [
{
"param": "client.email",
"message": "must be a valid email address",
"code": "invalid_email"
}
]
}
}{
"error": {
"code": "unknown_api_key",
"message": "The API key you presented doesn't match any active key.",
"type": "auth_error",
"doc_url": "https://portal.ledgersyncappv2.com/errors/unknown_api_key",
"category": "AUTH_ERROR",
"is_user_actionable": true,
"source_diagnostic_code": "FIN-103",
"param": "client.email",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"errors": [
{
"param": "client.email",
"message": "must be a valid email address",
"code": "invalid_email"
}
]
}
}{
"error": {
"code": "unknown_api_key",
"message": "The API key you presented doesn't match any active key.",
"type": "auth_error",
"doc_url": "https://portal.ledgersyncappv2.com/errors/unknown_api_key",
"category": "AUTH_ERROR",
"is_user_actionable": true,
"source_diagnostic_code": "FIN-103",
"param": "client.email",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"errors": [
{
"param": "client.email",
"message": "must be a valid email address",
"code": "invalid_email"
}
]
}
}PortalGating
Edit a live application while still under review
Patches the integrator-supplied fields of a live application
that is still PENDING or in NEEDS_INFO. Reviewer-managed
fields (status, denial codes) are immutable here. Returns 400
when the row is already APPROVED or DENIED.
PATCH
/
portal
/
live-request
Edit a live application while still under review
curl --request PATCH \
--url https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request \
--header 'Content-Type: application/json' \
--header 'X-Portal-Bootstrap-Signature: <x-portal-bootstrap-signature>' \
--data '
{
"workos_user_id": "<string>",
"company_name": "<string>",
"country": "<string>",
"use_case": "<string>",
"legal_entity_name": "<string>",
"business_website": "<string>",
"data_protection_contact": "<string>",
"expected_monthly_volume": "<string>",
"go_live_target_date": "2023-12-25",
"production_use_case": "<string>"
}
'import requests
url = "https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request"
payload = {
"workos_user_id": "<string>",
"company_name": "<string>",
"country": "<string>",
"use_case": "<string>",
"legal_entity_name": "<string>",
"business_website": "<string>",
"data_protection_contact": "<string>",
"expected_monthly_volume": "<string>",
"go_live_target_date": "2023-12-25",
"production_use_case": "<string>"
}
headers = {
"X-Portal-Bootstrap-Signature": "<x-portal-bootstrap-signature>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
'X-Portal-Bootstrap-Signature': '<x-portal-bootstrap-signature>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
workos_user_id: '<string>',
company_name: '<string>',
country: '<string>',
use_case: '<string>',
legal_entity_name: '<string>',
business_website: '<string>',
data_protection_contact: '<string>',
expected_monthly_volume: '<string>',
go_live_target_date: '2023-12-25',
production_use_case: '<string>'
})
};
fetch('https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'workos_user_id' => '<string>',
'company_name' => '<string>',
'country' => '<string>',
'use_case' => '<string>',
'legal_entity_name' => '<string>',
'business_website' => '<string>',
'data_protection_contact' => '<string>',
'expected_monthly_volume' => '<string>',
'go_live_target_date' => '2023-12-25',
'production_use_case' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Portal-Bootstrap-Signature: <x-portal-bootstrap-signature>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request"
payload := strings.NewReader("{\n \"workos_user_id\": \"<string>\",\n \"company_name\": \"<string>\",\n \"country\": \"<string>\",\n \"use_case\": \"<string>\",\n \"legal_entity_name\": \"<string>\",\n \"business_website\": \"<string>\",\n \"data_protection_contact\": \"<string>\",\n \"expected_monthly_volume\": \"<string>\",\n \"go_live_target_date\": \"2023-12-25\",\n \"production_use_case\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-Portal-Bootstrap-Signature", "<x-portal-bootstrap-signature>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request")
.header("X-Portal-Bootstrap-Signature", "<x-portal-bootstrap-signature>")
.header("Content-Type", "application/json")
.body("{\n \"workos_user_id\": \"<string>\",\n \"company_name\": \"<string>\",\n \"country\": \"<string>\",\n \"use_case\": \"<string>\",\n \"legal_entity_name\": \"<string>\",\n \"business_website\": \"<string>\",\n \"data_protection_contact\": \"<string>\",\n \"expected_monthly_volume\": \"<string>\",\n \"go_live_target_date\": \"2023-12-25\",\n \"production_use_case\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.ledgersyncappv2.com/v3/portal/live-request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-Portal-Bootstrap-Signature"] = '<x-portal-bootstrap-signature>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"workos_user_id\": \"<string>\",\n \"company_name\": \"<string>\",\n \"country\": \"<string>\",\n \"use_case\": \"<string>\",\n \"legal_entity_name\": \"<string>\",\n \"business_website\": \"<string>\",\n \"data_protection_contact\": \"<string>\",\n \"expected_monthly_volume\": \"<string>\",\n \"go_live_target_date\": \"2023-12-25\",\n \"production_use_case\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "PENDING",
"environment": "SANDBOX",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "unknown_api_key",
"message": "The API key you presented doesn't match any active key.",
"type": "auth_error",
"doc_url": "https://portal.ledgersyncappv2.com/errors/unknown_api_key",
"category": "AUTH_ERROR",
"is_user_actionable": true,
"source_diagnostic_code": "FIN-103",
"param": "client.email",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"errors": [
{
"param": "client.email",
"message": "must be a valid email address",
"code": "invalid_email"
}
]
}
}{
"error": {
"code": "unknown_api_key",
"message": "The API key you presented doesn't match any active key.",
"type": "auth_error",
"doc_url": "https://portal.ledgersyncappv2.com/errors/unknown_api_key",
"category": "AUTH_ERROR",
"is_user_actionable": true,
"source_diagnostic_code": "FIN-103",
"param": "client.email",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"errors": [
{
"param": "client.email",
"message": "must be a valid email address",
"code": "invalid_email"
}
]
}
}{
"error": {
"code": "unknown_api_key",
"message": "The API key you presented doesn't match any active key.",
"type": "auth_error",
"doc_url": "https://portal.ledgersyncappv2.com/errors/unknown_api_key",
"category": "AUTH_ERROR",
"is_user_actionable": true,
"source_diagnostic_code": "FIN-103",
"param": "client.email",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"errors": [
{
"param": "client.email",
"message": "must be a valid email address",
"code": "invalid_email"
}
]
}
}Headers
Hex HMAC-SHA256 of the raw request body (or, for the GET
status endpoint, of the X-Portal-Workos-User-Id header
value) computed with the shared portal bootstrap secret.
Body
application/json
Maximum string length:
255Required string length:
2Maximum string length:
2000Maximum string length:
255Maximum string length:
512Maximum string length:
255Maximum string length:
64Maximum string length:
2000⌘I
