Elenca cronologia acquisti


Use this endpoint to list order purchase history for your account.

Example requests and responses

curl -X GET \
  https://www.digicert.com/services/v2/finance/purchase-history \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
import requests

url = "https://www.digicert.com/services/v2/finance/purchase-history"

payload = ""
headers = {
    'X-DC-DEVKEY': "{{api_key}}",
    'Content-Type': "application/json"

response = requests.request("GET", url, data=payload, headers=headers)

package main

import (

func main() {

	url := "https://www.digicert.com/services/v2/finance/purchase-history"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-DC-DEVKEY", "{{api_key}}")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)


var request = require("request");

var options = { method: 'GET',
  url: 'https://www.digicert.com/services/v2/finance/purchase-history',
   { 'Content-Type': 'application/json',
     'X-DC-DEVKEY': '{{api_key}}' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

200 OK
  "order_transactions": [
      "id": "100003",
      "container": {
        "id": 11223,
        "name": "Example Division",
        "is_active": true
      "order_id": "11223",
      "receipt_id": "11118",
      "acct_adjust_id": "0",
      "amount": "379.00",
      "payment_type": "card",
      "transaction_date": "2018-07-18 11:34:18",
      "transaction_type": "purchase",
      "product_name": "Secure Site SSL"
      "id": "100002",
      "container": {
        "id": 11223,
        "name": "Example Division",
        "is_active": true
      "order_id": "11222",
      "receipt_id": "11117",
      "acct_adjust_id": "0",
      "amount": "198.00",
      "payment_type": "card",
      "transaction_date": "2018-10-11 10:03:45",
      "transaction_type": "purchase",
      "product_name": "Standard SSL"
      "id": "100001",
      "container": {
        "id": 11223,
        "name": "Example Division",
        "is_active": true
      "order_id": "11221",
      "receipt_id": "11116",
      "acct_adjust_id": "0",
      "amount": "499.00",
      "payment_type": "card",
      "transaction_date": "2018-01-26 12:43:49",
      "transaction_type": "purchase",
      "product_name": "EV Multi-Domain"
  "page": {
    "total": 1854,
    "limit": 1000,
    "offset": 0

Filters and URL query parameters

This endpoint supports filters, sorting, and pagination. For general information and examples of the syntax to use when applying filters and sorting results, see Services API - Filters, sorting, and pagination parameters.

Name Req/Opt Type Description
container_id optional int Filter results to the specified container.
filters[{{property_name}}] optional string Filters results by the specified property.

Replace {{property_name}} in your request with the property to use for filtering. This endpoint supports filtering by the following properties:
  • filters[payment_type] – Use balance, contract, card, wire_transfer, or unit.
  • filters[transaction_date]
  • filters[order_id]
  • filters[subaccount_id]
sort optional string Sorts results by the value of one or more properties.

By default, sorts results in ascending alphabetical order (0-9, A-Z). To sort in descending alphabetical order (9-0, Z-A), prefix the property name with a minus (-).

To sort by multiple properties, separate the name of each property with a comma. Sort hierarchy matches the order of properties in this list.

This endpoint supports sorting by the following properties:
  • id
  • order_id
  • receipt_id
  • acct_adjust_id
  • amount
  • payment_type
  • transaction_date
  • transaction_type
  • product_name
limit optional int Total number of results to include in the response.
Max: 1000 (default)
offset optional int Index of the first result to include in the response.
Default: 0

Response parameters

Name Type Description
order_transactions array List of returned order transactions.
.. id string Order transaction ID.
.. container object Details about the container that initiated the adjustment.
.. .. id int Container ID.
.. .. name string Name of the container.
.. .. is_active bool Active status of the container.
.. order_id string Order ID.
.. receipt_id string Receipt ID.
.. amount string Transaction amount.
.. payment_type string Payment type used for the transaction.
.. transaction_date string Timestamp of transaction.
Format: YYYY-MM-DD hh:mm:ss
.. transaction_type string Transaction type.
Possible values: purchase
.. product_name string Name of the product that was purchased.
See Glossary – Product identifiers
page object Details about results.
Modified using URL query strings.