GET
/
v4
/
purchases
/
{id}
curl --request GET \
  --url https://api.kit.com/v4/purchases/{id} \
  --header 'Authorization: Bearer <token>'
{
  "purchase": {
    "id": 1330,
    "transaction_id": "796-92-4892",
    "status": "paid",
    "email_address": "[email protected]",
    "currency": "USD",
    "transaction_time": "2023-02-17T11:43:55Z",
    "subtotal": 78.66,
    "discount": 5,
    "tax": 7.87,
    "total": 81.53,
    "products": [
      {
        "quantity": 1,
        "lid": "811-75-7900",
        "unit_price": 23.22,
        "sku": null,
        "name": "Phantom Hourglass",
        "pid": "804-02-4430"
      },
      {
        "quantity": 1,
        "lid": "766-49-1241",
        "unit_price": 32.22,
        "sku": null,
        "name": "Twilight Princess",
        "pid": "833-51-1151"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Authenticate API requests via an OAuth token

Path Parameters

id
integer
required

Response

200
application/json

Returns the purchase details

The response is of type object.