Skip to main content

Withdrawal by Card Number

Initiate a payout (funds sent to a card number).

Request Example

curl --location 'https://app.heth.me/api/v1/transactions' \
--header 'Content-Type: application/json' \
--header 'x-api-key: 440944de-e5a4-6aab-9c57-3bf2e7282c64' \
--data '{
"params": {
"amount": "100000000000000000",
"currency": "USDT",
"env": "prod",
"type": "payout",
"route": "hot_hot_ETH",
"money_storage": {
"network": "ETH",
"type": "bank_card",
"currency": "USDT",
"cardnumber": "9981050281497239"
},
"description": "Withdrawal",
"txid": "2b9d6a7e-1c34-4f8a-9e21-7c5d0a1b2e3f"
}
}'
FieldDescriptionTypeExample
amountTransaction amount (string of an integer in minor units)String100000000000000000
currencyTransaction currency (default USDT)StringUSDT
envTransaction environment (default prod)Stringprod
routeTransaction route (must match route mapping)Stringhot_hot_ETH
typeTransaction type (in this case payout)Stringpayout
money_storageRecipient data objectObject
>networkBlockchain network (TRX or ETH)StringETH
>typeInstrument type (bank_card)Stringbank_card
>currencyRecipient currency (default USDT)StringUSDT
>cardnumberRecipient card numberString9981050281497239
descriptionTransaction descriptionStringWithdrawal
txidIdempotent transaction identifier (UUID)String2b9d6a7e-1c34-4f8a-9e21-7c5d0a1b2e3f