Created
September 28, 2012 17:30
-
-
Save craigchristenson/3801155 to your computer and use it in GitHub Desktop.
Example Detail Sale Response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "response_code": "OK", | |
| "response_message": "Sale detail retrieved", | |
| "sale": { | |
| "comments": [ | |
| { | |
| "changed_by_ip": "76.181.170.90", | |
| "comment": "Refund Issued On Invoice: test", | |
| "timestamp": "2012-08-26 22:27:20", | |
| "username": "APIuser1817037" | |
| }, | |
| { | |
| "changed_by_ip": "76.181.170.90", | |
| "comment": "Recurring billing stopped for Example Product", | |
| "timestamp": "2012-08-19 00:02:00", | |
| "username": "APIuser1817037" | |
| }, | |
| { | |
| "changed_by_ip": "76.181.170.90", | |
| "comment": "Recurring billing stopped for Example Product", | |
| "timestamp": "2012-08-19 00:01:59", | |
| "username": "APIuser1817037" | |
| }, | |
| { | |
| "changed_by_ip": "76.181.170.90", | |
| "comment": "Recurring billing stopped for Example Product", | |
| "timestamp": "2012-08-19 00:01:58", | |
| "username": "APIuser1817037" | |
| }, | |
| { | |
| "changed_by_ip": "76.181.170.90", | |
| "comment": "Recurring billing stopped for Example Product", | |
| "timestamp": "2012-08-19 00:01:57", | |
| "username": "APIuser1817037" | |
| } | |
| ], | |
| "customer": { | |
| "address_1": "123 Test St", | |
| "address_2": "dddsdsc", | |
| "address_id": "4786442162", | |
| "cardholder_name": "Craig P Christenson", | |
| "city": "Columbus", | |
| "country_code": "USA", | |
| "country_name": "United States", | |
| "customer_id": "4786442117", | |
| "email_address": "[email protected]", | |
| "first_name": "Craig", | |
| "lang": "en", | |
| "last_name": "Christenson", | |
| "middle_initial": "P", | |
| "pay_method": { | |
| "avs": null, | |
| "cvv": null, | |
| "first_six_digits": null, | |
| "last_two_digits": null, | |
| "method": "paypal ec" | |
| }, | |
| "phone": "555-555-5555", | |
| "phone_ext": "", | |
| "postal_code": "43123", | |
| "prefix": null, | |
| "state": "OH" | |
| }, | |
| "date_placed": "2012-08-18 21:59:49", | |
| "detail_ip": { | |
| "address": "76.181.170.90", | |
| "area_code": 614, | |
| "city": "Columbus", | |
| "country": "United States", | |
| "country_code": "US", | |
| "region": "OH", | |
| "zip": "43204" | |
| }, | |
| "invoices": [ | |
| { | |
| "customer_total": "0.04", | |
| "date_placed": "2012-08-18 21:59:49", | |
| "date_shipped": null, | |
| "date_vendor_paid": null, | |
| "fees_2co": "0.46", | |
| "invoice_id": "4786442120", | |
| "lineitems": [ | |
| { | |
| "affiliate_vendor_id": null, | |
| "billing": { | |
| "amount": "0.01", | |
| "bill_method": "paypal_int", | |
| "billing_id": "4786442132", | |
| "customer_amount": "0.01", | |
| "customer_id": "4786442117", | |
| "date_deposited": "2012-08-18", | |
| "date_end": "1999-01-01", | |
| "date_fail": "2012-08-25", | |
| "date_next": "2012-08-25", | |
| "date_pending": "2012-08-18", | |
| "date_start": "2012-08-20", | |
| "lineitem_id": "4786442126", | |
| "recurring_status": "stopped", | |
| "status": "bill", | |
| "usd_amount": "0.01", | |
| "vendor_amount": "0.01" | |
| }, | |
| "commission": null, | |
| "commission_affiliate_vendor_id": null, | |
| "commission_flat_rate": null, | |
| "commission_percentage": null, | |
| "commission_type": null, | |
| "commission_usd_amount": null, | |
| "customer_amount": "0.01", | |
| "flat_rate": null, | |
| "installment": "1", | |
| "invoice_id": "4786442120", | |
| "lc_affiliate_vendor_id": null, | |
| "lc_usd_amount": null, | |
| "lineitem_id": "4786442126", | |
| "linked_id": null, | |
| "options": [ | |
| ], | |
| "percentage": null, | |
| "product_description": "", | |
| "product_duration": "Forever", | |
| "product_handling": "0.00", | |
| "product_id": "4774387610", | |
| "product_is_cart": "0", | |
| "product_name": "Example Product", | |
| "product_price": "0.01", | |
| "product_recurrence": "1 Week", | |
| "product_startup_fee": null, | |
| "product_tangible": "0", | |
| "sale_id": "4786442111", | |
| "status": "bill", | |
| "type": null, | |
| "usd_amount": "0.01", | |
| "usd_commission": null, | |
| "vendor_amount": "0.01", | |
| "vendor_product_id": null | |
| }, | |
| { | |
| "affiliate_vendor_id": null, | |
| "billing": { | |
| "amount": "0.01", | |
| "bill_method": "paypal_int", | |
| "billing_id": "4786442141", | |
| "customer_amount": "0.01", | |
| "customer_id": "4786442117", | |
| "date_deposited": "2012-08-18", | |
| "date_end": "1999-01-01", | |
| "date_fail": "2012-08-25", | |
| "date_next": "2012-08-25", | |
| "date_pending": "2012-08-18", | |
| "date_start": "2012-08-20", | |
| "lineitem_id": "4786442135", | |
| "recurring_status": "stopped", | |
| "status": "bill", | |
| "usd_amount": "0.01", | |
| "vendor_amount": "0.01" | |
| }, | |
| "commission": null, | |
| "commission_affiliate_vendor_id": null, | |
| "commission_flat_rate": null, | |
| "commission_percentage": null, | |
| "commission_type": null, | |
| "commission_usd_amount": null, | |
| "customer_amount": "0.01", | |
| "flat_rate": null, | |
| "installment": "1", | |
| "invoice_id": "4786442120", | |
| "lc_affiliate_vendor_id": null, | |
| "lc_usd_amount": null, | |
| "lineitem_id": "4786442135", | |
| "linked_id": null, | |
| "options": [ | |
| ], | |
| "percentage": null, | |
| "product_description": "", | |
| "product_duration": "Forever", | |
| "product_handling": "0.00", | |
| "product_id": "4774387610", | |
| "product_is_cart": "0", | |
| "product_name": "Example Product", | |
| "product_price": "0.01", | |
| "product_recurrence": "1 Week", | |
| "product_startup_fee": null, | |
| "product_tangible": "0", | |
| "sale_id": "4786442111", | |
| "status": "bill", | |
| "type": null, | |
| "usd_amount": "0.01", | |
| "usd_commission": null, | |
| "vendor_amount": "0.01", | |
| "vendor_product_id": null | |
| }, | |
| { | |
| "affiliate_vendor_id": null, | |
| "billing": { | |
| "amount": "0.01", | |
| "bill_method": "paypal_int", | |
| "billing_id": "4786442150", | |
| "customer_amount": "0.01", | |
| "customer_id": "4786442117", | |
| "date_deposited": "2012-08-18", | |
| "date_end": "1999-01-01", | |
| "date_fail": "2012-08-25", | |
| "date_next": "2012-08-25", | |
| "date_pending": "2012-08-18", | |
| "date_start": "2012-08-20", | |
| "lineitem_id": "4786442144", | |
| "recurring_status": "stopped", | |
| "status": "bill", | |
| "usd_amount": "0.01", | |
| "vendor_amount": "0.01" | |
| }, | |
| "commission": null, | |
| "commission_affiliate_vendor_id": null, | |
| "commission_flat_rate": null, | |
| "commission_percentage": null, | |
| "commission_type": null, | |
| "commission_usd_amount": null, | |
| "customer_amount": "0.01", | |
| "flat_rate": null, | |
| "installment": "1", | |
| "invoice_id": "4786442120", | |
| "lc_affiliate_vendor_id": null, | |
| "lc_usd_amount": null, | |
| "lineitem_id": "4786442144", | |
| "linked_id": null, | |
| "options": [ | |
| ], | |
| "percentage": null, | |
| "product_description": "", | |
| "product_duration": "Forever", | |
| "product_handling": "0.00", | |
| "product_id": "4774387610", | |
| "product_is_cart": "0", | |
| "product_name": "Example Product", | |
| "product_price": "0.01", | |
| "product_recurrence": "1 Week", | |
| "product_startup_fee": null, | |
| "product_tangible": "0", | |
| "sale_id": "4786442111", | |
| "status": "bill", | |
| "type": null, | |
| "usd_amount": "0.01", | |
| "usd_commission": null, | |
| "vendor_amount": "0.01", | |
| "vendor_product_id": null | |
| }, | |
| { | |
| "affiliate_vendor_id": null, | |
| "billing": { | |
| "amount": "0.01", | |
| "bill_method": "paypal_int", | |
| "billing_id": "4786442159", | |
| "customer_amount": "0.01", | |
| "customer_id": "4786442117", | |
| "date_deposited": "2012-08-18", | |
| "date_end": "1999-01-01", | |
| "date_fail": "2012-08-25", | |
| "date_next": "2012-08-25", | |
| "date_pending": "2012-08-18", | |
| "date_start": "2012-08-20", | |
| "lineitem_id": "4786442153", | |
| "recurring_status": "stopped", | |
| "status": "bill", | |
| "usd_amount": "0.01", | |
| "vendor_amount": "0.01" | |
| }, | |
| "commission": null, | |
| "commission_affiliate_vendor_id": null, | |
| "commission_flat_rate": null, | |
| "commission_percentage": null, | |
| "commission_type": null, | |
| "commission_usd_amount": null, | |
| "customer_amount": "0.01", | |
| "flat_rate": null, | |
| "installment": "1", | |
| "invoice_id": "4786442120", | |
| "lc_affiliate_vendor_id": null, | |
| "lc_usd_amount": null, | |
| "lineitem_id": "4786442153", | |
| "linked_id": null, | |
| "options": [ | |
| ], | |
| "percentage": null, | |
| "product_description": "", | |
| "product_duration": "Forever", | |
| "product_handling": "0.00", | |
| "product_id": "4774387610", | |
| "product_is_cart": "0", | |
| "product_name": "Example Product", | |
| "product_price": "0.01", | |
| "product_recurrence": "1 Week", | |
| "product_startup_fee": null, | |
| "product_tangible": "0", | |
| "sale_id": "4786442111", | |
| "status": "bill", | |
| "type": null, | |
| "usd_amount": "0.01", | |
| "usd_commission": null, | |
| "vendor_amount": "0.01", | |
| "vendor_product_id": null | |
| }, | |
| { | |
| "affiliate_vendor_id": null, | |
| "billing": { | |
| "amount": "0.01", | |
| "bill_method": "paypal_int", | |
| "billing_id": "4792640303", | |
| "customer_amount": "0.01", | |
| "customer_id": "4786442117", | |
| "date_deposited": "2012-08-26", | |
| "date_end": null, | |
| "date_fail": "2012-08-31", | |
| "date_next": null, | |
| "date_pending": "2012-08-26", | |
| "date_start": "2012-08-26", | |
| "lineitem_id": "4792640300", | |
| "recurring_status": null, | |
| "status": "refund", | |
| "usd_amount": "0.01", | |
| "vendor_amount": "0.01" | |
| }, | |
| "commission": null, | |
| "commission_affiliate_vendor_id": null, | |
| "commission_flat_rate": null, | |
| "commission_percentage": null, | |
| "commission_type": null, | |
| "commission_usd_amount": null, | |
| "customer_amount": "0.01", | |
| "flat_rate": null, | |
| "installment": "1", | |
| "invoice_id": "4786442120", | |
| "lc_affiliate_vendor_id": null, | |
| "lc_usd_amount": null, | |
| "lineitem_id": "4792640300", | |
| "linked_id": "4786442126", | |
| "options": [ | |
| ], | |
| "percentage": null, | |
| "product_description": "", | |
| "product_duration": "Forever", | |
| "product_handling": "0.00", | |
| "product_id": "4774387610", | |
| "product_is_cart": "0", | |
| "product_name": "Example Product", | |
| "product_price": "0.01", | |
| "product_recurrence": "1 Week", | |
| "product_startup_fee": null, | |
| "product_tangible": "0", | |
| "sale_id": "4786442111", | |
| "status": "refund", | |
| "type": null, | |
| "usd_amount": "0.01", | |
| "usd_commission": null, | |
| "vendor_amount": "0.01", | |
| "vendor_product_id": null | |
| }, | |
| { | |
| "affiliate_vendor_id": null, | |
| "billing": { | |
| "amount": "0.01", | |
| "bill_method": "paypal_int", | |
| "billing_id": "4792640309", | |
| "customer_amount": "0.01", | |
| "customer_id": "4786442117", | |
| "date_deposited": "2012-08-26", | |
| "date_end": null, | |
| "date_fail": "2012-08-31", | |
| "date_next": null, | |
| "date_pending": "2012-08-26", | |
| "date_start": "2012-08-26", | |
| "lineitem_id": "4792640306", | |
| "recurring_status": null, | |
| "status": "refund", | |
| "usd_amount": "0.01", | |
| "vendor_amount": "0.01" | |
| }, | |
| "commission": null, | |
| "commission_affiliate_vendor_id": null, | |
| "commission_flat_rate": null, | |
| "commission_percentage": null, | |
| "commission_type": null, | |
| "commission_usd_amount": null, | |
| "customer_amount": "0.01", | |
| "flat_rate": null, | |
| "installment": "1", | |
| "invoice_id": "4786442120", | |
| "lc_affiliate_vendor_id": null, | |
| "lc_usd_amount": null, | |
| "lineitem_id": "4792640306", | |
| "linked_id": "4786442135", | |
| "options": [ | |
| ], | |
| "percentage": null, | |
| "product_description": "", | |
| "product_duration": "Forever", | |
| "product_handling": "0.00", | |
| "product_id": "4774387610", | |
| "product_is_cart": "0", | |
| "product_name": "Example Product", | |
| "product_price": "0.01", | |
| "product_recurrence": "1 Week", | |
| "product_startup_fee": null, | |
| "product_tangible": "0", | |
| "sale_id": "4786442111", | |
| "status": "refund", | |
| "type": null, | |
| "usd_amount": "0.01", | |
| "usd_commission": null, | |
| "vendor_amount": "0.01", | |
| "vendor_product_id": null | |
| }, | |
| { | |
| "affiliate_vendor_id": null, | |
| "billing": { | |
| "amount": "0.01", | |
| "bill_method": "paypal_int", | |
| "billing_id": "4792640315", | |
| "customer_amount": "0.01", | |
| "customer_id": "4786442117", | |
| "date_deposited": "2012-08-26", | |
| "date_end": null, | |
| "date_fail": "2012-08-31", | |
| "date_next": null, | |
| "date_pending": "2012-08-26", | |
| "date_start": "2012-08-26", | |
| "lineitem_id": "4792640312", | |
| "recurring_status": null, | |
| "status": "refund", | |
| "usd_amount": "0.01", | |
| "vendor_amount": "0.01" | |
| }, | |
| "commission": null, | |
| "commission_affiliate_vendor_id": null, | |
| "commission_flat_rate": null, | |
| "commission_percentage": null, | |
| "commission_type": null, | |
| "commission_usd_amount": null, | |
| "customer_amount": "0.01", | |
| "flat_rate": null, | |
| "installment": "1", | |
| "invoice_id": "4786442120", | |
| "lc_affiliate_vendor_id": null, | |
| "lc_usd_amount": null, | |
| "lineitem_id": "4792640312", | |
| "linked_id": "4786442144", | |
| "options": [ | |
| ], | |
| "percentage": null, | |
| "product_description": "", | |
| "product_duration": "Forever", | |
| "product_handling": "0.00", | |
| "product_id": "4774387610", | |
| "product_is_cart": "0", | |
| "product_name": "Example Product", | |
| "product_price": "0.01", | |
| "product_recurrence": "1 Week", | |
| "product_startup_fee": null, | |
| "product_tangible": "0", | |
| "sale_id": "4786442111", | |
| "status": "refund", | |
| "type": null, | |
| "usd_amount": "0.01", | |
| "usd_commission": null, | |
| "vendor_amount": "0.01", | |
| "vendor_product_id": null | |
| }, | |
| { | |
| "affiliate_vendor_id": null, | |
| "billing": { | |
| "amount": "0.01", | |
| "bill_method": "paypal_int", | |
| "billing_id": "4792640321", | |
| "customer_amount": "0.01", | |
| "customer_id": "4786442117", | |
| "date_deposited": "2012-08-26", | |
| "date_end": null, | |
| "date_fail": "2012-08-31", | |
| "date_next": null, | |
| "date_pending": "2012-08-26", | |
| "date_start": "2012-08-26", | |
| "lineitem_id": "4792640318", | |
| "recurring_status": null, | |
| "status": "refund", | |
| "usd_amount": "0.01", | |
| "vendor_amount": "0.01" | |
| }, | |
| "commission": null, | |
| "commission_affiliate_vendor_id": null, | |
| "commission_flat_rate": null, | |
| "commission_percentage": null, | |
| "commission_type": null, | |
| "commission_usd_amount": null, | |
| "customer_amount": "0.01", | |
| "flat_rate": null, | |
| "installment": "1", | |
| "invoice_id": "4786442120", | |
| "lc_affiliate_vendor_id": null, | |
| "lc_usd_amount": null, | |
| "lineitem_id": "4792640318", | |
| "linked_id": "4786442153", | |
| "options": [ | |
| ], | |
| "percentage": null, | |
| "product_description": "", | |
| "product_duration": "Forever", | |
| "product_handling": "0.00", | |
| "product_id": "4774387610", | |
| "product_is_cart": "0", | |
| "product_name": "Example Product", | |
| "product_price": "0.01", | |
| "product_recurrence": "1 Week", | |
| "product_startup_fee": null, | |
| "product_tangible": "0", | |
| "sale_id": "4786442111", | |
| "status": "refund", | |
| "type": null, | |
| "usd_amount": "0.01", | |
| "usd_commission": null, | |
| "vendor_amount": "0.01", | |
| "vendor_product_id": null | |
| } | |
| ], | |
| "recurring": "1", | |
| "referrer": "https://www.2checkout.com/va/products/detail_html_snippet?product_id=4774387610", | |
| "sale_id": "4786442111", | |
| "shipping": null, | |
| "status": "deposited", | |
| "usd_total": "0.04", | |
| "vendor_id": "1817037", | |
| "vendor_order_id": null, | |
| "vendor_total": "0.04" | |
| } | |
| ], | |
| "ip_address": "76.181.170.90", | |
| "ip_country": "United States", | |
| "recurring_decline": null, | |
| "sale_id": "4786442111" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment