Skip to main content

Purchase Tuition Insurance

POST 

https://api.verticalinsure.com/v1/purchase/tuition

Purchase Tuition Insurance

Request

Responses

New policy issued

Authorization: http

name: basic authtype: httpdescription: `Authorization` header with value of `Basic <auth string>` where the `auth string` value
is a base64 encoded string of `<client id>:<client secret>`
scheme: basic
curl -L 'https://api.verticalinsure.com/v1/purchase/tuition' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"customer": {
"email_address": "user@example.com",
"state": "MN",
"country": "US",
"postal_code": "string",
"first_name": "string",
"middle_name": "string",
"last_name": "string",
"phone_number": "string",
"street": "string",
"city": "string"
},
"metadata": {},
"quote_id": "string",
"payment_method": {
"card": {
"name": "string",
"number": "string",
"verification": "string",
"month": "string",
"year": "string",
"address_postal_code": "string"
},
"bank_account": {
"currency": "string",
"account_owner_name": "string",
"routing_number": "string",
"account_number": "string",
"account_type": "string",
"account_owner_type": "string",
"country": "string"
},
"token": "string",
"save_for_future_use": true
},
"subscription": true
}'
Request Collapse all
Base URL
https://api.verticalinsure.com
Auth
Body required
{
  "customer": {
    "email_address": "user@example.com",
    "state": "MN",
    "country": "US",
    "postal_code": "string",
    "first_name": "string",
    "middle_name": "string",
    "last_name": "string",
    "phone_number": "string",
    "street": "string",
    "city": "string"
  },
  "metadata": {},
  "quote_id": "string",
  "payment_method": {
    "card": {
      "name": "string",
      "number": "string",
      "verification": "string",
      "month": "string",
      "year": "string",
      "address_postal_code": "string"
    },
    "bank_account": {
      "currency": "string",
      "account_owner_name": "string",
      "routing_number": "string",
      "account_number": "string",
      "account_type": "string",
      "account_owner_type": "string",
      "country": "string"
    },
    "token": "string",
    "save_for_future_use": true
  },
  "subscription": true
}
ResponseClear

Click the Send API Request button above and see the response here!