Create Partner Certificate
POSThttps://api.verticalinsure.com/v1/partners/certificate
Create a partner certificate for which you can later create entitlements for
Request
- application/json
Bodyrequired
partner_id uuid
certificate_type string
Possible values: [refund-protection
, accident-coverage
, shipping
]
Responses
- 201
Created
- application/json
- Schema
- Example (auto)
Schema
id uuid
policy_number string
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"policy_number": "string"
}
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
- python
- nodejs
- ruby
- php
- CURL
curl -L 'https://api.verticalinsure.com/v1/partners/certificate' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"partner_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"certificate_type": "refund-protection"
}'
ResponseClear