UsageCredits::Fulfillment (3)
# {
:id => 3418,
:wallet_id => 3273,
:source_type => "Pay::Charge",
:source_id => 2224,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-07 03:51:43.333834000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2224,
"purchased_at" => "2026-03-07T03:51:43.325Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-07 03:51:43.334821000 UTC +00:00,
:updated_at => 2026-03-07 03:51:43.334821000 UTC +00:00
}
# {
:id => 3419,
:wallet_id => 3273,
:source_type => "Pay::Subscription",
:source_id => 1195,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-03-07 08:39:54.760814000 UTC +00:00,
:next_fulfillment_at => 2026-04-07 08:39:54.699818000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1195,
"plan" => "abcdef123456"
},
:created_at => 2026-03-07 08:39:54.768930000 UTC +00:00,
:updated_at => 2026-03-07 08:39:54.768930000 UTC +00:00
}
# {
:id => 3420,
:wallet_id => 3273,
:source_type => "Pay::Charge",
:source_id => 2225,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-03-07 08:39:58.682321000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2225,
"purchased_at" => "2026-03-07T08:39:58.658Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-03-07 08:39:58.683087000 UTC +00:00,
:updated_at => 2026-03-07 08:39:58.683087000 UTC +00:00
}
UsageCredits::Transaction (5)
# {
:id => 5603,
:wallet_id => 3273,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2224,
"purchased_at" => "2026-03-07T03:51:43.325Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-07T03:51:43.329Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-03-07 03:51:43.331488000 UTC +00:00,
:updated_at => 2026-03-07 03:51:43.331488000 UTC +00:00
}
# {
:id => 5604,
:wallet_id => 3273,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-04-07 08:44:54.699818000 UTC +00:00,
:fulfillment_id => 3419,
:metadata => {
"subscription_id" => 1195,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-03-07T08:39:54.737Z"
},
:created_at => 2026-03-07 08:39:54.750770000 UTC +00:00,
:updated_at => 2026-03-07 08:39:54.750770000 UTC +00:00
}
# {
:id => 5605,
:wallet_id => 3273,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2225,
"purchased_at" => "2026-03-07T08:39:58.658Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-03-07T08:39:58.674Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-03-07 08:39:58.676349000 UTC +00:00,
:updated_at => 2026-03-07 08:39:58.676349000 UTC +00:00
}
# {
:id => 5606,
:wallet_id => 3273,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-03-07 13:50:24.904077000 UTC +00:00,
:updated_at => 2026-03-07 13:50:24.904077000 UTC +00:00
}
# {
:id => 5614,
:wallet_id => 3273,
:amount => 10,
:category => "bonus",
:expires_at => 2026-03-07 17:54:51.176469000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-03-07 17:53:51.180538000 UTC +00:00,
:updated_at => 2026-03-07 17:53:51.180538000 UTC +00:00
}