Перейти к содержимому

Card Recharges

Quote-then-execute card top-ups, recharge history.

Recharge cost quote

Запрос

Calculates the total USDT debit for a recharge of targetAmount USD (Lumo commission + processor fee). No funds move.

Безопасность
apiKeyAuth
Телоapplication/jsonобязательный
cardIdstring, (uuid)обязательный
targetAmountnumberобязательный

USD amount that should land on the card

Пример:50
curl -i -X POST \
  https://b2b-app.lumowallet.io/_mock/apis/cards/recharge/quote \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",
    "targetAmount": 50
  }'

Ответы

Quote

Телоapplication/json
cardIdstring, (uuid)обязательный
targetAmountnumberобязательный
processorFeeBpsinteger

Issuer fee in basis points (100 = 1%)

processorGrossAmountnumber
ourFeeBpsinteger
ourFeenumber
userChargenumber

Gross amount sent to the issuer before their fee

commissionUsdtnumberобязательный

Lumo commission, deducted from the company balance

totalDebitUsdtnumberобязательный

userCharge + commissionUsdt — what gets debited on execute

currencystringобязательный
Value:"USDT"
Response
{ "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24", "targetAmount": 0, "processorFeeBps": 0, "processorGrossAmount": 0, "ourFeeBps": 0, "ourFee": 0, "userCharge": 0, "commissionUsdt": 0, "totalDebitUsdt": 0, "currency": "USDT" }