---
schema_version: "1"
id: 1d0c1d8e1ca0c01dc7ee98089d7f3c3e72745c58b0b91c2bf2f798f594bbbb26
title: ProcessPaymentStatusRequest Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 38f79fe37d672d1051f16a22d79e0c171a8306573fbe41c1a478a59a6a053060
description: Represents a request to process a payment status update.The payment method used in the transaction.The order ID associated with the payment.The amount of the payment transaction.The type of payment transaction.The status of the payment transaction.The unique identifier of the payment transaction.The payment transaction details.The error information for a failed payment transaction.
---
# ProcessPaymentStatusRequest Class

Represents a request to process a payment status update.

## Namespace

[RichMessaging](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_RichMessaging.htm "Provides objects and methods for handling content in enhanced Messaging channels.")

- **[ProcessPaymentStatusRequest Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm#apex_RichMessaging_ProcessPaymentStatusRequest_properties)**

## ProcessPaymentStatusRequest Properties

The following are properties for ProcessPaymentStatusRequest.

- **[paymentMethod](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm#apex_RichMessaging_ProcessPaymentStatusRequest_paymentMethod)**  
    The payment method used in the transaction.
- **[orderId](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm#apex_RichMessaging_ProcessPaymentStatusRequest_orderId)**  
    The order ID associated with the payment.
- **[amount](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm#apex_RichMessaging_ProcessPaymentStatusRequest_amount)**  
    The amount of the payment transaction.
- **[transactionType](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm#apex_RichMessaging_ProcessPaymentStatusRequest_transactionType)**  
    The type of payment transaction.
- **[transactionStatus](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm#apex_RichMessaging_ProcessPaymentStatusRequest_transactionStatus)**  
    The status of the payment transaction.
- **[transactionId](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm#apex_RichMessaging_ProcessPaymentStatusRequest_transactionId)**  
    The unique identifier of the payment transaction.
- **[paymentTransaction](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm#apex_RichMessaging_ProcessPaymentStatusRequest_paymentTransaction)**  
    The payment transaction details.
- **[error](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_ProcessPaymentStatusRequest.htm#apex_RichMessaging_ProcessPaymentStatusRequest_error)**  
    The error information for a failed payment transaction.

### paymentMethod

The payment method used in the transaction.

#### Signature

public RichMessaging.PaymentMethod paymentMethod {get; set;}

#### Property Value

Type: [RichMessaging.PaymentMethod](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentMethod.htm#apex_class_RichMessaging_PaymentMethod "Represents a payment method.")

### orderId

The order ID associated with the payment.

#### Signature

public String orderId {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### amount

The amount of the payment transaction.

#### Signature

public RichMessaging.CurrencyAmount amount {get; set;}

#### Property Value

Type: [RichMessaging.CurrencyAmount](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_CurrencyAmount.htm#apex_class_RichMessaging_CurrencyAmount "Represents a monetary amount in a specific currency.")

### transactionType

The type of payment transaction.

#### Signature

public RichMessaging.PaymentTransactionType transactionType {get; set;}

#### Property Value

Type: [RichMessaging.PaymentTransactionType](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_RichMessaging_PaymentTransactionType.htm "Represents the type of payment transaction.")

### transactionStatus

The status of the payment transaction.

#### Signature

public RichMessaging.PaymentTransactionStatus transactionStatus {get; set;}

#### Property Value

Type: [RichMessaging.PaymentTransactionStatus](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_RichMessaging_PaymentTransactionStatus.htm "Represents the status of a payment transaction.")

### transactionId

The unique identifier of the payment transaction.

#### Signature

public String transactionId {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### paymentTransaction

The payment transaction details.

#### Signature

public RichMessaging.PaymentTransaction paymentTransaction {get; set;}

#### Property Value

Type: [RichMessaging.PaymentTransaction](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentTransaction.htm#apex_class_RichMessaging_PaymentTransaction "Represents a payment transaction.")

### error

The error information for a failed payment transaction.

#### Signature

public RichMessaging.PaymentError error {get; set;}

#### Property Value

Type: [RichMessaging.PaymentError](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentError.htm#apex_class_RichMessaging_PaymentError "Represents an error that occurred during a payment transaction.")