UsageCredits::Fulfillment (3)
# {
:id => 3865,
:wallet_id => 3703,
:source_type => "Pay::Charge",
:source_id => 2546,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-02 00:38:31.767306000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2546,
"purchased_at" => "2026-05-02T00:38:31.762Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-02 00:38:31.767829000 UTC +00:00,
:updated_at => 2026-05-02 00:38:31.767829000 UTC +00:00
}
# {
:id => 3866,
:wallet_id => 3703,
:source_type => "Pay::Charge",
:source_id => 2547,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-02 08:52:49.438187000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2547,
"purchased_at" => "2026-05-02T08:52:49.397Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-05-02 08:52:49.444539000 UTC +00:00,
:updated_at => 2026-05-02 08:52:49.444539000 UTC +00:00
}
# {
:id => 3867,
:wallet_id => 3703,
:source_type => "Pay::Subscription",
:source_id => 1320,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-05-02 08:52:53.328525000 UTC +00:00,
:next_fulfillment_at => 2026-06-02 08:52:53.315554000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1320,
"plan" => "abcdef123456"
},
:created_at => 2026-05-02 08:52:53.332280000 UTC +00:00,
:updated_at => 2026-05-02 08:52:53.332280000 UTC +00:00
}
UsageCredits::Transaction (4)
# {
:id => 6365,
:wallet_id => 3703,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2546,
"purchased_at" => "2026-05-02T00:38:31.762Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-02T00:38:31.764Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-02 00:38:31.765724000 UTC +00:00,
:updated_at => 2026-05-02 00:38:31.765724000 UTC +00:00
}
# {
:id => 6366,
:wallet_id => 3703,
:amount => 10,
:category => "bonus",
:expires_at => 2026-05-02 00:49:23.902291000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-05-02 00:48:23.907224000 UTC +00:00,
:updated_at => 2026-05-02 00:48:23.907224000 UTC +00:00
}
# {
:id => 6367,
:wallet_id => 3703,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2547,
"purchased_at" => "2026-05-02T08:52:49.397Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-02T08:52:49.414Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-05-02 08:52:49.428158000 UTC +00:00,
:updated_at => 2026-05-02 08:52:49.428158000 UTC +00:00
}
# {
:id => 6368,
:wallet_id => 3703,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-06-02 08:57:53.315554000 UTC +00:00,
:fulfillment_id => 3867,
:metadata => {
"subscription_id" => 1320,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-05-02T08:52:53.323Z"
},
:created_at => 2026-05-02 08:52:53.326251000 UTC +00:00,
:updated_at => 2026-05-02 08:52:53.326251000 UTC +00:00
}