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?
optionalpayerInfo?: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?
optionalreturnUrl?:string
Defined in: types.ts:1129
URL the integrator should redirect to after approval, if applicable.
transactionId?
optionaltransactionId?:string
Defined in: types.ts:1125
Transaction identifier, if available.
