Use this API to automate Litecoin payments through CoinDirectly.com.
POST โ https://coindirectly.com/gatway/gateway.php
api_key
โ Your generated API key (from your CoinDirectly account)product_id
โ Plan/product identifier (e.g. 60_day
, premium_access
)amount
โ Payment amount in USD (minimum $1)curl -X POST https://coindirectly.com/gatway/gateway.php \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_API_KEY_HERE",
"product_id": "premium_plan",
"amount": 50
}'
{
"status": "pending",
"ltc_address": "ltc1qxyzabc123...",
"ltc_amount": 0.598,
"usd_price": 50,
"product_id": "premium_plan",
"ltc_price_usd": 97.80,
"message": "โณ Waiting for LTC payment..."
}
{
"status": "confirmed",
"ltc_address": "ltc1qxyzabc123...",
"ltc_amount": 0.598,
"message": "โ
Payment confirmed",
"txid": "f6a4a8f1..."
}
{
"status": "error",
"message": "Invalid API key or amount must be at least $1"
}
API Key
and use it in your integration.Use the built-in support panel inside your CoinDirectly dashboard or contact support via their official website.