TransactionSuccess

@objc(DTTransactionSuccess)
@objcMembers
public class TransactionSuccess : NSObject

This class includes the success message and other details of a transaction. You will also obtain a transactionId that you can use for operations after the transaction (e.g. settlement, cancel or refund requests).

  • The payment method used during the transaction.

    Declaration

    Swift

    public var paymentMethodType: PaymentMethodType { get }
  • Object containing the token details of the payment method. The token details are also returned to your webhook and can be accessed with a status server-to-server request.

    Declaration

    Swift

    public var paymentMethodToken: PaymentMethodToken? { get }
  • The transactionId that you can use for operations after the transaction (eg. settlement, cancel or refund requests).

    Declaration

    Swift

    public var transactionId: String { get }