UsageCredits::Fulfillment (3)
# {
:id => 3190,
:wallet_id => 3117,
:source_type => "Pay::Subscription",
:source_id => 1131,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-02-08 08:12:09.983674000 UTC +00:00,
:next_fulfillment_at => 2026-03-08 08:12:09.974420000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1131,
"plan" => "abcdef123456"
},
:created_at => 2026-02-08 08:12:09.984420000 UTC +00:00,
:updated_at => 2026-02-08 08:12:09.984420000 UTC +00:00
}
# {
:id => 3191,
:wallet_id => 3117,
:source_type => "Pay::Charge",
:source_id => 2060,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-02-08 09:34:42.445193000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2060,
"purchased_at" => "2026-02-08T09:34:42.433Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-02-08 09:34:42.445833000 UTC +00:00,
:updated_at => 2026-02-08 09:34:42.445833000 UTC +00:00
}
# {
:id => 3192,
:wallet_id => 3117,
:source_type => "Pay::Charge",
:source_id => 2061,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-02-08 13:10:51.689732000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2061,
"purchased_at" => "2026-02-08T13:10:51.681Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-02-08 13:10:51.691335000 UTC +00:00,
:updated_at => 2026-02-08 13:10:51.691335000 UTC +00:00
}
UsageCredits::Transaction (3)
# {
:id => 5237,
:wallet_id => 3117,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-03-08 08:17:09.974420000 UTC +00:00,
:fulfillment_id => 3190,
:metadata => {
"subscription_id" => 1131,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-02-08T08:12:09.980Z"
},
:created_at => 2026-02-08 08:12:09.981813000 UTC +00:00,
:updated_at => 2026-02-08 08:12:09.981813000 UTC +00:00
}
# {
:id => 5238,
:wallet_id => 3117,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2060,
"purchased_at" => "2026-02-08T09:34:42.433Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-02-08T09:34:42.441Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-02-08 09:34:42.443258000 UTC +00:00,
:updated_at => 2026-02-08 09:34:42.443258000 UTC +00:00
}
# {
:id => 5239,
:wallet_id => 3117,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2061,
"purchased_at" => "2026-02-08T13:10:51.681Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-02-08T13:10:51.686Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-02-08 13:10:51.688160000 UTC +00:00,
:updated_at => 2026-02-08 13:10:51.688160000 UTC +00:00
}