Newer Version Available

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

PaymentIntentEvent

Represents a payment intent platform event. Subscribe to these events so you can listen and respond to them when they’re published. For example, create a Salesforce Flow that is triggered when one of these events is published. This object is available in API version 59.0 and later.

For more information about platform events, see the Platform Events Developer Guide.

Supported Calls

describeSObjects()

Special Access Rules

To access Salesforce Payments objects, you must have a Salesforce Payments license and Payments must be enabled for your org. Salesforce Payments objects are available only in Lightning Experience.

Fields

Field Details
ChangeType
Type
picklist
Properties
Restricted picklist
Description
Type of payment intent event that triggers an event notification. You can write code to operate conditionally on the value of this field. For example, you can ignore an authorization but get notified of captures.
Possible values are:
  • Authorize–Payment is authorized.
  • AuthorizeFailure–There’s an error preventing the payment authorization
  • Capture–Payment is captured.
  • CaptureFailure– An error prevented the payment capture.
  • Refund–Payment is refunded.
  • RefundFailure–An error prevented the payment refund.
PaymentInitiationSourceApplication
Type
picklist
Properties
Nillable, Restricted picklist
Description
Salesforce application initiating the payment. This field is available in API version 63.0 and later.
Possible values are:
  • Collections
  • Commerce
  • Custom
  • FieldService
  • OrderManagement
  • Payments
  • Revenue
  • Sales
  • Scheduler
  • Service
PaymentInitiationSourceChannel
Type
string
Properties
Nillable
Description
Identifies the channel in the Payment Initiation Source record for which the event occurs. This field is available in API version 63.0 and later.
PaymentInitiationSource
Type
reference
Properties
Nillable
Description
Identifies the Payment Initiation Source record for which the event occurs. This field is available in API version 63.0 and later.
This field is a relationship field.
Relationship Name
PaymentInitiationSource
Refers To
PaymentInitiationSource
PaymentInitiationSourceProcess
Type
string
Properties
Nillable
Description
Identifies the process in the Payment Initiation Source record for which the event occurs.
PaymentIntentGuid
Type
string
Properties
Nillable
Description
Identifies the GUID in the Payment Initiation Source record for which the event occurs. This field is available in API version 63.0 and later.
PaymentIntent
Type
reference
Properties
Nillable
Description
Identifies the PaymentIntent record for which the event occurs. This field is available in API version 63.0 and later.
This field is a relationship field.
Relationship Name
PaymentIntent
Relationship Type
Lookup
Refers To
PaymentIntent
PaymentLink
Type
reference
Properties
Nillable
Description
Identifies the payment link record for which the event occurs. This field is available in API version 63.0 and later.
This field is a relationship field.
Relationship Name
PaymentLink
Refers To
PaymentLink