Retrieve Issuing Transfer
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/transfers/{id} \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/transfers/{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/issuing/transfers/{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/issuing/transfers/{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/issuing/transfers/{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/issuing/transfers/{id}")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/transfers/{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{
"transfer_id": "5135e6cc-28b6-4889-81dc-3b86a09e1395",
"reference_id": "T250624-K0XMYZRF",
"source_account_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"destination_account_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"amount": 1000,
"fee_amount": 0.25,
"currency": "SGD",
"transfer_status": "completed",
"create_time": "2024-03-21T17:17:32+08:00",
"complete_time": "2024-03-21T17:17:32+08:00",
"creator_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"remark": "Transfer to Jack."
}Transfers
Retrieve Issuing Transfer
根据所提供的 transfer id 查询一笔发卡转账。
GET
/
v1
/
issuing
/
transfers
/
{id}
Retrieve Issuing Transfer
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/issuing/transfers/{id} \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/issuing/transfers/{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/issuing/transfers/{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/issuing/transfers/{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/issuing/transfers/{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/issuing/transfers/{id}")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/issuing/transfers/{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{
"transfer_id": "5135e6cc-28b6-4889-81dc-3b86a09e1395",
"reference_id": "T250624-K0XMYZRF",
"source_account_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"destination_account_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"amount": 1000,
"fee_amount": 0.25,
"currency": "SGD",
"transfer_status": "completed",
"create_time": "2024-03-21T17:17:32+08:00",
"complete_time": "2024-03-21T17:17:32+08:00",
"creator_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
"remark": "Transfer to Jack."
}授权
由 UQPAY 提供的登录 API Token。
请求头
指定代表哪个子账户发起请求。应设置为 account_id,该值可通过 List Connected Accounts 接口获取。若省略或为空,则请求以主账户身份执行。
更多信息参见 关联账户。
路径参数
转账的唯一标识符。
示例:
"c0cef051-29c5-4796-b86a-cd5b684bfad7"
响应
200 - application/json
成功查询转账。
转账的唯一标识符。
示例:
"5135e6cc-28b6-4889-81dc-3b86a09e1395"
转账的短引用 id。
示例:
"T250624-K0XMYZRF"
发起转账的账户 id。
示例:
"7c4ff2cd-1bf6-4aaa-bf16-266771425011"
接收转账的账户 id。
示例:
"7c4ff2cd-1bf6-4aaa-bf16-266771425011"
转账金额。
示例:
1000
交易手续费金额。
示例:
0.25
转账币种。
示例:
"SGD"
转账的当前状态。
pending:转账进行中,等待完成。failed:转账失败。若出现此状态,请联系 UQPAY 协助。completed:转账已成功完成。
可用选项:
pending, failed, completed 示例:
"completed"
转账创建时间。
示例:
"2024-03-21T17:17:32+08:00"
转账完成时间。
示例:
"2024-03-21T17:17:32+08:00"
创建该转账的账户 id。
示例:
"7c4ff2cd-1bf6-4aaa-bf16-266771425011"
转账备注。
示例:
"Transfer to Jack."

