|
AccountId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The customer account containing the payment that this refund targets.
|
|
Amount
|
- Type
- currency
- Properties
- Create, Filter, Sort, Update
- Description
- Total amount of this refund.
|
|
Balance
|
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Remaining balance following refund line applications. Equal to the Amount
field – the Net Applied field.
|
|
CancellationDate
|
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The date that the refund was canceled. This is a required parameter for
void services.
|
|
CancellationEffectiveDate
|
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The date that the cancellation of this refund takes effect.
|
|
CancellationGatewayDate
|
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The date when the cancellation transaction was processed in the payment
gateway.
|
|
CancellationGatewayRefNumber
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Unique ID for the cancellation transaction. Generated by the payment
gateway.
|
|
CancellationGatewayResultCode
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Gateway-specific result code for the cancellation transaction. Generated
by the payment gateway. Must be mapped to a Salesforce-specific result
code.
|
|
CancellationSfResultCode
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Salesforce-specific result code that can map to one or more gateway result
codes. We recommend configuring the payment gateway adapter layer to map
gateway result codes to the appropriate Salesforce result code.
|
|
Comments
|
- Type
- textarea
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Users can add comments to provide additional details about a record. Maximum
of 1000 characters.
|
|
Date
|
- Type
- dateTime
- Properties
- Create, Defaulted on create, Filter, Nillable, Sort, Update
- Description
- The date and time that this refund was created.
|
|
EffectiveDate
|
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Defines the date and time when the refund application becomes
effective.
|
|
Email
|
- Type
- email
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Fraud
parameter.
|
|
GatewayDate
|
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The date that a successful gateway communication caused the creation of
this refund.
|
|
GatewayRefNumber
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Unique transaction ID created by the payment gateway.
|
|
GatewayResultCode
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Gateway-specific result code. Must be mapped to a Salesforce-specific
result code.
|
|
GatewayResultCodeDescription
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Description of the GatewayResultCode. Useful for providing additional
context as to why the gateway returned a specific result code.
|
|
ImpactAmount
|
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Shows the refund’s financial impact against the customer’s accounts
receivable. Equals the refund’s Amount field if the refund amount is valid.
Equals 0 when the refund amount is void. Has a null value when the refund is
canceled.
|
|
IpAddress
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Fraud parameter.
|
|
LastReferencedDate
|
- Type
- dateTime
- Properties
- Filter, Nillable, Sort
- Description
- The timestamp for when the current user last viewed a record related to this
record.
|
|
LastViewedDate
|
- Type
- dateTime
- Properties
- Filter, Nillable, Sort
- Description
- The timestamp for when the current user last viewed this record. If this
value is null, this record might only have been referenced
(LastReferencedDate) and not viewed.
|
|
MacAddress
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Fraud
parameter.
|
|
NetApplied
|
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Equals the Total Applied field – the Total Unapplied field.
|
|
OrderPaymentSummaryId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Order payment summary record that shows the balances of each authorization,
capture, and refund made against an order.
|
|
PaymentGatewayId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The payment gateway used to process this refund.
|
|
PaymentGroupId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The payment group for the payment being refunded.
|
|
PaymentMethodId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The payment method used to create the payment being refunded.
|
|
Phone
|
- Type
- phone
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Fraud
parameter.
|
|
ProcessingMode
|
- Type
- picklist
- Properties
- Create, Filter, Group, Restricted picklist, Sort
- Description
- Defines whether the payment has been made outside of the payment
platform.
- Possible values are:
-
External: Transactions happened
outside of the Salesforce payments platform.
-
Salesforce: Salesforce made and
recorded an external call to the payment gateway.
|
|
RefundNumber
|
- Type
- string
- Properties
- Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description
- System-created unique ID for this refund.
|
|
SfResultCode
|
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description
- Salesforce-specific result code that can map to one or more gateway result
codes. We recommend configuring the payment gateway adapter layer to map
gateway result codes to the appropriate Salesforce result code.
- Possible values are:
-
Decline: The gateway call failed,
but it may still work if the transaction is attempted again. For example,
the customer had insufficient funds or briefly lost their connection.
-
Indeterminate: The gateway didn’t
respond to the call. This response usually happens when Salesforce times
out while waiting for a response from the gateway.
-
PermanentFail: The gateway call
failed and won’t work even if tried again. Gateway calls fail permanently
for one of two reasons:
- Hard Decline: The customer’s payment account has been closed or
terminated.
- Fraud: The gateway recognized the payment or payment method as known
fraud.
-
RequiresReview: The customer bank
requires more information before completing the payment.
-
Success: The gateway call
succeeded.
-
SystemError: Salesforce ended the
payment request before receiving a response. For example, Salesforce lost
credentials or access to its server. Salesforce ends payment calls if it
doesn’t receive a response from the gateway within two minutes.
-
ValidationError: Customer payment
data was incorrect, such as a misspelling in the credit card address or an
incorrect CVV.
|
|
Status
|
- Type
- picklist
- Properties
- Create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Defines the state of this refund.
- Possible values are:
-
Canceled: This refund has been
voided and can no longer be allocated.
-
Draft: The refund can be edited
before posting it and allocating it to a target.
-
Processed: This refund has been
finalized and can be allocated against a target.
Users can manually change the Status field’s values as follows:
- Draft to Processed
- Processed to Canceled
- Draft to Canceled
|
|
TotalApplied
|
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- The sum of Amount fields across all of this refund’s applied refund
lines.
|
|
TotalUnapplied
|
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- The sum of Amount fields across all of this refund’s unapplied refund
lines.
|
|
Type
|
- Type
- picklist
- Properties
- Create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Defines how this refund is used.
- Possible values are:
-
NonReferenced: Standalone refund
not linked to any payment.
-
Referenced: Refund made against a
payment.
|