---
schema_version: "1"
id: d42de01c13378614027e633e99f187eef390060949184b398bed1195cf8e1082
title: PaymentInitiationMode Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_RichMessaging_PaymentInitiationMode.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_RichMessaging_PaymentInitiationMode.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 38b2d51fa4019076244edb28d6214e3269e3a94404908bdc7e3229d606a59222
description: Represents the mode used to initiate a payment.
---
# PaymentInitiationMode Enum

Represents the mode used to initiate a payment.

## Enum Values

The following are the values of the RichMessaging.PaymentInitiationMode enum.

| Value | Description |
| --- | --- |
| ExternalPaymentApp | Represents payment initiation through an external payment application. |
| HostedLink | Represents payment initiation through a hosted link. |
| GatewayCheckout | Represents payment initiation through gateway checkout. |