Skip to content

Expected Payments

/backend/api/v1/expectedPayments/ID - fetch expected payment with specified ID.

/backend/api/v1/expectedPayments/ - list all expected payments.

/backend/api/v1/customers/ID/expectedPayments/ - list expected payments belonging to customer with specified ID.

By default, lists show open expected payments: those without a covering payment. A linked pending payment counts as coverage; a failed or reversed payment does not.

paymentID identifies the linked payment, even if it failed or was reversed. The read-only isComplete field indicates whether that payment covers the expectation. It does not confirm that funds have arrived.

ParameterTypeRequiredDescription
completeflagNoShow only expected payments covered by a linked payment, including pending payments
includeCompleteflagNoShow open and covered expected payments
paymentIDintegerNoShow expectations linked to this payment, regardless of coverage

The paymentID filter takes precedence over the default open-only selection and the complete flag. For example, this returns all expectations linked to payment 123:

GET /backend/api/v1/expectedPayments/?paymentID=123
Authorization: Bearer YOUR_API_KEY

/backend/api/v1/customers/ID/expectedPayments/ - add a new expected payment to the specified customer, the newly-added expected payment will be returned.

/backend/api/v1/expectedPayments/ID - update expected payment with specified ID. The modified expected payment will be returned.

/backend/api/v1/expectedPayments/ID - delete expected payment with specified ID.

FieldNameTypeDescription
ourReferenceOur ReferenceTextInternal reference for this expected payment
customerReferenceCustomer's ReferenceTextCustomer's own reference for this payment
expectedPaymentTypeExpected Payment TypePreset ValueThe type/category of this expected payment
expectedPaymentDueDateExpected DateDateThe date this payment is expected to be received
requestedPaymentTypeIDsRequest Payment ByPreset Value(s)Payment methods to request from the customer
expectedPaymentAmountAmountCurrencyThe amount expected to be paid
directDebitAccountIDDirect Debit AccountPreset ValueDirect debit account to collect payment from
paymentCardIDPayment CardPreset ValuePayment card to charge for this payment
paymentIDBy PaymentPreset ValueThe linked payment. Failed or reversed payments do not cover this expected payment.
isCompleteCovered by PaymentTextWhether a linked payment covers this expected payment. Pending payments count; failed or reversed payments do not.
idExpected Payment IDTextThe unique identifier for this expected payment
revisionNumberRevisionTextInternal version tracking number for this expected payment
customerIDCustomerTextThe customer this expected payment is for