UsageCredits::Fulfillment (3)
# {
:id => 6282,
:wallet_id => 5991,
:source_type => "Pay::Subscription",
:source_id => 1933,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-29 22:13:09.534815000 UTC +00:00,
:next_fulfillment_at => 2026-12-29 22:13:09.522979000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1933,
"plan" => "abcdef123456"
},
:created_at => 2026-11-29 22:13:09.535957000 UTC +00:00,
:updated_at => 2026-11-29 22:13:09.535957000 UTC +00:00
}
# {
:id => 6283,
:wallet_id => 5991,
:source_type => "Pay::Charge",
:source_id => 4350,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-29 22:13:13.549894000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4350,
"purchased_at" => "2026-11-29T22:13:13.546Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-29 22:13:13.550263000 UTC +00:00,
:updated_at => 2026-11-29 22:13:13.550263000 UTC +00:00
}
# {
:id => 6284,
:wallet_id => 5991,
:source_type => "Pay::Charge",
:source_id => 4351,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-29 22:13:19.476793000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4351,
"purchased_at" => "2026-11-29T22:13:19.471Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-29 22:13:19.479669000 UTC +00:00,
:updated_at => 2026-11-29 22:13:19.479669000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 10268,
:wallet_id => 5991,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-29 22:18:09.522979000 UTC +00:00,
:fulfillment_id => 6282,
:metadata => {
"subscription_id" => 1933,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-29T22:13:09.525Z"
},
:created_at => 2026-11-29 22:13:09.526938000 UTC +00:00,
:updated_at => 2026-11-29 22:13:09.526938000 UTC +00:00
}
# {
:id => 10269,
:wallet_id => 5991,
:amount => 10,
:category => "bonus",
:expires_at => 2026-11-29 22:14:11.541381000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-29 22:13:11.544606000 UTC +00:00,
:updated_at => 2026-11-29 22:13:11.544606000 UTC +00:00
}
# {
:id => 10270,
:wallet_id => 5991,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4350,
"purchased_at" => "2026-11-29T22:13:13.546Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-29T22:13:13.547Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-29 22:13:13.548864000 UTC +00:00,
:updated_at => 2026-11-29 22:13:13.548864000 UTC +00:00
}
# {
:id => 10271,
:wallet_id => 5991,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-11-29 22:13:15.833250000 UTC +00:00,
:updated_at => 2026-11-29 22:13:15.833250000 UTC +00:00
}
# {
:id => 10272,
:wallet_id => 5991,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-29 22:13:17.537831000 UTC +00:00,
:updated_at => 2026-11-29 22:13:17.537831000 UTC +00:00
}
# {
:id => 10273,
:wallet_id => 5991,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4351,
"purchased_at" => "2026-11-29T22:13:19.471Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-29T22:13:19.474Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-29 22:13:19.475581000 UTC +00:00,
:updated_at => 2026-11-29 22:13:19.475581000 UTC +00:00
}