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
  • Retiros en moneda local
  • [PUT] https://api.getamplify.app/receiver/:receiverId
  • [POST] https://api.getamplify.app/withdrawal
  • Retiro en cripto
  • [POST] https://api.getamplify.app/withdrawal/crypto
  1. Español
  2. API

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

Última actualización hace 9 meses