/api/p/v{version}/invoices/carrier-payments

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint allows external systems (for example factoring or payment platforms) to record a carrier payment against a trip in Alvys.

Path Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version (e.g., 1.0)

Request Body

Content-Type: application/json-patch+json

FieldTypeRequiredDescription
TripIdstringYesIdentifier of the trip for which the carrier payment is being recorded
AmountobjectYesPayment amount object
Amount.AmountnumberYesPayment amount value
Amount.CurrencyintegerYesCurrency identifier
PaymentDatestring (date-time)YesDate when the payment was made
ReferenceNumberstringNoExternal reference number for the payment
PaymentMethodstringNoPayment method used (e.g., Check, ACH, Wire)
CheckNumberstringNoCheck number if payment method is check
NotestringNoAdditional note related to the payment
MarkAsPaidbooleanNoIndicates whether the trip should be marked as fully paid

Example Request

{
  "TripId": "string",
  "Amount": {
    "Amount": 0,
    "Currency": 0
  },
  "PaymentDate": "2026-03-16T13:48:19.920Z",
  "ReferenceNumber": "string",
  "PaymentMethod": "string",
  "CheckNumber": "string",
  "Note": "string",
  "MarkAsPaid": true
}

Response Body

FieldTypeDescription
TripIdstringIdentifier of the trip
TripNumberstringTrip number associated with the payment
StatusstringCurrent trip status
CarrierPaymentsarrayList of carrier payments recorded for the trip

CarrierPayments Object

FieldTypeDescription
IdstringUnique identifier of the payment
AmountobjectPayment amount object
Amount.AmountnumberPayment amount value
Amount.CurrencyintegerCurrency identifier
PaymentDatestringDate when the payment was recorded
ReferenceNumberstringPayment reference number
PaymentMethodstringPayment method used
CheckNumberstringCheck number if applicable

Example Response

{
  "TripId": "string",
  "TripNumber": "string",
  "Status": "string",
  "CarrierPayments": [
    {
      "Id": "string",
      "Amount": {
        "Amount": 0,
        "Currency": 0
      },
      "PaymentDate": "2026-03-16T13:48:19.924Z",
      "ReferenceNumber": "string",
      "PaymentMethod": "string",
      "CheckNumber": "string"
    }
  ]
}
Path Params
string
required
Defaults to 1.0
Body Params
string
required
Amount
object
required
date-time
required
string
required
string | null
string | null
string | null
boolean
required
Headers
string
enum
Defaults to application/json
Allowed:
string
enum
Defaults to application/json-patch+json
Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json