List Payment Methods
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/beneficiaries/paymentmethods \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/beneficiaries/paymentmethods"
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/beneficiaries/paymentmethods', 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/beneficiaries/paymentmethods",
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/beneficiaries/paymentmethods"
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/beneficiaries/paymentmethods")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/beneficiaries/paymentmethods")
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{
"data": [
{
"clearing_systems": "FAST",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "GIRO",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "LOCAL",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "MEPS",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "PAYNOW",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "RTGS",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "SWIFT",
"country": "SG",
"currency": "SGD",
"payment_method": "SWIFT",
"validation_field": []
}
]
}Beneficiaries
List Payment Methods
返回符合国家、币种、收款实体和账户授权的支付方式。Mastercard Send 要求开通 Mastercard 出款产品并具备支持的付款方/收款方组合。
GET
/
v1
/
beneficiaries
/
paymentmethods
List Payment Methods
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/beneficiaries/paymentmethods \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/beneficiaries/paymentmethods"
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/beneficiaries/paymentmethods', 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/beneficiaries/paymentmethods",
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/beneficiaries/paymentmethods"
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/beneficiaries/paymentmethods")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/beneficiaries/paymentmethods")
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{
"data": [
{
"clearing_systems": "FAST",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "GIRO",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "LOCAL",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "MEPS",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "PAYNOW",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "RTGS",
"country": "SG",
"currency": "SGD",
"payment_method": "LOCAL",
"validation_field": []
},
{
"clearing_systems": "SWIFT",
"country": "SG",
"currency": "SGD",
"payment_method": "SWIFT",
"validation_field": []
}
]
}授权
由 UQPAY 提供的登录 API Token。
查询参数
两位字母国家/地区代码 ISO 3166-1 alpha-2。
示例:
"SG"
收款实体类型。省略时使用本次请求所属账户的法人类型。查询 Mastercard 时建议显式传入。
可用选项:
INDIVIDUAL, COMPANY 响应
200 - application/json
OK —— 成功获取支付方式列表。
Show child attributes
Show child attributes

