Skip to content

collana pay JS Docs v0.1.0


collana pay JS Docs / buildProviderKey

Function: buildProviderKey()

buildProviderKey(protocolType, methodType): ProviderKey

Defined in: types.ts:86

Builds a ProviderKey from its two dimensions at runtime.

Parameters

protocolType

ProviderProtocolType

The payment processor / gateway.

methodType

PaymentMethodType

The payment method.

Returns

ProviderKey

The composite "protocol:method" key.

CollanaPay SDK Documentation