Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.7 KB

chargify-ebb.md

File metadata and controls

30 lines (22 loc) · 1.7 KB

Chargify EBB

Structure

ChargifyEBB

Fields

Name Type Tags Description
Timestamp *time.Time Optional This timestamp determines what billing period the event will be billed in. If your request payload does not include it, Chargify will add chargify.timestamp to the event payload and set the value to now.
Id *string Optional A unique ID set by Chargify. Please note that this field is reserved. If chargify.id is present in the request payload, it will be overwritten.
CreatedAt *time.Time Optional An ISO-8601 timestamp, set by Chargify at the time each event is recorded. Please note that this field is reserved. If chargify.created_at is present in the request payload, it will be overwritten.
UniquenessToken *string Optional User-defined string scoped per-stream. Duplicate events within a stream will be silently ignored. Tokens expire after 31 days.
Constraints: Maximum Length: 64
SubscriptionId *int Optional Id of Maxio Advanced Billing Subscription which is connected to this event.
Provide subscription_id if you configured chargify.subscription_id as Subscription Identifier in your Event Stream.
SubscriptionReference *string Optional Reference of Maxio Advanced Billing Subscription which is connected to this event.
Provide subscription_reference if you configured chargify.subscription_reference as Subscription Identifier in your Event Stream.

Example (as JSON)

{
  "timestamp": "2016-03-13T12:52:32.123Z",
  "id": "id4",
  "created_at": "2016-03-13T12:52:32.123Z",
  "uniqueness_token": "uniqueness_token0",
  "subscription_id": 200
}