For requesting a new policy
cURL
curl --request POST \ --url https://staging.yasmina.ai/api/v1/car/policies \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "vin": "<string>", "car_sequence_number": "<string>", "current_car_owner": "<string>", "new_owner_id": "<string>", "extra_fields": { "some_key": "some value", "another_key": 123 } }'
{ "id": 123, "meta_data": {}, "start_date": "<string>", "provider_policy_id": 123, "provider_policy": "<string>", "order_status": 123, "approval_status": 123, "end_date": "<string>", "is_claimed": true, "created_at": "<string>", "updated_at": "<string>", "client_id": "<string>", "canceled_at": "<string>", "invoice": "<string>", "cancellation_document": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Created
The response is of type object.
object