POST
/wallet/withdrawCriar Saque
Solicita um saque via PIX para uma chave informada.
Request Body
| Parâmetro | Tipo |
|---|---|
amount* | number |
pixKey* | string |
pixKeyType* | string |
verificationCode | string |
Exemplo de Request
curlbash
curl -X POST "https://api.magnuspay.com.br/wallet/withdraw" \
-H "X-API-Key: magnus_sua_api_key" \
-H "Content-Type: application/json" \
-d '{
"amount": 500.00,
"pixKey": "12345678900",
"pixKeyType": "CPF"
}'Resposta de Sucesso
201 Createdjson
{
"success": true,
"message": "Saque solicitado",
"data": {
"transactionId": "507f1f77bcf86cd799439011",
"externalId": "txn_abc123",
"status": "PENDING",
"message": "Saque solicitado"
}
}