cURL
curl --request GET \ --url https://api-payment.safefypay.com.br/v1/cashouts/{id} \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "b2c3d4e5-f6a7-8901-bcde-f23456789012", "externalId": "saque_001", "amount": 50000, "fee": 200, "netAmount": 49800, "currency": "BRL", "status": "Completed", "environment": "Sandbox", "pix": { "pixKeyType": "CPF", "pixKey": "***456789**", "endToEndId": "E12345678202501151600xyz789abc012" }, "requestedAt": "2025-01-15T16:00:00Z", "processedAt": "2025-01-15T16:02:00Z", "completedAt": "2025-01-15T16:05:00Z", "failureReason": null, "createdAt": "2025-01-15T16:00:00Z" }, "message": null, "error": null }
Consulte um saque por ID
Token JWT obtido via /v1/auth/token
ID do saque
"b2c3d4e5-f6a7-8901-bcde-f23456789012"
Dados do saque
Mostrar atributos filhos