User
Get user
This endpoint allows you to retrieve user account details.
GET
/
user
Get user
curl --request GET \
--url https://processor-prod.up.railway.app/user \
--header 'x-service-key: <api-key>'import requests
url = "https://processor-prod.up.railway.app/user"
headers = {"x-service-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-service-key': '<api-key>'}};
fetch('https://processor-prod.up.railway.app/user', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://processor-prod.up.railway.app/user",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-service-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://processor-prod.up.railway.app/user"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-service-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://processor-prod.up.railway.app/user")
.header("x-service-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://processor-prod.up.railway.app/user")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-service-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"status": 200,
"message": "User fetched successfully",
"timestamp": "2025-09-28T15:51:44.040Z",
"data": {
"id": "68bb7d8399900e253084e6f7",
"code": 7827605055,
"name": "Bread",
"email": "hello@bread.africa",
"fee": {
"type": "percentage",
"value": 0.5,
"max": 1000,
"min": 0.05
},
"is_active": true,
"key": "8F7MFnbHcIGFqfexc3Gel1yw8F7MFnbHcIGudjOe",
"webhook": {
"enabled": false,
"url": "https://example.com/webhook",
"secret": "z9o4j778vsn5ivog9beUdj2849"
},
"fee_wallet": {
"id": "68bb7d8399900e3849sj8393",
"reference": "akzp20tn43bbixatfpl65zg9sqa0c2",
"is_active": true,
"address": {
"evm": "0x214C05B7917A4dCf787b2bfA13C6bE27f0A9A250",
"svm": "GfC8jFidowznLTBbQWKjJkQBEbNdSyxucNsi7ydyMjdi"
}
},
"settlement_wallet": {
"id": "68bb7d8399900e3849sj8393",
"reference": "akzp20tn43bbixatfpl65zg9sqa0c2",
"is_active": true,
"address": {
"evm": "0x214C05B7917A4dCf787b2bfA13C6bE27f0A9A250",
"svm": "GfC8jFidowznLTBbQWKjJkQBEbNdSyxucNsi7ydyMjdi"
}
}
}
}⌘I
Get user
curl --request GET \
--url https://processor-prod.up.railway.app/user \
--header 'x-service-key: <api-key>'import requests
url = "https://processor-prod.up.railway.app/user"
headers = {"x-service-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-service-key': '<api-key>'}};
fetch('https://processor-prod.up.railway.app/user', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://processor-prod.up.railway.app/user",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-service-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://processor-prod.up.railway.app/user"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-service-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://processor-prod.up.railway.app/user")
.header("x-service-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://processor-prod.up.railway.app/user")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-service-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"status": 200,
"message": "User fetched successfully",
"timestamp": "2025-09-28T15:51:44.040Z",
"data": {
"id": "68bb7d8399900e253084e6f7",
"code": 7827605055,
"name": "Bread",
"email": "hello@bread.africa",
"fee": {
"type": "percentage",
"value": 0.5,
"max": 1000,
"min": 0.05
},
"is_active": true,
"key": "8F7MFnbHcIGFqfexc3Gel1yw8F7MFnbHcIGudjOe",
"webhook": {
"enabled": false,
"url": "https://example.com/webhook",
"secret": "z9o4j778vsn5ivog9beUdj2849"
},
"fee_wallet": {
"id": "68bb7d8399900e3849sj8393",
"reference": "akzp20tn43bbixatfpl65zg9sqa0c2",
"is_active": true,
"address": {
"evm": "0x214C05B7917A4dCf787b2bfA13C6bE27f0A9A250",
"svm": "GfC8jFidowznLTBbQWKjJkQBEbNdSyxucNsi7ydyMjdi"
}
},
"settlement_wallet": {
"id": "68bb7d8399900e3849sj8393",
"reference": "akzp20tn43bbixatfpl65zg9sqa0c2",
"is_active": true,
"address": {
"evm": "0x214C05B7917A4dCf787b2bfA13C6bE27f0A9A250",
"svm": "GfC8jFidowznLTBbQWKjJkQBEbNdSyxucNsi7ydyMjdi"
}
}
}
}