Skip to content
Navigation

List payout runs

GET
https://api.nicer.travel/commerce/payout-runs

The company's payout runs, newest first (25 by default, at most 100, keyset-paged), with their status, payout count and totals paid and failed per currency. Agency admins and finance staff; staff reads are audited.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Query parameters

  • cursor
    optional
    string
    maxLength: 2048 · minLength: 1
  • limit
    optional
    integer
    maximum: 100 · minimum: 1
  • status
    optional
    string
    minLength: 1

Header parameters

  • x-nicer-company
    string
    required

    Company context. Authentication and tenant membership are validated by the API.

Returns

200

OK

JSON
  • items
    array of
    object
    required
    • companyName
      string
      required
      minLength: 1
    • completedAt
      required

      Any of the following:

      • string
      • null
    • createdAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
    • createdByUserId
      string
      required
      minLength: 1
    • jobId
      required

      Any of the following:

      • string
      • null
    • number
      string
      required
      minLength: 1
    • payoutCount
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • payoutRunId
      string
      required
      minLength: 1
    • status
      SUBMITTED
      or
      PARTIALLY_FAILED
      or
      COMPLETED
      required
    • submittedAt
      required

      Any of the following:

      • string
      • null
    • totals
      array of
      object
      required
      • amountMinor
        integer
        required
        maximum: 9007199254740991 · minimum: 0
      • currency
        string
        required
        pattern: ^[A-Z]{3}$
      • failedMinor
        integer
        required
        maximum: 9007199254740991 · minimum: 0
      • paidMinor
        integer
        required
        maximum: 9007199254740991 · minimum: 0
    • updatedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
  • nextCursor
    required

    Any of the following:

    • string
    • null

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

401

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

403

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close