UsageCredits::Fulfillment (3)
# {
:id => 5509,
:wallet_id => 5251,
:source_type => "Pay::Subscription",
:source_id => 1732,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-10-13 21:53:32.517761000 UTC +00:00,
:next_fulfillment_at => 2026-11-13 21:53:32.514945000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1732,
"plan" => "abcdef123456"
},
:created_at => 2026-10-13 21:53:32.518171000 UTC +00:00,
:updated_at => 2026-10-13 21:53:32.518171000 UTC +00:00
}
# {
:id => 5510,
:wallet_id => 5251,
:source_type => "Pay::Charge",
:source_id => 3778,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-13 22:10:25.195937000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3778,
"purchased_at" => "2026-10-13T22:10:25.191Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-13 22:10:25.196208000 UTC +00:00,
:updated_at => 2026-10-13 22:10:25.196208000 UTC +00:00
}
# {
:id => 5511,
:wallet_id => 5251,
:source_type => "Pay::Charge",
:source_id => 3779,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-13 22:34:40.055027000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3779,
"purchased_at" => "2026-10-13T22:34:40.051Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-13 22:34:40.055279000 UTC +00:00,
:updated_at => 2026-10-13 22:34:40.055279000 UTC +00:00
}
UsageCredits::Transaction (4)
# {
:id => 9060,
:wallet_id => 5251,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-13 21:36:19.644509000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-13 21:35:19.647645000 UTC +00:00,
:updated_at => 2026-10-13 21:35:19.647645000 UTC +00:00
}
# {
:id => 9061,
:wallet_id => 5251,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-11-13 21:58:32.514945000 UTC +00:00,
:fulfillment_id => 5509,
:metadata => {
"subscription_id" => 1732,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-10-13T21:53:32.516Z"
},
:created_at => 2026-10-13 21:53:32.516962000 UTC +00:00,
:updated_at => 2026-10-13 21:53:32.516962000 UTC +00:00
}
# {
:id => 9062,
:wallet_id => 5251,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3778,
"purchased_at" => "2026-10-13T22:10:25.191Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-13T22:10:25.193Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-13 22:10:25.194743000 UTC +00:00,
:updated_at => 2026-10-13 22:10:25.194743000 UTC +00:00
}
# {
:id => 9063,
:wallet_id => 5251,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3779,
"purchased_at" => "2026-10-13T22:34:40.051Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-13T22:34:40.053Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-13 22:34:40.054171000 UTC +00:00,
:updated_at => 2026-10-13 22:34:40.054171000 UTC +00:00
}