Root Insurance · Schema

payment-coupons

InsuranceAuto InsuranceTelematicsEmbedded InsurancePolicy AdministrationClaimsUsage-Based InsuranceInsurTech
View JSON Schema on GitHub

JSON Schema

payment-coupons.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "payment-coupons",
  "type": "array",
  "items": {
    "$ref": "#/components/schemas/payment-coupon"
  },
  "example": [
    {
      "payment_coupon_id": "307286b9-bbaa-4096-9ccf-fcbe596ea0a8",
      "policy_id": "128ba0c0-3f6a-4f8b-9b40-e2066b02b59e",
      "status": "pending",
      "type": "payment_holiday",
      "redeemable_from": "2022-06-01T00:00:00.000Z",
      "redeemable_to": "2022-06-30T00:00:00.000Z",
      "reason": "Customer retrenched",
      "created_at": "2020-08-04T09:14:21.451Z",
      "created_by": {
        "type": "api_key",
        "id": "420df14d-b09d-4d89-84a8-8e3118c9ca23",
        "owner_id": "00000000-0000-0000-0000-000000000001"
      }
    },
    {
      "payment_coupon_id": "de07f9a8-f818-4fbe-9d19-b46ba8d98758",
      "policy_id": "128ba0c0-3f6a-4f8b-9b40-e2066b02b59e",
      "status": "pending",
      "type": "ad_hoc",
      "amount": 2000,
      "reason": "Customer retrenched",
      "created_at": "2020-08-04T09:14:21.451Z",
      "created_by": {
        "type": "api_key",
        "id": "420df14d-b09d-4d89-84a8-8e3118c9ca23",
        "owner_id": "00000000-0000-0000-0000-000000000001"
      }
    }
  ]
}