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": "3c748e0d-1255-4e30-bf3f-e47bf0e87f74",
  "object": "referral_item",
  "commission_amount": 580,
  "line_item": "0e427c0c-3129-48aa-98c1-bb89f5ff60a6",
  "referral": "2a5cd980-d130-463a-9da9-772d95fb9ee2",
  "created_at": 1780925566,
  "updated_at": 1780925566
}

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.