{
  "status": "CANCELLED",
  "status_update_time": "2023-07-31T11:33:32Z",
  "id": "I-JW7F1RK5KN8W",
  "plan_id": "P-44P20109YP226262JMQN5W5Q",
  "start_time": "2023-07-17T14:31:50Z",
  "quantity": "1",
  "shipping_amount": {
    "currency_code": "USD",
    "value": "0.0"
  },
  "subscriber": {
    "email_address": "marelizebadenhorst1@gmail.com",
    "payer_id": "ABLRCP2XJ5MHQ",
    "name": {
      "given_name": "Hermanus",
      "surname": "Badenhorst"
    }
  },
  "billing_info": {
    "outstanding_balance": {
      "currency_code": "USD",
      "value": "0.0"
    },
    "cycle_executions": [{
      "tenure_type": "TRIAL",
      "sequence": 1,
      "cycles_completed": 1,
      "cycles_remaining": 0,
      "current_pricing_scheme_version": 1,
      "total_cycles": 1
    }, {
      "tenure_type": "REGULAR",
      "sequence": 2,
      "cycles_completed": 1,
      "cycles_remaining": 0,
      "current_pricing_scheme_version": 1,
      "total_cycles": 0
    }],
    "last_payment": {
      "amount": {
        "currency_code": "USD",
        "value": "191.4"
      },
      "time": "2023-07-31T11:13:59Z"
    },
    "failed_payments_count": 0
  },
  "create_time": "2023-07-17T14:32:34Z",
  "update_time": "2023-07-31T11:33:32Z",
  "custom_id": "1689604299429-0449",
  "plan_overridden": true,
  "plan": {
    "product_id": "somiibo-premium-1",
    "name": "Somiibo Premium (Annually)",
    "description": "A free social media automation platform that organically grows your online presence and gets you more followers.",
    "billing_cycles": [{
      "pricing_scheme": {
        "fixed_price": {
          "currency_code": "USD",
          "value": "7.97"
        }
      },
      "frequency": {
        "interval_unit": "DAY",
        "interval_count": 14
      },
      "tenure_type": "TRIAL",
      "sequence": 1,
      "total_cycles": 1
    }, {
      "pricing_scheme": {
        "fixed_price": {
          "currency_code": "USD",
          "value": "191.4"
        }
      },
      "frequency": {
        "interval_unit": "YEAR",
        "interval_count": 1
      },
      "tenure_type": "REGULAR",
      "sequence": 2,
      "total_cycles": 0
    }],
    "payment_preferences": {
      "service_type": "PREPAID",
      "auto_bill_outstanding": true,
      "setup_fee": {
        "currency_code": "USD",
        "value": "0.0"
      },
      "setup_fee_failure_action": "CANCEL",
      "payment_failure_threshold": 0
    },
    "quantity_supported": true
  },
  "links": [{
    "href": "https://api.paypal.com/v1/billing/subscriptions/I-JW7F1RK5KN8W?fields=plan",
    "rel": "self",
    "method": "GET"
  }],
  "transactions": [
    {
      "status": "REFUNDED",
      "id": "7B334072AD617833H",
      "amount_with_breakdown": {
        "gross_amount": {
          "currency_code": "USD",
          "value": "191.40"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "7.17"
        },
        "net_amount": {
          "currency_code": "USD",
          "value": "184.23"
        }
      },
      "payer_name": {},
      "payer_email": "marelizebadenhorst1@gmail.com",
      "time": "2023-07-31T11:13:59.000Z"
    },
    {
      "status": "COMPLETED",
      "id": "9FN70850R6023042Y",
      "amount_with_breakdown": {
        "gross_amount": {
          "currency_code": "USD",
          "value": "7.97"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "0.77"
        },
        "net_amount": {
          "currency_code": "USD",
          "value": "7.20"
        }
      },
      "payer_name": {},
      "payer_email": "marelizebadenhorst1@gmail.com",
      "time": "2023-07-17T14:32:34.000Z"
    }
  ]
}
