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 记录
cURL
curl --request DELETE \ --url https://api-sandbox.y.uno/v1/recipients/{recipient_id} \ --header 'private-secret-key: <api-key>' \ --header 'public-api-key: <api-key>'
import requests url = "https://api-sandbox.y.uno/v1/recipients/{recipient_id}" headers = { "public-api-key": "<api-key>", "private-secret-key": "<api-key>" } response = requests.delete(url, headers=headers) print(response.text)
const options = { method: 'DELETE', headers: {'public-api-key': '<api-key>', 'private-secret-key': '<api-key>'} }; fetch('https://api-sandbox.y.uno/v1/recipients/{recipient_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.y.uno/v1/recipients/{recipient_id}", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "DELETE", 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}" req, _ := http.NewRequest("DELETE", 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.delete("https://api-sandbox.y.uno/v1/recipients/{recipient_id}") .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}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Delete.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", "legal_name": "Arcos dorados S.A.", "email": "john.doe@email.com", "country": "CO", "document": { "document_number": "1093333333", "document_type": "CC" }, "phone": { "country_code": "57", "number": "3132450765" }, "address": { "address_line_1": "Calle 34 # 56 - 78", "address_line_2": "Apartamento 502, Torre I", "city": "Bogota", "country": "CO", "state": "Cundinamarca", "zip_code": "111111" }, "withdrawal_methods": { "bank": { "code": "246", "branch": "XXXX", "account": "1093333333", "account_type": "SAVINGS" } }, "onboardings": [ { "type": "PREVIOUSLY_ONBOARDED", "workflow": "HOSTED_BY_PROVIDER", "callback_url": "https://www.google.com", "provider": { "id": "PAGARME" } } ], "split_configuration": [ { "calculation_type": "PERCENTAGE", "percentage": 10.5, "rounding_mode": "STANDARD", "currency": "USD" } ], "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z" }
{ "code": "INVALID_CREDENTIALS", "messages": [ "Invalid credentials" ] }
{ "code": "AUTHORIZATION_REQUIRED", "messages": [ "The merchant has no authorization to use this API." ] }
{ "code": "RECIPIENT_IN_USE", "messages": [ "Recipient cannot be deleted as it is currently being used in active payments" ] }
收款方的唯一标识符
收款方已删除。响应体为被删除的收款方。
收款方的唯一标识符。
"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
收款方层级的自动拆分计算规则。以数组形式返回,其中包含当前的拆分规则,尽管请求中的 split_configuration 以对象形式发送。未设置拆分配置时为 null。
split_configuration
收款方创建日期(ISO 8601,最多 27,最少 27)。
"2025-08-27T15:41:19.497413Z"
收款方最近更新日期(ISO 8601,最多 27,最少 27)。
"2025-08-27T15:41:19.497425Z"
此页面对您有帮助吗?