Newer Version Available

This content describes an older version of this product. View Latest

PaymentIntent

Represents data temporarily stored during a transaction’s lifecycle that can identify the buyer, the merchant, and the amount the buyer is sending to the merchant. Data such as timestamp and amount returned can also be stored in PaymentIntent. This object is available in API version 58.0 and later.

Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update()

Special Access Rules

To access Salesforce Payments objects, you must have a Salesforce Payments license with the Payments permission enabled for your org. Salesforce Payments entities are available only in Lightning Experience.

Fields

Field Details
AccountId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Displays the account record of the buyer.
This field is a relationship field.
Relationship Name
Account
Relationship Type
Lookup
Refers To
Account
AmountCapturable
Type
currency
Properties
Filter, Nillable, Sort
Description
Payment amount that a merchant can collect after the fulfillment of an order.
AmountRefundable
Type
currency
Properties
Filter, Nillable, Sort
Description
Payment amount that the merchant can refund.
AuthorizationReversal​Amount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount canceled before completing the transfer of funds from buyer to merchant.
AuthorizedAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Amount authorized by the payer’s bank.
BillingAddress
Type
address
Properties
Filter, Nillable
Description
The billing address of the account holder. This field is the compound form of the billing address. Read-only. For details on compound address fields, see Address Compound Fields.
BillingCity
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details for the billing address. Maximum size is 40 characters.
BillingCountry
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details for the billing address. Maximum size is 80 characters.
BillingCountryCode
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ISO country code for the billing address.
BillingGeocodeAccuracy
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Accuracy level of the geocode for the billing address. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
BillingLatitude
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Used with BillingLongitude to specify the precise geolocation of a billing address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
BillingLongitude
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Used with BillingLatitude to specify the precise geolocation of a billing address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. See Compound Field Considerations and Limitations for details on geolocation compound fields.
BillingPostalCode
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details for the billing address. Maximum size is 20 characters.
BillingState
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details for the billing address. Maximum size is 80 characters.
BillingStreet
Type
textarea
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details for the billing address.
CapturedAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Total amount that a merchant secured from a buyer.
CurrencyIsoCode
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
ISO code for any currency allowed by the organization. Available only for orgs with the multicurrency feature enabled.
Possible values are:
  • Euro
  • USD
The default is USD.
DisputeEvidenceDueDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Date by which the merchant must submit information related to the dispute.
DisputeFee
Type
currency
Properties
Filter, Nillable, Sort
Description
The amount that the credit card company charges the merchant for each customer-disputed payment. The fee is also known as a chargeback fee.
DisputeStatus
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Indicates the state of the disputed transaction.
Possible values are:
  • Closed—The dispute inquiry is closed.
  • Created—The payment gateway opens a payment dispute.
  • Lost—The bank ruled in the account owner’s favor and refunded the charge. The refund is permanent and the dispute fee isn’t returned.
  • Won—The bank ruled in the merchant's favor. The issuing bank returns the debited chargeback amount to the payment gateway, who passes this amount back to the merchant.
DisputedAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
The amount the customer is challenging.
EntryMode
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Indicates how the payment information was provided.
Possible values are:
  • Merchant—The credit card isn’t available so the merchant entered the payment information via the phone or an email.
  • Payer—The payer entered their payment information online.
  • TapToPay—The card was available and the payer tapped that card or device on the payment terminal.
Guid
Type
string
Properties
Filter, Group, idLookup, Nillable, Sort
Description
Unique ID of the payment sent to Stripe or PayPal. This ID links the Payments Merchant Account record with the payment at the payment provider.
IncurrenceStatus
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Indicates the status of an orphaned payment. An orphaned payment occurs when a payment transaction is complete, but the workflow is disrupted, and the payment isn't recorded in the consuming flow. This could happen for unexpected error, for example, a payment is accepted at checkout, but the order doesn't get placed because of a network issue.
Possible values are:
  • Canceled—The workflow was disrupted and the payment was canceled or refunded.
  • Claimed—The payment was recorded and the workflow was completed.
  • Pending—The consuming workflow hasn't recorded the payment yet.
If there isn't a value for this field, it means that the consumer doesn't rely on it to track orphaned payments.
IntentAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Total amount that a merchant expects to receive from a buyer.
IsCaptureComplete
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates that the funds for a given payment are paid.
The default value is false.
IsEvidenceSubmitted
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the merchant has provided the requested information relating to the dispute.
The default value is false.
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, it’s possible that this record was referenced but not viewed.
MerchantAccountId
Type
reference
Properties
Filter, Group, Sort
Description
Required field that represents the association of the merchant account record with a payment intent record.
This field is a relationship field.
Relationship Name
MerchantAccount
Relationship Type
Lookup
Refers To
MerchantAccount
PaymentGatewayId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the payment gateway that processed the payment.
Relationship Name
PaymentGateway
Relationship Type
Lookup
Refers To
PaymentGateway
PaymentIntentNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Autogenerated number assigned to the payment record, for example PI-000000001.
PaymentLinkGmvDate
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Date the payment is captured from a payment link transaction. The total amount paid is expressed as the Gross Merchandise Value (GMV).
PaymentLinkId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Auto-assigned number identifying the payment link.
This field is a relationship field.
Relationship Name
PaymentLink
Relationship Type
Lookup
Refers To
PaymentLink
PaymentMethodDetails
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Additional information about the payment method type such as the four last digits of a card number.
PaymentMethodId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Refers to the record for the payment method implementation: card payment method, digital wallet, or alternative payment method.
This field is a polymorphic relationship field.
Relationship Name
PaymentMethod
Relationship Type
Lookup
Refers To
PaymentMethod
PaymentMethodSubType
Type
string
Properties
Filter, Group, Nillable, Sort
Description
A payment method that exists as a subtype of a payment method type. For example, Visa, Mastercard, and American Express exist as subtypes of payment method types such as Apple Pay and Google Pay.
PaymentMethodType
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Payment method used for the transaction.
ProviderReference
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Identifies a payment record by the payment provider at the payment gateway.
RefundedAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Total or partial amount refunded to the buyer due to product return, merchant’s lack of inventory, or shipping and delivering problems.
ShippingAddress
Type
address
Properties
Filter, Nillable
Description
Delivery address for the purchase. The compound form of the shipping address. Read-only. See Address Compound Fields for details on compound address fields.
ShippingCity
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details of the shipping address. City maximum size is 40 characters.
ShippingCountry
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details of the shipping address. Country maximum size is 80 characters.
ShippingCountryCode
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ISO country code for the shipping address.
ShippingGeocodeAccuracy
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Accuracy level of the geocode for the shipping address. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
ShippingLatitude
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Used with ShippingLongitude to specify the precise geolocation of a shipping address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
ShippingLongitude
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Used with ShippingLatitude to specify the precise geolocation of an address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
ShippingPostalCode
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details of the shipping address. Postal code maximum size is 20 characters.
ShippingState
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details of the shipping address. State maximum size is 80 characters.
ShippingStreet
Type
textarea
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Details of the shipping address. Maximum of 255 characters.
Status
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Status of the payment record.
Possible values are:
  • Authorized
  • Canceled
  • Created
  • Expired
  • Failed
  • PartiallyCaptured
  • PartiallyRefunded
  • Pending
  • Refunded
  • Succeeded
SubmittedById
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the person who processes the payment on the customer's behalf. The customer provides the authorization to submit the payment over phone or through the mail.
This field is a relationship field.
Relationship Name
SubmittedBy
Relationship Type
Lookup
Refers To
User