Refund Object Fields
Property | Type` | Description |
---|---|---|
paymentActivityId | Integer | The Fusebill generated ID of the associated payment activity for this refund. [Read Only] |
reference | String | A reference string intended to be the explanation of why this refund was issued. [Max Length: 500 characters] |
effectiveTimestamp | Timestamp | The effective timestamp of this refund |
description | String | A description of the refund e.g. "Refund of payment 218921 " |
customerId | Integer | The Fusebill generated ID of the customer who is receiving the refund [Read Only] |
originalPaymentActivityId | Integer | The Fusebill generated ID of the payment activity for the original payment [Read Only] |
amount | Decimal | The total amount of the refund |
currency | 3 character ISO currency code | The currency the amount is measured in |
invoiceAllocations | List of Objects. Defined below | If the original payment was allocated across invoices this specifies how to allocate this refund across those invoices. |
gatewayFee | Decimal | The fee charged by the gateway |
settlement | Object. Defined below | Contains settlement details for the refund. Can be null |
id | Integer | The Fusebill generated ID that uniquely identifies this refund [Read Only] |
uri | String | The full string path to this resource [Read Only] |
Invoice Allocation Fields
Property | Type | Description |
---|---|---|
invoiceId | Integer | The Fusebill generated ID that uniquely identifies this invoice [Read Only] |
invoiceNumber | Integer | The invoice number [Read Only] |
amount | Decimal | The amount of the payment that was allocated to this invoice |
outstandingBalance | Decimal | The current outstanding balance of the invoice. Not the amount that was outstanding at the time of payment |
invoiceTotal | Decimal | The total of the invoice |
netsuiteId | String | The ID of this invoice in Netsuite |
quickBooksId | Number | The ID of this invoice in QuickBooks |
uri | String | The full string path to the invoice [Read Only] |
Settlement Object
Property | Type | Description |
---|---|---|
status | Enum: {Unknown, Pending, Successful, Failed} | The status of the settlement |
modifiedTimestamp | Timestamp | The last modified timestamp |
lastCheckedTimestamp | Timestamp | The last settlement check timestamp |
nextCheckTimestamp | Timestamp | The next settlement check timestamp |
message | String | The settlement status message |