提现到 Pix 密钥
从账户向一个 Pix 密钥发送一笔 Pix。
POST
https://api.hub.payzu.com.br/api/v1/transactions/withdrawResponses
curl -X POST "https://api.hub.payzu.com.br/api/v1/transactions/withdraw" \ -H "Authorization: Bearer {{token}}" \ -H "Content-Type: application/json" \ -d '{ "amount": 10000, "pixKey": "fulano@exemplo.com", "pixKeyType": "EMAIL", "comment": "Repasse semanal" }'const body = JSON.stringify({ "amount": 10000, "pixKey": "fulano@exemplo.com", "pixKeyType": "EMAIL", "comment": "Repasse semanal"})fetch("https://api.hub.payzu.com.br/api/v1/transactions/withdraw", { method: "POST", headers: { "Content-Type": "application/json", "Authorization": "Bearer {{token}}" }, body})import requestsurl = "https://api.hub.payzu.com.br/api/v1/transactions/withdraw"body = """{ "amount": 10000, "pixKey": "fulano@exemplo.com", "pixKeyType": "EMAIL", "comment": "Repasse semanal"}"""response = requests.request("POST", url, data = body, headers = { "Content-Type": "application/json", "Authorization": "Bearer {{token}}"})print(response.text)