UsageCredits::Fulfillment (3)
# {
:id => 3843,
:wallet_id => 3674,
:source_type => "Pay::Charge",
:source_id => 2532,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-04-29 18:45:58.153714000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2532,
"purchased_at" => "2026-04-29T18:45:58.148Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-29 18:45:58.154248000 UTC +00:00,
:updated_at => 2026-04-29 18:45:58.154248000 UTC +00:00
}
# {
:id => 3844,
:wallet_id => 3674,
:source_type => "Pay::Subscription",
:source_id => 1312,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-04-29 20:03:21.057719000 UTC +00:00,
:next_fulfillment_at => 2026-05-29 20:03:21.046113000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1312,
"plan" => "abcdef123456"
},
:created_at => 2026-04-29 20:03:21.058314000 UTC +00:00,
:updated_at => 2026-04-29 20:03:21.058314000 UTC +00:00
}
# {
:id => 3845,
:wallet_id => 3674,
:source_type => "Pay::Charge",
:source_id => 2533,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-04-29 20:06:41.943169000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2533,
"purchased_at" => "2026-04-29T20:06:41.937Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-29 20:06:41.943720000 UTC +00:00,
:updated_at => 2026-04-29 20:06:41.943720000 UTC +00:00
}
UsageCredits::Transaction (4)
# {
:id => 6329,
:wallet_id => 3674,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2532,
"purchased_at" => "2026-04-29T18:45:58.148Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-04-29T18:45:58.150Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-29 18:45:58.151398000 UTC +00:00,
:updated_at => 2026-04-29 18:45:58.151398000 UTC +00:00
}
# {
:id => 6330,
:wallet_id => 3674,
:amount => 10,
:category => "bonus",
:expires_at => 2026-04-29 18:46:58.226247000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-04-29 18:45:58.229364000 UTC +00:00,
:updated_at => 2026-04-29 18:45:58.229364000 UTC +00:00
}
# {
:id => 6331,
:wallet_id => 3674,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-05-29 20:08:21.046113000 UTC +00:00,
:fulfillment_id => 3844,
:metadata => {
"subscription_id" => 1312,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-04-29T20:03:21.054Z"
},
:created_at => 2026-04-29 20:03:21.056053000 UTC +00:00,
:updated_at => 2026-04-29 20:03:21.056053000 UTC +00:00
}
# {
:id => 6332,
:wallet_id => 3674,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2533,
"purchased_at" => "2026-04-29T20:06:41.937Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-04-29T20:06:41.940Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-04-29 20:06:41.941645000 UTC +00:00,
:updated_at => 2026-04-29 20:06:41.941645000 UTC +00:00
}