Developers

Faucet API Integration

Send internal Tiampay rewards from your funded wallet balance to registered users by email or username.

Overview

API keys are shown without a prefix and can be revealed again from your API Apps page. DOGE deposits and withdrawals use BEP20 DOGE only.

Create API App Download PHP Client

Endpoint
POST https://tiampay.com/api/v1/send
Required Fields
FieldDescription
api_keyYour API app key, without any prefix.
toRecipient registered email or username.
amountReward amount, up to 8 decimals.
currencyBTC, LTC, DOGE, or TRX.
Optional Fields
request_idYour unique payout id. Reusing it prevents duplicate payment.
ip_addressYour faucet user's IP address for your own tracking.
PHP cURL Example
$post = array(
    'api_key' => '9fcb0000000000000000000000000000000000000000c0ceb6',
    'to' => 'member@example.com',
    'amount' => '1.00000000',
    'currency' => 'DOGE',
    'request_id' => 'claim_12345'
);

$ch = curl_init('https://tiampay.com/api/v1/send');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
Success Response
{
  "status": 200,
  "message": "Payment sent",
  "payout_id": 123,
  "currency": "DOGE",
  "amount": "1.00000000",
  "balance": "99.00000000"
}
Error Response
{
  "status": 400,
  "message": "Invalid API key"
}