UsageCredits::Fulfillment (3)
# {
:id => 4549,
:wallet_id => 4330,
:source_type => "Pay::Subscription",
:source_id => 1504,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-07-24 18:08:54.028141000 UTC +00:00,
:next_fulfillment_at => 2026-08-24 18:08:54.006124000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1504,
"plan" => "abcdef123456"
},
:created_at => 2026-07-24 18:08:54.040404000 UTC +00:00,
:updated_at => 2026-07-24 18:08:54.040404000 UTC +00:00
}
# {
:id => 4550,
:wallet_id => 4330,
:source_type => "Pay::Charge",
:source_id => 3046,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-24 18:21:25.197123000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3046,
"purchased_at" => "2026-07-24T18:21:25.184Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-24 18:21:25.198138000 UTC +00:00,
:updated_at => 2026-07-24 18:21:25.198138000 UTC +00:00
}
# {
:id => 4551,
:wallet_id => 4330,
:source_type => "Pay::Charge",
:source_id => 3047,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-07-24 18:31:24.328299000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3047,
"purchased_at" => "2026-07-24T18:31:24.316Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-24 18:31:24.329274000 UTC +00:00,
:updated_at => 2026-07-24 18:31:24.329274000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 7522,
:wallet_id => 4330,
:amount => 10,
:category => "bonus",
:expires_at => 2026-07-24 17:56:40.493867000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-07-24 17:55:40.514459000 UTC +00:00,
:updated_at => 2026-07-24 17:55:40.514459000 UTC +00:00
}
# {
:id => 7523,
:wallet_id => 4330,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-08-24 18:13:54.006124000 UTC +00:00,
:fulfillment_id => 4549,
:metadata => {
"subscription_id" => 1504,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-07-24T18:08:54.020Z"
},
:created_at => 2026-07-24 18:08:54.024349000 UTC +00:00,
:updated_at => 2026-07-24 18:08:54.024349000 UTC +00:00
}
# {
:id => 7524,
:wallet_id => 4330,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3046,
"purchased_at" => "2026-07-24T18:21:25.184Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-24T18:21:25.191Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-07-24 18:21:25.194732000 UTC +00:00,
:updated_at => 2026-07-24 18:21:25.194732000 UTC +00:00
}
# {
:id => 7525,
:wallet_id => 4330,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3047,
"purchased_at" => "2026-07-24T18:31:24.316Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-07-24T18:31:24.324Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-07-24 18:31:24.325795000 UTC +00:00,
:updated_at => 2026-07-24 18:31:24.325795000 UTC +00:00
}
# {
:id => 7526,
:wallet_id => 4330,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-07-24 18:43:33.431257000 UTC +00:00,
:updated_at => 2026-07-24 18:43:33.431257000 UTC +00:00
}
# {
:id => 7527,
:wallet_id => 4330,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-07-24 19:02:26.467677000 UTC +00:00,
:updated_at => 2026-07-24 19:02:26.467677000 UTC +00:00
}
# {
:id => 7528,
:wallet_id => 4330,
:amount => 10,
:category => "bonus",
:expires_at => 2026-07-24 19:19:47.226350000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-07-24 19:18:47.231841000 UTC +00:00,
:updated_at => 2026-07-24 19:18:47.231841000 UTC +00:00
}