PaymentMethod
A payment method Pesepay offers for a transaction’s currency.
export interface PaymentMethodProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
available | boolean | False when the transaction’s amount is outside limits. |
code | string | Pass as paymentMethodCode to selectPaymentMethod and the confirm methods. |
limits | { minimum: number; maximum: number; } | The amounts this method takes, in the transaction’s currency. |
name | string | Pesepay’s display name, e.g. “Ecocash USD”. |
processingMessage? | string | Pesepay’s text to show while the payment is processing. |
requiredFields | string[] | Names of the fields the method needs, e.g. customerPhoneNumber. |