UsageCredits::Fulfillment (4)
# {
:id => 6229,
:wallet_id => 5957,
:source_type => "Pay::Charge",
:source_id => 4312,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-26 15:38:36.828158000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4312,
"purchased_at" => "2026-11-26T15:38:36.820Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-26 15:38:36.828860000 UTC +00:00,
:updated_at => 2026-11-26 15:38:36.828860000 UTC +00:00
}
# {
:id => 6230,
:wallet_id => 5957,
:source_type => "Pay::Charge",
:source_id => 4313,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-26 15:38:39.209062000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4313,
"purchased_at" => "2026-11-26T15:38:39.204Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-26 15:38:39.209715000 UTC +00:00,
:updated_at => 2026-11-26 15:38:39.209715000 UTC +00:00
}
# {
:id => 6231,
:wallet_id => 5957,
:source_type => "Pay::Subscription",
:source_id => 1918,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-11-26 15:38:42.636875000 UTC +00:00,
:next_fulfillment_at => 2026-12-26 15:38:42.632532000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1918,
"plan" => "abcdef123456"
},
:created_at => 2026-11-26 15:38:42.637675000 UTC +00:00,
:updated_at => 2026-11-26 15:38:42.637675000 UTC +00:00
}
# {
:id => 6232,
:wallet_id => 5957,
:source_type => "Pay::Charge",
:source_id => 4314,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-11-26 15:38:45.645548000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 4314,
"purchased_at" => "2026-11-26T15:38:45.639Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-26 15:38:45.646131000 UTC +00:00,
:updated_at => 2026-11-26 15:38:45.646131000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 10176,
:wallet_id => 5957,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4312,
"purchased_at" => "2026-11-26T15:38:36.820Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-26T15:38:36.822Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-11-26 15:38:36.824819000 UTC +00:00,
:updated_at => 2026-11-26 15:38:36.824819000 UTC +00:00
}
# {
:id => 10177,
:wallet_id => 5957,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4313,
"purchased_at" => "2026-11-26T15:38:39.204Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-26T15:38:39.206Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-11-26 15:38:39.207759000 UTC +00:00,
:updated_at => 2026-11-26 15:38:39.207759000 UTC +00:00
}
# {
:id => 10178,
:wallet_id => 5957,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-11-26 15:38:41.128732000 UTC +00:00,
:updated_at => 2026-11-26 15:38:41.128732000 UTC +00:00
}
# {
:id => 10179,
:wallet_id => 5957,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-12-26 15:43:42.632532000 UTC +00:00,
:fulfillment_id => 6231,
:metadata => {
"subscription_id" => 1918,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-11-26T15:38:42.634Z"
},
:created_at => 2026-11-26 15:38:42.635362000 UTC +00:00,
:updated_at => 2026-11-26 15:38:42.635362000 UTC +00:00
}
# {
:id => 10180,
:wallet_id => 5957,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-11-26 15:38:43.884880000 UTC +00:00,
:updated_at => 2026-11-26 15:38:43.884880000 UTC +00:00
}
# {
:id => 10181,
:wallet_id => 5957,
:amount => 10,
:category => "bonus",
:expires_at => 2026-11-26 15:39:44.844749000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-11-26 15:38:44.847747000 UTC +00:00,
:updated_at => 2026-11-26 15:38:44.847747000 UTC +00:00
}
# {
:id => 10182,
:wallet_id => 5957,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 4314,
"purchased_at" => "2026-11-26T15:38:45.639Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-11-26T15:38:45.641Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-11-26 15:38:45.643582000 UTC +00:00,
:updated_at => 2026-11-26 15:38:45.643582000 UTC +00:00
}