Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
联系支持
新功能:在 Claude、ChatGPT、Grok、Cursor 或任何 MCP 客户端中使用 Yuno。立即设置 →
冻结收款方的 onboarding,以便在合规或风险审查期间暂时阻止 payout
cURL
curl --request POST \ --url https://api-sandbox.y.uno/v1/recipients/{recipient_id}/onboardings/{onboarding_id}/block \ --header 'private-secret-key: <api-key>' \ --header 'public-api-key: <api-key>'
import requests url = "https://api-sandbox.y.uno/v1/recipients/{recipient_id}/onboardings/{onboarding_id}/block" headers = { "public-api-key": "<api-key>", "private-secret-key": "<api-key>" } response = requests.post(url, headers=headers) print(response.text)
const options = { method: 'POST', headers: {'public-api-key': '<api-key>', 'private-secret-key': '<api-key>'} }; fetch('https://api-sandbox.y.uno/v1/recipients/{recipient_id}/onboardings/{onboarding_id}/block', 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.y.uno/v1/recipients/{recipient_id}/onboardings/{onboarding_id}/block", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_HTTPHEADER => [ "private-secret-key: <api-key>", "public-api-key: <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.y.uno/v1/recipients/{recipient_id}/onboardings/{onboarding_id}/block" req, _ := http.NewRequest("POST", url, nil) req.Header.Add("public-api-key", "<api-key>") req.Header.Add("private-secret-key", "<api-key>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
HttpResponse<String> response = Unirest.post("https://api-sandbox.y.uno/v1/recipients/{recipient_id}/onboardings/{onboarding_id}/block") .header("public-api-key", "<api-key>") .header("private-secret-key", "<api-key>") .asString();
require 'uri' require 'net/http' url = URI("https://api-sandbox.y.uno/v1/recipients/{recipient_id}/onboardings/{onboarding_id}/block") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["public-api-key"] = '<api-key>' request["private-secret-key"] = '<api-key>' response = http.request(request) puts response.read_body
{ "id": "9104911d-5df9-429e-8488-ad41abea1a4b", "account_id": "9104911d-5df9-429e-8488-ad41abea1a4b", "merchant_recipient_id": "AAAA01", "national_entity": "INDIVIDUAL", "first_name": "John", "last_name": "Doe", "email": "john.doe@email.com", "country": "CO", "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T12:00:00Z" }
{ "code": "INVALID_CREDENTIALS", "messages": [ "Invalid credentials" ] }
{ "code": "AUTHORIZATION_REQUIRED", "messages": [ "The merchant has no authorization to use this API." ] }
{ "code": "RECIPIENT_ALREADY_BLOCKED", "messages": [ "Recipient is already blocked" ] }
收款方的唯一标识符
与此操作关联的 onboarding 的唯一标识符。
收款方已成功冻结
收款方的唯一标识符。
"3aaa4d82-11e8-48ce-8ef5-04eee3a10802"
与此收款方关联的账户标识符。
"fe14c7c6-c75e-43b7-bdbe-4c87ad52c482"
由商户定义的收款方唯一标识符。
"MERCHANT_182acf1d-faeb-4ff0-94cd-7fab11b282f6"
受益人的国家实体类型。
"INDIVIDUAL"
受益人的组织类型。
"PRIVATE"
受益人的名字。
"Juan"
受益人的姓氏。
"Perez"
受益人的法定名称。
null
受益人的电子邮件。
"juan.perez@example.com"
受益人的出生日期。
"1990-01-15"
受益人所在国家。
"CO"
卖家的网站 URL。
"https://juanperez.com"
卖家所属行业。
"Technology"
商户类别代码(MCC)(最多 235,最少 1)。
"5734"
Show child attributes
收款方层级的自动拆分计算规则。
收款方创建日期(ISO 8601,最多 27,最少 27)。
"2025-08-27T15:41:19.497413Z"
收款方最近更新日期(ISO 8601,最多 27,最少 27)。
"2025-08-27T15:41:19.497425Z"
此页面对您有帮助吗?