Add balance
POST https://geonix.com/personal/api/v1/{apiKey}/balance/add
This endpoint initiates a process to add funds to your account balance. It's designed to provide you with a secure link to a payment page, where you can complete the transaction safely.
Headers
Name
Value
Content-Type
application/json
Path parameters
Name
Type
Description
apiKey*
string
API key to authorize requests
Body parameters
Name
Type
Description
summ*
double
The amount of funds you wish to add to your balance.
Request examples
curl -X POST "https://geonix.com/personal/api/v1/YOUR_API_KEY_HERE/balance/add" \
-H "Content-Type: application/json" \
-d '{"summ": 100.00, "paymentId": 1}'<?php
$apiKey = 'YOUR_API_KEY_HERE'; // Replace with your actual API key
$url = "https://proxy-sale.com/personal/api/v1/$apiKey/balance/add";
$data = array("summ" => 100.00, "paymentId" => 1);
$data_json = json_encode($data);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_json);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
Response examples
Last updated