Skip to content

Instantly share code, notes, and snippets.

@rootedsoftware
Created October 18, 2014 19:59
Show Gist options
  • Save rootedsoftware/20d82003e61aefd3623e to your computer and use it in GitHub Desktop.
Save rootedsoftware/20d82003e61aefd3623e to your computer and use it in GitHub Desktop.
Meteor problem collection document
{
"_id" : "1234",
"created_at" : "09/24/2014, 12:28",
"customer" : {
"address_line1" : "Address Line 1",
"address_line2" : "Address Line 2",
"city" : "Topeka",
"country" : "US",
"created_at" : "09/24/2014, 12:28",
"email_address" : "email@email.com",
"fname" : "John",
"id" : "CU1234",
"lname" : "Doe",
"phone_number" : "(555) 246-6845",
"postal_code" : "55518",
"region" : "KS",
"type" : "customer"
},
"debit" : {
"amount" : 11400,
"coveredTheFees" : true,
"customer" : null,
"donateTo" : "Where Most Needed",
"donateWith" : "card",
"fees" : 400,
"status" : "pending",
"total_amount" : 11800,
"type" : "credit"
},
"recurring" : {
"customer" : {
"company_guid" : "CP1234",
"created_at" : "2014-09-24T05:28:38.294281+00:00",
"deleted" : false,
"guid" : "CU1234",
"processor_uri" : "/customers/CU1234",
"updated_at" : "2014-09-24T05:28:38.294281+00:00"
},
"isRecurring" : true,
"subscriptions" : {
"amount" : 11800,
"appears_on_statement_as" : "Trash Mountain",
"canceled" : false,
"canceled_at" : null,
"created_at" : "2014-09-24T05:28:41.978289+00:00",
"customer_guid" : "CU1234",
"debitInformation" : {
"amount" : 11400,
"coveredTheFees" : true,
"customer" : null,
"donateTo" : "Where Most Needed",
"donateWith" : "card",
"fees" : 400,
"status" : "pending",
"total_amount" : 11800,
"type" : "credit",
"subscription_guid" : "SU1234"
},
"effective_amount" : 11800,
"guid" : "SU1234",
"invoice_count" : 1,
"next_invoice_at" : "2014-09-25T05:28:41.978289+00:00",
"plan_guid" : "PL1234",
"started_at" : "2014-09-24T05:28:41.978289+00:00",
"updated_at" : "2014-09-24T05:28:41.978289+00:00"
},
"transactions" : {
"TXSgA6VSMh1LQwZze8Pg8H9F" : {
"amount" : 11800,
"appears_on_statement_as" : "Trash Mountain",
"created_at" : "2014-10-18T05:30:03.688551+00:00",
"credit" : {
"amount" : 11800,
"id" : "CR1234",
"sent" : true
},
"email_sent" : {
"succeeded" : true,
"time" : "10/18/2014, 05:30"
},
"failure_count" : 0,
"failures" : [],
"guid" : "TXSgA6VSMh1LQwZze8Pg8H9F",
"status" : "succeeded",
"submit_status" : "done",
"transaction_type" : "debit",
"updated_at" : "2014-10-18T05:30:07.052876+00:00"
},
"TXSrwDSzk13P2XzHK5ZAwzCd" : {
"amount" : 11800,
"appears_on_statement_as" : "Trash Mountain",
"created_at" : "2014-10-12T05:30:03.660686+00:00",
"credit" : {
"amount" : 11800,
"id" : "CR1234",
"sent" : true
},
"email_sent" : {
"succeeded" : true,
"time" : "10/12/2014, 05:30"
},
"failure_count" : 0,
"failures" : [],
"guid" : "TXSrwDSzk13P2XzHK5ZAwzCd",
"status" : "succeeded",
"submit_status" : "done",
"transaction_type" : "debit",
"updated_at" : "2014-10-12T05:30:06.701184+00:00"
}
}
},
"sessionId" : "hRtmYJ5CnZ2SW5Nvn",
"viewable" : true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment