Refund Object

Refund Object Fields

PropertyType`Description
paymentActivityIdIntegerThe Fusebill generated ID of the associated payment activity for this refund.
referenceStringA reference string intended to be the explanation of why this refund was issued.
effectiveTimestampTimestampThe effective timestamp of this refund
descriptionStringA description of the refund e.g. "Refund of payment 218921"
customerIdIntegerThe Fusebill generated ID of the customer who is receiving the refund
originalPaymentActivityIdIntegerThe Fusebill generated ID of the payment activity for the original payment
amountDecimalThe total amount of the refund
currency3 character ISO currency codeThe currency the amount is measured in
invoiceAllocationsList of Objects. Defined belowIf the original payment was allocated across invoices this specifies how to allocate this refund across those invoices.
gatewayFeeDecimalThe fee charged by the gateway
settlementObject. Defined belowContains settlement details for the refund. Can be null
idIntegerThe Fusebill generated ID that uniquely identifies this refund.
uriStringThe full string path to this resource.

Invoice Allocation Fields

PropertyTypeDescription
invoiceIdIntegerThe Fusebill generated ID that uniquely identifies this invoice.
invoiceNumberIntegerThe invoice number
 "title":
amountDecimalThe amount of the payment that was allocated to this invoice
outstandingBalanceDecimalThe current outstanding balance of the invoice. Not the amount that was outstanding at the time of payment
invoiceTotalDecimalThe total of the invoice
netsuiteIdStringThe ID of this invoice in Netsuite
quickBooksIdNumberThe ID of this invoice in QuickBooks
uriStringThe full string path to the invoice.

Settlement Object

PropertyTypeDescription
statusEnum: {Unknown, Pending, Successful, Failed}The status of the settlement
modifiedTimestampTimestampThe last modified timestamp
lastCheckedTimestampTimestampThe last settlement check timestamp
nextCheckTimestampTimestampThe next settlement check timestamp
messageStringThe settlement status message