UsageCredits::Fulfillment (4)
# {
:id => 2762,
:wallet_id => 2770,
:source_type => "Pay::Subscription",
:source_id => 991,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2025-12-14 15:30:56.431340000 UTC +00:00,
:next_fulfillment_at => 2026-01-14 15:30:56.427048000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 991,
"plan" => "abcdef123456"
},
:created_at => 2025-12-14 15:30:56.433292000 UTC +00:00,
:updated_at => 2025-12-14 15:30:56.433292000 UTC +00:00
}
# {
:id => 2763,
:wallet_id => 2770,
:source_type => "Pay::Charge",
:source_id => 1772,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-12-14 15:31:03.144355000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 1772,
"purchased_at" => "2025-12-14T15:31:03.139Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2025-12-14 15:31:03.144815000 UTC +00:00,
:updated_at => 2025-12-14 15:31:03.144815000 UTC +00:00
}
# {
:id => 2764,
:wallet_id => 2770,
:source_type => "Pay::Charge",
:source_id => 1773,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-12-14 15:31:09.357566000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 1773,
"purchased_at" => "2025-12-14T15:31:09.351Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2025-12-14 15:31:09.358297000 UTC +00:00,
:updated_at => 2025-12-14 15:31:09.358297000 UTC +00:00
}
# {
:id => 2765,
:wallet_id => 2770,
:source_type => "Pay::Charge",
:source_id => 1774,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-12-14 15:31:15.219099000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 1774,
"purchased_at" => "2025-12-14T15:31:15.211Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2025-12-14 15:31:15.219747000 UTC +00:00,
:updated_at => 2025-12-14 15:31:15.219747000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 4550,
:wallet_id => 2770,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-01-14 15:35:56.427048000 UTC +00:00,
:fulfillment_id => 2762,
:metadata => {
"subscription_id" => 991,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2025-12-14T15:30:56.428Z"
},
:created_at => 2025-12-14 15:30:56.429726000 UTC +00:00,
:updated_at => 2025-12-14 15:30:56.429726000 UTC +00:00
}
# {
:id => 4551,
:wallet_id => 2770,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 1772,
"purchased_at" => "2025-12-14T15:31:03.139Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-12-14T15:31:03.141Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2025-12-14 15:31:03.142962000 UTC +00:00,
:updated_at => 2025-12-14 15:31:03.142962000 UTC +00:00
}
# {
:id => 4552,
:wallet_id => 2770,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 1773,
"purchased_at" => "2025-12-14T15:31:09.351Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-12-14T15:31:09.353Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2025-12-14 15:31:09.355474000 UTC +00:00,
:updated_at => 2025-12-14 15:31:09.355474000 UTC +00:00
}
# {
:id => 4553,
:wallet_id => 2770,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 1774,
"purchased_at" => "2025-12-14T15:31:15.211Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-12-14T15:31:15.214Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2025-12-14 15:31:15.216408000 UTC +00:00,
:updated_at => 2025-12-14 15:31:15.216408000 UTC +00:00
}
# {
:id => 4554,
:wallet_id => 2770,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2025-12-14 15:31:20.510001000 UTC +00:00,
:updated_at => 2025-12-14 15:31:20.510001000 UTC +00:00
}
# {
:id => 4555,
:wallet_id => 2770,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2025-12-14 15:31:26.192888000 UTC +00:00,
:updated_at => 2025-12-14 15:31:26.192888000 UTC +00:00
}
# {
:id => 4556,
:wallet_id => 2770,
:amount => 10,
:category => "bonus",
:expires_at => 2025-12-14 15:32:31.517928000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2025-12-14 15:31:31.520979000 UTC +00:00,
:updated_at => 2025-12-14 15:31:31.520979000 UTC +00:00
}