The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
22
By Guest on 26th September 2018 01:34:24 PM | Syntax: JAVASCRIPT | Views: 1



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. {
  2.   "id": "WH-5MV021968B5535053-89068630FT183803H",
  3.   "event_version": "1.0",
  4.   "create_time": "2018-09-25T15:55:14.046Z",
  5.   "resource_type": "Agreement",
  6.   "event_type": "BILLING.SUBSCRIPTION.CREATED",
  7.   "summary": "A billing subscription was created",
  8.   "resource": {
  9.     "agreement_details": {
  10.       "outstanding_balance": {
  11.         "value": "0.00"
  12.       },
  13.       "num_cycles_remaining": "0",
  14.       "num_cycles_completed": "0",
  15.       "next_billing_date": "2018-09-25T10:00:00Z",
  16.       "last_payment_date": "2018-09-25T15:55:12Z",
  17.       "last_payment_amount": {
  18.         "value": "10.00"
  19.       },
  20.       "final_payment_due_date": "1970-01-01T00:00:00Z",
  21.       "failed_payment_count": "0"
  22.     },
  23.     "description": "G-Plans Subscription (99.00 USD 3 monthly) (Dr. Goglia's Healthy Recipes & Cookbooks included)",
  24.     "links": [
  25.       {
  26.         "href": "api.paypal.com/v1/payments/billing-agreements/I-V3RX6XLRH7PT",
  27.         "rel": "self",
  28.         "method": "GET"
  29.       }
  30.     ],
  31.     "shipping_address": {
  32.       "recipient_name": "Tana Simmons",
  33.       "line1": "25296 Robinson Creek Lane",
  34.       "city": "Menifee",
  35.       "state": "CA",
  36.       "postal_code": "92584",
  37.       "country_code": "US"
  38.     },
  39.     "id": "I-V3RX6XLRH7PT",
  40.     "state": "Active",
  41.     "payer": {
  42.       "payment_method": "paypal",
  43.       "status": "unverified",
  44.       "payer_info": {
  45.         "email": "tksimmonsdvm@msn.com",
  46.         "first_name": "Tana",
  47.         "last_name": "Simmons",
  48.         "payer_id": "VGXHFMJ7UNRDG",
  49.         "shipping_address": {
  50.           "recipient_name": "Tana Simmons",
  51.           "line1": "25296 Robinson Creek Lane",
  52.           "city": "Menifee",
  53.           "state": "CA",
  54.           "postal_code": "92584",
  55.           "country_code": "US"
  56.         }
  57.       }
  58.     },
  59.     "plan": {
  60.       "curr_code": "USD",
  61.       "links": [],
  62.       "payment_definitions": [
  63.         {
  64.           "type": "REGULAR",
  65.           "frequency": "Month",
  66.           "frequency_interval": "3",
  67.           "amount": {
  68.             "value": "99.00"
  69.           },
  70.           "cycles": "0",
  71.           "charge_models": [
  72.             {
  73.               "type": "TAX",
  74.               "amount": {
  75.                 "value": "0.00"
  76.               }
  77.             },
  78.             {
  79.               "type": "SHIPPING",
  80.               "amount": {
  81.                 "value": "0.00"
  82.               }
  83.             }
  84.           ]
  85.         }
  86.       ],
  87.       "merchant_preferences": {
  88.         "setup_fee": {
  89.           "value": "10.00"
  90.         },
  91.         "auto_bill_amount": "YES",
  92.         "max_fail_attempts": "3"
  93.       }
  94.     },
  95.     "start_date": "2018-09-25T07:00:00Z"
  96.   },
  97.   "links": [
  98.     {
  99.       "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-5MV021968B5535053-89068630FT183803H",
  100.       "rel": "self",
  101.       "method": "GET"
  102.     },
  103.     {
  104.       "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-5MV021968B5535053-89068630FT183803H/resend",
  105.       "rel": "resend",
  106.       "method": "POST"
  107.     }
  108.   ]
  109. }



  • Recent Pastes