Retiros
La API de retiros nos permite transferir el balance de nuestros clientes a su cuenta bancaria
Para que el retiro sea valido, el cliente tiene que tener al menos ARS 50.000
Retiros en moneda local
[PUT] https://api.getamplify.app/receiver/:receiverId
Endpoint para agregar la información bancaria de nuestro cliente
Body
{
"name": "Juan",
"lastName": "Perez",
"dob": "1990-01-30",
"accountNumber": "000000XX0000XXXXXXXXXX", // CBU
"identificationNumber": "20123456789", // CUIL | CUIT
"bankAccountNumber": "4020000-3 012-3",
"bankName": "Galicia",
}
Respuesta
{
"status": "ok",
}
[POST] https://api.getamplify.app/withdrawal
Crea un nuevo retiro para un cliente especifico
Este endpoint necesita los siguientes headers para funcionar:
{
"apiKey": "123xxx456",
"clientId": "123xxx456",
}
Body
{
"receiverId": "id-del-cliente"
}
Respuesta
{
"userId": "123...456",
"amount": "123",
"exchangeRate": "1000",
"status": "PENDING",
"testnet": false,
"receiverId": "id-del-cliente",
"created_at": "2024-01-01 12:00:24.677Z",
}
Retiro en cripto
[POST] https://api.getamplify.app/withdrawal/crypto
Crea un nuevo retiro de criptomonedas para un cliente especifico.
Este endpoint necesita los siguientes headers para funcionar:
{
"apiKey": "123xxx456",
"clientId": "123xxx456",
}
Body
{
receiverId: "id-del-cliente"
address: "dirección-de-retiro"
chainId: "id-red-de-retiro"
currency: "USDT/USDC"
}
Respuesta
{
"amount": "123",
"exchangeRate": "0",
"status": "PENDING",
"testnet": false,
"receiverId": "id-del-cliente",
"created_at": "2024-01-01 12:00:24.677Z"
}
Última actualización