Skip to main content

Create partner

POST 

/v1/partners/child

Create partner

Request

Body

required

Details of the partner

    name string

    Possible values: >= 4 characters and <= 200 characters

    The name of the partner

    currency string

    Possible values: [USD, EUR, GBP, NGN]

    Fetch currency codes

    email email

    Unique email address of the partner

    phone string

    Possible values: >= 10 characters

    logo_url binary
    commission_rate number

    Possible values: <= 5

    Commission of the partner

    payment_option string

    Possible values: [card, web_link, wallet]

    buys_insurance boolean
    sells_insurance_credits boolean
    password string

    Possible values: >= 8 characters

    Login password of the partner

Responses

Created

Schema
    id number
    name string
    email string
    phone string
    logo uri
    key string
    sells_insurance_credits boolean
    buys_insurance boolean
    insurance_credits_markup_rate number
    insurance_credits_markup_cap number
    currency string
    accepted_toc string
    toc_date date-time
    is_broker boolean
    created_at date-time
    updated_at date-time
    is_travel_agent boolean
    commission_share number
    payment_option string
Loading...