Skip to content

collana pay JS Docs v0.1.0


collana pay JS Docs / ApprovalData

Interface: ApprovalData

Defined in: types.ts:1117

Data passed to CallbackHandlers.onApprove when the shopper approves the payment.

Properties

orderId

orderId: string

Defined in: types.ts:1123

The order ID associated with this approval.


payerInfo?

optional payerInfo?: unknown

Defined in: types.ts:1127

Payer information returned by the provider (shape varies by provider).


paymentMethodType

paymentMethodType: PaymentMethodType

Defined in: types.ts:1121

The payment method used.


providerProtocolType

providerProtocolType: ProviderProtocolType

Defined in: types.ts:1119

The protocol that processed the payment.


returnUrl?

optional returnUrl?: string

Defined in: types.ts:1129

URL the integrator should redirect to after approval, if applicable.


transactionId?

optional transactionId?: string

Defined in: types.ts:1125

Transaction identifier, if available.

CollanaPay SDK Documentation