makeAPMToken

open fun makeAPMToken(@NonNull apm: GatewayConfiguration, @NonNull customerId: String, @NonNull tokenId: String, @NonNull additionalData: Map<String, String>, @NonNull with: Context): Uri

Returns the URL to redirect the user to an alternative payment method payment page to authorize a token

Parameters

apm

Gateway previously retrieved

customerId

Customer ID created on your backend

tokenId

Customer token ID created on your backend with empty source

additionalData

AdditionalData to send to the APM


open fun makeAPMToken(@NonNull apm: GatewayConfiguration, @NonNull customerId: String, @NonNull tokenId: String, @NonNull with: Context): Uri

Returns the URL to redirect the user to an alternative payment method payment page to authorize a token

Parameters

apm

Gateway previously retrieved

customerId

Customer ID created on your backend

tokenId

Customer token ID created on your backend with empty source