UsageCredits::Fulfillment (4)
# {
:id => 5795,
:wallet_id => 5599,
:source_type => "Pay::Subscription",
:source_id => 1804,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-10-31 20:55:28.075951000 UTC +00:00,
:next_fulfillment_at => 2026-11-30 20:55:28.072962000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1804,
"plan" => "abcdef123456"
},
:created_at => 2026-10-31 20:55:28.076304000 UTC +00:00,
:updated_at => 2026-10-31 20:55:28.076304000 UTC +00:00
}
# {
:id => 5796,
:wallet_id => 5599,
:source_type => "Pay::Charge",
:source_id => 3992,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-31 20:55:35.928106000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3992,
"purchased_at" => "2026-10-31T20:55:35.925Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-31 20:55:35.928386000 UTC +00:00,
:updated_at => 2026-10-31 20:55:35.928386000 UTC +00:00
}
# {
:id => 5797,
:wallet_id => 5599,
:source_type => "Pay::Charge",
:source_id => 3993,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-31 20:55:43.092987000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3993,
"purchased_at" => "2026-10-31T20:55:43.089Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-31 20:55:43.093293000 UTC +00:00,
:updated_at => 2026-10-31 20:55:43.093293000 UTC +00:00
}
# {
:id => 5798,
:wallet_id => 5599,
:source_type => "Pay::Charge",
:source_id => 3994,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-31 20:55:50.162771000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3994,
"purchased_at" => "2026-10-31T20:55:50.159Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-31 20:55:50.163088000 UTC +00:00,
:updated_at => 2026-10-31 20:55:50.163088000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 9517,
:wallet_id => 5599,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-11-30 21:00:28.072962000 UTC +00:00,
:fulfillment_id => 5795,
:metadata => {
"subscription_id" => 1804,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-10-31T20:55:28.073Z"
},
:created_at => 2026-10-31 20:55:28.074777000 UTC +00:00,
:updated_at => 2026-10-31 20:55:28.074777000 UTC +00:00
}
# {
:id => 9518,
:wallet_id => 5599,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3992,
"purchased_at" => "2026-10-31T20:55:35.925Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-31T20:55:35.926Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-31 20:55:35.927224000 UTC +00:00,
:updated_at => 2026-10-31 20:55:35.927224000 UTC +00:00
}
# {
:id => 9519,
:wallet_id => 5599,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3993,
"purchased_at" => "2026-10-31T20:55:43.089Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-31T20:55:43.091Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-31 20:55:43.092007000 UTC +00:00,
:updated_at => 2026-10-31 20:55:43.092007000 UTC +00:00
}
# {
:id => 9520,
:wallet_id => 5599,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3994,
"purchased_at" => "2026-10-31T20:55:50.159Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-31T20:55:50.160Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-31 20:55:50.161728000 UTC +00:00,
:updated_at => 2026-10-31 20:55:50.161728000 UTC +00:00
}
# {
:id => 9521,
:wallet_id => 5599,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-10-31 20:55:56.025718000 UTC +00:00,
:updated_at => 2026-10-31 20:55:56.025718000 UTC +00:00
}
# {
:id => 9522,
:wallet_id => 5599,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-31 20:57:02.007260000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-31 20:56:02.009413000 UTC +00:00,
:updated_at => 2026-10-31 20:56:02.009413000 UTC +00:00
}