Advertisement
Guest User

Untitled

a guest
Sep 4th, 2018
581
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 20.99 KB | None | 0 0
  1. {
  2.     "success": true,
  3.     "customer": {
  4.         "id": "5b8d303c6861842934687bb5",
  5.         "merchantId": "wjdxkr5mydq87nnw",
  6.         "firstName": "Michal",
  7.         "lastName": "Makowski",
  8.         "company": null,
  9.         "email": null,
  10.         "phone": null,
  11.         "fax": null,
  12.         "website": null,
  13.         "createdAt": "2018-09-03T13:53:27Z",
  14.         "updatedAt": "2018-09-03T14:38:12Z",
  15.         "customFields": "",
  16.         "creditCards": [
  17.             {
  18.                 "billingAddress": {
  19.                     "id": "q8",
  20.                     "customerId": "5b8d303c6861842934687bb5",
  21.                     "firstName": null,
  22.                     "lastName": null,
  23.                     "company": null,
  24.                     "streetAddress": null,
  25.                     "extendedAddress": null,
  26.                     "locality": null,
  27.                     "region": null,
  28.                     "postalCode": "94107",
  29.                     "countryCodeAlpha2": null,
  30.                     "countryCodeAlpha3": null,
  31.                     "countryCodeNumeric": null,
  32.                     "countryName": null,
  33.                     "createdAt": "2018-09-03T14:38:12Z",
  34.                     "updatedAt": "2018-09-03T14:38:12Z"
  35.                 },
  36.                 "bin": "401288",
  37.                 "cardType": "Visa",
  38.                 "cardholderName": null,
  39.                 "commercial": "Unknown",
  40.                 "countryOfIssuance": "Unknown",
  41.                 "createdAt": "2018-09-03T14:38:12Z",
  42.                 "customerId": "5b8d303c6861842934687bb5",
  43.                 "customerLocation": "US",
  44.                 "debit": "Unknown",
  45.                 "default": true,
  46.                 "durbinRegulated": "Unknown",
  47.                 "expirationMonth": "12",
  48.                 "expirationYear": "2019",
  49.                 "expired": false,
  50.                 "healthcare": "Unknown",
  51.                 "imageUrl": "https://assets.braintreegateway.com/payment_method_logo/visa.png?environment=sandbox",
  52.                 "issuingBank": "Unknown",
  53.                 "last4": "1881",
  54.                 "payroll": "Unknown",
  55.                 "prepaid": "No",
  56.                 "productId": "Unknown",
  57.                 "subscriptions": [
  58.                     {
  59.                         "addOns": [],
  60.                         "balance": "0.00",
  61.                         "billingDayOfMonth": 17,
  62.                         "billingPeriodEndDate": null,
  63.                         "billingPeriodStartDate": null,
  64.                         "createdAt": "2018-09-03T14:52:09Z",
  65.                         "updatedAt": "2018-09-03T15:12:43Z",
  66.                         "currentBillingCycle": 0,
  67.                         "daysPastDue": null,
  68.                         "discounts": [],
  69.                         "failureCount": 0,
  70.                         "firstBillingDate": "2018-09-17",
  71.                         "id": "88k98m",
  72.                         "merchantAccountId": "adtype-eur",
  73.                         "neverExpires": true,
  74.                         "nextBillAmount": "199.99",
  75.                         "nextBillingPeriodAmount": "199.99",
  76.                         "nextBillingDate": "2018-09-17",
  77.                         "numberOfBillingCycles": null,
  78.                         "paidThroughDate": null,
  79.                         "paymentMethodToken": "h8zmm7",
  80.                         "planId": "basicAnalyticsPlan",
  81.                         "price": "199.99",
  82.                         "status": "Canceled",
  83.                         "trialDuration": 14,
  84.                         "trialDurationUnit": "day",
  85.                         "trialPeriod": true,
  86.                         "descriptor": {
  87.                             "name": null,
  88.                             "phone": null,
  89.                             "url": null
  90.                         },
  91.                         "description": null,
  92.                         "transactions": [],
  93.                         "statusHistory": [
  94.                             {
  95.                                 "timestamp": "2018-09-03T15:12:43Z",
  96.                                 "status": "Canceled",
  97.                                 "user": "michal.makowski97@gmail.com",
  98.                                 "subscriptionSource": "api",
  99.                                 "balance": "0.00",
  100.                                 "price": "199.99",
  101.                                 "currencyIsoCode": "EUR",
  102.                                 "planId": "basicAnalyticsPlan"
  103.                             },
  104.                             {
  105.                                 "timestamp": "2018-09-03T15:12:43Z",
  106.                                 "status": "Canceled",
  107.                                 "user": "michal.makowski97@gmail.com",
  108.                                 "subscriptionSource": "api",
  109.                                 "balance": "0.00",
  110.                                 "price": "199.99",
  111.                                 "currencyIsoCode": "EUR",
  112.                                 "planId": "basicAnalyticsPlan"
  113.                             },
  114.                             {
  115.                                 "timestamp": "2018-09-03T14:52:09Z",
  116.                                 "status": "Active",
  117.                                 "user": "michal.makowski97@gmail.com",
  118.                                 "subscriptionSource": "api",
  119.                                 "balance": "0.00",
  120.                                 "price": "199.99",
  121.                                 "currencyIsoCode": "EUR",
  122.                                 "planId": "basicAnalyticsPlan"
  123.                             },
  124.                             {
  125.                                 "timestamp": "2018-09-03T14:52:09Z",
  126.                                 "status": "Active",
  127.                                 "user": "michal.makowski97@gmail.com",
  128.                                 "subscriptionSource": "api",
  129.                                 "balance": "0.00",
  130.                                 "price": "199.99",
  131.                                 "currencyIsoCode": "EUR",
  132.                                 "planId": "basicAnalyticsPlan"
  133.                             }
  134.                         ]
  135.                     },
  136.                     {
  137.                         "addOns": [],
  138.                         "balance": "0.00",
  139.                         "billingDayOfMonth": 18,
  140.                         "billingPeriodEndDate": null,
  141.                         "billingPeriodStartDate": null,
  142.                         "createdAt": "2018-09-04T08:20:17Z",
  143.                         "updatedAt": "2018-09-04T08:37:20Z",
  144.                         "currentBillingCycle": 0,
  145.                         "daysPastDue": null,
  146.                         "discounts": [],
  147.                         "failureCount": 0,
  148.                         "firstBillingDate": "2018-09-18",
  149.                         "id": "fq8s7g",
  150.                         "merchantAccountId": "adtype-eur",
  151.                         "neverExpires": true,
  152.                         "nextBillAmount": "199.99",
  153.                         "nextBillingPeriodAmount": "199.99",
  154.                         "nextBillingDate": "2018-09-18",
  155.                         "numberOfBillingCycles": null,
  156.                         "paidThroughDate": null,
  157.                         "paymentMethodToken": "h8zmm7",
  158.                         "planId": "commonAnalyticsPlan",
  159.                         "price": "199.99",
  160.                         "status": "Active",
  161.                         "trialDuration": 14,
  162.                         "trialDurationUnit": "day",
  163.                         "trialPeriod": true,
  164.                         "descriptor": {
  165.                             "name": null,
  166.                             "phone": null,
  167.                             "url": null
  168.                         },
  169.                         "description": null,
  170.                         "transactions": [],
  171.                         "statusHistory": [
  172.                             {
  173.                                 "timestamp": "2018-09-04T08:37:20Z",
  174.                                 "status": "Active",
  175.                                 "user": "michal.makowski97@gmail.com",
  176.                                 "subscriptionSource": "api",
  177.                                 "balance": "0.00",
  178.                                 "price": "199.99",
  179.                                 "currencyIsoCode": "EUR",
  180.                                 "planId": "commonAnalyticsPlan"
  181.                             },
  182.                             {
  183.                                 "timestamp": "2018-09-04T08:37:20Z",
  184.                                 "status": "Active",
  185.                                 "user": "michal.makowski97@gmail.com",
  186.                                 "subscriptionSource": "api",
  187.                                 "balance": "0.00",
  188.                                 "price": "199.99",
  189.                                 "currencyIsoCode": "EUR",
  190.                                 "planId": "commonAnalyticsPlan"
  191.                             },
  192.                             {
  193.                                 "timestamp": "2018-09-04T08:20:17Z",
  194.                                 "status": "Active",
  195.                                 "user": "michal.makowski97@gmail.com",
  196.                                 "subscriptionSource": "api",
  197.                                 "balance": "0.00",
  198.                                 "price": "199.99",
  199.                                 "currencyIsoCode": "EUR",
  200.                                 "planId": "basicAnalyticsPlan"
  201.                             },
  202.                             {
  203.                                 "timestamp": "2018-09-04T08:20:17Z",
  204.                                 "status": "Active",
  205.                                 "user": "michal.makowski97@gmail.com",
  206.                                 "subscriptionSource": "api",
  207.                                 "balance": "0.00",
  208.                                 "price": "199.99",
  209.                                 "currencyIsoCode": "EUR",
  210.                                 "planId": "basicAnalyticsPlan"
  211.                             }
  212.                         ]
  213.                     }
  214.                 ],
  215.                 "token": "h8zmm7",
  216.                 "uniqueNumberIdentifier": "40da1792aa969be5baf563aba0047f7d",
  217.                 "updatedAt": "2018-09-03T14:38:12Z",
  218.                 "venmoSdk": false,
  219.                 "verifications": [],
  220.                 "maskedNumber": "401288******1881",
  221.                 "expirationDate": "12/2019"
  222.             }
  223.         ],
  224.         "addresses": [
  225.             {
  226.                 "id": "q8",
  227.                 "customerId": "5b8d303c6861842934687bb5",
  228.                 "firstName": null,
  229.                 "lastName": null,
  230.                 "company": null,
  231.                 "streetAddress": null,
  232.                 "extendedAddress": null,
  233.                 "locality": null,
  234.                 "region": null,
  235.                 "postalCode": "94107",
  236.                 "countryCodeAlpha2": null,
  237.                 "countryCodeAlpha3": null,
  238.                 "countryCodeNumeric": null,
  239.                 "countryName": null,
  240.                 "createdAt": "2018-09-03T14:38:12Z",
  241.                 "updatedAt": "2018-09-03T14:38:12Z"
  242.             }
  243.         ],
  244.         "paymentMethods": [
  245.             {
  246.                 "billingAddress": {
  247.                     "id": "q8",
  248.                     "customerId": "5b8d303c6861842934687bb5",
  249.                     "firstName": null,
  250.                     "lastName": null,
  251.                     "company": null,
  252.                     "streetAddress": null,
  253.                     "extendedAddress": null,
  254.                     "locality": null,
  255.                     "region": null,
  256.                     "postalCode": "94107",
  257.                     "countryCodeAlpha2": null,
  258.                     "countryCodeAlpha3": null,
  259.                     "countryCodeNumeric": null,
  260.                     "countryName": null,
  261.                     "createdAt": "2018-09-03T14:38:12Z",
  262.                     "updatedAt": "2018-09-03T14:38:12Z"
  263.                 },
  264.                 "bin": "401288",
  265.                 "cardType": "Visa",
  266.                 "cardholderName": null,
  267.                 "commercial": "Unknown",
  268.                 "countryOfIssuance": "Unknown",
  269.                 "createdAt": "2018-09-03T14:38:12Z",
  270.                 "customerId": "5b8d303c6861842934687bb5",
  271.                 "customerLocation": "US",
  272.                 "debit": "Unknown",
  273.                 "default": true,
  274.                 "durbinRegulated": "Unknown",
  275.                 "expirationMonth": "12",
  276.                 "expirationYear": "2019",
  277.                 "expired": false,
  278.                 "healthcare": "Unknown",
  279.                 "imageUrl": "https://assets.braintreegateway.com/payment_method_logo/visa.png?environment=sandbox",
  280.                 "issuingBank": "Unknown",
  281.                 "last4": "1881",
  282.                 "payroll": "Unknown",
  283.                 "prepaid": "No",
  284.                 "productId": "Unknown",
  285.                 "subscriptions": [
  286.                     {
  287.                         "addOns": [],
  288.                         "balance": "0.00",
  289.                         "billingDayOfMonth": 17,
  290.                         "billingPeriodEndDate": null,
  291.                         "billingPeriodStartDate": null,
  292.                         "createdAt": "2018-09-03T14:52:09Z",
  293.                         "updatedAt": "2018-09-03T15:12:43Z",
  294.                         "currentBillingCycle": 0,
  295.                         "daysPastDue": null,
  296.                         "discounts": [],
  297.                         "failureCount": 0,
  298.                         "firstBillingDate": "2018-09-17",
  299.                         "id": "88k98m",
  300.                         "merchantAccountId": "adtype-eur",
  301.                         "neverExpires": true,
  302.                         "nextBillAmount": "199.99",
  303.                         "nextBillingPeriodAmount": "199.99",
  304.                         "nextBillingDate": "2018-09-17",
  305.                         "numberOfBillingCycles": null,
  306.                         "paidThroughDate": null,
  307.                         "paymentMethodToken": "h8zmm7",
  308.                         "planId": "basicAnalyticsPlan",
  309.                         "price": "199.99",
  310.                         "status": "Canceled",
  311.                         "trialDuration": 14,
  312.                         "trialDurationUnit": "day",
  313.                         "trialPeriod": true,
  314.                         "descriptor": {
  315.                             "name": null,
  316.                             "phone": null,
  317.                             "url": null
  318.                         },
  319.                         "description": null,
  320.                         "transactions": [],
  321.                         "statusHistory": [
  322.                             {
  323.                                 "timestamp": "2018-09-03T15:12:43Z",
  324.                                 "status": "Canceled",
  325.                                 "user": "michal.makowski97@gmail.com",
  326.                                 "subscriptionSource": "api",
  327.                                 "balance": "0.00",
  328.                                 "price": "199.99",
  329.                                 "currencyIsoCode": "EUR",
  330.                                 "planId": "basicAnalyticsPlan"
  331.                             },
  332.                             {
  333.                                 "timestamp": "2018-09-03T15:12:43Z",
  334.                                 "status": "Canceled",
  335.                                 "user": "michal.makowski97@gmail.com",
  336.                                 "subscriptionSource": "api",
  337.                                 "balance": "0.00",
  338.                                 "price": "199.99",
  339.                                 "currencyIsoCode": "EUR",
  340.                                 "planId": "basicAnalyticsPlan"
  341.                             },
  342.                             {
  343.                                 "timestamp": "2018-09-03T14:52:09Z",
  344.                                 "status": "Active",
  345.                                 "user": "michal.makowski97@gmail.com",
  346.                                 "subscriptionSource": "api",
  347.                                 "balance": "0.00",
  348.                                 "price": "199.99",
  349.                                 "currencyIsoCode": "EUR",
  350.                                 "planId": "basicAnalyticsPlan"
  351.                             },
  352.                             {
  353.                                 "timestamp": "2018-09-03T14:52:09Z",
  354.                                 "status": "Active",
  355.                                 "user": "michal.makowski97@gmail.com",
  356.                                 "subscriptionSource": "api",
  357.                                 "balance": "0.00",
  358.                                 "price": "199.99",
  359.                                 "currencyIsoCode": "EUR",
  360.                                 "planId": "basicAnalyticsPlan"
  361.                             }
  362.                         ]
  363.                     },
  364.                     {
  365.                         "addOns": [],
  366.                         "balance": "0.00",
  367.                         "billingDayOfMonth": 18,
  368.                         "billingPeriodEndDate": null,
  369.                         "billingPeriodStartDate": null,
  370.                         "createdAt": "2018-09-04T08:20:17Z",
  371.                         "updatedAt": "2018-09-04T08:37:20Z",
  372.                         "currentBillingCycle": 0,
  373.                         "daysPastDue": null,
  374.                         "discounts": [],
  375.                         "failureCount": 0,
  376.                         "firstBillingDate": "2018-09-18",
  377.                         "id": "fq8s7g",
  378.                         "merchantAccountId": "adtype-eur",
  379.                         "neverExpires": true,
  380.                         "nextBillAmount": "199.99",
  381.                         "nextBillingPeriodAmount": "199.99",
  382.                         "nextBillingDate": "2018-09-18",
  383.                         "numberOfBillingCycles": null,
  384.                         "paidThroughDate": null,
  385.                         "paymentMethodToken": "h8zmm7",
  386.                         "planId": "commonAnalyticsPlan",
  387.                         "price": "199.99",
  388.                         "status": "Active",
  389.                         "trialDuration": 14,
  390.                         "trialDurationUnit": "day",
  391.                         "trialPeriod": true,
  392.                         "descriptor": {
  393.                             "name": null,
  394.                             "phone": null,
  395.                             "url": null
  396.                         },
  397.                         "description": null,
  398.                         "transactions": [],
  399.                         "statusHistory": [
  400.                             {
  401.                                 "timestamp": "2018-09-04T08:37:20Z",
  402.                                 "status": "Active",
  403.                                 "user": "michal.makowski97@gmail.com",
  404.                                 "subscriptionSource": "api",
  405.                                 "balance": "0.00",
  406.                                 "price": "199.99",
  407.                                 "currencyIsoCode": "EUR",
  408.                                 "planId": "commonAnalyticsPlan"
  409.                             },
  410.                             {
  411.                                 "timestamp": "2018-09-04T08:37:20Z",
  412.                                 "status": "Active",
  413.                                 "user": "michal.makowski97@gmail.com",
  414.                                 "subscriptionSource": "api",
  415.                                 "balance": "0.00",
  416.                                 "price": "199.99",
  417.                                 "currencyIsoCode": "EUR",
  418.                                 "planId": "commonAnalyticsPlan"
  419.                             },
  420.                             {
  421.                                 "timestamp": "2018-09-04T08:20:17Z",
  422.                                 "status": "Active",
  423.                                 "user": "michal.makowski97@gmail.com",
  424.                                 "subscriptionSource": "api",
  425.                                 "balance": "0.00",
  426.                                 "price": "199.99",
  427.                                 "currencyIsoCode": "EUR",
  428.                                 "planId": "basicAnalyticsPlan"
  429.                             },
  430.                             {
  431.                                 "timestamp": "2018-09-04T08:20:17Z",
  432.                                 "status": "Active",
  433.                                 "user": "michal.makowski97@gmail.com",
  434.                                 "subscriptionSource": "api",
  435.                                 "balance": "0.00",
  436.                                 "price": "199.99",
  437.                                 "currencyIsoCode": "EUR",
  438.                                 "planId": "basicAnalyticsPlan"
  439.                             }
  440.                         ]
  441.                     }
  442.                 ],
  443.                 "token": "h8zmm7",
  444.                 "uniqueNumberIdentifier": "40da1792aa969be5baf563aba0047f7d",
  445.                 "updatedAt": "2018-09-03T14:38:12Z",
  446.                 "venmoSdk": false,
  447.                 "verifications": [],
  448.                 "maskedNumber": "401288******1881",
  449.                 "expirationDate": "12/2019"
  450.             }
  451.         ]
  452.     }
  453. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement