Bind Insurance
Bind an Insurance Policy
Used to bind an insurance policy with a JustiFi insurance partner
post/insurance/bind
Request
- Base URLhttps://api.justifi.ai/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring required
the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)
Request body
Example request
{
"payment_method_id": "pm_123",
"amount": 10000,
"currency": "usd",
"partner_quote_id": "ins-test-123",
"partner_name": "vertical_insure",
"metadata": {}
}Response
Insurance Policy was bound successfully
Example response
{
"id": "ins_xyz",
"type": "insurance_policy",
"data": {
"id": "ins_xyz",
"account_id": "acc_xyz",
"amount": 10000,
"currency": "usd",
"partner_name": "vertical_insure",
"partner_quote_id": "test-123",
"metadata": {},
"created_at": "2021-01-01T12:00:00Z",
"updated_at": "2021-01-01T12:00:00Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.