List RFIs
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/rfis \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/rfis"
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', 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",
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"
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")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/rfis")
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{
"total_pages": 1,
"total_items": 10,
"data": [
{
"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)
List RFIs
返回针对你的 UQPAY 账户发起的 RFI 分页列表。可用于发现需要你处理的未决 RFI,以及查看此前已回复的 RFI。
GET
/
v1
/
rfis
List RFIs
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/rfis \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/rfis"
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', 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",
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"
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")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/rfis")
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{
"total_pages": 1,
"total_items": 10,
"data": [
{
"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。
查询参数
每页返回的最大条目数。该数值可介于 10 - 100 之间,默认为 10。
必填范围:
x >= 1示例:
10
用于获取下一批条目的页码。该数值必须大于 1,默认为 1。
必填范围:
x >= 1示例:
1
按 RFI 状态筛选结果列表。
可用选项:
SUBMITTED_PENDING, REJECTED, APPROVED, ACTION_REQUIRED ⌘I

