DocumentationRecipesAPI ReferenceChangelog
Documentation

Payment Request

Payment Request


Class PaymentBuilder
ParameterData TypeMandatoryDescription
Constructors (activity, paymentToken)Activity, StringM

Init class constructor with Android activity and PGW paymentToken.

• SDK constructor.

• activity: Android activity. Refer to: Activity

• paymentToken: retrieve from PGW Payment Token API. Refer to: Payment Token

profileIdStringM

SoftPOS provider profile id.

Important:
• Obtain profile id from 2C2P merchant support.

transactionIdStringM

SoftPOS provider transaction id.

Note: Only for Void Payment API.

Retrieve from payment result response after request Payment API.
Refer to: SoftPOS Payment Result Response & SoftPOS Result

posTypeSoftPOSTypeOSoftPOS device type.
transactionTypeTransactionTypeO

SoftPOS transaction type.

Default: Transaction

Refer to: TransactionType

paymentMethodsArray<PaymentMethodType>O

SoftPOS payment method types.

Default: All available payment method type within PaymentMethodType enum.

Refer to: Payment Method Type