Deluxiam API Documentation

Check Email or Phone

This API checks if the provided email or phone is valid.

Curl

                
curl -X POST "https://sitebola.site/api/send-money-email-check" -H "Accept: application/json" -H "Content-Type: application/json" -d "{\"client_secret\": \"dZHGd49nrjIojOFrueGvK5qfX2A0U9L14s3ppCvJD1ZyjesPyj1DA2dE6lQ0aciuLEY9KCtrSw6gs2JEnoqv2EaHcl9MBXFqfU9b\", \"receiverEmail\": \"[email protected]\"}"
                
            

Python

                
import requests
import json

url = "https://sitebola.site/api/send-money-email-check"
headers = {
    "Accept": "application/json",
    "Content-Type": "application/json"
}
payload = {
    "client_secret": "dZHGd49nrjIojOFrueGvK5qfX2A0U9L14s3ppCvJD1ZyjesPyj1DA2dE6lQ0aciuLEY9KCtrSw6gs2JEnoqv2EaHcl9MBXFqfU9b",
    "receiverEmail": "[email protected]"
}

response = requests.post(url, headers=headers, data=json.dumps(payload))

print(response.status_code)
print(response.json())
                
            

JavaScript

                
const axios = require('axios');

const url = "https://sitebola.site/api/send-money-email-check";
const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json"
};
const payload = {
    client_secret: "dZHGd49nrjIojOFrueGvK5qfX2A0U9L14s3ppCvJD1ZyjesPyj1DA2dE6lQ0aciuLEY9KCtrSw6gs2JEnoqv2EaHcl9MBXFqfU9b",
    receiverEmail: "[email protected]"
};

axios.post(url, payload, { headers })
    .then(response => {
        console.log('Status:', response.status);
        console.log('Data:', response.data);
    })
    .catch(error => {
        console.error('Error:', error.response ? error.response.data : error.message);
    });
                
            

PHP

                
<?php
$url = "https://sitebola.site/api/send-money-email-check";
$headers = [
    "Accept: application/json",
    "Content-Type: application/json"
];
$data = [
    "client_secret" => "dZHGd49nrjIojOFrueGvK5qfX2A0U9L14s3ppCvJD1ZyjesPyj1DA2dE6lQ0aciuLEY9KCtrSw6gs2JEnoqv2EaHcl9MBXFqfU9b",
    "receiverEmail" => "[email protected]"
];

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

$response = curl_exec($ch);
curl_close($ch);

echo $response;
?>
                
            

Response

                
                {"status":200}
                
            
Send Money P2P

This API sends money to a user via email or phone.

Curl

                
curl -X POST "https://sitebola.site/api/send-money-pay" -H "Accept: application/json" -H "Content-Type: application/json" -d "{\"client_secret\": \"b7eQlUHtUIuYoC9ArjASP9utJixpiAfdcmioDmUPLkC18Q3jPEKob0YB0cGR3PBLEyZL75yl4SyxArTu3A6j9MPQRVBdLD4b1EUp\", \"emailOrPhone\": \"5618771454\", \"currency_code\": \"TRX\", \"amount\": \"1.00\", \"note\": \"Payment for services rendered\"}"
                
            

PHP

                
<?php
$url = "https://sitebola.site/api/send-money-pay";
$headers = [
    "Accept: application/json",
    "Content-Type: application/json"
];
$data = [
    "client_secret" => "b7eQlUHtUIuYoC9ArjASP9utJixpiAfdcmioDmUPLkC18Q3jPEKob0YB0cGR3PBLEyZL75yl4SyxArTu3A6j9MPQRVBdLD4b1EUp",
    "emailOrPhone" => "5618771454",
    "currency_code" => "TRX",
    "amount" => "1.00",
    "note" => "Payment for services rendered"
];

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

$response = curl_exec($ch);
curl_close($ch);

echo $response;
?>
                
            

Python

                
import requests
import json

url = "https://sitebola.site/api/send-money-pay"
headers = {
    "Accept": "application/json",
    "Content-Type": "application/json"
}
payload = {
    "client_secret": "b7eQlUHtUIuYoC9ArjASP9utJixpiAfdcmioDmUPLkC18Q3jPEKob0YB0cGR3PBLEyZL75yl4SyxArTu3A6j9MPQRVBdLD4b1EUp",
    "emailOrPhone": "5618771454",
    "currency_code": "TRX",
    "amount": "1.00",
    "note": "Payment for services rendered"
}

response = requests.post(url, headers=headers, data=json.dumps(payload))

print(response.status_code)
print(response.json())
                
            

JavaScript

                
const axios = require('axios');

const url = "https://sitebola.site/api/send-money-pay";
const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json"
};
const payload = {
    client_secret: "b7eQlUHtUIuYoC9ArjASP9utJixpiAfdcmioDmUPLkC18Q3jPEKob0YB0cGR3PBLEyZL75yl4SyxArTu3A6j9MPQRVBdLD4b1EUp",
    emailOrPhone: "5618771454",
    currency_code: "TRX",
    amount: "1.00",
    note: "Payment for services rendered"
};

axios.post(url, payload, { headers })
    .then(response => {
        console.log('Status:', response.status);
        console.log('Data:', response.data);
    })
    .catch(error => {
        console.error('Error:', error.response ? error.response.data : error.message);
    });
                
            

Response

                
{"status":true,"tx_id":"84916AA2B46EF"}