UsageCredits::Fulfillment (4)
# {
:id => 5356,
:wallet_id => 5112,
:source_type => "Pay::Subscription",
:source_id => 1700,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-10-01 20:13:41.716970000 UTC +00:00,
:next_fulfillment_at => 2026-11-01 20:13:41.713300000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1700,
"plan" => "abcdef123456"
},
:created_at => 2026-10-01 20:13:41.717534000 UTC +00:00,
:updated_at => 2026-10-01 20:13:41.717534000 UTC +00:00
}
# {
:id => 5357,
:wallet_id => 5112,
:source_type => "Pay::Charge",
:source_id => 3657,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-01 20:13:43.460038000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3657,
"purchased_at" => "2026-10-01T20:13:43.456Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-01 20:13:43.460336000 UTC +00:00,
:updated_at => 2026-10-01 20:13:43.460336000 UTC +00:00
}
# {
:id => 5358,
:wallet_id => 5112,
:source_type => "Pay::Charge",
:source_id => 3658,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-01 20:13:43.988847000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3658,
"purchased_at" => "2026-10-01T20:13:43.984Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-01 20:13:43.989175000 UTC +00:00,
:updated_at => 2026-10-01 20:13:43.989175000 UTC +00:00
}
# {
:id => 5359,
:wallet_id => 5112,
:source_type => "Pay::Charge",
:source_id => 3659,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-01 20:13:44.902165000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3659,
"purchased_at" => "2026-10-01T20:13:44.898Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-01 20:13:44.902467000 UTC +00:00,
:updated_at => 2026-10-01 20:13:44.902467000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 8816,
:wallet_id => 5112,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-11-01 20:18:41.713300000 UTC +00:00,
:fulfillment_id => 5356,
:metadata => {
"subscription_id" => 1700,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-10-01T20:13:41.714Z"
},
:created_at => 2026-10-01 20:13:41.715970000 UTC +00:00,
:updated_at => 2026-10-01 20:13:41.715970000 UTC +00:00
}
# {
:id => 8817,
:wallet_id => 5112,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3657,
"purchased_at" => "2026-10-01T20:13:43.456Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-01T20:13:43.458Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-01 20:13:43.459064000 UTC +00:00,
:updated_at => 2026-10-01 20:13:43.459064000 UTC +00:00
}
# {
:id => 8818,
:wallet_id => 5112,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3658,
"purchased_at" => "2026-10-01T20:13:43.984Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-01T20:13:43.986Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-01 20:13:43.987687000 UTC +00:00,
:updated_at => 2026-10-01 20:13:43.987687000 UTC +00:00
}
# {
:id => 8819,
:wallet_id => 5112,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3659,
"purchased_at" => "2026-10-01T20:13:44.898Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-01T20:13:44.900Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-01 20:13:44.901216000 UTC +00:00,
:updated_at => 2026-10-01 20:13:44.901216000 UTC +00:00
}
# {
:id => 8820,
:wallet_id => 5112,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-10-01 20:13:45.815141000 UTC +00:00,
:updated_at => 2026-10-01 20:13:45.815141000 UTC +00:00
}
# {
:id => 8821,
:wallet_id => 5112,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-10-01 20:13:46.960407000 UTC +00:00,
:updated_at => 2026-10-01 20:13:46.960407000 UTC +00:00
}
# {
:id => 8822,
:wallet_id => 5112,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-01 20:14:48.338386000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-01 20:13:48.340432000 UTC +00:00,
:updated_at => 2026-10-01 20:13:48.340432000 UTC +00:00
}