Retrieve RFI
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/rfis/{id} \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}"
headers = {"x-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-auth-token': '<api-key>'}};
fetch('https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}', 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/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-auth-token: <api-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"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-auth-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"account_id": "f5bb6498-552e-40a5-b14b-616aa04ac1c1",
"rfi_id": "f846c1c3-8e8e-4560-b1a8-5318e858df1c",
"status": "SUBMITTED_PENDING",
"create_time": "2024-11-08T17:17:32+08:00",
"update_time": "2024-11-09T17:17:32+08:00",
"request": [
{
"question": {
"key": "basic_certificate_of_incorporation",
"comment": "Company Registration Documentation: includes company name, registered address, business license, etc.",
"type": "ATTACHMENT"
},
"answer": {
"key": "basic_certificate_of_incorporation",
"type": "ATTACHMENT",
"attachments": [
"63d75f6d-97a3-478c-bdbf-b050c650d72a"
]
}
}
]
}Request for Information (RFI)
Retrieve RFI
获取单个 RFI 的详细信息,包括所提出的问题以及回复该问题所需的文件。
GET
/
v1
/
rfis
/
{id}
Retrieve RFI
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/rfis/{id} \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}"
headers = {"x-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-auth-token': '<api-key>'}};
fetch('https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}', 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/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-auth-token: <api-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"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-auth-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/rfis/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"account_id": "f5bb6498-552e-40a5-b14b-616aa04ac1c1",
"rfi_id": "f846c1c3-8e8e-4560-b1a8-5318e858df1c",
"status": "SUBMITTED_PENDING",
"create_time": "2024-11-08T17:17:32+08:00",
"update_time": "2024-11-09T17:17:32+08:00",
"request": [
{
"question": {
"key": "basic_certificate_of_incorporation",
"comment": "Company Registration Documentation: includes company name, registered address, business license, etc.",
"type": "ATTACHMENT"
},
"answer": {
"key": "basic_certificate_of_incorporation",
"type": "ATTACHMENT",
"attachments": [
"63d75f6d-97a3-478c-bdbf-b050c650d72a"
]
}
}
]
}授权
由 UQPAY 提供的登录 API Token。
路径参数
资源的全局唯一标识符(UUID v4)。
示例:
"b3d9d2d5-4c12-4946-a09d-953e82sed2b0"
响应
200 - application/json
OK——成功获取 RFI。
账户的唯一标识符。
示例:
"f5bb6498-552e-40a5-b14b-616aa04ac1c1"
该 RFI 的唯一标识符。
示例:
"f846c1c3-8e8e-4560-b1a8-5318e858df1c"
该 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

