POAssignCustomerTokenRequest

constructor(customerId: String, tokenId: String, source: String, preferredScheme: String? = null, enableThreeDS2: Boolean = true, verify: Boolean = false, invoiceId: String? = null, thirdPartySdkVersion: String? = null, metadata: Map<String, String>? = null)

Parameters

customerId

ID of the customer who token belongs to.

tokenId

Token ID that belong to the customer.

source

Payment source to associate with token. The source can be a card, an APM or a gateway request. For the source to be valid, you must not have used it for any previous payment or to create any other customer tokens.

preferredScheme

Card scheme or co-scheme that should get priority if it is available.

enableThreeDS2

Boolean value indicating whether 3DS2 is enabled. Default value is true.

verify

Boolean value that indicates whether token should be verified. Make sure to also pass valid invoiceId if you want verification to happen. Default value is false.

invoiceId

Invoice identifier that will be used for token verification.

thirdPartySdkVersion

Can be used for a 3DS2 request to indicate which third party SDK is used for the call.

metadata

Additional metadata.