Available Card List for Agency
curl --request GET \
--url http://access-wallet.test.ftrader.pro/wallet/api/credit/listimport requests
url = "http://access-wallet.test.ftrader.pro/wallet/api/credit/list"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://access-wallet.test.ftrader.pro/wallet/api/credit/list', 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 => "http://access-wallet.test.ftrader.pro/wallet/api/credit/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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 := "http://access-wallet.test.ftrader.pro/wallet/api/credit/list"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://access-wallet.test.ftrader.pro/wallet/api/credit/list")
.asString();require 'uri'
require 'net/http'
url = URI("http://access-wallet.test.ftrader.pro/wallet/api/credit/list")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"code": 123,
"msg": "<string>",
"data": [
{
"createTime": "2023-11-07T05:31:56Z",
"currencyIcon": "<string>",
"currencyId": 123,
"currencySymbol": "<string>",
"dailyAtmLimit": 123,
"dailyConsumptionLimit": 123,
"decimalPlaces": 123,
"enableActivity": true,
"feature": "<string>",
"feeIssuing": 123,
"feeKyc": 123,
"feeMonth": 123,
"groupName": "<string>",
"id": 123,
"level": 123,
"name": "<string>",
"rechargeFeeRate": 123,
"styleConfig": "<string>",
"updateTime": "2023-11-07T05:31:56Z"
}
]
}Card Management
Available Card List for Agency
GET
/
wallet
/
api
/
credit
/
list
Available Card List for Agency
curl --request GET \
--url http://access-wallet.test.ftrader.pro/wallet/api/credit/listimport requests
url = "http://access-wallet.test.ftrader.pro/wallet/api/credit/list"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://access-wallet.test.ftrader.pro/wallet/api/credit/list', 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 => "http://access-wallet.test.ftrader.pro/wallet/api/credit/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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 := "http://access-wallet.test.ftrader.pro/wallet/api/credit/list"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://access-wallet.test.ftrader.pro/wallet/api/credit/list")
.asString();require 'uri'
require 'net/http'
url = URI("http://access-wallet.test.ftrader.pro/wallet/api/credit/list")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"code": 123,
"msg": "<string>",
"data": [
{
"createTime": "2023-11-07T05:31:56Z",
"currencyIcon": "<string>",
"currencyId": 123,
"currencySymbol": "<string>",
"dailyAtmLimit": 123,
"dailyConsumptionLimit": 123,
"decimalPlaces": 123,
"enableActivity": true,
"feature": "<string>",
"feeIssuing": 123,
"feeKyc": 123,
"feeMonth": 123,
"groupName": "<string>",
"id": 123,
"level": 123,
"name": "<string>",
"rechargeFeeRate": 123,
"styleConfig": "<string>",
"updateTime": "2023-11-07T05:31:56Z"
}
]
}⌘I