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": "6a8a319e-1f1a-476d-aab0-cc23ceb2fca5",
  "object": "referral_item",
  "commission_amount": 580,
  "line_item": "2fc9c91b-0541-4a90-b598-623a4b68bda2",
  "referral": "0d387015-91b0-4ab7-8065-0f42f3db3cc1",
  "created_at": 1776176565,
  "updated_at": 1776176565
}

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.