UsageCredits::Fulfillment (1)
# {
:id => 5896,
:wallet_id => 5711,
:source_type => "Pay::Subscription",
:source_id => 1832,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-06 22:09:20.585554000 UTC +00:00,
:next_fulfillment_at => 2026-12-06 22:09:20.581531000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1832,
"plan" => "abcdef123456"
},
:created_at => 2026-11-06 22:09:20.586012000 UTC +00:00,
:updated_at => 2026-11-06 22:09:20.586012000 UTC +00:00
}
UsageCredits::Transaction (3)
# {
:id => 9657,
:wallet_id => 5711,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-06 22:14:20.581531000 UTC +00:00,
:fulfillment_id => 5896,
:metadata => {
"subscription_id" => 1832,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-06T22:09:20.582Z"
},
:created_at => 2026-11-06 22:09:20.584142000 UTC +00:00,
:updated_at => 2026-11-06 22:09:20.584142000 UTC +00:00
}
# {
:id => 9658,
:wallet_id => 5711,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-06 22:09:21.064934000 UTC +00:00,
:updated_at => 2026-11-06 22:09:21.064934000 UTC +00:00
}
# {
:id => 9659,
:wallet_id => 5711,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-11-06 23:25:42.159059000 UTC +00:00,
:updated_at => 2026-11-06 23:25:42.159059000 UTC +00:00
}