Skip to main content

Get a single debit note

GET 

/v1/debit-notes/:code

This endpoint allows you to retrieve a debit note by its unique code

Request

Path Parameters

    code stringrequired

    The unique identifier for the debit note

Responses

OK

Schema
    data object

    Debit Note

    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

Loading...