UsageCredits::Fulfillment (3)
# {
:id => 5224,
:wallet_id => 4943,
:source_type => "Pay::Charge",
:source_id => 3553,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-17 02:17:02.689042000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3553,
"purchased_at" => "2026-09-17T02:17:02.684Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-17 02:17:02.689499000 UTC +00:00,
:updated_at => 2026-09-17 02:17:02.689499000 UTC +00:00
}
# {
:id => 5225,
:wallet_id => 4943,
:source_type => "Pay::Subscription",
:source_id => 1672,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-09-17 03:05:24.769560000 UTC +00:00,
:next_fulfillment_at => 2026-10-17 03:05:24.684503000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1672,
"plan" => "abcdef123456"
},
:created_at => 2026-09-17 03:05:24.774295000 UTC +00:00,
:updated_at => 2026-09-17 03:05:24.774295000 UTC +00:00
}
# {
:id => 5226,
:wallet_id => 4943,
:source_type => "Pay::Charge",
:source_id => 3554,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-17 03:07:21.525491000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3554,
"purchased_at" => "2026-09-17T03:07:21.510Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-17 03:07:21.526722000 UTC +00:00,
:updated_at => 2026-09-17 03:07:21.526722000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 8603,
:wallet_id => 4943,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3553,
"purchased_at" => "2026-09-17T02:17:02.684Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-17T02:17:02.685Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-17 02:17:02.687089000 UTC +00:00,
:updated_at => 2026-09-17 02:17:02.687089000 UTC +00:00
}
# {
:id => 8604,
:wallet_id => 4943,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-10-17 03:10:24.684503000 UTC +00:00,
:fulfillment_id => 5225,
:metadata => {
"subscription_id" => 1672,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-09-17T03:05:24.744Z"
},
:created_at => 2026-09-17 03:05:24.758294000 UTC +00:00,
:updated_at => 2026-09-17 03:05:24.758294000 UTC +00:00
}
# {
:id => 8605,
:wallet_id => 4943,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-09-17 03:05:24.813151000 UTC +00:00,
:updated_at => 2026-09-17 03:05:24.813151000 UTC +00:00
}
# {
:id => 8606,
:wallet_id => 4943,
:amount => 10,
:category => "bonus",
:expires_at => 2026-09-17 03:06:24.829049000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-09-17 03:05:24.835085000 UTC +00:00,
:updated_at => 2026-09-17 03:05:24.835085000 UTC +00:00
}
# {
:id => 8607,
:wallet_id => 4943,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3554,
"purchased_at" => "2026-09-17T03:07:21.510Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-17T03:07:21.519Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-17 03:07:21.522481000 UTC +00:00,
:updated_at => 2026-09-17 03:07:21.522481000 UTC +00:00
}
# {
:id => 8608,
:wallet_id => 4943,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-09-17 03:07:23.081215000 UTC +00:00,
:updated_at => 2026-09-17 03:07:23.081215000 UTC +00:00
}