LogoLogo
SupportDashboard
  • Welcome
  • Installation
    • Main Code
      • Demo Trustmark
    • Conversion Tracking
    • Inline Trustmarks
    • Troubleshooting
  • Certifications
    • Certified Secure
    • Verified Business
    • Issue-Free Orders
    • Shopper Identity Protection
    • Data Protection
    • Spam-Free
    • Trusted Reviews
  • For Partners
    • Affiliates
    • Reseller
  • API
    • Introduction
      • Authentication
      • Data Types
      • Pagination & Sorting
      • Appendix
    • Endpoints
      • User
      • Account
Powered by GitBook
On this page
  • Get a list of current subscriptions.
  • Get information about a particular subscription.

Was this helpful?

  1. API
  2. Endpoints

Account

The Account endpoint provides methods for listing and adding subscriptions to the current account.

PreviousUser

Last updated 23 days ago

Was this helpful?

Get a list of current subscriptions.

GET https://api.trustedsite.com/api/v1/account/subscription-list.json

Retrieve a list of subscriptions related to the currently logged in account.

{
    "companyId": 12345,
    "subscriptions": [
        {
            "renewFrequency": "Year",
            "siteCount": 0,
            "product": 3,
            "dateCreated": "2022-03-14 18:38",
            "dateRenew": "2023-03-14",
            "price": "$0",
            "siteIds": [],
            "subscriptionId": 1234
        }
    ],
    "success": 1
}

Get information about a particular subscription.

GET https://api.trustedsite.com/api/v1/account/subscription-get.json

Query Parameters

Name
Type
Description

subscrption_id*

integer

ID of the subscription

{
    "subscription": {
        "subscription_id": 12345,
        "product": 3,
        "amount": "0.00",
        "partner": 0,
        "renew_date": "2023-03-14",
        "renew_frequency": 2,
        "description": "Example",
        "detail": "1000x Target<br>100x Application Scanning<br>100x Server Scanning<br>Compliance Reporting<br>"
    }
}
{
    "code": 0,
    "message": "subscription not found"
}
https://www.trustedsite.com/user/account/subscriptions