Answer RFI
curl --request POST \
--url https://api-sandbox.uqpaytech.com/api/v1/rfis/answer \
--header 'Content-Type: application/json' \
--header 'x-auth-token: <api-key>' \
--header 'x-idempotency-key: <x-idempotency-key>' \
--data '
{
"rfi_id": "ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9",
"answer": [
{
"key": "sandbox_regression_note",
"type": "TEXT",
"text": "Sandbox contract test response"
}
]
}
'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/rfis/answer"
payload = {
"rfi_id": "ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9",
"answer": [
{
"key": "sandbox_regression_note",
"type": "TEXT",
"text": "Sandbox contract test response"
}
]
}
headers = {
"x-idempotency-key": "<x-idempotency-key>",
"x-auth-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-idempotency-key': '<x-idempotency-key>',
'x-auth-token': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
rfi_id: 'ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9',
answer: [
{
key: 'sandbox_regression_note',
type: 'TEXT',
text: 'Sandbox contract test response'
}
]
})
};
fetch('https://api-sandbox.uqpaytech.com/api/v1/rfis/answer', 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.uqpaytech.com/api/v1/rfis/answer",
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([
'rfi_id' => 'ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9',
'answer' => [
[
'key' => 'sandbox_regression_note',
'type' => 'TEXT',
'text' => 'Sandbox contract test response'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-auth-token: <api-key>",
"x-idempotency-key: <x-idempotency-key>"
],
]);
$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.uqpaytech.com/api/v1/rfis/answer"
payload := strings.NewReader("{\n \"rfi_id\": \"ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9\",\n \"answer\": [\n {\n \"key\": \"sandbox_regression_note\",\n \"type\": \"TEXT\",\n \"text\": \"Sandbox contract test response\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-idempotency-key", "<x-idempotency-key>")
req.Header.Add("x-auth-token", "<api-key>")
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-sandbox.uqpaytech.com/api/v1/rfis/answer")
.header("x-idempotency-key", "<x-idempotency-key>")
.header("x-auth-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"rfi_id\": \"ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9\",\n \"answer\": [\n {\n \"key\": \"sandbox_regression_note\",\n \"type\": \"TEXT\",\n \"text\": \"Sandbox contract test response\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/rfis/answer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-idempotency-key"] = '<x-idempotency-key>'
request["x-auth-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rfi_id\": \"ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9\",\n \"answer\": [\n {\n \"key\": \"sandbox_regression_note\",\n \"type\": \"TEXT\",\n \"text\": \"Sandbox contract test response\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"account_id": "b1b89684-c2c4-4d54-b8a8-3572727fd120",
"rfi_id": "ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9",
"rfi_type": "onboarding",
"ref_reference_id": "b1b89684-c2c4-4d54-b8a8-3572727fd120",
"status": "SUBMITTED_PENDING",
"request": [
{
"question": {
"key": "sandbox_regression_note",
"comment": "Sandbox regression note",
"type": "TEXT"
},
"answer": {
"key": "sandbox_regression_note",
"text": "Sandbox contract test response",
"type": "TEXT"
}
}
],
"create_time": "2026-09-11T11:39:55.694+08:00",
"update_time": "2026-09-11T13:42:17.031+08:00"
}Request for Information (RFI)
Answer RFI
POST
/
v1
/
rfis
/
answer
Answer RFI
curl --request POST \
--url https://api-sandbox.uqpaytech.com/api/v1/rfis/answer \
--header 'Content-Type: application/json' \
--header 'x-auth-token: <api-key>' \
--header 'x-idempotency-key: <x-idempotency-key>' \
--data '
{
"rfi_id": "ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9",
"answer": [
{
"key": "sandbox_regression_note",
"type": "TEXT",
"text": "Sandbox contract test response"
}
]
}
'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/rfis/answer"
payload = {
"rfi_id": "ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9",
"answer": [
{
"key": "sandbox_regression_note",
"type": "TEXT",
"text": "Sandbox contract test response"
}
]
}
headers = {
"x-idempotency-key": "<x-idempotency-key>",
"x-auth-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-idempotency-key': '<x-idempotency-key>',
'x-auth-token': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
rfi_id: 'ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9',
answer: [
{
key: 'sandbox_regression_note',
type: 'TEXT',
text: 'Sandbox contract test response'
}
]
})
};
fetch('https://api-sandbox.uqpaytech.com/api/v1/rfis/answer', 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.uqpaytech.com/api/v1/rfis/answer",
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([
'rfi_id' => 'ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9',
'answer' => [
[
'key' => 'sandbox_regression_note',
'type' => 'TEXT',
'text' => 'Sandbox contract test response'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-auth-token: <api-key>",
"x-idempotency-key: <x-idempotency-key>"
],
]);
$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.uqpaytech.com/api/v1/rfis/answer"
payload := strings.NewReader("{\n \"rfi_id\": \"ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9\",\n \"answer\": [\n {\n \"key\": \"sandbox_regression_note\",\n \"type\": \"TEXT\",\n \"text\": \"Sandbox contract test response\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-idempotency-key", "<x-idempotency-key>")
req.Header.Add("x-auth-token", "<api-key>")
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-sandbox.uqpaytech.com/api/v1/rfis/answer")
.header("x-idempotency-key", "<x-idempotency-key>")
.header("x-auth-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"rfi_id\": \"ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9\",\n \"answer\": [\n {\n \"key\": \"sandbox_regression_note\",\n \"type\": \"TEXT\",\n \"text\": \"Sandbox contract test response\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/rfis/answer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-idempotency-key"] = '<x-idempotency-key>'
request["x-auth-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rfi_id\": \"ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9\",\n \"answer\": [\n {\n \"key\": \"sandbox_regression_note\",\n \"type\": \"TEXT\",\n \"text\": \"Sandbox contract test response\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"account_id": "b1b89684-c2c4-4d54-b8a8-3572727fd120",
"rfi_id": "ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9",
"rfi_type": "onboarding",
"ref_reference_id": "b1b89684-c2c4-4d54-b8a8-3572727fd120",
"status": "SUBMITTED_PENDING",
"request": [
{
"question": {
"key": "sandbox_regression_note",
"comment": "Sandbox regression note",
"type": "TEXT"
},
"answer": {
"key": "sandbox_regression_note",
"text": "Sandbox contract test response",
"type": "TEXT"
}
}
],
"create_time": "2026-09-11T11:39:55.694+08:00",
"update_time": "2026-09-11T13:42:17.031+08:00"
}授权
由 UQPAY 提供的登录 API Token。
请求头
用于保持操作幂等性的唯一标识符(UUID),确保同一操作的重复执行不会产生意外影响或重复结果。在出现网络错误、重试或失败时,它有助于保持数据一致性。
请求体
application/json
从 RFI 列表或 Webhook 返回的完整标识符;请原样使用,包括任何前缀。
示例:
"ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9"
响应
200 - application/json
OK——成功回复 RFI。
账户的唯一标识符。
示例:
"f5bb6498-552e-40a5-b14b-616aa04ac1c1"
从 RFI 列表或 Webhook 返回的完整标识符;请原样使用,包括任何前缀。
示例:
"ACTREQ-895487f0-3220-4aae-81ad-a20dba6fa2d9"
该 RFI 的当前状态。
ACTION_REQUIRED:需要你提供答复。SUBMITTED_PENDING:已提交答复,正在审核中。APPROVED:所提交的答复已通过。REJECTED:所提交的答复被拒绝;可能需要进一步处理。
可用选项:
SUBMITTED_PENDING, REJECTED, APPROVED, ACTION_REQUIRED 示例:
"SUBMITTED_PENDING"
该 RFI 的创建时间。
示例:
"2024-11-08T17:17:32+08:00"
该 RFI 的最后更新时间。
示例:
"2024-11-09T17:17:32+08:00"
该 RFI 中提出的问题列表,以及已提交的任何答复。
Show child attributes
Show child attributes

