UsageCredits::Fulfillment (2)
# {
:id => 3438,
:wallet_id => 3295,
:source_type => "Pay::Charge",
:source_id => 2239,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-12 12:58:30.749714000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2239,
"purchased_at" => "2026-03-12T12:58:30.743Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-12 12:58:30.750180000 UTC +00:00,
:updated_at => 2026-03-12 12:58:30.750180000 UTC +00:00
}
# {
:id => 3439,
:wallet_id => 3295,
:source_type => "Pay::Subscription",
:source_id => 1200,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-03-12 14:13:30.750316000 UTC +00:00,
:next_fulfillment_at => 2026-04-12 14:13:30.736329000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1200,
"plan" => "abcdef123456"
},
:created_at => 2026-03-12 14:13:30.754432000 UTC +00:00,
:updated_at => 2026-03-12 14:13:30.754432000 UTC +00:00
}
UsageCredits::Transaction (4)
# {
:id => 5641,
:wallet_id => 3295,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2239,
"purchased_at" => "2026-03-12T12:58:30.743Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-12T12:58:30.746Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-12 12:58:30.747890000 UTC +00:00,
:updated_at => 2026-03-12 12:58:30.747890000 UTC +00:00
}
# {
:id => 5642,
:wallet_id => 3295,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-04-12 14:18:30.736329000 UTC +00:00,
:fulfillment_id => 3439,
:metadata => {
"subscription_id" => 1200,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-03-12T14:13:30.745Z"
},
:created_at => 2026-03-12 14:13:30.747530000 UTC +00:00,
:updated_at => 2026-03-12 14:13:30.747530000 UTC +00:00
}
# {
:id => 5643,
:wallet_id => 3295,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-03-13 03:02:19.652685000 UTC +00:00,
:updated_at => 2026-03-13 03:02:19.652685000 UTC +00:00
}
# {
:id => 5644,
:wallet_id => 3295,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-03-13 13:20:07.316268000 UTC +00:00,
:updated_at => 2026-03-13 13:20:07.316268000 UTC +00:00
}