Amplify
  • Amplify Documentation
  • Español
    • Introducción
    • GUIAS
      • [GUIA] Integración básica Amplify SDK (Tienda única)
      • [GUIA] Leyendo balances (Tienda única)
    • Creando una cuenta
    • Configurando tu cuenta
    • Obteniendo tus API Key
    • Obteniendo tokens de prueba
    • SDK
      • Instalacion
      • Propiedades
      • Eventos
      • Personalización
      • Interfaces
    • API
      • Intención de pago
      • Balances
      • Retiros
      • Webhooks
      • Links de Pago
      • Reembolsos
  • English
    • Introduction
    • Creating an account
    • Setting up your account
    • Getting your API Keys
    • Faucet
    • SDK
      • Installation
      • Props
      • Events
      • Customization
      • Interfaces
    • API
      • Payment intents
      • Balances
      • Withdraws
      • Webhooks
      • Refunds
Con tecnología de GitBook
En esta página
  1. English
  2. API

Withdraws

AnteriorBalancesSiguienteWebhooks

Última actualización hace 9 meses

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

[PUT]

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",
}

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"
}

[POST]

[POST]

https://api.getamplify.app/receiver/:receiverId
https://api.getamplify.app/withdrawal
https://api.getamplify.app/withdrawal/crypto