Paiement par numéro de carte
Initialisation d'un paiement via carte virtuelle.
Exemple de requête
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": 10000000000000000,
"currency": "USDT",
"env": "prod",
"type": "payment",
"route": "hot_hot_ETH",
"money_storage": {
"network": "ETH",
"type": "bank_card",
"currency": "USDT",
"cardnumber": "9981050281497239",
"cvv": "229",
"exp_month": "10",
"exp_year": "2026",
"cardholder": "John Doe"
},
"description": "Paiement",
"txid": "hot_hot_ETH"
}
}'
Champ | Description | Type | Exemple |
---|---|---|---|
amount | Montant de la transaction (en unités mineures) | Nombre | 10000000000000000000 |
currency | Devise de la transaction (par défaut USDT) | String | USDT |
env | Environnement de transaction (par défaut prod) | String | prod |
type | Type de transaction (dans ce cas payment) | String | payment |
route | Route de transaction (doit correspondre au mappage de route) | String | hot_hot_ETH |
money_storage | Instrument carte | Objet | |
>network | Réseau blockchain (TRX ou ETH) | String | ETH |
>type | Type d'instrument (bank_card) | String | bank_card |
>currency | Devise de l'instrument (USDT par défaut) | String | USDT |
>cardnumber | Numéro de carte virtuelle | String | 9981050281497239 |
>cvv | CVV virtuel | String | 229 |
>exp_month | Mois d'expiration | String | 10 |
>exp_year | Année d'expiration | String | 2026 |
>cardholder | Titulaire | String | John Doe |
description | Description de la transaction | String | Paiement |
txid | Identifiant de transaction | String | hot_hot_ETH |