UsageCredits::Fulfillment (4)
# {
:id => 4825,
:wallet_id => 4541,
:source_type => "Pay::Subscription",
:source_id => 1577,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-08-12 16:32:25.312030000 UTC +00:00,
:next_fulfillment_at => 2026-09-12 16:32:25.304682000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1577,
"plan" => "abcdef123456"
},
:created_at => 2026-08-12 16:32:25.313177000 UTC +00:00,
:updated_at => 2026-08-12 16:32:25.313177000 UTC +00:00
}
# {
:id => 4826,
:wallet_id => 4541,
:source_type => "Pay::Charge",
:source_id => 3249,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-08-12 16:32:26.635811000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3249,
"purchased_at" => "2026-08-12T16:32:26.628Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-08-12 16:32:26.636412000 UTC +00:00,
:updated_at => 2026-08-12 16:32:26.636412000 UTC +00:00
}
# {
:id => 4827,
:wallet_id => 4541,
:source_type => "Pay::Charge",
:source_id => 3250,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-08-12 16:32:28.017677000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3250,
"purchased_at" => "2026-08-12T16:32:28.011Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-08-12 16:32:28.018161000 UTC +00:00,
:updated_at => 2026-08-12 16:32:28.018161000 UTC +00:00
}
# {
:id => 4828,
:wallet_id => 4541,
:source_type => "Pay::Charge",
:source_id => 3251,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-08-12 16:32:30.796703000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3251,
"purchased_at" => "2026-08-12T16:32:30.791Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-08-12 16:32:30.797223000 UTC +00:00,
:updated_at => 2026-08-12 16:32:30.797223000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 8003,
:wallet_id => 4541,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-09-12 16:37:25.304682000 UTC +00:00,
:fulfillment_id => 4825,
:metadata => {
"subscription_id" => 1577,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-08-12T16:32:25.307Z"
},
:created_at => 2026-08-12 16:32:25.309729000 UTC +00:00,
:updated_at => 2026-08-12 16:32:25.309729000 UTC +00:00
}
# {
:id => 8004,
:wallet_id => 4541,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3249,
"purchased_at" => "2026-08-12T16:32:26.628Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-08-12T16:32:26.630Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-08-12 16:32:26.634067000 UTC +00:00,
:updated_at => 2026-08-12 16:32:26.634067000 UTC +00:00
}
# {
:id => 8005,
:wallet_id => 4541,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3250,
"purchased_at" => "2026-08-12T16:32:28.011Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-08-12T16:32:28.014Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-08-12 16:32:28.015831000 UTC +00:00,
:updated_at => 2026-08-12 16:32:28.015831000 UTC +00:00
}
# {
:id => 8006,
:wallet_id => 4541,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-08-12 16:32:29.334085000 UTC +00:00,
:updated_at => 2026-08-12 16:32:29.334085000 UTC +00:00
}
# {
:id => 8007,
:wallet_id => 4541,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3251,
"purchased_at" => "2026-08-12T16:32:30.791Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-08-12T16:32:30.793Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-08-12 16:32:30.795137000 UTC +00:00,
:updated_at => 2026-08-12 16:32:30.795137000 UTC +00:00
}
# {
:id => 8008,
:wallet_id => 4541,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-08-12 16:32:32.081927000 UTC +00:00,
:updated_at => 2026-08-12 16:32:32.081927000 UTC +00:00
}
# {
:id => 8009,
:wallet_id => 4541,
:amount => 10,
:category => "bonus",
:expires_at => 2026-08-12 16:33:33.370328000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-08-12 16:32:33.373023000 UTC +00:00,
:updated_at => 2026-08-12 16:32:33.373023000 UTC +00:00
}