Revoke a signing key
curl --request POST \
--url https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke', 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://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-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://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-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.post("https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Signing key revoked",
"data": {
"key_id": "skey_a1b2c3d4e5f6",
"address": "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe",
"status": "revoked",
"nonce_high_water": 0,
"next_nonce": 1,
"activated_at": "2026-09-22T08:21:00+00:00",
"revoked_at": "2026-09-22T09:00:00+00:00",
"created_at": "2026-09-22T08:20:00+00:00"
}
}{
"status": "error",
"message": "Signing key not found",
"data": {
"field": "key_id"
}
}Customers
Revoke a signing key
Revoke an enrolled signing key. Idempotent when already revoked. Start a new challenge with a new address to replace a lost wallet.
POST
/
partner
/
customers
/
{customer_id}
/
signing-keys
/
{key_id}
/
revoke
Revoke a signing key
curl --request POST \
--url https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke', 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://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-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://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-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.post("https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elementpay.net/api/v1/partner/customers/{customer_id}/signing-keys/{key_id}/revoke")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Signing key revoked",
"data": {
"key_id": "skey_a1b2c3d4e5f6",
"address": "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe",
"status": "revoked",
"nonce_high_water": 0,
"next_nonce": 1,
"activated_at": "2026-09-22T08:21:00+00:00",
"revoked_at": "2026-09-22T09:00:00+00:00",
"created_at": "2026-09-22T08:20:00+00:00"
}
}{
"status": "error",
"message": "Signing key not found",
"data": {
"field": "key_id"
}
}Authorizations
Partner API key. Sandbox keys start with is_test_; production keys start with is_live_. Keys are not interchangeable across environments. Send on every request. Never expose in browser or mobile clients.
Path Parameters
Public customer id returned on create
Example:
"pcus_a1b2c3d4e5f6"
Public signing key id (skey_…)
Example:
"skey_a1b2c3d4e5f6"