Skip to main content

In-Person Payments

TransactionType.hpp

Last updated: 01-Aug-2024

namespace verifone_sdk

Enums

enum TransactionType

Values:

PAYMENT

  • A direct payment, attempting to collect the funds in full at once

REFUND

  • A refund for a specific payment

VOID_TYPE

  • Used to void a transaction

PRE_AUTHORIZATION

  • Authorizes an amount to be completed at a later time

PRE_AUTHORIZATION_UPDATE

  • Updates pre-authorization

PRE_AUTHORIZATION_COMPLETION

  • Completes a pre-authorisation

DEFERRED_PAYMENT

  • Not currently supported. Begin or continue a deferred payment plan

DEFERRED_PAYMENT_COMPLETION

  • Not currently supported. Finish a deferred payment plan

INSTALLMENT

  • Installment based payment plan

DEPOSIT

  • Deposit funds into an account. This differs from refund in that the funds are transferred (credited) immediately to the cardholder account, rather than upon settlement

GRATUITY_ADJUSTMENT

  • Gratuity adjustment. Used when we need to enable adjusting the gratuity amount of a payment which is already captured / completed.

DELAYED_CHARGE

  • Delayed charge to perform Pre-auth delayed charge transactions.

CASH_ADVANCE

  • Perform cash advance transactions.

STORED_VALUE

  • Stored value to perform gift card payment transactions.

RECURRING

  • A recurring payment. The first recurring payment must have the card present, or sometimes a token might be used, depending on the payment host. This can only be used with PaymentType of CREDIT (default) or ALTERNATE_TYPE.

Functions

constexpr std::string_view toString(constTransactionType &arg)

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo