Skip to content
Navigation

List remittances

GET
https://api.nicer.travel/commerce/remittances

The money the company received, newest first (25 by default, at most 100, keyset-paged by received date): posted, duplicate and void remittances and the drafts of batches under review, with allocated and unallocated totals computed on read. Agency admins and finance staff; staff reads of another company are audited.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Query parameters

  • batchId
    optional
    string
    maxLength: 255 · minLength: 1
  • channel
    optional
    string
    minLength: 1
  • cursor
    optional
    string
    maxLength: 2048 · minLength: 1
  • from
    optional
    string
    format: date · 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])))$
  • limit
    optional
    integer
    maximum: 100 · minimum: 1
  • q
    optional
    string
    maxLength: 100 · minLength: 2
  • state
    optional
    string
    minLength: 1
  • to
    optional
    string
    format: date · 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])))$
  • unallocated
    optional
    true
    or
    false

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
    • allocatedMinor
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • batchId
      required

      Any of the following:

      • string
      • null
    • channel
      string
      ·
      one of 10 values
      required
      Allowed values: ARC, BSP, CHECK, ACH, WIRE, CARD, STRIPE, CASH, HOST_STATEMENT, OTHER
    • companyName
      string
      required
      minLength: 1
    • 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))$
    • currency
      string
      required
      pattern: ^[A-Z]{3}$
    • feeMinor
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • grossMinor
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • lineCount
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • number
      string
      required
      minLength: 1
    • payableOn
      string
      required
      format: date · 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])))$
    • payerKind
      SUPPLIER
      or
      HOST
      or
      CLIENT
      or
      OTHER
      required
    • payerName
      required

      Any of the following:

      • string
      • null
    • postedAt
      required

      Any of the following:

      • string
      • null
    • receivedOn
      string
      required
      format: date · 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])))$
    • reference
      required

      Any of the following:

      • string
      • null
    • remittanceId
      string
      required
      minLength: 1
    • source
      MANUAL
      or
      FILE_IMPORT
      required
    • state
      DRAFT
      or
      POSTED
      or
      DUPLICATE
      or
      VOID
      required
    • supplierId
      required

      Any of the following:

      • string
      • null
    • unallocatedMinor
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
  • 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