Skip to main content
GET
/
v1
/
trust-badge
/
my-badge
curl "https://api.vouchmark.com/v1/trust-badge/my-badge?vendorId=cmp_..." \
  -H "Authorization: Bearer $TOKEN"
{
  "success": true,
  "data": {
    "vendorId": "cmp_...",
    "customerId": "usr_...",
    "status": "active",
    "score": 90,
    "badgeToken": "eyJ...",
    "issuedAt": "2026-05-12T00:00:00Z",
    "revokedAt": null,
    "expiresAt": "2026-08-10T00:00:00Z"
  }
}
Returns the Trust Badge record for one of your vendors.

Query parameters

vendorId
string
required
The vendor (company) ID you own.
curl "https://api.vouchmark.com/v1/trust-badge/my-badge?vendorId=cmp_..." \
  -H "Authorization: Bearer $TOKEN"
{
  "success": true,
  "data": {
    "vendorId": "cmp_...",
    "customerId": "usr_...",
    "status": "active",
    "score": 90,
    "badgeToken": "eyJ...",
    "issuedAt": "2026-05-12T00:00:00Z",
    "revokedAt": null,
    "expiresAt": "2026-08-10T00:00:00Z"
  }
}
When no badge exists for the vendor, the endpoint returns 404:
{
  "success": false,
  "message": "No trust badge found for this vendor."
}

Response fields

success
boolean
data
object