Skip to content

Instantly share code, notes, and snippets.

@tocvieira
Created August 24, 2016 11:44
Show Gist options
  • Save tocvieira/a19995e109f471ea99f8d6913383bba1 to your computer and use it in GitHub Desktop.
Save tocvieira/a19995e109f471ea99f8d6913383bba1 to your computer and use it in GitHub Desktop.
OrderedDict([('Conciliation',
OrderedDict([('Header',
OrderedDict([('GenerationDateTime',
'20160824114116'),
('StoneCode', '185346049'),
('LayoutVersion', '2'),
('FileId', '0'),
('ReferenceDate', '20160510')])),
('FinancialTransactions',
OrderedDict([('Transaction',
[OrderedDict([('Events',
OrderedDict([('CancellationCharges',
'0'),
('Cancellations',
'1'),
('Captures',
'1'),
('ChargebackRefunds',
'0'),
('Chargebacks',
'0'),
('Payments',
'0')])),
('AcquirerTransactionKey',
'23160073066949'),
('InitiatorTransactionKey',
'100003100516092656'),
('AuthorizationDateTime',
'20160510122752'),
('CaptureLocalDateTime',
'20160510092752'),
('International',
'False'),
('AccountType', '1'),
('InstallmentType',
'1'),
('NumberOfInstallments',
'1'),
('AuthorizedAmount',
'0.100000'),
('CapturedAmount',
'0.100000'),
('CanceledAmount',
'0.100000'),
('AuthorizationCurrencyCode',
'986'),
('IssuerAuthorizationCode',
'275363'),
('BrandId', '2'),
('CardNumber',
'502121******9799'),
('Poi',
OrderedDict([('PoiType',
'3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey',
'2316000073066949'),
('CancellationDateTime',
'20160510092752'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges',
'0'),
('Cancellations',
'1'),
('Captures',
'1'),
('ChargebackRefunds',
'0'),
('Chargebacks',
'0'),
('Payments',
'0')])),
('AcquirerTransactionKey',
'23160073067281'),
('InitiatorTransactionKey',
'100004100516092801'),
('AuthorizationDateTime',
'20160510122856'),
('CaptureLocalDateTime',
'20160510092856'),
('International',
'False'),
('AccountType', '1'),
('InstallmentType',
'1'),
('NumberOfInstallments',
'1'),
('AuthorizedAmount',
'0.100000'),
('CapturedAmount',
'0.100000'),
('CanceledAmount',
'0.100000'),
('AuthorizationCurrencyCode',
'986'),
('IssuerAuthorizationCode',
'285763'),
('BrandId', '2'),
('CardNumber',
'502121******9799'),
('Poi',
OrderedDict([('PoiType',
'3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey',
'2316000073067281'),
('CancellationDateTime',
'20160510092856'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges',
'0'),
('Cancellations',
'1'),
('Captures',
'1'),
('ChargebackRefunds',
'0'),
('Chargebacks',
'0'),
('Payments',
'0')])),
('AcquirerTransactionKey',
'23160073083549'),
('InitiatorTransactionKey',
'100008100516101428'),
('AuthorizationDateTime',
'20160510131523'),
('CaptureLocalDateTime',
'20160510101523'),
('International',
'True'),
('AccountType', '1'),
('InstallmentType',
'1'),
('NumberOfInstallments',
'1'),
('AuthorizedAmount',
'0.100000'),
('CapturedAmount',
'0.100000'),
('CanceledAmount',
'0.100000'),
('AuthorizationCurrencyCode',
'986'),
('IssuerAuthorizationCode',
'065062'),
('BrandId', '2'),
('CardNumber',
'524820******1293'),
('Poi',
OrderedDict([('PoiType',
'3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey',
'2316000073083549'),
('CancellationDateTime',
'20160510101523'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges',
'0'),
('Cancellations',
'1'),
('Captures',
'1'),
('ChargebackRefunds',
'0'),
('Chargebacks',
'0'),
('Payments',
'0')])),
('AcquirerTransactionKey',
'23160073101204'),
('InitiatorTransactionKey',
'100009100516105933'),
('AuthorizationDateTime',
'20160510140028'),
('CaptureLocalDateTime',
'20160510110028'),
('International',
'False'),
('AccountType', '1'),
('InstallmentType',
'1'),
('NumberOfInstallments',
'1'),
('AuthorizedAmount',
'0.100000'),
('CapturedAmount',
'0.100000'),
('CanceledAmount',
'0.100000'),
('AuthorizationCurrencyCode',
'986'),
('IssuerAuthorizationCode',
'002963'),
('BrandId', '2'),
('CardNumber',
'502121******9799'),
('Poi',
OrderedDict([('PoiType',
'3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey',
'2316000073101204'),
('CancellationDateTime',
'20160510110028'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges',
'0'),
('Cancellations',
'1'),
('Captures',
'1'),
('ChargebackRefunds',
'0'),
('Chargebacks',
'0'),
('Payments',
'0')])),
('AcquirerTransactionKey',
'23160073106393'),
('InitiatorTransactionKey',
'100010100516111215'),
('AuthorizationDateTime',
'20160510141311'),
('CaptureLocalDateTime',
'20160510111311'),
('International',
'False'),
('AccountType', '1'),
('InstallmentType',
'1'),
('NumberOfInstallments',
'1'),
('AuthorizedAmount',
'0.100000'),
('CapturedAmount',
'0.100000'),
('CanceledAmount',
'0.100000'),
('AuthorizationCurrencyCode',
'986'),
('IssuerAuthorizationCode',
'131163'),
('BrandId', '2'),
('CardNumber',
'502121******9799'),
('Poi',
OrderedDict([('PoiType',
'3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey',
'2316000073106393'),
('CancellationDateTime',
'20160510111311'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges',
'0'),
('Cancellations',
'1'),
('Captures',
'1'),
('ChargebackRefunds',
'0'),
('Chargebacks',
'0'),
('Payments',
'0')])),
('AcquirerTransactionKey',
'23160073108009'),
('InitiatorTransactionKey',
'100011100516111626'),
('AuthorizationDateTime',
'20160510141722'),
('CaptureLocalDateTime',
'20160510111722'),
('International',
'False'),
('AccountType', '1'),
('InstallmentType',
'1'),
('NumberOfInstallments',
'1'),
('AuthorizedAmount',
'0.100000'),
('CapturedAmount',
'0.100000'),
('CanceledAmount',
'0.100000'),
('AuthorizationCurrencyCode',
'986'),
('IssuerAuthorizationCode',
'172363'),
('BrandId', '2'),
('CardNumber',
'502121******9799'),
('Poi',
OrderedDict([('PoiType',
'3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey',
'2316000073108009'),
('CancellationDateTime',
'20160510111722'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges',
'0'),
('Cancellations',
'1'),
('Captures',
'1'),
('ChargebackRefunds',
'0'),
('Chargebacks',
'0'),
('Payments',
'0')])),
('AcquirerTransactionKey',
'23160073263697'),
('InitiatorTransactionKey',
'100013100516165427'),
('AuthorizationDateTime',
'20160510195524'),
('CaptureLocalDateTime',
'20160510165524'),
('International',
'True'),
('AccountType', '1'),
('InstallmentType',
'1'),
('NumberOfInstallments',
'1'),
('AuthorizedAmount',
'0.100000'),
('CapturedAmount',
'0.100000'),
('CanceledAmount',
'0.100000'),
('AuthorizationCurrencyCode',
'986'),
('IssuerAuthorizationCode',
'297223'),
('BrandId', '2'),
('CardNumber',
'524820******1293'),
('Poi',
OrderedDict([('PoiType',
'3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey',
'2316000073263697'),
('CancellationDateTime',
'20160510165524'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges',
'0'),
('Cancellations',
'0'),
('Captures',
'1'),
('ChargebackRefunds',
'0'),
('Chargebacks',
'0'),
('Payments',
'0')])),
('AcquirerTransactionKey',
'23160073271297'),
('InitiatorTransactionKey',
'Bomba 1'),
('AuthorizationDateTime',
'20160510200958'),
('CaptureLocalDateTime',
'20160510170958'),
('International',
'True'),
('AccountType', '1'),
('InstallmentType',
'1'),
('NumberOfInstallments',
'1'),
('AuthorizedAmount',
'0.100000'),
('CapturedAmount',
'0.100000'),
('AuthorizationCurrencyCode',
'986'),
('IssuerAuthorizationCode',
'305977'),
('BrandId', '2'),
('CardNumber',
'524820******1293'),
('Poi',
OrderedDict([('PoiType',
'2'),
('SerialNumber',
'Micro '
'Pos')])),
('Installments',
OrderedDict([('Installment',
OrderedDict([('InstallmentNumber',
'1'),
('GrossAmount',
'0.100000'),
('NetAmount',
'0.095000'),
('PrevisionPaymentDate',
'20160511')]))]))])])])),
('FinancialEvents', None),
('FinancialTransactionsAccounts', None),
('FinancialEventAccounts', None),
('Payments', None),
('Trailer',
OrderedDict([('CapturedTransactionsQuantity', '8'),
('CanceledTransactionsQuantity', '7'),
('PaidInstallmentsQuantity', '0'),
('ChargedCancellationsQuantity', '0'),
('ChargebacksQuantity', '0'),
('ChargebacksRefundQuantity', '0'),
('ChargedChargebacksQuantity', '0'),
('PaidChargebacksRefundQuantity', '0'),
('PaidEventsQuantity', '0'),
('ChargedEventsQuantity', '0')]))]))])
[OrderedDict([('Events',
OrderedDict([('CancellationCharges', '0'),
('Cancellations', '1'),
('Captures', '1'),
('ChargebackRefunds', '0'),
('Chargebacks', '0'),
('Payments', '0')])),
('AcquirerTransactionKey', '23160073066949'),
('InitiatorTransactionKey', '100003100516092656'),
('AuthorizationDateTime', '20160510122752'),
('CaptureLocalDateTime', '20160510092752'),
('International', 'False'),
('AccountType', '1'),
('InstallmentType', '1'),
('NumberOfInstallments', '1'),
('AuthorizedAmount', '0.100000'),
('CapturedAmount', '0.100000'),
('CanceledAmount', '0.100000'),
('AuthorizationCurrencyCode', '986'),
('IssuerAuthorizationCode', '275363'),
('BrandId', '2'),
('CardNumber', '502121******9799'),
('Poi', OrderedDict([('PoiType', '3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey', '2316000073066949'),
('CancellationDateTime',
'20160510092752'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges', '0'),
('Cancellations', '1'),
('Captures', '1'),
('ChargebackRefunds', '0'),
('Chargebacks', '0'),
('Payments', '0')])),
('AcquirerTransactionKey', '23160073067281'),
('InitiatorTransactionKey', '100004100516092801'),
('AuthorizationDateTime', '20160510122856'),
('CaptureLocalDateTime', '20160510092856'),
('International', 'False'),
('AccountType', '1'),
('InstallmentType', '1'),
('NumberOfInstallments', '1'),
('AuthorizedAmount', '0.100000'),
('CapturedAmount', '0.100000'),
('CanceledAmount', '0.100000'),
('AuthorizationCurrencyCode', '986'),
('IssuerAuthorizationCode', '285763'),
('BrandId', '2'),
('CardNumber', '502121******9799'),
('Poi', OrderedDict([('PoiType', '3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey', '2316000073067281'),
('CancellationDateTime',
'20160510092856'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges', '0'),
('Cancellations', '1'),
('Captures', '1'),
('ChargebackRefunds', '0'),
('Chargebacks', '0'),
('Payments', '0')])),
('AcquirerTransactionKey', '23160073083549'),
('InitiatorTransactionKey', '100008100516101428'),
('AuthorizationDateTime', '20160510131523'),
('CaptureLocalDateTime', '20160510101523'),
('International', 'True'),
('AccountType', '1'),
('InstallmentType', '1'),
('NumberOfInstallments', '1'),
('AuthorizedAmount', '0.100000'),
('CapturedAmount', '0.100000'),
('CanceledAmount', '0.100000'),
('AuthorizationCurrencyCode', '986'),
('IssuerAuthorizationCode', '065062'),
('BrandId', '2'),
('CardNumber', '524820******1293'),
('Poi', OrderedDict([('PoiType', '3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey', '2316000073083549'),
('CancellationDateTime',
'20160510101523'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges', '0'),
('Cancellations', '1'),
('Captures', '1'),
('ChargebackRefunds', '0'),
('Chargebacks', '0'),
('Payments', '0')])),
('AcquirerTransactionKey', '23160073101204'),
('InitiatorTransactionKey', '100009100516105933'),
('AuthorizationDateTime', '20160510140028'),
('CaptureLocalDateTime', '20160510110028'),
('International', 'False'),
('AccountType', '1'),
('InstallmentType', '1'),
('NumberOfInstallments', '1'),
('AuthorizedAmount', '0.100000'),
('CapturedAmount', '0.100000'),
('CanceledAmount', '0.100000'),
('AuthorizationCurrencyCode', '986'),
('IssuerAuthorizationCode', '002963'),
('BrandId', '2'),
('CardNumber', '502121******9799'),
('Poi', OrderedDict([('PoiType', '3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey', '2316000073101204'),
('CancellationDateTime',
'20160510110028'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges', '0'),
('Cancellations', '1'),
('Captures', '1'),
('ChargebackRefunds', '0'),
('Chargebacks', '0'),
('Payments', '0')])),
('AcquirerTransactionKey', '23160073106393'),
('InitiatorTransactionKey', '100010100516111215'),
('AuthorizationDateTime', '20160510141311'),
('CaptureLocalDateTime', '20160510111311'),
('International', 'False'),
('AccountType', '1'),
('InstallmentType', '1'),
('NumberOfInstallments', '1'),
('AuthorizedAmount', '0.100000'),
('CapturedAmount', '0.100000'),
('CanceledAmount', '0.100000'),
('AuthorizationCurrencyCode', '986'),
('IssuerAuthorizationCode', '131163'),
('BrandId', '2'),
('CardNumber', '502121******9799'),
('Poi', OrderedDict([('PoiType', '3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey', '2316000073106393'),
('CancellationDateTime',
'20160510111311'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges', '0'),
('Cancellations', '1'),
('Captures', '1'),
('ChargebackRefunds', '0'),
('Chargebacks', '0'),
('Payments', '0')])),
('AcquirerTransactionKey', '23160073108009'),
('InitiatorTransactionKey', '100011100516111626'),
('AuthorizationDateTime', '20160510141722'),
('CaptureLocalDateTime', '20160510111722'),
('International', 'False'),
('AccountType', '1'),
('InstallmentType', '1'),
('NumberOfInstallments', '1'),
('AuthorizedAmount', '0.100000'),
('CapturedAmount', '0.100000'),
('CanceledAmount', '0.100000'),
('AuthorizationCurrencyCode', '986'),
('IssuerAuthorizationCode', '172363'),
('BrandId', '2'),
('CardNumber', '502121******9799'),
('Poi', OrderedDict([('PoiType', '3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey', '2316000073108009'),
('CancellationDateTime',
'20160510111722'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges', '0'),
('Cancellations', '1'),
('Captures', '1'),
('ChargebackRefunds', '0'),
('Chargebacks', '0'),
('Payments', '0')])),
('AcquirerTransactionKey', '23160073263697'),
('InitiatorTransactionKey', '100013100516165427'),
('AuthorizationDateTime', '20160510195524'),
('CaptureLocalDateTime', '20160510165524'),
('International', 'True'),
('AccountType', '1'),
('InstallmentType', '1'),
('NumberOfInstallments', '1'),
('AuthorizedAmount', '0.100000'),
('CapturedAmount', '0.100000'),
('CanceledAmount', '0.100000'),
('AuthorizationCurrencyCode', '986'),
('IssuerAuthorizationCode', '297223'),
('BrandId', '2'),
('CardNumber', '524820******1293'),
('Poi', OrderedDict([('PoiType', '3')])),
('Cancellations',
OrderedDict([('Cancellation',
OrderedDict([('OperationKey', '2316000073263697'),
('CancellationDateTime',
'20160510165524'),
('ReturnedAmount',
'0.100000')]))]))]),
OrderedDict([('Events',
OrderedDict([('CancellationCharges', '0'),
('Cancellations', '0'),
('Captures', '1'),
('ChargebackRefunds', '0'),
('Chargebacks', '0'),
('Payments', '0')])),
('AcquirerTransactionKey', '23160073271297'),
('InitiatorTransactionKey', 'Bomba 1'),
('AuthorizationDateTime', '20160510200958'),
('CaptureLocalDateTime', '20160510170958'),
('International', 'True'),
('AccountType', '1'),
('InstallmentType', '1'),
('NumberOfInstallments', '1'),
('AuthorizedAmount', '0.100000'),
('CapturedAmount', '0.100000'),
('AuthorizationCurrencyCode', '986'),
('IssuerAuthorizationCode', '305977'),
('BrandId', '2'),
('CardNumber', '524820******1293'),
('Poi',
OrderedDict([('PoiType', '2'), ('SerialNumber', 'Micro Pos')])),
('Installments',
OrderedDict([('Installment',
OrderedDict([('InstallmentNumber', '1'),
('GrossAmount', '0.100000'),
('NetAmount', '0.095000'),
('PrevisionPaymentDate',
'20160511')]))]))])]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment