APPayoutResult result = akashicPay.payout(
"user123",
"TTVkK6hGoAFhALG9NTkUDHjcFFXKmWcScU",
"100",
APNetworkSymbol.TRX,
APTokenSymbol.NATIVE // or exclude this argument
);
var trxPayoutResult = await sdk.PayoutAsync(
"user123",
"TTVkK6hGoAFhALG9NTkUDHjcFFXKmWcScU",
"100",
TronNetworkSymbol.Value,
ApTokenSymbol.Native // Or exclude this argument
);
USDT (USDT-TRC20)
const { l2Hash } = await akashicPay.payout(
"user123",
"TTVkK6hGoAFhALG9NTkUDHjcFFXKmWcScU",
"100",
NetworkSymbol.Tron,
TokenSymbol.USDT // Note the token here
);
$result = $akashicPay->payout(
"user123",
"TTVkK6hGoAFhALG9NTkUDHjcFFXKmWcScU",
"100",
NetworkSymbol::TRON,
TokenSymbol::USDT // Note the token here
);
APPayoutResult result = akashicPay.payout(
"user123",
"TTVkK6hGoAFhALG9NTkUDHjcFFXKmWcScU",
"100",
APNetworkSymbol.TRX,
APTokenSymbol.USDT // Note the token here
);
var trxPayoutResult = await sdk.PayoutAsync(
"user123",
"TTVkK6hGoAFhALG9NTkUDHjcFFXKmWcScU",
"100",
TronNetworkSymbol.Value,
ApTokenSymbol.Usdt // Note the token here
);
APPayoutResult result = akashicPay.payout(
"user123",
"0x352ad0b65ccaaddd2c3e3b1a78be555171c239f3",
"100",
APNetworkSymbol.ETH,
APTokenSymbol.NATIVE // or exclude this argument
);
var trxPayoutResult = await sdk.PayoutAsync(
"user123",
"0x352ad0b65ccaaddd2c3e3b1a78be555171c239f3",
"100",
EthNetworkSymbol.Value,
ApTokenSymbol.Native // Or exclude this argument
);
USDT (USDT-ERC20)
const { l2Hash } = await akashicPay.payout(
"user123",
"0x352ad0b65ccaaddd2c3e3b1a78be555171c239f3",
"100",
NetworkSymbol.Ethereum_Mainnet,
TokenSymbol.USDT // Note the token here
);
$result = $akashicPay->payout(
"user123",
"0x352ad0b65ccaaddd2c3e3b1a78be555171c239f3",
"100",
NetworkSymbol::ETHEREUM_MAINNET,
TokenSymbol::USDT // Note the token here
);
APPayoutResult result = akashicPay.payout(
"user123",
"0x352ad0b65ccaaddd2c3e3b1a78be555171c239f3",
"100",
APNetworkSymbol.ETH,
APTokenSymbol.USDT // Note the token here
);
var trxPayoutResult = await sdk.PayoutAsync(
"user123",
"0x352ad0b65ccaaddd2c3e3b1a78be555171c239f3",
"100",
EthNetworkSymbol.Value,
ApTokenSymbol.Usdt // Note the token here
);