Deluxiam
Developers

Deluxiam API Documentation

Create an API key from your dashboard, then call these endpoints with your client secret.

Accept a payment

Send the price. You get a payment link. Your buyer picks a coin and pays. The money lands in your Deluxiam wallet.

POSThttps://deluxiam.com/api/create-payment
client_secretYour secret from the API keys page
amountThe price, like 25
currencyUSD (default) or a coin: BTC, LTC, DOGE, BNB, USDT, SHIB, ETH, TRX
receive_currencyOptional. The coin you want in your wallet (auto-converted). Empty = the coin the buyer paid
pay_currencyOptional. Set it to get the address, amount and QR code right away (show them on your own page)
order_id, descriptionOptional. Shown to the buyer and sent back to you
callback_urlOptional. We tell this link every time the status changes
success_url, cancel_urlOptional. Where the buyer goes back to

Fee 0.5%. The buyer has 1 hour to pay. Minimum 1 USD.

curl -X POST "https://deluxiam.com/api/create-payment" -H "Accept: application/json" -H "Content-Type: application/json" -d "{\"client_secret\": \"your_client_secret_here\", \"amount\": \"25\", \"currency\": \"USD\", \"receive_currency\": \"USDT\", \"order_id\": \"1001\", \"callback_url\": \"https://yourshop.com/ipn\", \"success_url\": \"https://yourshop.com/thanks\"}"

Check a payment

Ask for the latest status of a payment at any time.

POSThttps://deluxiam.com/api/payment-status
newMade, the buyer has not picked a coin yet
waitingCoin picked, waiting for the money (1 hour)
confirmingMoney seen, waiting for the network to confirm
paidDone. The money is in your wallet
underpaidOnly part arrived. That part is in your wallet
expiredTime ran out, nothing arrived
curl -X POST "https://deluxiam.com/api/payment-status" -H "Accept: application/json" -H "Content-Type: application/json" -d "{\"client_secret\": \"your_client_secret_here\", \"id\": \"8f2c1a9b3d4e5f60\"}"

Get notified (IPN)

When the status changes we POST the same payment JSON to your callback_url. Check the X-Deluxiam-Signature header (HMAC-SHA256 of the body with your client secret). Answer with HTTP 200. If you do not, we try again 6 more times.

<?php
$body = file_get_contents("php://input");
$sign = hash_hmac("sha256", $body, "your_client_secret_here");
if (!hash_equals($sign, $_SERVER["HTTP_X_DELUXIAM_SIGNATURE"] ?? "")) { http_response_code(403); exit; }

$payment = json_decode($body, true);
if ($payment["status"] === "paid") {
    // mark order $payment["order_id"] as paid
}
http_response_code(200);
?>

Check Email

This API checks if the provided Email is valid.

POSThttps://deluxiam.com/api/p2p-check
curl -X POST "https://deluxiam.com/api/p2p-check" -H "Accept: application/json" -H "Content-Type: application/json" -d "{\"client_secret\": \"your_client_secret_here\", \"receiver\": \"[email protected]\"}"

Send Money

This API sends money to a user via Email.

POSThttps://deluxiam.com/api/send-p2p
curl -X POST "https://deluxiam.com/api/send-p2p" -H "Accept: application/json" -H "Content-Type: application/json" -d "{\"client_secret\": \"your_client_secret_here\", \"email\": \"[email protected]\", \"currency_code\": \"TRX\", \"amount\": \"1.00\", \"note\": \"Payment for services rendered\"}"

Ready to build?

Generate your API key in seconds.

Create an Account