Skip to content

Instantly share code, notes, and snippets.

@sidchilling
Created October 29, 2012 08:47
Show Gist options
  • Save sidchilling/3972441 to your computer and use it in GitHub Desktop.
Save sidchilling/3972441 to your computer and use it in GitHub Desktop.
Sane Stripe response
{
u'customer': None,
u'amount_refunded': 0,
u'fee': 259,
u'disputed': False,
u'description': u'CanvasOnDemand: VFS\u2013COD1022\u20131026$52Canvas(UNIQUECODES): OrderID=508569a7375e886cbd000041: OfferRef=canvasondemand_email',
u'created': 1350920815,
u'refunded': False,
u'livemode': True,
u'failure_message': None,
u'object': u'charge',
u'currency': u'usd',
u'amount': 10400,
u'fee_details': [
{
u'application': None,
u'amount': 259,
u'type': u'stripe_fee',
u'description': u'Stripeprocessingfees',
u'currency': u'usd'
}
],
u'paid': True,
u'invoice': None,
u'id': u'ch_0azOcCVStLQ1qf',
u'card': {
u'address_line2': None,
u'address_city': None,
u'address_line1': u'150rubledr',
u'name': u'nicholesmelter',
u'address_country': u'UnitedStates',
u'address_line1_check': u'pass',
u'country': u'US',
u'object': u'card',
u'cvc_check': u'pass',
u'last4': u'0085',
u'exp_month': 9,
u'fingerprint': u'h0jQtu4cylRi8FlE',
u'address_zip_check': u'pass',
u'exp_year': 2013,
u'type': u'MasterCard',
u'address_state': u'il',
u'address_zip': u'62966'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment