UsageCredits::Fulfillment (4)
# {
:id => 4542,
:wallet_id => 4319,
:source_type => "Pay::Subscription",
:source_id => 1503,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-07-20 18:40:23.938442000 UTC +00:00,
:next_fulfillment_at => 2026-08-20 18:40:23.877835000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1503,
"plan" => "abcdef123456"
},
:created_at => 2026-07-20 18:40:23.954606000 UTC +00:00,
:updated_at => 2026-07-20 18:40:23.954606000 UTC +00:00
}
# {
:id => 4543,
:wallet_id => 4319,
:source_type => "Pay::Charge",
:source_id => 3040,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-20 18:40:25.538775000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3040,
"purchased_at" => "2026-07-20T18:40:25.514Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-20 18:40:25.540474000 UTC +00:00,
:updated_at => 2026-07-20 18:40:25.540474000 UTC +00:00
}
# {
:id => 4544,
:wallet_id => 4319,
:source_type => "Pay::Charge",
:source_id => 3041,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-20 18:40:26.580934000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3041,
"purchased_at" => "2026-07-20T18:40:26.561Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-20 18:40:26.581770000 UTC +00:00,
:updated_at => 2026-07-20 18:40:26.581770000 UTC +00:00
}
# {
:id => 4545,
:wallet_id => 4319,
:source_type => "Pay::Charge",
:source_id => 3042,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-20 18:40:28.788195000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3042,
"purchased_at" => "2026-07-20T18:40:28.782Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-20 18:40:28.788653000 UTC +00:00,
:updated_at => 2026-07-20 18:40:28.788653000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 7509,
:wallet_id => 4319,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-08-20 18:45:23.877835000 UTC +00:00,
:fulfillment_id => 4542,
:metadata => {
"subscription_id" => 1503,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-07-20T18:40:23.904Z"
},
:created_at => 2026-07-20 18:40:23.926147000 UTC +00:00,
:updated_at => 2026-07-20 18:40:23.926147000 UTC +00:00
}
# {
:id => 7510,
:wallet_id => 4319,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3040,
"purchased_at" => "2026-07-20T18:40:25.514Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-20T18:40:25.525Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-20 18:40:25.529491000 UTC +00:00,
:updated_at => 2026-07-20 18:40:25.529491000 UTC +00:00
}
# {
:id => 7511,
:wallet_id => 4319,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3041,
"purchased_at" => "2026-07-20T18:40:26.561Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-20T18:40:26.572Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-07-20 18:40:26.576304000 UTC +00:00,
:updated_at => 2026-07-20 18:40:26.576304000 UTC +00:00
}
# {
:id => 7512,
:wallet_id => 4319,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-07-20 18:40:27.458911000 UTC +00:00,
:updated_at => 2026-07-20 18:40:27.458911000 UTC +00:00
}
# {
:id => 7513,
:wallet_id => 4319,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3042,
"purchased_at" => "2026-07-20T18:40:28.782Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-20T18:40:28.785Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-20 18:40:28.786239000 UTC +00:00,
:updated_at => 2026-07-20 18:40:28.786239000 UTC +00:00
}
# {
:id => 7514,
:wallet_id => 4319,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-07-20 18:40:30.224941000 UTC +00:00,
:updated_at => 2026-07-20 18:40:30.224941000 UTC +00:00
}
# {
:id => 7515,
:wallet_id => 4319,
:amount => 10,
:category => "bonus",
:expires_at => 2026-07-20 18:41:31.457687000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-07-20 18:40:31.462164000 UTC +00:00,
:updated_at => 2026-07-20 18:40:31.462164000 UTC +00:00
}