UsageCredits::Fulfillment (6)
# {
:id => 821,
:wallet_id => 448,
:source_type => "Pay::Charge",
:source_id => 618,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-04-16 09:51:06.223245000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 618,
"purchased_at" => "2025-04-16T09:51:06.219Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2025-04-16 09:51:06.223836000 UTC +00:00,
:updated_at => 2025-04-16 09:51:06.223836000 UTC +00:00
}
# {
:id => 822,
:wallet_id => 448,
:source_type => "Pay::Charge",
:source_id => 619,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-04-16 09:58:59.223941000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 619,
"purchased_at" => "2025-04-16T09:58:59.210Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2025-04-16 09:58:59.225184000 UTC +00:00,
:updated_at => 2025-04-16 09:58:59.225184000 UTC +00:00
}
# {
:id => 825,
:wallet_id => 448,
:source_type => "Pay::Charge",
:source_id => 621,
:credits_last_fulfillment => 10,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-04-17 12:55:01.009101000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 621,
"purchased_at" => "2025-04-17T12:55:01.001Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2025-04-17 12:55:01.009596000 UTC +00:00,
:updated_at => 2025-04-17 12:55:01.009596000 UTC +00:00
}
# {
:id => 826,
:wallet_id => 448,
:source_type => "Pay::Subscription",
:source_id => 205,
:credits_last_fulfillment => 10,
:fulfillment_type => "subscription",
:last_fulfilled_at => 2025-04-17 14:38:47.285893000 UTC +00:00,
:next_fulfillment_at => 2025-05-17 14:38:47.278789000 UTC +00:00,
:fulfillment_period => "1 month",
:stops_at => nil,
:metadata => {
"subscription_id" => 205,
"plan" => "abcdef123456"
},
:created_at => 2025-04-17 14:38:47.286620000 UTC +00:00,
:updated_at => 2025-04-17 14:38:47.286620000 UTC +00:00
}
# {
:id => 827,
:wallet_id => 448,
:source_type => "Pay::Charge",
:source_id => 622,
:credits_last_fulfillment => 5100,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-04-18 05:56:46.154173000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 622,
"purchased_at" => "2025-04-18T05:56:46.145Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2025-04-18 05:56:46.154730000 UTC +00:00,
:updated_at => 2025-04-18 05:56:46.154730000 UTC +00:00
}
# {
:id => 828,
:wallet_id => 448,
:source_type => "Pay::Charge",
:source_id => 623,
:credits_last_fulfillment => 1000,
:fulfillment_type => "credit_pack",
:last_fulfilled_at => 2025-04-18 07:48:03.934024000 UTC +00:00,
:next_fulfillment_at => nil,
:fulfillment_period => nil,
:stops_at => nil,
:metadata => {
"purchase_charge_id" => 623,
"purchased_at" => "2025-04-18T07:48:03.926Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2025-04-18 07:48:03.934595000 UTC +00:00,
:updated_at => 2025-04-18 07:48:03.934595000 UTC +00:00
}
UsageCredits::Transaction (10)
# {
:id => 1212,
:wallet_id => 448,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 618,
"purchased_at" => "2025-04-16T09:51:06.219Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-04-16T09:51:06.220Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2025-04-16 09:51:06.221854000 UTC +00:00,
:updated_at => 2025-04-16 09:51:06.221854000 UTC +00:00
}
# {
:id => 1213,
:wallet_id => 448,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2025-04-16 09:51:06.436292000 UTC +00:00,
:updated_at => 2025-04-16 09:51:06.436292000 UTC +00:00
}
# {
:id => 1214,
:wallet_id => 448,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 619,
"purchased_at" => "2025-04-16T09:58:59.210Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-04-16T09:58:59.217Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2025-04-16 09:58:59.220290000 UTC +00:00,
:updated_at => 2025-04-16 09:58:59.220290000 UTC +00:00
}
# {
:id => 1217,
:wallet_id => 448,
:amount => 10,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 621,
"purchased_at" => "2025-04-17T12:55:01.001Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-04-17T12:55:01.005Z",
"purchase_type" => "credit_pack",
"pack_name" => "tiny",
"credits" => 10,
"bonus_credits" => 0,
"price_cents" => 99,
"price_currency" => "USD"
},
:created_at => 2025-04-17 12:55:01.007060000 UTC +00:00,
:updated_at => 2025-04-17 12:55:01.007060000 UTC +00:00
}
# {
:id => 1218,
:wallet_id => 448,
:amount => 10,
:category => "subscription_credits",
:expires_at => 2025-05-17 14:43:47.278789000 UTC +00:00,
:fulfillment_id => 826,
:metadata => {
"subscription_id" => 205,
"reason" => "first_cycle",
"plan" => "abcdef123456",
"fulfilled_at" => "2025-04-17T14:38:47.282Z"
},
:created_at => 2025-04-17 14:38:47.283705000 UTC +00:00,
:updated_at => 2025-04-17 14:38:47.283705000 UTC +00:00
}
# {
:id => 1219,
:wallet_id => 448,
:amount => 10,
:category => "bonus",
:expires_at => 2025-04-17 23:06:54.075958000 UTC +00:00,
:fulfillment_id => nil,
:metadata => {
"reason" => "expiring_bonus_credits"
},
:created_at => 2025-04-17 23:05:54.080941000 UTC +00:00,
:updated_at => 2025-04-17 23:05:54.080941000 UTC +00:00
}
# {
:id => 1220,
:wallet_id => 448,
:amount => 10,
:category => "signup_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "signup"
},
:created_at => 2025-04-18 01:36:26.678600000 UTC +00:00,
:updated_at => 2025-04-18 01:36:26.678600000 UTC +00:00
}
# {
:id => 1221,
:wallet_id => 448,
:amount => 20,
:category => "referral_bonus",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"reason" => "referral"
},
:created_at => 2025-04-18 03:48:46.858990000 UTC +00:00,
:updated_at => 2025-04-18 03:48:46.858990000 UTC +00:00
}
# {
:id => 1222,
:wallet_id => 448,
:amount => 5100,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 622,
"purchased_at" => "2025-04-18T05:56:46.145Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-04-18T05:56:46.150Z",
"purchase_type" => "credit_pack",
"pack_name" => "pro",
"credits" => 5000,
"bonus_credits" => 100,
"price_cents" => 19900,
"price_currency" => "USD"
},
:created_at => 2025-04-18 05:56:46.152409000 UTC +00:00,
:updated_at => 2025-04-18 05:56:46.152409000 UTC +00:00
}
# {
:id => 1223,
:wallet_id => 448,
:amount => 1000,
:category => "credit_pack_purchase",
:expires_at => nil,
:fulfillment_id => nil,
:metadata => {
"purchase_charge_id" => 623,
"purchased_at" => "2025-04-18T07:48:03.926Z",
"credits_fulfilled" => true,
"fulfilled_at" => "2025-04-18T07:48:03.930Z",
"purchase_type" => "credit_pack",
"pack_name" => "starter",
"credits" => 1000,
"bonus_credits" => 0,
"price_cents" => 4900,
"price_currency" => "USD"
},
:created_at => 2025-04-18 07:48:03.932477000 UTC +00:00,
:updated_at => 2025-04-18 07:48:03.932477000 UTC +00:00
}