PnL Cards
Revoke (soft delete) a PnL card
Revoking sets revoked_at on the card. The public verify endpoint then returns 404, and the card disappears from the user’s public profile. The dedup slot is freed so the user can re-save the same trade.
DELETE
/
v1
/
cards
/
{id}
Revoke (soft delete) a PnL card
curl --request DELETE \
--url https://api.hyperprop.com/platform/v1/cards/{id}import requests
url = "https://api.hyperprop.com/platform/v1/cards/{id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.hyperprop.com/platform/v1/cards/{id}', 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.hyperprop.com/platform/v1/cards/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$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.hyperprop.com/platform/v1/cards/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.hyperprop.com/platform/v1/cards/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/cards/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": "PnL card revoked",
"data": {
"card": {
"id": "<string>",
"userId": "<string>",
"accountId": "<string>",
"tradeRef": {
"entryOrderId": "<string>",
"exitOrderId": "<string>",
"entryOrderIds": [
"<string>"
],
"exitOrderIds": [
"<string>"
]
},
"periodRef": {},
"snapshot": {
"symbol": "ES",
"contract": "ESM6",
"contractName": "E-mini S&P 500",
"side": "long",
"quantity": 2,
"entryPrice": 5210.25,
"exitPrice": 5215.75,
"openedAt": "2026-05-22T13:01:14.000Z",
"closedAt": "2026-05-22T13:42:09.000Z",
"pnlGross": 550,
"fees": 6,
"pnlNet": 544,
"pricePerPoint": 50,
"feePerSide": 1.5,
"currency": "USD",
"accountLabel": null
},
"description": "First trade with my new setup",
"revokedAt": "<string>",
"revokedReason": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required",
"code": "UNAUTHORIZED"
}{
"success": false,
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found",
"code": "NOT_FOUND"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}Related topics
List a public profile's PnL cardsPublic verification payload for a PnL cardList the authenticated user's PnL cardsCreate a verifiable PnL card from a closed tradeGet one of the authenticated user’s PnL cards⌘I
Revoke (soft delete) a PnL card
curl --request DELETE \
--url https://api.hyperprop.com/platform/v1/cards/{id}import requests
url = "https://api.hyperprop.com/platform/v1/cards/{id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.hyperprop.com/platform/v1/cards/{id}', 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.hyperprop.com/platform/v1/cards/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$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.hyperprop.com/platform/v1/cards/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.hyperprop.com/platform/v1/cards/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/cards/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": "PnL card revoked",
"data": {
"card": {
"id": "<string>",
"userId": "<string>",
"accountId": "<string>",
"tradeRef": {
"entryOrderId": "<string>",
"exitOrderId": "<string>",
"entryOrderIds": [
"<string>"
],
"exitOrderIds": [
"<string>"
]
},
"periodRef": {},
"snapshot": {
"symbol": "ES",
"contract": "ESM6",
"contractName": "E-mini S&P 500",
"side": "long",
"quantity": 2,
"entryPrice": 5210.25,
"exitPrice": 5215.75,
"openedAt": "2026-05-22T13:01:14.000Z",
"closedAt": "2026-05-22T13:42:09.000Z",
"pnlGross": 550,
"fees": 6,
"pnlNet": 544,
"pricePerPoint": 50,
"feePerSide": 1.5,
"currency": "USD",
"accountLabel": null
},
"description": "First trade with my new setup",
"revokedAt": "<string>",
"revokedReason": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required",
"code": "UNAUTHORIZED"
}{
"success": false,
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found",
"code": "NOT_FOUND"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}