UsageCredits::Fulfillment (1)
# {
:id => 5460,
:wallet_id => 5202,
:source_type => "Pay::Charge",
:source_id => 3738,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-09 19:54:03.697237000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3738,
"purchased_at" => "2026-10-09T19:54:03.694Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-09 19:54:03.697568000 UTC +00:00,
:updated_at => 2026-10-09 19:54:03.697568000 UTC +00:00
}
UsageCredits::Transaction (2)
# {
:id => 8982,
:wallet_id => 5202,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3738,
"purchased_at" => "2026-10-09T19:54:03.694Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-09T19:54:03.695Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-09 19:54:03.696316000 UTC +00:00,
:updated_at => 2026-10-09 19:54:03.696316000 UTC +00:00
}
# {
:id => 8983,
:wallet_id => 5202,
:amount => 10,
:category => "bonus",
:expires_at => 2026-10-09 20:10:24.251980000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-10-09 20:09:24.256630000 UTC +00:00,
:updated_at => 2026-10-09 20:09:24.256630000 UTC +00:00
}