Skip to main content

List debit notes

GET 

/v1/debit-notes

This endpoint allows you to retrieve a list of created debit notes.

Request

Query Parameters

    page integer

    Default value: 1

    The page of results

    per_page integer

    Default value: 15

    Maximum number of results per page

    status string

    Possible values: [pending, active]

    Filter the credit notes returned by its status.

    insurer string

    Filter the credit notes returned by insurer.

Responses

OK

Schema
    data object[]
  • Array [
  • code string

    The unique identifier for debit note

    status string

    Current status of the policy

    premium number

    The debit note premium

    premium_due_date date

    Date when premium will be due

    current_date date

    Date of creation

    payment_details object
    bank_name string

    The name of the bank

    account_number number

    bank account number

    sort_code integer

    Six digits bank sort code

    customer object

    The the customer's information

    ref stringrequired

    Unique identifier for the customer on your system

    email stringrequired

    The customer's email address

    phone string
    first_name stringrequired
    last_name stringrequired
    insurer object

    An insurance provider

    code string

    The unique code of the insurer

    name string

    The name of the insurer

    logo_url string

    A link to the Insurer's logo

    terms_conditions string

    Insurer's terms and conditions

    product object

    An individual insurance product or plan

    title string

    The name of the product

    code string

    The unique identifier for technical purposes

    id integer

    Unique Id of the product.

    insurer object

    An insurance provider

    code string

    The unique code of the insurer

    name string

    The name of the insurer

    logo_url string

    A link to the Insurer's logo

    terms_conditions string

    Insurer's terms and conditions

    product type object

    A major category of insurance e.g Health, Automobile, Life, Gadget, Goods in transit, etc

    name string

    The generally accepted human friendly name

    slug string

    The unique identifier for technical purposes

    cover-benefits object

    list of the nefits covered.

    created-at string

    Date of product creation

    price integer

    Price of product

    premium-type string

    Define the product premium tier.

    premium-rate-unit integer
    premium-rate number
    premium number
    partner-commision-rate number
    min-premium string
    premium-rules string
    premium_frequency string

    Possible values: [monthly, quarterly, annually]

    Default value: annually

  • ]
  • links object
    first string
    last string
    prev string
    next string
Loading...