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.

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

Introduced in API version 59.0.

describeSObjects()

  • 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.
  • 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:
    • Authorize — Authorize — Payment is authorized.
    • AuthorizeFailure — AuthorizeFailure — There’s an error preventing the payment authorization
    • Capture — Capture — Payment is captured.
    • CaptureFailure — CaptureFailure — An error prevented the payment capture.
    • Refund — Refund — Payment is refunded.
    • RefundFailure — RefundFailure — An error prevented the payment refund.
  • Type: string
  • Properties: Nillable
  • Introduced: API version 52.0
  • Type: picklist
  • Properties: Nillable, Restricted picklist
  • Introduced: API version 63.0
  • Description: Salesforce application initiating the payment.
  • Possible values:
    • Collections — Collections
    • Commerce — Commerce
    • Custom — Custom
    • FieldService — FieldService
    • OrderManagement — OrderManagement
    • Payments — Payments
    • Revenue — Revenue
    • Sales — Sales
    • Scheduler — Scheduler
    • Service — Service
  • Type: string
  • Properties: Nillable
  • Introduced: API version 63.0
  • Description: Identifies the channel in the Payment Initiation Source record for which the event occurs.
  • Type: reference

  • Properties: Nillable

  • Introduced: API version 63.0

  • Description:

    Identifies the Payment Initiation Source record for which the event occurs.

    This field is a relationship field.

  • Relationship name: PaymentInitiationSource

  • Relationship type: relationship

  • Refers to: PaymentInitiationSource

  • Type: string
  • Properties: Nillable
  • Introduced: API version 63.0
  • Description: Identifies the process in the Payment Initiation Source record for which the event occurs.
  • Type: string
  • Properties: Nillable
  • Introduced: API version 63.0
  • Description: Identifies the GUID in the Payment Initiation Source record for which the event occurs.
  • Type: reference

  • Properties: Nillable

  • Introduced: API version 63.0

  • Description:

    Identifies the PaymentIntent record for which the event occurs.

    This field is a relationship field.

  • Relationship name: PaymentIntent

  • Relationship type: relationship

  • Refers to: PaymentIntent

  • Type: reference

  • Properties: Nillable

  • Introduced: API version 63.0

  • Description:

    Identifies the payment link record for which the event occurs.

    This field is a relationship field.

  • Relationship name: PaymentLink

  • Relationship type: relationship

  • Refers to: PaymentLink

  • Type: id
  • Properties: Nillable