UsageCredits::Fulfillment (2)
# {
:id => 5084,
:wallet_id => 4829,
:source_type => "Pay::Charge",
:source_id => 3448,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-08 02:15:51.802597000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3448,
"purchased_at" => "2026-09-08T02:15:51.796Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-08 02:15:51.805261000 UTC +00:00,
:updated_at => 2026-09-08 02:15:51.805261000 UTC +00:00
}
# {
:id => 5085,
:wallet_id => 4829,
:source_type => "Pay::Subscription",
:source_id => 1637,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-09-08 02:15:51.853275000 UTC +00:00,
:next_fulfillment_at => 2026-10-08 02:15:51.835958000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1637,
"plan" => "abcdef123456"
},
:created_at => 2026-09-08 02:15:51.856723000 UTC +00:00,
:updated_at => 2026-09-08 02:15:51.856723000 UTC +00:00
}
UsageCredits::Transaction (5)
# {
:id => 8391,
:wallet_id => 4829,
:amount => 10,
:category => "bonus",
:expires_at => 2026-09-08 02:16:51.761740000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-09-08 02:15:51.766044000 UTC +00:00,
:updated_at => 2026-09-08 02:15:51.766044000 UTC +00:00
}
# {
:id => 8392,
:wallet_id => 4829,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-09-08 02:15:51.780902000 UTC +00:00,
:updated_at => 2026-09-08 02:15:51.780902000 UTC +00:00
}
# {
:id => 8393,
:wallet_id => 4829,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3448,
"purchased_at" => "2026-09-08T02:15:51.796Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-08T02:15:51.798Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-08 02:15:51.800348000 UTC +00:00,
:updated_at => 2026-09-08 02:15:51.800348000 UTC +00:00
}
# {
:id => 8394,
:wallet_id => 4829,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-09-08 02:15:51.813041000 UTC +00:00,
:updated_at => 2026-09-08 02:15:51.813041000 UTC +00:00
}
# {
:id => 8395,
:wallet_id => 4829,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-10-08 02:20:51.835958000 UTC +00:00,
:fulfillment_id => 5085,
:metadata => {
"subscription_id" => 1637,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-09-08T02:15:51.843Z"
},
:created_at => 2026-09-08 02:15:51.850370000 UTC +00:00,
:updated_at => 2026-09-08 02:15:51.850370000 UTC +00:00
}