UsageCredits::Fulfillment (2)
# {
:id => 5953,
:wallet_id => 5765,
:source_type => "Pay::Charge",
:source_id => 4108,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-09 21:56:48.280866000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4108,
"purchased_at" => "2026-11-09T21:56:48.277Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-09 21:56:48.281194000 UTC +00:00,
:updated_at => 2026-11-09 21:56:48.281194000 UTC +00:00
}
# {
:id => 5954,
:wallet_id => 5765,
:source_type => "Pay::Charge",
:source_id => 4109,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-10 00:37:38.709548000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4109,
"purchased_at" => "2026-11-10T00:37:38.705Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-10 00:37:38.709854000 UTC +00:00,
:updated_at => 2026-11-10 00:37:38.709854000 UTC +00:00
}
UsageCredits::Transaction (4)
# {
:id => 9747,
:wallet_id => 5765,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4108,
"purchased_at" => "2026-11-09T21:56:48.277Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-09T21:56:48.278Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-09 21:56:48.279815000 UTC +00:00,
:updated_at => 2026-11-09 21:56:48.279815000 UTC +00:00
}
# {
:id => 9748,
:wallet_id => 5765,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-09 21:56:48.366715000 UTC +00:00,
:updated_at => 2026-11-09 21:56:48.366715000 UTC +00:00
}
# {
:id => 9749,
:wallet_id => 5765,
:amount => 10,
:category => "bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-09 21:56:48.377251000 UTC +00:00,
:updated_at => 2026-11-09 21:56:48.377251000 UTC +00:00
}
# {
:id => 9750,
:wallet_id => 5765,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4109,
"purchased_at" => "2026-11-10T00:37:38.705Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-10T00:37:38.707Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-10 00:37:38.708570000 UTC +00:00,
:updated_at => 2026-11-10 00:37:38.708570000 UTC +00:00
}