Skip to content

collana pay JS Docs v0.1.0


collana pay JS Docs / PaymentError

Interface: PaymentError

Defined in: types.ts:1136

Error object passed to CallbackHandlers.onError when a payment flow fails.

Properties

code

code: string

Defined in: types.ts:1138

Machine-readable error code.


message

message: string

Defined in: types.ts:1140

Human-readable error description.


paymentMethodType

paymentMethodType: PaymentMethodType

Defined in: types.ts:1144

The payment method where the error occurred.


providerProtocolType

providerProtocolType: ProviderProtocolType

Defined in: types.ts:1142

The protocol where the error occurred.

CollanaPay SDK Documentation