UsageCredits::Fulfillment (4)
# {
:id => 6051,
:wallet_id => 5854,
:source_type => "Pay::Subscription",
:source_id => 1870,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-16 21:50:38.921130000 UTC +00:00,
:next_fulfillment_at => 2026-12-16 21:50:38.917262000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1870,
"plan" => "abcdef123456"
},
:created_at => 2026-11-16 21:50:38.921608000 UTC +00:00,
:updated_at => 2026-11-16 21:50:38.921608000 UTC +00:00
}
# {
:id => 6052,
:wallet_id => 5854,
:source_type => "Pay::Charge",
:source_id => 4182,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-16 21:50:39.906930000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4182,
"purchased_at" => "2026-11-16T21:50:39.903Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-16 21:50:39.907370000 UTC +00:00,
:updated_at => 2026-11-16 21:50:39.907370000 UTC +00:00
}
# {
:id => 6053,
:wallet_id => 5854,
:source_type => "Pay::Charge",
:source_id => 4183,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-16 21:50:40.951281000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4183,
"purchased_at" => "2026-11-16T21:50:40.945Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-16 21:50:40.951948000 UTC +00:00,
:updated_at => 2026-11-16 21:50:40.951948000 UTC +00:00
}
# {
:id => 6054,
:wallet_id => 5854,
:source_type => "Pay::Charge",
:source_id => 4184,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-16 21:50:41.923727000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4184,
"purchased_at" => "2026-11-16T21:50:41.918Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-16 21:50:41.924176000 UTC +00:00,
:updated_at => 2026-11-16 21:50:41.924176000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 9899,
:wallet_id => 5854,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-16 21:55:38.917262000 UTC +00:00,
:fulfillment_id => 6051,
:metadata => {
"subscription_id" => 1870,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-16T21:50:38.919Z"
},
:created_at => 2026-11-16 21:50:38.920125000 UTC +00:00,
:updated_at => 2026-11-16 21:50:38.920125000 UTC +00:00
}
# {
:id => 9900,
:wallet_id => 5854,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4182,
"purchased_at" => "2026-11-16T21:50:39.903Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-16T21:50:39.904Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-16 21:50:39.905570000 UTC +00:00,
:updated_at => 2026-11-16 21:50:39.905570000 UTC +00:00
}
# {
:id => 9901,
:wallet_id => 5854,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4183,
"purchased_at" => "2026-11-16T21:50:40.945Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-16T21:50:40.947Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-16 21:50:40.949906000 UTC +00:00,
:updated_at => 2026-11-16 21:50:40.949906000 UTC +00:00
}
# {
:id => 9902,
:wallet_id => 5854,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4184,
"purchased_at" => "2026-11-16T21:50:41.918Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-16T21:50:41.921Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-16 21:50:41.922330000 UTC +00:00,
:updated_at => 2026-11-16 21:50:41.922330000 UTC +00:00
}
# {
:id => 9903,
:wallet_id => 5854,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-16 21:50:42.904601000 UTC +00:00,
:updated_at => 2026-11-16 21:50:42.904601000 UTC +00:00
}
# {
:id => 9904,
:wallet_id => 5854,
:amount => 10,
:category => "bonus",
:expires_at => 2026-11-16 21:51:43.918233000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-16 21:50:43.920923000 UTC +00:00,
:updated_at => 2026-11-16 21:50:43.920923000 UTC +00:00
}
# {
:id => 9907,
:wallet_id => 5854,
:amount => 10,
:category => "bonus",
:expires_at => 2026-11-16 23:03:24.589010000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-16 23:02:24.593419000 UTC +00:00,
:updated_at => 2026-11-16 23:02:24.593419000 UTC +00:00
}