UsageCredits::Fulfillment (6)
# {
:id => 6249,
:wallet_id => 5974,
:source_type => "Pay::Charge",
:source_id => 4326,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-27 18:42:48.593962000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4326,
"purchased_at" => "2026-11-27T18:42:48.588Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-27 18:42:48.594435000 UTC +00:00,
:updated_at => 2026-11-27 18:42:48.594435000 UTC +00:00
}
# {
:id => 6250,
:wallet_id => 5974,
:source_type => "Pay::Subscription",
:source_id => 1924,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-27 18:42:49.021216000 UTC +00:00,
:next_fulfillment_at => 2026-12-27 18:42:49.017390000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1924,
"plan" => "abcdef123456"
},
:created_at => 2026-11-27 18:42:49.021786000 UTC +00:00,
:updated_at => 2026-11-27 18:42:49.021786000 UTC +00:00
}
# {
:id => 6251,
:wallet_id => 5974,
:source_type => "Pay::Charge",
:source_id => 4327,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-27 18:42:51.047143000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4327,
"purchased_at" => "2026-11-27T18:42:51.043Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-27 18:42:51.048281000 UTC +00:00,
:updated_at => 2026-11-27 18:42:51.048281000 UTC +00:00
}
# {
:id => 6252,
:wallet_id => 5974,
:source_type => "Pay::Charge",
:source_id => 4328,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-27 18:42:54.069828000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4328,
"purchased_at" => "2026-11-27T18:42:54.066Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-27 18:42:54.070220000 UTC +00:00,
:updated_at => 2026-11-27 18:42:54.070220000 UTC +00:00
}
# {
:id => 6253,
:wallet_id => 5974,
:source_type => "Pay::Charge",
:source_id => 4329,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-27 21:22:21.785266000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4329,
"purchased_at" => "2026-11-27T21:22:21.779Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-27 21:22:21.785711000 UTC +00:00,
:updated_at => 2026-11-27 21:22:21.785711000 UTC +00:00
}
# {
:id => 6254,
:wallet_id => 5974,
:source_type => "Pay::Charge",
:source_id => 4330,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-27 23:09:33.809774000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4330,
"purchased_at" => "2026-11-27T23:09:33.802Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-27 23:09:33.810241000 UTC +00:00,
:updated_at => 2026-11-27 23:09:33.810241000 UTC +00:00
}
UsageCredits::Transaction (10)
# {
:id => 10214,
:wallet_id => 5974,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-27 18:42:48.511879000 UTC +00:00,
:updated_at => 2026-11-27 18:42:48.511879000 UTC +00:00
}
# {
:id => 10215,
:wallet_id => 5974,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4326,
"purchased_at" => "2026-11-27T18:42:48.588Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-27T18:42:48.590Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-27 18:42:48.592674000 UTC +00:00,
:updated_at => 2026-11-27 18:42:48.592674000 UTC +00:00
}
# {
:id => 10216,
:wallet_id => 5974,
:amount => 10,
:category => "bonus",
:expires_at => 2026-11-27 18:43:48.671655000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-27 18:42:48.674956000 UTC +00:00,
:updated_at => 2026-11-27 18:42:48.674956000 UTC +00:00
}
# {
:id => 10217,
:wallet_id => 5974,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-27 18:47:49.017390000 UTC +00:00,
:fulfillment_id => 6250,
:metadata => {
"subscription_id" => 1924,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-27T18:42:49.018Z"
},
:created_at => 2026-11-27 18:42:49.020116000 UTC +00:00,
:updated_at => 2026-11-27 18:42:49.020116000 UTC +00:00
}
# {
:id => 10218,
:wallet_id => 5974,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4327,
"purchased_at" => "2026-11-27T18:42:51.043Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-27T18:42:51.044Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-27 18:42:51.045664000 UTC +00:00,
:updated_at => 2026-11-27 18:42:51.045664000 UTC +00:00
}
# {
:id => 10219,
:wallet_id => 5974,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-11-27 18:42:51.052814000 UTC +00:00,
:updated_at => 2026-11-27 18:42:51.052814000 UTC +00:00
}
# {
:id => 10220,
:wallet_id => 5974,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4328,
"purchased_at" => "2026-11-27T18:42:54.066Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-27T18:42:54.067Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-27 18:42:54.068706000 UTC +00:00,
:updated_at => 2026-11-27 18:42:54.068706000 UTC +00:00
}
# {
:id => 10221,
:wallet_id => 5974,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4329,
"purchased_at" => "2026-11-27T21:22:21.779Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-27T21:22:21.783Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-27 21:22:21.784070000 UTC +00:00,
:updated_at => 2026-11-27 21:22:21.784070000 UTC +00:00
}
# {
:id => 10222,
:wallet_id => 5974,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-27 22:33:23.777556000 UTC +00:00,
:updated_at => 2026-11-27 22:33:23.777556000 UTC +00:00
}
# {
:id => 10223,
:wallet_id => 5974,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4330,
"purchased_at" => "2026-11-27T23:09:33.802Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-27T23:09:33.805Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-27 23:09:33.808485000 UTC +00:00,
:updated_at => 2026-11-27 23:09:33.808485000 UTC +00:00
}