UsageCredits::Fulfillment (3)
# {
:id => 5631,
:wallet_id => 5381,
:source_type => "Pay::Subscription",
:source_id => 1765,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-10-23 16:01:14.066156000 UTC +00:00,
:next_fulfillment_at => 2026-11-23 16:01:14.063007000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1765,
"plan" => "abcdef123456"
},
:created_at => 2026-10-23 16:01:14.066574000 UTC +00:00,
:updated_at => 2026-10-23 16:01:14.066574000 UTC +00:00
}
# {
:id => 5635,
:wallet_id => 5381,
:source_type => "Pay::Charge",
:source_id => 3869,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-23 19:06:04.408993000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3869,
"purchased_at" => "2026-10-23T19:06:04.405Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-23 19:06:04.409286000 UTC +00:00,
:updated_at => 2026-10-23 19:06:04.409286000 UTC +00:00
}
# {
:id => 5636,
:wallet_id => 5381,
:source_type => "Pay::Charge",
:source_id => 3870,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-24 01:00:38.780849000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3870,
"purchased_at" => "2026-10-24T01:00:38.777Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-24 01:00:38.781194000 UTC +00:00,
:updated_at => 2026-10-24 01:00:38.781194000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 9257,
:wallet_id => 5381,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-11-23 16:06:14.063007000 UTC +00:00,
:fulfillment_id => 5631,
:metadata => {
"subscription_id" => 1765,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-10-23T16:01:14.064Z"
},
:created_at => 2026-10-23 16:01:14.065196000 UTC +00:00,
:updated_at => 2026-10-23 16:01:14.065196000 UTC +00:00
}
# {
:id => 9262,
:wallet_id => 5381,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-23 19:00:14.741562000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-23 18:59:14.744804000 UTC +00:00,
:updated_at => 2026-10-23 18:59:14.744804000 UTC +00:00
}
# {
:id => 9263,
:wallet_id => 5381,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3869,
"purchased_at" => "2026-10-23T19:06:04.405Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-23T19:06:04.406Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-23 19:06:04.407952000 UTC +00:00,
:updated_at => 2026-10-23 19:06:04.407952000 UTC +00:00
}
# {
:id => 9264,
:wallet_id => 5381,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-10-24 00:58:12.728736000 UTC +00:00,
:updated_at => 2026-10-24 00:58:12.728736000 UTC +00:00
}
# {
:id => 9265,
:wallet_id => 5381,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3870,
"purchased_at" => "2026-10-24T01:00:38.777Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-24T01:00:38.778Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-24 01:00:38.779734000 UTC +00:00,
:updated_at => 2026-10-24 01:00:38.779734000 UTC +00:00
}
# {
:id => 9266,
:wallet_id => 5381,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-24 02:53:21.567710000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-24 02:52:21.570030000 UTC +00:00,
:updated_at => 2026-10-24 02:52:21.570030000 UTC +00:00
}