Skip to content

PaymentMethod

A payment method Pesepay offers for a transaction’s currency.

export interface PaymentMethod
NameTypeDescription
availablebooleanFalse when the transaction’s amount is outside limits.
codestringPass as paymentMethodCode to selectPaymentMethod and the confirm methods.
limits{ minimum: number; maximum: number; }The amounts this method takes, in the transaction’s currency.
namestringPesepay’s display name, e.g. “Ecocash USD”.
processingMessage?stringPesepay’s text to show while the payment is processing.
requiredFieldsstring[]Names of the fields the method needs, e.g. customerPhoneNumber.