NameDescriptionTypeAdditional information
CustomerPaymentDetailList

CustomerPaymentDetailList

Collection of CustomerPaymentDetailInsert

None.

CustomerId

Must match Midnight CustomerId

integer

None.

AmountBilled

AmountBilled. Must be greater than 0 and equal to the sum of AmountBilled for CustomerPaymentDetail records.

decimal number

None.

RequestSource

Used to decide the validation and payment detail creation logic. IF provided, must be one of - PRCMerchant/Other. Defaults to Other if not provided.

string

None.

OrderNumber

Processed only when CustomerPayment.RequestSource = "PRCMerchant". If matches a valid Midnight OrderNumber, the payment detail record is created as Earmarked, otherwise as Escrow.

string

None.