UsageCredits::Fulfillment (1)
# {
:id => 5044,
:wallet_id => 4777,
:source_type => "Pay::Charge",
:source_id => 3413,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-02 16:16:05.727659000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3413,
"purchased_at" => "2026-09-02T16:16:05.693Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-02 16:16:05.737299000 UTC +00:00,
:updated_at => 2026-09-02 16:16:05.737299000 UTC +00:00
}
UsageCredits::Transaction (2)
# {
:id => 8339,
:wallet_id => 4777,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-09-02 16:05:26.412880000 UTC +00:00,
:updated_at => 2026-09-02 16:05:26.412880000 UTC +00:00
}
# {
:id => 8340,
:wallet_id => 4777,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3413,
"purchased_at" => "2026-09-02T16:16:05.693Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-02T16:16:05.714Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-02 16:16:05.719810000 UTC +00:00,
:updated_at => 2026-09-02 16:16:05.719810000 UTC +00:00
}