Withdraws

Withdraws

The withdrawal API allows us to transfer the balance of our clients to their bank account

For the withdrawal to be valid, the client must have at least ARS 50000

Endpoint to add client banking information

Body

{
    "name": "John",
    "lastName": "Smith",
    "dob": "1990-01-30",
    "accountNumber": "000000XX0000XXXXXXXXXX", // CBU
    "identificationNumber": "20123456789", // CUIL | CUIT
    "bankAccountNumber": "4020000-3 012-3",
    "bankName": "Galicia",
}

Response

{
    "status": "ok",
}

Creates a new withdrawal for a specific client

This endpoint requires the following headers:

{
  "apiKey": "123xxx456",
  "clientId": "123xxx456",
}

Body

{
    "receiverId": "receiver-identification"
}

Response

{
    "userId": "123...456",
    "amount": "123",
    "exchangeRate": "1000",
    "status": "PENDING",
    "testnet": false,
    "receiverId": "receiver-identification",
    "created_at": "2024-01-01 12:00:24.677Z",
}

[POST] https://api.getamplify.app/withdrawal/crypto

Creates a new cryptocurrency withdrawal for a specific client.

This endpoint requires the following headers:

{
  "apiKey": "123xxx456",
  "clientId": "123xxx456"
}

Body

{
  "receiverId": "receiver-identification",
  "address": "withdrawal-address",
  "chainId": "network-id",
  "currency": "USDT/USDC"
}

Response

{
  "amount": "123",
  "exchangeRate": "0",
  "status": "PENDING",
  "testnet": false,
  "receiverId": "receiver-identification",
  "created_at": "creation-date"
}

Última actualización