UsageCredits::Fulfillment (3)
# {
:id => 6242,
:wallet_id => 5970,
:source_type => "Pay::Subscription",
:source_id => 1921,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-27 13:07:12.224155000 UTC +00:00,
:next_fulfillment_at => 2026-12-27 13:07:12.219506000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1921,
"plan" => "abcdef123456"
},
:created_at => 2026-11-27 13:07:12.225075000 UTC +00:00,
:updated_at => 2026-11-27 13:07:12.225075000 UTC +00:00
}
# {
:id => 6243,
:wallet_id => 5970,
:source_type => "Pay::Subscription",
:source_id => 1922,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-27 13:28:05.457382000 UTC +00:00,
:next_fulfillment_at => 2026-12-27 13:28:05.452028000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1922,
"plan" => "abcdef123456"
},
:created_at => 2026-11-27 13:28:05.458063000 UTC +00:00,
:updated_at => 2026-11-27 13:28:05.458063000 UTC +00:00
}
# {
:id => 6244,
:wallet_id => 5970,
:source_type => "Pay::Charge",
:source_id => 4322,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-27 16:20:16.385599000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4322,
"purchased_at" => "2026-11-27T16:20:16.377Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-27 16:20:16.386382000 UTC +00:00,
:updated_at => 2026-11-27 16:20:16.386382000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 10201,
:wallet_id => 5970,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-27 10:58:33.567099000 UTC +00:00,
:updated_at => 2026-11-27 10:58:33.567099000 UTC +00:00
}
# {
:id => 10202,
:wallet_id => 5970,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-27 13:12:12.219506000 UTC +00:00,
:fulfillment_id => 6242,
:metadata => {
"subscription_id" => 1921,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-27T13:07:12.221Z"
},
:created_at => 2026-11-27 13:07:12.222950000 UTC +00:00,
:updated_at => 2026-11-27 13:07:12.222950000 UTC +00:00
}
# {
:id => 10203,
:wallet_id => 5970,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-27 13:33:05.452028000 UTC +00:00,
:fulfillment_id => 6243,
:metadata => {
"subscription_id" => 1922,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-27T13:28:05.454Z"
},
:created_at => 2026-11-27 13:28:05.455943000 UTC +00:00,
:updated_at => 2026-11-27 13:28:05.455943000 UTC +00:00
}
# {
:id => 10204,
:wallet_id => 5970,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-11-27 13:49:43.804253000 UTC +00:00,
:updated_at => 2026-11-27 13:49:43.804253000 UTC +00:00
}
# {
:id => 10205,
:wallet_id => 5970,
:amount => 10,
:category => "bonus",
:expires_at => 2026-11-27 16:10:59.450981000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-27 16:09:59.453605000 UTC +00:00,
:updated_at => 2026-11-27 16:09:59.453605000 UTC +00:00
}
# {
:id => 10206,
:wallet_id => 5970,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4322,
"purchased_at" => "2026-11-27T16:20:16.377Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-27T16:20:16.381Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-27 16:20:16.384202000 UTC +00:00,
:updated_at => 2026-11-27 16:20:16.384202000 UTC +00:00
}