UsageCredits::Fulfillment (4)
# {
:id => 5327,
:wallet_id => 5080,
:source_type => "Pay::Subscription",
:source_id => 1696,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2026-09-27 18:15:27.175820000 UTC +00:00,
:next_fulfillment_at => 2026-10-27 18:15:27.172210000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 1696,
"plan" => "abcdef123456"
},
:created_at => 2026-09-27 18:15:27.177254000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.177254000 UTC +00:00
}
# {
:id => 5328,
:wallet_id => 5080,
:source_type => "Pay::Charge",
:source_id => 3632,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-27 18:15:27.185165000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3632,
"purchased_at" => "2026-09-27T18:15:27.181Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-27 18:15:27.185784000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.185784000 UTC +00:00
}
# {
:id => 5329,
:wallet_id => 5080,
:source_type => "Pay::Charge",
:source_id => 3633,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-27 18:15:27.192520000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3633,
"purchased_at" => "2026-09-27T18:15:27.189Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-27 18:15:27.193117000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.193117000 UTC +00:00
}
# {
:id => 5330,
:wallet_id => 5080,
:source_type => "Pay::Charge",
:source_id => 3634,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2026-09-27 18:15:27.202341000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 3634,
"purchased_at" => "2026-09-27T18:15:27.198Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-27 18:15:27.202843000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.202843000 UTC +00:00
}
UsageCredits::Transaction (8)
# {
:id => 8773,
:wallet_id => 5080,
:amount => 10,
:category => "bonus",
:expires_at => 2026-09-27 18:16:27.141122000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2026-09-27 18:15:27.143466000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.143466000 UTC +00:00
}
# {
:id => 8774,
:wallet_id => 5080,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2026-10-27 18:20:27.172210000 UTC +00:00,
:fulfillment_id => 5327,
:metadata => {
"subscription_id" => 1696,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2026-09-27T18:15:27.173Z"
},
:created_at => 2026-09-27 18:15:27.174356000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.174356000 UTC +00:00
}
# {
:id => 8775,
:wallet_id => 5080,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3632,
"purchased_at" => "2026-09-27T18:15:27.181Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-27T18:15:27.183Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2026-09-27 18:15:27.184233000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.184233000 UTC +00:00
}
# {
:id => 8776,
:wallet_id => 5080,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3633,
"purchased_at" => "2026-09-27T18:15:27.189Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-27T18:15:27.191Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2026-09-27 18:15:27.191689000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.191689000 UTC +00:00
}
# {
:id => 8777,
:wallet_id => 5080,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 3634,
"purchased_at" => "2026-09-27T18:15:27.198Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2026-09-27T18:15:27.200Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2026-09-27 18:15:27.201458000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.201458000 UTC +00:00
}
# {
:id => 8778,
:wallet_id => 5080,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2026-09-27 18:15:27.205570000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.205570000 UTC +00:00
}
# {
:id => 8779,
:wallet_id => 5080,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-09-27 18:15:27.209222000 UTC +00:00,
:updated_at => 2026-09-27 18:15:27.209222000 UTC +00:00
}
# {
:id => 8780,
:wallet_id => 5080,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2026-09-27 18:36:51.644975000 UTC +00:00,
:updated_at => 2026-09-27 18:36:51.644975000 UTC +00:00
}