UsageCredits::Fulfillment (1)
# {
:id => 4243,
:wallet_id => 4045,
:source_type => "Pay::Subscription",
:source_id => 1423,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-06-15 04:09:46.347564000 UTC +00:00,
:next_fulfillment_at => 2026-07-15 04:09:46.266836000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1423,
"plan" => "abcdef123456"
},
:created_at => 2026-06-15 04:09:46.365185000 UTC +00:00,
:updated_at => 2026-06-15 04:09:46.365185000 UTC +00:00
}
UsageCredits::Transaction (5)
# {
:id => 7007,
:wallet_id => 4045,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-07-15 04:14:46.266836000 UTC +00:00,
:fulfillment_id => 4243,
:metadata => {
"subscription_id" => 1423,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-06-15T04:09:46.304Z"
},
:created_at => 2026-06-15 04:09:46.329323000 UTC +00:00,
:updated_at => 2026-06-15 04:09:46.329323000 UTC +00:00
}
# {
:id => 7008,
:wallet_id => 4045,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-06-15 11:22:28.998796000 UTC +00:00,
:updated_at => 2026-06-15 11:22:28.998796000 UTC +00:00
}
# {
:id => 7010,
:wallet_id => 4045,
:amount => 10,
:category => "bonus",
:expires_at => 2026-06-15 16:02:05.424536000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-06-15 16:01:05.430893000 UTC +00:00,
:updated_at => 2026-06-15 16:01:05.430893000 UTC +00:00
}
# {
:id => 7011,
:wallet_id => 4045,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-06-15 17:05:06.043585000 UTC +00:00,
:updated_at => 2026-06-15 17:05:06.043585000 UTC +00:00
}
# {
:id => 7012,
:wallet_id => 4045,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-06-15 17:26:07.325913000 UTC +00:00,
:updated_at => 2026-06-15 17:26:07.325913000 UTC +00:00
}