UsageCredits::Fulfillment (4)
# {
:id => 4853,
:wallet_id => 4565,
:source_type => "Pay::Subscription",
:source_id => 1584,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-08-14 01:47:54.129559000 UTC +00:00,
:next_fulfillment_at => 2026-09-14 01:47:54.062226000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1584,
"plan" => "abcdef123456"
},
:created_at => 2026-08-14 01:47:54.147258000 UTC +00:00,
:updated_at => 2026-08-14 01:47:54.147258000 UTC +00:00
}
# {
:id => 4854,
:wallet_id => 4565,
:source_type => "Pay::Charge",
:source_id => 3270,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-08-14 01:47:55.247214000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3270,
"purchased_at" => "2026-08-14T01:47:55.235Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-08-14 01:47:55.248336000 UTC +00:00,
:updated_at => 2026-08-14 01:47:55.248336000 UTC +00:00
}
# {
:id => 4855,
:wallet_id => 4565,
:source_type => "Pay::Charge",
:source_id => 3271,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-08-14 01:47:57.037660000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3271,
"purchased_at" => "2026-08-14T01:47:57.025Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-08-14 01:47:57.038526000 UTC +00:00,
:updated_at => 2026-08-14 01:47:57.038526000 UTC +00:00
}
# {
:id => 4856,
:wallet_id => 4565,
:source_type => "Pay::Charge",
:source_id => 3272,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-08-14 01:47:58.572446000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3272,
"purchased_at" => "2026-08-14T01:47:58.562Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-08-14 01:47:58.573318000 UTC +00:00,
:updated_at => 2026-08-14 01:47:58.573318000 UTC +00:00
}
UsageCredits::Transaction (6)
# {
:id => 8048,
:wallet_id => 4565,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-09-14 01:52:54.062226000 UTC +00:00,
:fulfillment_id => 4853,
:metadata => {
"subscription_id" => 1584,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-08-14T01:47:54.086Z"
},
:created_at => 2026-08-14 01:47:54.110519000 UTC +00:00,
:updated_at => 2026-08-14 01:47:54.110519000 UTC +00:00
}
# {
:id => 8049,
:wallet_id => 4565,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3270,
"purchased_at" => "2026-08-14T01:47:55.235Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-08-14T01:47:55.242Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-08-14 01:47:55.245186000 UTC +00:00,
:updated_at => 2026-08-14 01:47:55.245186000 UTC +00:00
}
# {
:id => 8050,
:wallet_id => 4565,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3271,
"purchased_at" => "2026-08-14T01:47:57.025Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-08-14T01:47:57.032Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-08-14 01:47:57.034368000 UTC +00:00,
:updated_at => 2026-08-14 01:47:57.034368000 UTC +00:00
}
# {
:id => 8051,
:wallet_id => 4565,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3272,
"purchased_at" => "2026-08-14T01:47:58.562Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-08-14T01:47:58.566Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-08-14 01:47:58.569282000 UTC +00:00,
:updated_at => 2026-08-14 01:47:58.569282000 UTC +00:00
}
# {
:id => 8052,
:wallet_id => 4565,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-08-14 01:48:00.432154000 UTC +00:00,
:updated_at => 2026-08-14 01:48:00.432154000 UTC +00:00
}
# {
:id => 8053,
:wallet_id => 4565,
:amount => 10,
:category => "bonus",
:expires_at => 2026-08-14 01:49:02.232190000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-08-14 01:48:02.236554000 UTC +00:00,
:updated_at => 2026-08-14 01:48:02.236554000 UTC +00:00
}