|
AccountId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Customer account.
|
|
Amount
|
- Type
- currency
- Properties
- Create, Filter, Sort, Update
- Description
- The amount authorized for the payment event.
|
|
Balance
|
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total authorized amount – any payment authorization reversals
– any payment captures. Can be positive or negative.
|
|
Comments
|
- Type
- textarea
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Users can enter comments to provide additional details about the
authorization.
|
|
Date
|
- Type
- dateTime
- Properties
- Create, Defaulted on create, Filter, Nillable, Sort, Update
- Description
- By default, the day the authorization record was created. Users can also
enter a different date. Editable only when the payment authorization’s status
is Draft.
|
|
EffectiveDate
|
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The date on which the authorization takes effect. Editable only when the
payment authorization’s status is Draft.
|
|
Email
|
- Type
- email
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Fraud parameter.
|
|
ExpirationDate
|
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Authorizations can’t be captured after their expiration dates.
|
|
GatewayAuthCode
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Authorization approval code from the payment gateway.
|
|
GatewayDate
|
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Payment authorization approvement code from the payment gateway.
|
|
GatewayRefDetails
|
- Type
- textarea
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Additional data that can’t be stored in other fields on the payment record.
You can use this field for transactions following the initial transaction that
creates the payment record. You can use any data that isn’t normalized in
financial entities. This field has a maximum length of 1000 characters and can
store data as JSON or XML.
|
|
GatewayRefNumber
|
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Unique transaction ID from 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 gateway’s result code. This field is useful for
providing more information around why the gateway returned a certain result
code.
|
|
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.
|
|
OrderPaymentSummaryId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Order payment summaries show the balances of each authorization, capture,
and refund made against an order.
|
|
PaymentAuthorizationNumber
|
- Type
- string
- Properties
- Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description
- System-provided unique ID for a payment authorization record.
|
|
PaymentGatewayId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The Salesforce payment gateway record that created this authorization.
This gateway will be used for subsequent captures.
|
|
PaymentGroupId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- Payment groups organize all the payment transactions that have been made
against a record such as an account or contract. Populated from the
authorization record if there is delayed payment.
|
|
PaymentMethodId
|
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The customer payment method provided during this authorization.
|
|
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.
|
|
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 payment.
- Possible values are:
-
Canceled: This payment has been
unapplied from its target and can to longer be allocated.
-
Draft: The payment can be edited
before posting it and allocating it to a target.
-
Processed: This payment 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
|
|
TotalPaymentCaptureAmount
|
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- The sum of all authorization captures related to this payment
authorization.
|