curl \
  -X POST \
  -u live_6bef044e1cd97bfefa967e5ff72b13a5f7e9dc10: \
  -d '{
    "template": "tem_RKjxcPSqb9fpHQVV4FRDxb6W",
    "recipient": {
      "address": "developer@texaselectricityratings.com"
    },
    "sender": {
      "address": "customersupport@texaselectricityratings.com",
      "reply_to": "customersupport@texaselectricityratings.com",
      "name": "DEV Texas Electricity Ratings"
    },
    "template_data": {
      "ticket_id": "1623169180875574832",
      "base64_email": "ZGV2ZWxvcGVyQHRleGFzZWxlY3RyaWNpdHlyYXRpbmdzLmNvbQ==",
      "ter_order_id": "1341952",
      "ter_username": "",
      "cart_summary": "CART SUMMARY STUB",
      "provider_order_id": "24682468",
      "first_name": "Test",
      "last_name": "Test",
      "provider_name": "Energy Texas",
      "provider_customer_service": "",
      "plan_name": "Long Lasting 60",
      "plan_rate": "11.20000",
      "plan_term": "60",
      "plan_start": "6/14/2021",
      "partner_name": "Energy Texas",
      "service_addr1": "19102 CHALLE CIRCLE EAST",
      "service_addr2": "",
      "service_city": "SPRING",
      "service_state": "TX",
      "service_zip": "77373",
      "tos": "/plan-documents/long-lasting-60-tos.pdf",
      "efl": "Your Documents:<br><a class=\"alt\" rel=\"nofollow\" href=\"\/plan-documents\/long-lasting-60-efl-cnp.pdf\" target=\"_blank\">Electricity Facts Label<\/a><br><a class=\"alt\" rel=\"nofollow\" href=\"\/plan-documents\/yrac.pdf\" target=\"_blank\">Your Rights as a Customer<\/a><br><a class=\"alt\" rel=\"nofollow\" href=\"\/plan-documents\/long-lasting-60-tos.pdf\" target=\"_blank\">Terms of Service<\/a>",
      "contact": "<b>This email is for your records only. Energy Texas will confirm your enrollment details via email.</b>",
      "site_logo": "https://www.texaselectricityratings.com/images/logos/tx-logo.png",
      "site_url": "TexasElectricityRatings.com",
      "site_url_lc": "texaselectricityratings.com",
      "site_name": "DEV Texas Electricity Ratings",
      "site_phone": "(866) 303-9147",
      "site_short_name": "TER",
      "commodity": "Electricity",
      "plan_rate_desc": "&cent;/kWh",
      "button_text": "Click"
    }
  }' \
https://api.sendwithus.com/api/v1/send
