Firmar el NDA del Trust Center
curl --request POST \
--url https://api.qbank.cl/platform/v1/trust/nda/sign/{token} \
--header 'Content-Type: application/json' \
--data '
{
"signer_name": "Jordan Lee",
"signer_title": "Chief Compliance Officer",
"company_reg": "US-123456",
"company_address": "1 Main Street",
"Boston MA": null,
"accept": true
}
'import requests
url = "https://api.qbank.cl/platform/v1/trust/nda/sign/{token}"
payload = {
"signer_name": "Jordan Lee",
"signer_title": "Chief Compliance Officer",
"company_reg": "US-123456",
"company_address": "1 Main Street",
"Boston MA": None,
"accept": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
signer_name: 'Jordan Lee',
signer_title: 'Chief Compliance Officer',
company_reg: 'US-123456',
company_address: '1 Main Street',
'Boston MA': null,
accept: true
})
};
fetch('https://api.qbank.cl/platform/v1/trust/nda/sign/{token}', 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.qbank.cl/platform/v1/trust/nda/sign/{token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'signer_name' => 'Jordan Lee',
'signer_title' => 'Chief Compliance Officer',
'company_reg' => 'US-123456',
'company_address' => '1 Main Street',
'Boston MA' => null,
'accept' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.qbank.cl/platform/v1/trust/nda/sign/{token}"
payload := strings.NewReader("{\n \"signer_name\": \"Jordan Lee\",\n \"signer_title\": \"Chief Compliance Officer\",\n \"company_reg\": \"US-123456\",\n \"company_address\": \"1 Main Street\",\n \"Boston MA\": null,\n \"accept\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
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.post("https://api.qbank.cl/platform/v1/trust/nda/sign/{token}")
.header("Content-Type", "application/json")
.body("{\n \"signer_name\": \"Jordan Lee\",\n \"signer_title\": \"Chief Compliance Officer\",\n \"company_reg\": \"US-123456\",\n \"company_address\": \"1 Main Street\",\n \"Boston MA\": null,\n \"accept\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/trust/nda/sign/{token}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"signer_name\": \"Jordan Lee\",\n \"signer_title\": \"Chief Compliance Officer\",\n \"company_reg\": \"US-123456\",\n \"company_address\": \"1 Main Street\",\n \"Boston MA\": null,\n \"accept\": true\n}"
response = http.request(request)
puts response.read_body{
"request_id": "4e7b1f3e-8b20-4ef8-9cc5-1bcb6d9b2a01",
"status": "signed",
"download_token": "<32-hex-token>",
"download_url": "https://www.cbpayapp.com/en/trust/nda?request=4e7b1f3e-8b20-4ef8-9cc5-1bcb6d9b2a01&token=<32-hex-token>",
"expires_at": "2031-10-18T20:00:00Z"
}{
"error": "unknown_link",
"message": "this signing link is not valid"
}{
"error": "already_decided",
"message": "this link was already used or expired"
}{
"error": "accept_required",
"message": "you must accept the agreement to sign"
}Firmar el NDA del Trust Center
Atomically accepts the agreement and issues the raw download token once in the TLS response. The download entitlement lasts five years. A second submit cannot issue another token.
POST
/
v1
/
trust
/
nda
/
sign
/
{token}
Firmar el NDA del Trust Center
curl --request POST \
--url https://api.qbank.cl/platform/v1/trust/nda/sign/{token} \
--header 'Content-Type: application/json' \
--data '
{
"signer_name": "Jordan Lee",
"signer_title": "Chief Compliance Officer",
"company_reg": "US-123456",
"company_address": "1 Main Street",
"Boston MA": null,
"accept": true
}
'import requests
url = "https://api.qbank.cl/platform/v1/trust/nda/sign/{token}"
payload = {
"signer_name": "Jordan Lee",
"signer_title": "Chief Compliance Officer",
"company_reg": "US-123456",
"company_address": "1 Main Street",
"Boston MA": None,
"accept": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
signer_name: 'Jordan Lee',
signer_title: 'Chief Compliance Officer',
company_reg: 'US-123456',
company_address: '1 Main Street',
'Boston MA': null,
accept: true
})
};
fetch('https://api.qbank.cl/platform/v1/trust/nda/sign/{token}', 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.qbank.cl/platform/v1/trust/nda/sign/{token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'signer_name' => 'Jordan Lee',
'signer_title' => 'Chief Compliance Officer',
'company_reg' => 'US-123456',
'company_address' => '1 Main Street',
'Boston MA' => null,
'accept' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.qbank.cl/platform/v1/trust/nda/sign/{token}"
payload := strings.NewReader("{\n \"signer_name\": \"Jordan Lee\",\n \"signer_title\": \"Chief Compliance Officer\",\n \"company_reg\": \"US-123456\",\n \"company_address\": \"1 Main Street\",\n \"Boston MA\": null,\n \"accept\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
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.post("https://api.qbank.cl/platform/v1/trust/nda/sign/{token}")
.header("Content-Type", "application/json")
.body("{\n \"signer_name\": \"Jordan Lee\",\n \"signer_title\": \"Chief Compliance Officer\",\n \"company_reg\": \"US-123456\",\n \"company_address\": \"1 Main Street\",\n \"Boston MA\": null,\n \"accept\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/trust/nda/sign/{token}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"signer_name\": \"Jordan Lee\",\n \"signer_title\": \"Chief Compliance Officer\",\n \"company_reg\": \"US-123456\",\n \"company_address\": \"1 Main Street\",\n \"Boston MA\": null,\n \"accept\": true\n}"
response = http.request(request)
puts response.read_body{
"request_id": "4e7b1f3e-8b20-4ef8-9cc5-1bcb6d9b2a01",
"status": "signed",
"download_token": "<32-hex-token>",
"download_url": "https://www.cbpayapp.com/en/trust/nda?request=4e7b1f3e-8b20-4ef8-9cc5-1bcb6d9b2a01&token=<32-hex-token>",
"expires_at": "2031-10-18T20:00:00Z"
}{
"error": "unknown_link",
"message": "this signing link is not valid"
}{
"error": "already_decided",
"message": "this link was already used or expired"
}{
"error": "accept_required",
"message": "you must accept the agreement to sign"
}Parámetros de ruta
Required string length:
32Cuerpo
application/json
Respuesta
NDA signed and download entitlement issued.