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.
PaymentIntentId
Type
reference
Properties
Nillable
Description
Identifies the PaymentIntent record for which the event occurs.
This field is a relationship field.
Relationship Name
PaymentIntent
Relationship Type
Lookup
Refers To
PaymentIntent