SocialTransaction

Schema

Fields

· 14
id string · uuid required

Unique ID of the transaction.

created_at string · date-time required

Object creation time (UTC date and time in ISO 8601 format)

updated_at string · date-time required

Object updation time (UTC date and time in ISO 8601 format)

user UserAttribute required
account AccountAttribute required
work_platform WorkPlatformAttribute required
amount number required

Amount for the given transaction

type string · enum required

Type of the transaction

values

  • AD
  • SUBSCRIPTION
  • ADDITIONAL
cpm number · nullable required

"Cost per thousand impressions", where impressions are the display units, as paid by the platform to show ads on the profile

currency string required

3 letter currency code as per ISO 4217

external_id string · nullable required

Transaction ID given by the source platform

transaction_at string · date-time required

Date or timestamp of transaction

platform_profile_id string required

Unique profile ID of the user on the work platform.

Ex - For YouTube it's the channel ID and for Instagram it's the Instagram page ID.

platform_profile_name string · nullable required

User's profile name on the work platform. This is not unique, is displayed prominently on the profile, usually editable and is most commonly associated with that user's identity on the platform.

Ex - For YouTube, it's the channel name displayed on the channel page and for Instagram / Twitter / TikTok etc, it's the name displayed on the user's profile page.

Used by

· 3 operations