UsageCredits::Fulfillment (4)
# {
:id => 5396,
:wallet_id => 5147,
:source_type => "Pay::Charge",
:source_id => 3689,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-06 02:54:10.339852000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3689,
"purchased_at" => "2026-10-06T02:54:10.337Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-06 02:54:10.340147000 UTC +00:00,
:updated_at => 2026-10-06 02:54:10.340147000 UTC +00:00
}
# {
:id => 5397,
:wallet_id => 5147,
:source_type => "Pay::Charge",
:source_id => 3690,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-06 05:05:08.754662000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3690,
"purchased_at" => "2026-10-06T05:05:08.750Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-06 05:05:08.754960000 UTC +00:00,
:updated_at => 2026-10-06 05:05:08.754960000 UTC +00:00
}
# {
:id => 5398,
:wallet_id => 5147,
:source_type => "Pay::Subscription",
:source_id => 1708,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-10-06 15:17:43.450316000 UTC +00:00,
:next_fulfillment_at => 2026-11-06 15:17:43.445502000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1708,
"plan" => "abcdef123456"
},
:created_at => 2026-10-06 15:17:43.450790000 UTC +00:00,
:updated_at => 2026-10-06 15:17:43.450790000 UTC +00:00
}
# {
:id => 5403,
:wallet_id => 5147,
:source_type => "Pay::Charge",
:source_id => 3693,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-10-06 19:23:45.622633000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3693,
"purchased_at" => "2026-10-06T19:23:45.618Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-06 19:23:45.622925000 UTC +00:00,
:updated_at => 2026-10-06 19:23:45.622925000 UTC +00:00
}
UsageCredits::Transaction (4)
# {
:id => 8883,
:wallet_id => 5147,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3689,
"purchased_at" => "2026-10-06T02:54:10.337Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-06T02:54:10.338Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-10-06 02:54:10.338804000 UTC +00:00,
:updated_at => 2026-10-06 02:54:10.338804000 UTC +00:00
}
# {
:id => 8884,
:wallet_id => 5147,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3690,
"purchased_at" => "2026-10-06T05:05:08.750Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-06T05:05:08.752Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-10-06 05:05:08.753671000 UTC +00:00,
:updated_at => 2026-10-06 05:05:08.753671000 UTC +00:00
}
# {
:id => 8885,
:wallet_id => 5147,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-11-06 15:22:43.445502000 UTC +00:00,
:fulfillment_id => 5398,
:metadata => {
"subscription_id" => 1708,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-10-06T15:17:43.447Z"
},
:created_at => 2026-10-06 15:17:43.448773000 UTC +00:00,
:updated_at => 2026-10-06 15:17:43.448773000 UTC +00:00
}
# {
:id => 8892,
:wallet_id => 5147,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3693,
"purchased_at" => "2026-10-06T19:23:45.618Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-10-06T19:23:45.620Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-10-06 19:23:45.621702000 UTC +00:00,
:updated_at => 2026-10-06 19:23:45.621702000 UTC +00:00
}