UsageCredits::Fulfillment (4)
# {
:id => 5444,
:wallet_id => 5182,
:source_type => "Pay::Charge",
:source_id => 3726,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-08 20:39:56.222949000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3726,
"purchased_at" => "2026-10-08T20:39:56.220Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-08 20:39:56.223209000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.223209000 UTC +00:00
}
# {
:id => 5445,
:wallet_id => 5182,
:source_type => "Pay::Charge",
:source_id => 3727,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-08 20:39:56.234617000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3727,
"purchased_at" => "2026-10-08T20:39:56.231Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-08 20:39:56.234875000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.234875000 UTC +00:00
}
# {
:id => 5446,
:wallet_id => 5182,
:source_type => "Pay::Charge",
:source_id => 3728,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-08 20:39:56.243452000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3728,
"purchased_at" => "2026-10-08T20:39:56.240Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-08 20:39:56.243694000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.243694000 UTC +00:00
}
# {
:id => 5447,
:wallet_id => 5182,
:source_type => "Pay::Subscription",
:source_id => 1719,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-10-08 20:39:56.249051000 UTC +00:00,
:next_fulfillment_at => 2026-11-08 20:39:56.246675000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1719,
"plan" => "abcdef123456"
},
:created_at => 2026-10-08 20:39:56.249399000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.249399000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 8956,
:wallet_id => 5182,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3726,
"purchased_at" => "2026-10-08T20:39:56.220Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-08T20:39:56.221Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-08 20:39:56.222167000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.222167000 UTC +00:00
}
# {
:id => 8957,
:wallet_id => 5182,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-10-08 20:39:56.226549000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.226549000 UTC +00:00
}
# {
:id => 8958,
:wallet_id => 5182,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3727,
"purchased_at" => "2026-10-08T20:39:56.231Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-08T20:39:56.232Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-08 20:39:56.233399000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.233399000 UTC +00:00
}
# {
:id => 8959,
:wallet_id => 5182,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-08 20:40:56.236903000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-08 20:39:56.238225000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.238225000 UTC +00:00
}
# {
:id => 8960,
:wallet_id => 5182,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3728,
"purchased_at" => "2026-10-08T20:39:56.240Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-08T20:39:56.242Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-08 20:39:56.242728000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.242728000 UTC +00:00
}
# {
:id => 8961,
:wallet_id => 5182,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-11-08 20:44:56.246675000 UTC +00:00,
:fulfillment_id => 5447,
:metadata => {
"subscription_id" => 1719,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-10-08T20:39:56.247Z"
},
:created_at => 2026-10-08 20:39:56.248141000 UTC +00:00,
:updated_at => 2026-10-08 20:39:56.248141000 UTC +00:00
}