Skip to main content

List all payouts.

GET 

/api/payouts

Retrieve the list of payouts of rewards given by a partner.

Request

Query Parameters

    page int32

    Default value: 0

    Page number

    Example: 0
    size int32

    Default value: 10

    Number of items per page

    Example: 10
    sortBy string

    Possible values: [dateClaimed]

    Default value: dateClaimed

    Sort by field

    Example: dateClaimed
    sortDirection string

    Possible values: [asc, desc]

    Default value: desc

    Sort by order

    Example: desc
    searchBy string

    Possible values: [userFirstName, userLastName, userEmail, userPhone]

    Search by field

    Example: firstName
    searchValue string

    Search by value

    Example: Tom
    claimStartDate string

    Filter payouts whose claim date is greater or than equal to the date passed in. (The date should be in the ISO8601 UTC format YYY-MM-DDThh:mm:ss.SSSZ)

    Example: 2024-01-01T00:00:00.000Z
    claimEndDate string

    Filter payouts whose claim is less or than equal to the date passed in. (The date should be in the ISO8601 UTC format YYY-MM-DDThh:mm:ss.SSSZ)

    Example: 2024-01-01T00:00:00.000Z

Header Parameters

    partnerId stringrequired

    Partner Id

    clientId stringrequired

    Client Id

    clientSecret stringrequired

    Client Secret

Responses

List of payouts matching the query.

Schema

    totalItems int64

    Total number of vehicles

    currentPage int32

    Current page number

    totalPages int64

    Current page size

    itemsOnPage int32

    Number of vehicles on current page

    vehicles

    object[]

    List of vehicles

  • Array [

  • id string

    Id of the vehicle

    license string

    License plate number

    photoUrl string

    Photo of Vehicle

    make string

    Make of the vehicle

    model string

    Model of the vehicle

    vin string

    VIN of the vehicle.

    state string

    2 Letter State Code (eg. AL, CA, CO etc.)

    year string

    Year vehicle was built.

    dateAdded string

    Time at which vehicle was added to the system

    updated string

    Last updated timestamp

    owner

    object

    Check-in owner

    id string

    Id of the user

    firstName string

    User's first name

    lastName string

    User's last name

    active boolean
  • ]

Loading...