UsageCredits::Fulfillment (2)
# {
:id => 5889,
:wallet_id => 5706,
:source_type => "Pay::Charge",
:source_id => 4058,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-06 12:18:43.332835000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4058,
"purchased_at" => "2026-11-06T12:18:43.330Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-06 12:18:43.333104000 UTC +00:00,
:updated_at => 2026-11-06 12:18:43.333104000 UTC +00:00
}
# {
:id => 5890,
:wallet_id => 5706,
:source_type => "Pay::Charge",
:source_id => 4059,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-06 12:18:43.518263000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4059,
"purchased_at" => "2026-11-06T12:18:43.514Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-06 12:18:43.518620000 UTC +00:00,
:updated_at => 2026-11-06 12:18:43.518620000 UTC +00:00
}
UsageCredits::Transaction (3)
# {
:id => 9646,
:wallet_id => 5706,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4058,
"purchased_at" => "2026-11-06T12:18:43.330Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-06T12:18:43.331Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-06 12:18:43.331993000 UTC +00:00,
:updated_at => 2026-11-06 12:18:43.331993000 UTC +00:00
}
# {
:id => 9647,
:wallet_id => 5706,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4059,
"purchased_at" => "2026-11-06T12:18:43.514Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-06T12:18:43.516Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-06 12:18:43.517116000 UTC +00:00,
:updated_at => 2026-11-06 12:18:43.517116000 UTC +00:00
}
# {
:id => 9648,
:wallet_id => 5706,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-06 15:36:11.869892000 UTC +00:00,
:updated_at => 2026-11-06 15:36:11.869892000 UTC +00:00
}