UsageCredits::Fulfillment (3)
# {
:id => 4058,
:wallet_id => 3890,
:source_type => "Pay::Subscription",
:source_id => 1370,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-05-27 14:53:48.646148000 UTC +00:00,
:next_fulfillment_at => 2026-06-27 14:53:48.638720000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1370,
"plan" => "abcdef123456"
},
:created_at => 2026-05-27 14:53:48.646966000 UTC +00:00,
:updated_at => 2026-05-27 14:53:48.646966000 UTC +00:00
}
# {
:id => 4059,
:wallet_id => 3890,
:source_type => "Pay::Charge",
:source_id => 2689,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-27 14:53:51.000644000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2689,
"purchased_at" => "2026-05-27T14:53:50.995Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-27 14:53:51.001093000 UTC +00:00,
:updated_at => 2026-05-27 14:53:51.001093000 UTC +00:00
}
# {
:id => 4060,
:wallet_id => 3890,
:source_type => "Pay::Charge",
:source_id => 2690,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-27 14:53:57.878044000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2690,
"purchased_at" => "2026-05-27T14:53:57.872Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-05-27 14:53:57.878560000 UTC +00:00,
:updated_at => 2026-05-27 14:53:57.878560000 UTC +00:00
}
UsageCredits::Transaction (4)
# {
:id => 6695,
:wallet_id => 3890,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-06-27 14:58:48.638720000 UTC +00:00,
:fulfillment_id => 4058,
:metadata => {
"subscription_id" => 1370,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-05-27T14:53:48.643Z"
},
:created_at => 2026-05-27 14:53:48.644428000 UTC +00:00,
:updated_at => 2026-05-27 14:53:48.644428000 UTC +00:00
}
# {
:id => 6696,
:wallet_id => 3890,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2689,
"purchased_at" => "2026-05-27T14:53:50.995Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-27T14:53:50.997Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-27 14:53:50.999178000 UTC +00:00,
:updated_at => 2026-05-27 14:53:50.999178000 UTC +00:00
}
# {
:id => 6697,
:wallet_id => 3890,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2690,
"purchased_at" => "2026-05-27T14:53:57.872Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-27T14:53:57.874Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-05-27 14:53:57.875426000 UTC +00:00,
:updated_at => 2026-05-27 14:53:57.875426000 UTC +00:00
}
# {
:id => 6698,
:wallet_id => 3890,
:amount => 10,
:category => "bonus",
:expires_at => 2026-05-27 14:55:02.191121000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-05-27 14:54:02.193483000 UTC +00:00,
:updated_at => 2026-05-27 14:54:02.193483000 UTC +00:00
}