UsageCredits::Fulfillment (4)
# {
:id => 6104,
:wallet_id => 5883,
:source_type => "Pay::Charge",
:source_id => 4220,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-19 07:59:03.283298000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4220,
"purchased_at" => "2026-11-19T07:59:03.280Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-19 07:59:03.283683000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.283683000 UTC +00:00
}
# {
:id => 6105,
:wallet_id => 5883,
:source_type => "Pay::Charge",
:source_id => 4221,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-19 07:59:03.290198000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4221,
"purchased_at" => "2026-11-19T07:59:03.287Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-19 07:59:03.290524000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.290524000 UTC +00:00
}
# {
:id => 6106,
:wallet_id => 5883,
:source_type => "Pay::Subscription",
:source_id => 1885,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-19 07:59:03.298698000 UTC +00:00,
:next_fulfillment_at => 2026-12-19 07:59:03.293312000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1885,
"plan" => "abcdef123456"
},
:created_at => 2026-11-19 07:59:03.300083000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.300083000 UTC +00:00
}
# {
:id => 6107,
:wallet_id => 5883,
:source_type => "Pay::Charge",
:source_id => 4222,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-19 07:59:03.309085000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4222,
"purchased_at" => "2026-11-19T07:59:03.306Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-19 07:59:03.309396000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.309396000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 9984,
:wallet_id => 5883,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4220,
"purchased_at" => "2026-11-19T07:59:03.280Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-19T07:59:03.281Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-19 07:59:03.282381000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.282381000 UTC +00:00
}
# {
:id => 9985,
:wallet_id => 5883,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4221,
"purchased_at" => "2026-11-19T07:59:03.287Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-19T07:59:03.288Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-19 07:59:03.289324000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.289324000 UTC +00:00
}
# {
:id => 9986,
:wallet_id => 5883,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-19 08:04:03.293312000 UTC +00:00,
:fulfillment_id => 6106,
:metadata => {
"subscription_id" => 1885,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-19T07:59:03.296Z"
},
:created_at => 2026-11-19 07:59:03.297872000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.297872000 UTC +00:00
}
# {
:id => 9987,
:wallet_id => 5883,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-11-19 07:59:03.303312000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.303312000 UTC +00:00
}
# {
:id => 9988,
:wallet_id => 5883,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4222,
"purchased_at" => "2026-11-19T07:59:03.306Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-19T07:59:03.307Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-19 07:59:03.308295000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.308295000 UTC +00:00
}
# {
:id => 9989,
:wallet_id => 5883,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-19 07:59:03.365360000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.365360000 UTC +00:00
}
# {
:id => 9990,
:wallet_id => 5883,
:amount => 10,
:category => "bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-19 07:59:03.395403000 UTC +00:00,
:updated_at => 2026-11-19 07:59:03.395403000 UTC +00:00
}