DodoPayments.SubscriptionCreateResponse (dodo_payments v0.1.0)

Copy Markdown View Source

A response from Dodo's deprecated direct subscription creation endpoint.

Summary

Types

t()

@type t() :: %DodoPayments.SubscriptionCreateResponse{
  addons: [DodoPayments.ResponseTypes.object()] | nil,
  client_secret: String.t() | nil,
  customer: DodoPayments.ResponseTypes.customer_limited_details() | nil,
  discount_id: String.t() | nil,
  discount_ids: [String.t()] | nil,
  expires_on: String.t() | nil,
  extra: map(),
  metadata: DodoPayments.ResponseTypes.metadata() | nil,
  one_time_product_cart: [DodoPayments.ResponseTypes.product_cart_item()] | nil,
  payment_id: String.t() | nil,
  payment_link: String.t() | nil,
  recurring_pre_tax_amount: number() | nil,
  subscription_id: String.t() | nil,
  trial_amount: number() | nil
}