Saltar al contenido principal

Crear factura cripto de recarga

POST 

/api/invoice/crypto-invoice/deposit

Crea una factura cripto de recarga para un pedido de sandbox del comercio.

Solicitud​

Cuerpo de la solicitudobligatorio

Datos para crear una factura cripto de recarga.

    receiverCurrencystringobligatorio

    Moneda del destinatario.

    Valores posibles: [USD, EUR, USDT, USDC]

    Ejemplo: USD
    senderCurrencystringobligatorio

    Moneda del remitente.

    Valores posibles: [BTC, ETH, SOL, TRX, XRP, TON, LTC, AVAX, BNB, POL, USDT, USDT_BEP20, USDT_ERC20, USDT_TRC20, USDT_SOL, USDT_AVAXC, USDT_POL, USDT_OP, USDT_ARB, USDT_TON, USDC, USDC_ERC20, USDC_BEP20, USDC_ARB, USDC_OP, USDC_POL, USDC_AVAXC, USDC_SOL]

    Ejemplo: USD
    amountnumberobligatorio

    Monto.

    Valores posibles: >= 0

    Ejemplo: 10.25
    transferActionstringobligatorio

    Acción de la transferencia.

    Valores posibles: [GIVE, GET]

    Ejemplo: GIVE
    notestringnullable

    Nota.

    Valores posibles: <= 255 caracteres

    Ejemplo: Sandbox transfer note
    sciNamestringnullable

    Nombre de SCI.

    Ejemplo: test-value
    orderIdstringnullable

    ID del pedido.

    Valores posibles: <= 64 caracteres

    Ejemplo: ORDER_123456
    subMerchantURLstringnullable

    URL del subcomercio.

    Ejemplo: test-value

Respuestas​

OK

Esquema
    receiverCurrencystringobligatorio

    Moneda del destinatario.

    Valores posibles: [USD, EUR, GBP, RUB, UAH, KZT, BRL, TRY, AZN, ARS, AUD, BDT, CAD, CLP, COP, DOP, EGP, HKD, INR, IDR, JPY, MYR, MXN, MAD, NPR, NZD, PKR, PEN, PHP, SGD, ZAR, KRW, LKR, THB, AED, VND, CNY, CNH, BTC, BNB, BNB_BEP20, BNB_BEP2, BNB_ERC20, BCH, DAI, DOGE, DOGE_DOGENT, DOGE_BEP2, DOGE_BEP20, ETH, LTC, USDP, XRP, SHIB, SHIB_BEP20, SHIB_ERC20, USDT, USDT_BEP20, USDT_ERC20, USDT_TRC20, USDT_SOL, USDT_AVAXC, USDT_POL, USDT_OP, USDT_ARB, TRX, TUSD, USDC, USDC_ERC20, USDC_BEP20, USDC_BEP2, ZEC, BUSD, BUSD_BEP20, BUSD_ERC20, BUSD_TRC20, TON, SOL, ADA, AVAX, DOT, LINK, NEAR, POL, DASH, USDT_TON, USDC_ARB, USDC_OP, USDC_POL, USDC_AVAXC, USDC_SOL]

    Ejemplo: USD
    senderCurrencystringobligatorio

    Moneda del remitente.

    Valores posibles: [USD, EUR, GBP, RUB, UAH, KZT, BRL, TRY, AZN, ARS, AUD, BDT, CAD, CLP, COP, DOP, EGP, HKD, INR, IDR, JPY, MYR, MXN, MAD, NPR, NZD, PKR, PEN, PHP, SGD, ZAR, KRW, LKR, THB, AED, VND, CNY, CNH, BTC, BNB, BNB_BEP20, BNB_BEP2, BNB_ERC20, BCH, DAI, DOGE, DOGE_DOGENT, DOGE_BEP2, DOGE_BEP20, ETH, LTC, USDP, XRP, SHIB, SHIB_BEP20, SHIB_ERC20, USDT, USDT_BEP20, USDT_ERC20, USDT_TRC20, USDT_SOL, USDT_AVAXC, USDT_POL, USDT_OP, USDT_ARB, TRX, TUSD, USDC, USDC_ERC20, USDC_BEP20, USDC_BEP2, ZEC, BUSD, BUSD_BEP20, BUSD_ERC20, BUSD_TRC20, TON, SOL, ADA, AVAX, DOT, LINK, NEAR, POL, DASH, USDT_TON, USDC_ARB, USDC_OP, USDC_POL, USDC_AVAXC, USDC_SOL]

    Ejemplo: USD
    amountnumberobligatorio

    Monto.

    Valores posibles: >= 0

    Ejemplo: 10.25
    transferActionstringobligatorio

    Acción de la transferencia.

    Valores posibles: [GIVE, GET]

    Ejemplo: GIVE
    notestringnullable

    Nota.

    Valores posibles: <= 255 caracteres

    Ejemplo: Sandbox transfer note
    sciNamestringnullable

    Nombre de SCI.

    Ejemplo: test-value
    orderIdstringnullable

    ID del pedido.

    Valores posibles: <= 64 caracteres

    Ejemplo: ORDER_123456
    subMerchantURLstringnullable

    URL del subcomercio.

    Ejemplo: test-value
    addressstringnullable

    Dirección.

    Ejemplo: test-value
    addressOldFormatstringnullable

    Dirección en formato antiguo.

    Ejemplo: test-value
    destinationTagstringnullable

    Destination tag.

    Ejemplo: test-value
    senderAmountnumbernullable

    Monto del remitente.

    Ejemplo: 10.25
    receiverAmountnumbernullable

    Monto del destinatario.

    Ejemplo: 10.25
    expirationDatedate-timenullable

    Fecha de vencimiento.

    expirationDateMillisint64nullable

    Fecha de vencimiento en milisegundos.