Get the calling API key
curl --request GET \
--url https://api.palpluss.com/v1/api-key \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.palpluss.com/v1/api-key"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.palpluss.com/v1/api-key', 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://api.palpluss.com/v1/api-key",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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://api.palpluss.com/v1/api-key"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.palpluss.com/v1/api-key")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.palpluss.com/v1/api-key")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prefix": "<string>",
"kind": "STANDARD",
"mode": "live",
"livemode": true,
"scopes": "all",
"expiresAt": "2023-11-07T05:31:56Z",
"ipAllowlist": [
"<string>"
],
"connectedApp": "<string>",
"policy": {
"payoutMax": 123,
"dailyPayoutTotal": 123,
"dailyPayoutCount": 123,
"payoutAllowlist": [
"<string>"
],
"approvals": {
"payouts": true,
"channels": true
},
"payoutsToday": {
"total": 123,
"count": 123,
"remainingTotal": 123,
"remainingCount": 123
}
}
},
"requestId": "c1b2a3d4-e5f6-7890-abcd-ef1234567890"
}{
"success": false,
"error": {
"message": "Invalid or revoked API key.",
"code": "INVALID_API_KEY",
"details": {}
},
"requestId": "a1b2c3d4-0000-0000-0000-000000000000"
}Account
Get the Calling API Key
Kind, mode, permissions, limits and today’s payout usage for the key you’re using.
GET
/
api-key
Get the calling API key
curl --request GET \
--url https://api.palpluss.com/v1/api-key \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.palpluss.com/v1/api-key"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.palpluss.com/v1/api-key', 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://api.palpluss.com/v1/api-key",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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://api.palpluss.com/v1/api-key"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.palpluss.com/v1/api-key")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.palpluss.com/v1/api-key")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prefix": "<string>",
"kind": "STANDARD",
"mode": "live",
"livemode": true,
"scopes": "all",
"expiresAt": "2023-11-07T05:31:56Z",
"ipAllowlist": [
"<string>"
],
"connectedApp": "<string>",
"policy": {
"payoutMax": 123,
"dailyPayoutTotal": 123,
"dailyPayoutCount": 123,
"payoutAllowlist": [
"<string>"
],
"approvals": {
"payouts": true,
"channels": true
},
"payoutsToday": {
"total": 123,
"count": 123,
"remainingTotal": 123,
"remainingCount": 123
}
}
},
"requestId": "c1b2a3d4-e5f6-7890-abcd-ef1234567890"
}{
"success": false,
"error": {
"message": "Invalid or revoked API key.",
"code": "INVALID_API_KEY",
"details": {}
},
"requestId": "a1b2c3d4-0000-0000-0000-000000000000"
}Useful to check at startup that you’re using the key you expect, for example that
livemode is true in production.
For MCP keys, policy.payoutsToday shows what has been used today (Nairobi time), including payouts still waiting for approval. Standard keys report scopes: "all" and policy: null.Authorizations
Paste your PalPluss API key in the username field and leave the password field empty — it is ignored.
Get your key from console → API Keys. Live keys start with pp_live_,
test keys (simulated money) with pp_test_.
In your own code, send the key directly:
Authorization: Basic YOUR_API_KEY