UsageCredits::Fulfillment (4)
# {
:id => 3886,
:wallet_id => 3733,
:source_type => "Pay::Charge",
:source_id => 2561,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-07 15:56:19.895194000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2561,
"purchased_at" => "2026-05-07T15:56:19.889Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-05-07 15:56:19.895713000 UTC +00:00,
:updated_at => 2026-05-07 15:56:19.895713000 UTC +00:00
}
# {
:id => 3887,
:wallet_id => 3733,
:source_type => "Pay::Charge",
:source_id => 2562,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-07 15:56:19.907380000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2562,
"purchased_at" => "2026-05-07T15:56:19.900Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-05-07 15:56:19.907944000 UTC +00:00,
:updated_at => 2026-05-07 15:56:19.907944000 UTC +00:00
}
# {
:id => 3888,
:wallet_id => 3733,
:source_type => "Pay::Charge",
:source_id => 2563,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-05-07 15:56:19.922728000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 2563,
"purchased_at" => "2026-05-07T15:56:19.918Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-07 15:56:19.923185000 UTC +00:00,
:updated_at => 2026-05-07 15:56:19.923185000 UTC +00:00
}
# {
:id => 3889,
:wallet_id => 3733,
:source_type => "Pay::Subscription",
:source_id => 1326,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-05-07 15:56:19.945421000 UTC +00:00,
:next_fulfillment_at => 2026-06-07 15:56:19.936330000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1326,
"plan" => "abcdef123456"
},
:created_at => 2026-05-07 15:56:19.946026000 UTC +00:00,
:updated_at => 2026-05-07 15:56:19.946026000 UTC +00:00
}
UsageCredits::Transaction (7)
# {
:id => 6396,
:wallet_id => 3733,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2561,
"purchased_at" => "2026-05-07T15:56:19.889Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-07T15:56:19.892Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-05-07 15:56:19.893667000 UTC +00:00,
:updated_at => 2026-05-07 15:56:19.893667000 UTC +00:00
}
# {
:id => 6397,
:wallet_id => 3733,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2562,
"purchased_at" => "2026-05-07T15:56:19.900Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-07T15:56:19.902Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-05-07 15:56:19.905556000 UTC +00:00,
:updated_at => 2026-05-07 15:56:19.905556000 UTC +00:00
}
# {
:id => 6398,
:wallet_id => 3733,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 2563,
"purchased_at" => "2026-05-07T15:56:19.918Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-05-07T15:56:19.920Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-05-07 15:56:19.921337000 UTC +00:00,
:updated_at => 2026-05-07 15:56:19.921337000 UTC +00:00
}
# {
:id => 6399,
:wallet_id => 3733,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-06-07 16:01:19.936330000 UTC +00:00,
:fulfillment_id => 3889,
:metadata => {
"subscription_id" => 1326,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-05-07T15:56:19.942Z"
},
:created_at => 2026-05-07 15:56:19.943805000 UTC +00:00,
:updated_at => 2026-05-07 15:56:19.943805000 UTC +00:00
}
# {
:id => 6400,
:wallet_id => 3733,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-05-07 15:56:20.038669000 UTC +00:00,
:updated_at => 2026-05-07 15:56:20.038669000 UTC +00:00
}
# {
:id => 6401,
:wallet_id => 3733,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-05-07 15:56:20.087161000 UTC +00:00,
:updated_at => 2026-05-07 15:56:20.087161000 UTC +00:00
}
# {
:id => 6409,
:wallet_id => 3733,
:amount => 10,
:category => "bonus",
:expires_at => 2026-05-08 00:49:02.766602000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-05-08 00:48:02.770850000 UTC +00:00,
:updated_at => 2026-05-08 00:48:02.770850000 UTC +00:00
}