autoship_add_tokenized_payment_method_gateway_id (filter)
( src/payments.php) Can be used to extend the valid Gateway IDs, and Method Types or override the gateway id. Takes the $gateway_id, $token_id, and $token as parameters.
Code:
$gateway_id = apply_filters('autoship_add_tokenized_payment_method_gateway_id', $token->get_gateway_id(), $token_id, $token );
Included in these Functions: