Skip to main content
GET
/
v1
/
referral_items
/
{id}
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/referral_items/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "1e7f7b6b-af4b-4d1f-a289-38ea67ddd9e0",
  "object": "referral_item",
  "commission_amount": 580,
  "line_item": "41c98bf4-33e5-4cd6-83fd-711d02cee72a",
  "referral": "c98673fc-0e29-45cc-b021-b26be8b0a1ac",
  "created_at": 1767909752,
  "updated_at": 1767909752
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

commission_amount
integer

The amount in cents that will be paid out to the affiliate for this referral item.

line_item

Expandable – The associated line item ID.

referral

Expandable – The associated referral ID.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.