Skip to content
Navigation

Claim unmatched money

POST
https://api.nicer.travel/commerce/remittance-lines/{remittanceLineId}/claims

Claims unmatched money for one of the caller's bookings (07-business-rules.md §12): a line of the caller's own company or of a host it is a member of, not archived for members, with money left. The receiving company approves or rejects the claim from the remittance. Advisors claim for their own bookings; a line the caller may not see answers 404.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Path parameters

  • remittanceLineId
    string
    required

Header parameters

  • Idempotency-Key
    string
    required

    Unique key (8–255 chars) per request; replays return the original result.

  • x-nicer-company
    string
    required

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

Request body JSON required

  • commissionItemId
    string
    required
    maxLength: 255 · minLength: 1
  • amountMinor
    optional
    integer
    maximum: 9007199254740991
  • note
    optional
    string
    maxLength: 500 · minLength: 1

Returns

200

OK

JSON
  • amountMinor
    integer
    required
    maximum: 9007199254740991 · minimum: 0
  • claimId
    string
    required
    minLength: 1
  • claimantCompanyName
    string
    required
    minLength: 1
  • claimantUserId
    string
    required
    minLength: 1
  • commissionItemId
    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))$
  • decidedAt
    required

    Any of the following:

    • string
    • null
  • decidedByUserId
    required

    Any of the following:

    • string
    • null
  • decisionReason
    required

    Any of the following:

    • string
    • null
  • itemCompanyName
    string
    required
    minLength: 1
  • itemNumber
    string
    required
    minLength: 1
  • note
    required

    Any of the following:

    • string
    • null
  • remittanceId
    string
    required
    minLength: 1
  • remittanceLineId
    string
    required
    minLength: 1
  • status
    PENDING
    or
    APPROVED
    or
    REJECTED
    required

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