SavedPaymentMethodEvent

Represents a saved payment method 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.

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 

ChangeType 

Type: picklist

Properties: Restricted picklist

Description: Type of saved payment method event, which triggers an event notification. You can write code to operate conditionally on the value of this field. For example, you can ignore a create change but get notified of updates. Possible values are:

  • Create – Saved payment method created.
  • Delete – Saved payment method deleted.
  • Update – Saved payment method property changed.

SavedPaymentMethodId 

Type: reference

Properties: Nillable

Description: Identifies the SavedPaymentMethod record for which the event occurs. This field is a relationship field.

Relationship Name: SavedPaymentMethod

Relationship Type: Lookup

Refers To: SavedPaymentMethod