Call this method to retrieve resources for all the payment methods available on the current client session.

1
async getPaymentMethodResources(): Promise<Resource[]>
typescript
copy

Returns

Resource
paymentMethodType
stringRequired

A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodLoad callback.

paymentMethodName
stringRequired
A user friendly English localized string identifier for the payment method
colored?
string
dark?
string
light?
string
paymentMethodType
stringRequired

A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodLoad callback.

paymentMethodName
stringRequired
A user friendly English localized string identifier for the payment method.
nativeViewName
stringRequired
The name of the native view. Pass this to NativeResourceView when rendering.
123456789101112
<NativeResourceView    onPress={() => {        // Handle tap    }}    nativeViewName={nativeViewResource.nativeViewName}    style={{        marginHorizontal: 20,        marginVertical: 8,        justifyContent: 'center',        alignItems: 'center'    }}/>
typescript
copy